Search content:

 

Personal Menu
Username:
Password:
Save password

Become a member

Forgot Password?

 

Don't miss these
Game protector
Number of Days in a Month
DirectControl
2state Button with Cursor change and Sound
Flash Sprite Cusor Changing Movie Script
Advanced Lingo for Games
Multiple languages in the same movie.
DriveInfo
SetMouseXtra
Data Linker Xtra
MediaMacros Xtras Mall
 

 

 

Behavior Get properties in a range of castmembers

Added on 7/2/1999

 

Compatibilities:
D6_5 D7 D8 Mac PC Script

This item has not yet been rated

Author: Penworks (website)

Reproduced with permission from Penworks Lingo User"s Journal

-- Source Code from the Lingo User"s Journal
-- Copyright (c) 1995 by Penworks Corporation

on putCastDepth startCast, endCast
-- Set the startCast default value
  if voidP(startCast) then
     set startCast = 1
  end if

-- Set the endCast default value
  if voidP(endCast) then
     set endCast = the number of castmembers
  end if

-- Swap them if startCast being
-- larger than endCast
  if startCast > endCast then
    set origStartCast = startCast
    set startCast = endCast
    set endCast = origStartCast
  end if

  put "This "putCastDepth()" call is for movie "" & the movieName & """
  put "Started:" && the long date && the long time
    
  repeat with currCast = startCast to endCast
    if the castType of cast currCast = #bitmap then
      if the name of cast currCast = 0 then
        set currCastName = "(Cast" && currCast && "does not have a name)"
      else
        set currCastName = the name of cast currCast  
      end if

      put "The bit-depth of cast" &&currCast& ", "" &currCastName& "" is"&&
the depth of cast currCast& "-bit"
    end if
  end repeat
  put "Finished:" && the long date && the long time
end putCastDepth

 


Upload Provided by ABCUpload ASP

Contact

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

Fax - (206) 339-5833

Send e-mail