Contents
Articles
Behaviors
Books
Director News
Director Web Sites
FAQ
Games
Mailing Lists
News Groups
Project Examples
Reviews
Software
Tools
Useful Web Sites
Utilities
Xtras

Don't miss these
Effector Set II for Alphamania
Real Time Vector Editor
Reshacker
Update text member from remote file
Play/Pause/Stop SWA(Shockwave Audio)
simMode4.0 For multi-moniter
E-mailExec 2.5
Behavior Property Inspector
Cycle Fades of Images and Text
Custom Alert
 

 

 

Behavior Hold for MPEG then go to marker X

Added on 6/11/1999

 

Compatibilities:
behavior D7 D8 Mac PC

Required Xtras:
MPEGXtra

This item has not yet been rated

Author: MediaMacros (website)

Use with the MPEG Xtra

--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

Send e-mail