Sorry for the long subject line, guys. I've never had to do much with
_levels, and so I don't understand how they work very well. The Help docs
seem sparse on the topic as well. Anyway, I'm doing some experimentation,
and I'm trying to get a swf in _level1 to load a movie into _level0, wait
for the swf in _level0 to load, and then execute some more actions.
SWF A:
loadMovieNum('swfB.swf',1);
SWF B:
loadMovieNum('swfC.swf',0);
// A one-second interval is long enough to allow
// the swfC to load on my local machine
var myInt = setInterval(function(){
trace('Now I can execute some code');
},1000);
The result is that swfC gets loaded into _level0, but the trace never gets
fired. It's as though the ActionScript in SWF B gets put in _level0 and
then is overwritten by SWF C.
Anyone have experience with _levels and care to comment?
Thanks,
-tom
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com