Ok, I've discovered the problem I was having previously -- to sum up,
I have a .swf movie that plays beautifully on its own.

I then started coding a shell to, on different durations (setInterval)
load in this and other .swf into a movieclip.

I've been VERY careful about scope issues, not doing anything in
_root, but each 'sub' flash has it's own named movieclip to load all
it's do-dads.

The SHELL movie uses a MovieClipLoader to load in each of the
subclips, and it's main object, gPlay (a global) has a
gPlay.onLoadInit(ev) as it's listener.

When the SUBCLIP does a SETMASK on some movies, they trigger the
gPlay.onLoadInit !!!

Now, here's the interesting tracing:

SETIMAGE MASK
SETMASK_level0.mc_1048578.imageL
X:  true
IN TF
SETIMAGE MASK
SETMASK_level0.mc_1048577.imageL
X:  true
IN TF
SETIMAGE MASK
SETMASK_level0.mc_1048576.imageL
X:  true
7459
dispItem  _level0.mainWindow.mc_1 7459
EV  _level0.mc_1048578 mc_1048578   7459
7459
dispItem  _level0.mainWindow.mc_1 7459
EV  _level0.mc_1048577 mc_1048577   7459
7459
dispItem  _level0.mainWindow.mc_1 7459
EV  _level0.mc_1048576 mc_1048576   7459
startItem

So it seems that the mc_1048576 is a new movie that is created based
on the setMask and then triggers any 'onLoadInit'  --- ???


WAIT:
In the subclip I've set 'this._lockroot = true' as a test.
I've changed any 'setMask' to manually masking in the timeline.
I'm still getting something weird:

EV  _level0.mainWindow.mc_1 mc_1   7347
7527
dispItem  _level0.mainWindow.mc_1 7527
EV  _level0.mc_1048578 mc_1048578   7527
7527
dispItem  _level0.mainWindow.mc_1 7527
EV  _level0.mc_1048577 mc_1048577   7527
7527
dispItem  _level0.mainWindow.mc_1 7527
EV  _level0.mc_1048576 mc_1048576   7527
startItem
 #### POS:  0
SUBIMAGE _level0.mainWindow.mc_2
14402
dispItem  _level0.mainWindow.mc_2 14402
EV  _level0.mainWindow.mc_2 mc_2   14402
startItem
 #### POS:  1
SUBIMAGE _level0.mainWindow.
_______________________________________________
[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

Reply via email to