I have a index.swf from a Main.as Class, that load a Preloader.swf made from a Preloader.as class.

the Main class load is throught a Loader Class. Then the Preloader throw Event when loading is own stuff

so from the Main I have EventListener on the Preloader. I can't find the way to reach the PreLoader properties and methodfrom my Main Class
....the IDE says:
1178: Attempted access of inaccessible property lxl through a reference with static type org.lf:PreLoader.

I've tried casting like this:
var l:PreLoader = PreLoader( ev.target );
var mc:MovieClip = l.lxl.getMovieClip( "feuilles" );

does not work. Need some design advice here
thx
L
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to