var playAll:Function = function () {
//trace("Playin");
//_root.play();
var endCount:Number = 0;
for (var count:Number = 0; count<=endCount; count++) {
_root.attachMovie("FadeBox_ID", "Pic2_Mask_"+count, _root.getNextHighestDepth(), {_x:myX, _y:myY});
_root["Pic2_Mask_"+count].cacheAsBitmap = true;
_root["Pic2_MC_"+count].cacheAsBitmap = true;
_root["Pic2_MC_"+count].setMask(_root["Pic2_Mask_"+count]);
trace(["Pic2_Mask_"+count]);
if (count <= endCount) {
_root.Pic2_Mask_0.play();
}
}
};
Wrote this piece of AS and I don’t know whats wrong. Pic2_Mask_0 (Is a fading block MC with a stop() at the start and end). When I play the movie, the mask does not work - But if I hit enter in SWF Player to play it again, it displays.
I am preloading the LINK’d MC without using export b4 first frame, its in the timeline and is skipped (Senocular’s Method).
How can I get this to function?