Page 1 of 1

help!How to set the property Base in the .NET Edition?

Posted: Thu Jun 01, 2006 9:49 am
by lingxiaowen
hi,today,i use the demo edition the laod a swf witch has to resolve all relative path statements in the movie,how do i do?
we can send a FPCM_SET_BASE in DLL Edition ,how to do it in .NET edition? Is there is a property for it?


Thank u!!!!!!!!!

Posted: Thu Jun 01, 2006 12:07 pm
by Softanics
Use the property FlashProperty_Base.

Re:How to set the property Base in the .NET Edition?

Posted: Fri Jun 02, 2006 4:36 am
by lingxiaowen
Thank u! but it doesn't work when i set the BasePath which contains some none ASCII chars (such as Chinese),the Flash movie does load some sub_movie as normal. how to do it?

Re:How to set the property Base in the .NET Edition?

Posted: Fri Jun 02, 2006 8:47 am
by Softanics
lingxiaowen wrote:Thank u! but it doesn't work when i set the BasePath which contains some none ASCII chars (such as Chinese),the Flash movie does load some sub_movie as normal. how to do it?


Test a regular flash ocx. I've tested it and - really - the Base property with non ASCII symbols doesn't work.

so the FPC Should throw exception...

Posted: Fri Jun 02, 2006 11:06 am
by lingxiaowen
So, i think u should add a little function to FPC:when the End-User give a Base Path contains none ASCII chars,FPC should throw an exception or Show a messagebox to inform the end-user.may be this function would prevent some one from trouble!

Thank u!