I´ve been loading classes as dlls embeded in external loaded swfs without major problems, always taking care of using the onLoadInit method rather than the onLoadComplete. Any other variables that might affecting the proccess? Player? OS? Any weird relation betweeen classes?
Cheers,
Zarate
On 5/8/06, Marcelo de Moraes Serpa <[EMAIL PROTECTED]> wrote:
Hello!
In my RIA, I have a Main.swf which acts a the main preloader. It first downloads the needed classes through agglibtools librariespreloader and then preloads the main arpx form. Until here ok, I´ve got a Main.swf with 7KB of data. I tried to package the agglibtools classes into a swf "dll" so the Main.swf would have only 3KB and the user would almost instantly load the preloader graphic assets. So, the loader woul load the agglibtools.swf through the help of MovieClipLoader, once the agglibtools classes were avaiable to the flash player, it would then continue to load the other classes, this time using the Librariesloader class. However, even though all the needed classes are donwloaded (I double-checked it), the player just can´t run the code that uses the agglibtools classes, specifically it stops and dies in the part where a instance of Librariesloader is created, even though - I repeat, the classes were loaded! It only works if the agglibtools classes are precompiled into the Main.swf which grows its size to 7KB... maybe its a timing problem (Flash Player needs some more time to load the classes?) that could be resolved with a setinterval?
Thanks in advance!
- Marcelo Serpa.
_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org
--
Zárate
_______________________________________________ osflash mailing list [email protected] http://osflash.org/mailman/listinfo/osflash_osflash.org
