--Copyright 1999 Chuck Neal
--chuck@mediamacros.com
--If you find this code helpful, send me an e-mail and let me know. :-)
property goWhere, spriteNum, whatSprite
on getPropertyDescriptionList me
p_list = [:]
addProp p_list, #goWhere, [#format : #marker, #comment : "Where to go when the MPEG finishes:", #default : #next]
addProp p_list, #whatSprite, [#format : #integer, #comment : "What sprite is the MPEG in?:", #default : 1]
return p_list
end
on exitFrame me
if sprite(whatSprite).duration > sprite(whatSprite).currenttime then
go the frame
else
go goWhere
end if
end
on getBehaviorDescription me
describe = "This behavior holds on a frame until the MPEG finishes then goes to the specified marker."
return describe
end
Contact
MMI
36 South Court Sq
Suite 300
Newnan, GA 30263
USA