|
|
|
Wait for Flash to finish
Added on 5/26/2000
|
Drop this on a frame to have it hold until a flash file finishes playing.
--Copyright 2000 Chuck Neal
--chuck@mediamacros.com
--If you find this code helpful, send me an e-mail and let me know. :-)
property whatOne
on getPropertyDescriptionList me
p_list = [:]
p_list.addProp(#whatOne, [#format : #integer, #default : 2, #comment : "What sprite for flash:"])
return p_list
end
on exitFrame me
if ([#flash]).getOne(sprite(whatOne).member.type) <> 0 then
if sprite(whatOne).frame < sprite(whatOne).member.frameCount then
go the frame
end if
end if
end
on getBehaviorDescription me
return "Drop this on a frame and assign the sprite number of the flash sprite to hold on the frame until the flash movie is done."
end
|
|