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
Change the LineSize of a Shape Sprite
PowerPoint / PPT Access
De-Xplode that text position relative
Valentina
Adventure
Turn puppeting on for a range of sprite channels
cXtraEditBox
PDF Class
Fill Gradient to a Vector Shape
AnimCap
 

 

 

Behavior Update QT3 movies

Added on 6/8/1999

 

Compatibilities:
D6_5 Mac PC Script

This item has not yet been rated

Author: MediaMacros (website)

Use this to update your digital video members to QT3 asset members.

on updateQTmovies  
  --For the QT3 XTRA  
  repeat with myCastLibNum = 1 to the number of castlibs
    repeat with myMemberNum = 1 to the number of members of castLib mycastLibNum      
      set currentMember = member myMemberNum of castLib myCastLibNum    
      if the type of currentMember = #digitalVideo then
        put "updating" && string(currentMember)
        set saveName = the name of currentMember
        set saveFileName = the fileName of currentMember
        set saveScriptText = the scriptText of currentMember
        set saveController = the controller of currentMember
        set savePausedAtStart = the pausedAtStart of currentMember
        -- save other relevant props here        
        -- delete the old guy
        erase currentMember        
        -- create the new guy
        new #QuickTimeMedia, currentMember        
        -- reassign props
        set the name of currentMember = saveName
        set the fileName of currentMember = saveFileName
        set the scriptText of currentMember = saveScriptText
        set the controller of currentMember = saveController
        set the pausedAtStart of currentMember = savePausedAtStart
        -- restore other relevant props here
      end if      
    end repeat -- member loop
  end repeat -- castLib loop
end

 


Contact

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

Send e-mail