This content has been marked as final. Show 7 replies
Ok I assumed this would be easy but I'm not really sure...
How about is it possible to reload the entire movie with a button click like you would click refresh on a web page?
I took a look at your post earlier, but struggled to understand it.
this code is calling initRaketen() every 2.5 seconds.
I think that probably on your frame 3, you want to have this line:
but I must confess, I'm not entirely sure from your description.
var iv = setInterval(initRaketen, 2500);
BTW, this forum seems mostly active when the US is awake. There's a few of us in Europe/UK and other parts of the world, but I think the majority of activity comes from the US. So often it pays to wait a few hours at least for a response. I was holding off posting because I thought someone else might understand you issue better than I.
No problem I didn't mean to sound impatient, I was just trying figure out a different way to solve the problem.
Basically the script calls initRaketen which creates a firework effect every secs 2.5.
I need to be able to start and stop this effect on different frames: frame 1 - off, frame 2 - on, frame 3 off.
Currently that works, I have the script on frame 2 and the following on frame 3 to halt it:
MovieClip.prototype.setzeRaketen =0 (just a guess from me that seems to have worked)
However if I play the the movie again from frame 1 I get two sets of fireworks every 2.5 secs, as if the script were being run twice every 2.5 secs at the same time.
Thanks and I hope that is clearer.
Did you try this for frame 3:
Yes I've tried it and it does exactly what I was after.
Your help is much appreciated.
Great to hear!