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
Lingo Sorcery
Lingo Paradise Smartgroups
Create File Association
Filemanager
Cyclic appearing and disappearing of sprite.
MPEGXtra
Import image (at runtime)
Lingo in a Nutshell
DragNDrop Behaviour
007 Fonts
 

 

 

Behavior Correct Flashpaper in Director

Added on 7/30/2003

 

Compatibilities:
D9 Mac PC Shockwave

This item has not yet been rated

Author: MediaMacros (website)

Flash Paper is a great alternative to PDF, but acts up in Director. Use this behavior to make it behave. (Flash paper currently ships with contribute 2.0.)

--Copyright 2003 MediaMacros, Inc.
--Special thanks to Steven Johnson at Macromedia for work on this bug and coding on the solution

property spriteNum

on beginSprite me
  if sprite(spriteNum).member.type = #flash then
   --use a point for center
    sprite(spriteNum).originMode = #point
    --set hte origin
    sprite(spriteNum).originH = sprite(spriteNum).width/2
    sprite(spriteNum).originV = sprite(spriteNum).height/2
    --set the scale mode to none (scales itself)
    sprite(spriteNum).scaleMode = #noScale
  end if
end

 


Contact

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

Send e-mail