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
Setup Anim
Cast Control
Easy to use video convertor
Text Services API
Get Visual Line Count and Current Visual Line of Insertion
Director 6.5 Stubs
Connect 4
Drop Shaddow Animating Lame Button-Alphamania
Sprite controls
Lingo Web Logs / Journals
 

 

 

Behavior Make Bitmaps from Flash

Added on 6/13/2002

 

Compatibilities:
D8 D8_5 Mac PC Script

This item has not yet been rated

Author: MediaMacros (website)

Converts 1 frame flash movies to bitmaps. Select the flash members in the cast you want to change and type makeBitmapFromFlash(1) (Where 1 is the number of the cast to use) in the message window to convert.

on makeBitmapFromFlash whatCast
  s = castLib (whatCast).selection
  repeat with x = 1 to s.count
    --get the members
    repeat with y = s[x][1] to s[x][2]
      m = member(y, 1)
      if m.type <> #flash then next repeat
      r = m.regpoint
      i = m.image.duplicate()
      n = m.name
      m.erase()
      m = new(#bitmap, member y of castlib 1)
      m.name = n
      m.image = i
      m.regpoint = r
    end repeat
  end repeat
end

 


Contact

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

Send e-mail