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
AdjustColors
File Save Dialog Behavior
DirGames Discussion List
myWallpaper
Toggle Stay On Top-Button
Get properties in a range of castmembers
Diffusion Effect - Imaging Lingo
Ripple Follow Mouse on Rollover-Alphamania
Image Mover
Detecting Quicktime
 

 

 

Behavior Import Quicktime Movies

Added on 9/16/1999

 

Compatibilities:
D6_5 D7 D8 PC Script

Required Xtras:
Buddy API

This item has not yet been rated

Author: MediaMacros (website)

Imports all QT files in a set directory.

--Code by Chuck Neal
--Chuck@mediamacros.coc

on importQT whichLib, thePath  
  set startMember = the number of members of castLib whichLib
  set Files = baFileList( thePath, "*.mov" )  
  repeat with x = 1 to count(files)    
    new #QuickTimeMedia, member (x + startMember) of castlib whichLib
    --names member by file name and removes extension
    set the name of member (x + StartMember) of castlib whichLib = char 1 to ((the number of chars in getAt(files, x)) - 4) of getAt(files, x)
    set the fileName of member (x + startMember) of castlib whichLib = thePath  & getAt(files, x)    
  end repeat  
end

 


Contact

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

Send e-mail