Search content:

 

Personal Menu
Username:
Password:
Save password

Become a member

Forgot Password?

 

Don't miss these
MPEG Advance
Pretty Script
DirectSMS Xtra
Linking 1 sprite to another by location
Centipede
Director 8 Workshop
Custom Scroll Bars
Generic behavior to change System Desktop Icons
Binary Opperations
Deleting a range of frames
MediaMacros Xtras Mall
 

 

 

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

 


Upload Provided by ABCUpload ASP

Contact

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

Fax - (206) 339-5833

Send e-mail