This content has been marked as final. Show 4 replies
Not sure what happens for you, but it works fine here - so maybe not a
>You can try this yourself, create a blank movie, put the above
> code in a movie script, put a 'go to the frame' behaviour on some frame
> frame 100), then start the movie making sure that 'a.gif' exists in your
Thanks for the quick reply. Does the image carry on scrolling (and being visible) even when playback reaches the 100th frame and the'go to the frame' command?
> timeOutObj = timeOut().new("name", 10, #callback)
Your timeout is going to try and move sprite 1 by a pixel about 100 times a second... so in a few seconds, sprite 1 will move a few hundred pixels. It wont take it long to disappear off the stage.
Incidently, since your code relates to a sprite, consider changing it to a behaviour (it becomes easier to manage, I think):
Thanks for your reply. The image i'm using is about 1000 pixels wide so it doesn't disappear too quickly. Interestingly enough, your suggestion of making the script a behaviour has worked and the problem has gone.