This content has been marked as final. Show 9 replies
You can set a listener to start playing the child movie once it loads, You do not need to call any actions with the progress bar.
In this example your loader components instance name would be myLoader. Just make sure you put a stop(); action at the start of the movie. Hope this helps.
Thank you so much man. I was really going nuts. This works perfectly. Thank you!
Hmm... putting a stop() command in the first frame of my external SWF seems to mess up a scrolling button in the latter part of that animation... any idea why this might happen?
The Up button references a controller movie clip in which prevFrame() is used to play the main movie backwards, but now the button does nothing. The button works if I remove the stop() and it works with the preloader. Code on the button itself is at the bottom of this message. The controller movie clip is three frames... first is stop()... second prevFrame()... third is gotoAndPlay(2). Instance name of controller movie clip is controller.
I tried putting play() in the second frame of the movie just incase (figured maybe it'd cancel out the first stop), but no good... the stop() definitely ruins that button like it can't access the controller movie clip or something. I know the _root references aren't good, but removing them made no difference.
If it helps, my scrolling technique is like this one (except I scroll up and down an image):
add a new scene at the beginning of your movie to be loaded...make it only 1 frame long and put a stop action in it. This way the stop action will not effect the rest of the movie
That's a good idea, and I tried it, but that button still doesn't work.
I guess I just dont understand what part is not working without seeing the code or how the movie functions... If you want to post the fla I will take a look and see if I can solve it for you.
alright...so is the problem on the scrolling function in the journal?
If so there are better ways to handle this anyway. The scrollpane component would be more user friendly for this feature.
I honestly dont know how you are keeping track of this movie...
I would recommend making a separate movie for each section of your site and loading them into a holder clip when you click on the buttons...it would save you a ton of frames and layers and clean this up a bunch
The scrollpane component didn't seem very smooth at all... you can't click and hold it down.
I may try splitting the journal part off into another file and loading it in... thanks for the idea.
Well, putting the journal scroller in a separate SWF and loading it into a movieclip didn't work... think I definitely might have to find another way of up scrolling...