Search content:

 

Personal Menu
Username:
Password:
Save password

Become a member

Forgot Password?

 

Don't miss these
Toggle Static Property of a Flash sprite
Video Cleanup
WebXtra
Drag sprite around a snap grid
Color Value
Forward and Reverse (Shitf+Tab) between Fields
E-mailExec 3 Pro
Filemanager
Runtime Debugging Utilities
Generic MP3 Player
MediaMacros Xtras Mall
 

 

 

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

 


Upload Provided by ABCUpload ASP

Contact

MMI
22 West Court Sq
Suite 2C
Newnan, GA 30263
USA

Fax - (206) 339-5833

Send e-mail