Search  
Search Options

CONTAINERSWF> LOADMOVIE(CONTENTSWFS) HELP WITH CONTROL

HomeForumsFlash DiscussionContainerSWF> loadMovie(contentSWFs) help with control
35173 Xtremefaith
35 posts

I have a containerSWF that the contents of my pages load into (empty_MC). My question is how do I control embedded SWF now?

I tried contentMC.play(); and that seemed to work, but then I tried to make a conditional statement to load the next SWF after the current one plays its ending transition and that did work. The statement was:

if(contentMC._currentframe == contentMC._totalframes){ loadMovie(nextMovie) }

Posted 2 months ago
28941 arriba
202 posts
Exclusive author Referred at least one person Sold between 1 000 and 5 000 dollars

you must put the condition on an enterFrame, so the code look where is the currentframe each time, if not, you are only calling the if statement once. also you better delete the onEnterFrame when the condition happen.

Posted 2 months ago
35173 Xtremefaith
35 posts

I don’t think that’s it though because it even when I trace the totalframes it only says there’s one, like its giving me the total frames of the blank MC not the SWF embedded in that MC.

Posted 2 months ago
37380 bhad
15 posts
Sold between 1 and 100 dollars

arriba’s right in saying that you will have to put the if statement inside an onEnterFrame in order to constantly evaluate contentMC current frame in relation to it’s total frames. I can’t think of any other answer since you know correctly targeting contentMC with contentMC.play();

Posted 2 months ago