PDA

View Full Version : unload and play again


christinechapman
07-07-2002, 01:37 PM
hi all,
I have an almost working project but for one snag - can anyone help as its almost there!

I have a sprite ("broadcast sprite") which tells another sprite ("BBC sprite") - via button ("play") to load .
No worries here BUT!!! getting it to unload correctly .....
a) I have tried putting a stop button and a tell target /unload move action (level -1)go to frame/ within the broadcast sprite
b) I have tried putting an unload movie level -1 and go to frame action within the BBC sprite

Fine the sprite unloads but it doesn't play again if the viewer wants a second look.

IF you are still with me, any ideas extremely gratefully received.
Its for a CD Rom projector so the swish is too big to post (900 kb)

christine

Pla$tik
07-07-2002, 01:42 PM
To unload it correctly, you would want to do this:

OnPress (or OnRelease)
|_ Tell Target "the sprite which you want to unload the movie from"
|__Unload Movie from Level -1

Should work like that. Then you said it doesn't work when they want to see it again, simply put this on the button you wish to have it play:

OnPress (or again OnRelease)
|_Tell Target "Sprite you wish to load movie into"
|__ Load Movie "moviename.swf" into Level -1

[Edited on 7-7-2002 by Pla$tik]

christinechapman
07-07-2002, 02:15 PM
thanks !!! it replays
sorry it was so obvious!
after two months of getting flash mx/sorenson to get a decent video into a swish sprite in the first place it was a bit of a last straw!
christine