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
JTMR KoolMarquee
Tint bitmap behaviour
Clear Embedded Font
Mix-FX Flash animation builder
Slow Searches - Valentina
Set ViewScale Property of a Flash Sprite
Date Time Xtra
Stub Mac Projector
Create Icon
Bitbull
 

 

 

Behavior MPEG Xtra Simple Control

Added on 6/10/1999

 

Compatibilities:
behavior D6_5 D7 D8 Mac PC

Required Xtras:
MPEGXtra

This item has not yet been rated

Author: Tabuleiro (website)

MPEG Xtra Simple Control

--MpegXtra Simple control  

property videoSprite    -- the sprite number that is getting controlled
property videoCommand   -- the command to be issued


on DoControl me
  case ( the VideoCommand of me ) of:
    #Play:
      videoplay(sprite the videoSprite of me)
    #Pause:
      videopause(sprite the videoSprite of me)
    #Rewind:
      videostop(sprite the videoSprite of me)
      videoseek(sprite the videoSprite of me, the segmentstart of sprite the videoSprite of me)
      
  end case
end


on mouseUp me
  DoControl me
end


---


on getPropertyDescriptionList
  
  set p_list = [   #videoCommand: [ #comment:   "Action:",#format:   #symbol,   #range: [ #Play, #Pause, #Rewind],#default:   #Play ], #videoSprite: [ #comment:   "MpegXtra Sprite Channel:", #format:   #integer,   #default:    1] ]                  
  return p_list
end

on getBehaviorDescription
  return "Used to create Play, Pause, and Rewind control buttons for a MpegXtra video sprite. " & RETURN & "PARAMETERS:" & RETURN & "Action - Choose the action to perform on mouseUP ( Play, Pause, Rewind )." & RETURN & "DirectMedia Sprite Channel - Enter the number of sprite channel of the MpegXtra video that is being controlled."
end

 


Contact

MMI
36 South Court Sq
Suite 300
Newnan, GA 30263
USA

Send e-mail