Showcase and discover digital art at yex

Follow Design Stacks

Subscribe to our free newsletter to get all our latest tutorials and articles delivered directly to your inbox!

Loading FlashPaper 2.0 documents as sprites in Director

Basically, you need to disable any scaling by Director, and make sure the origin is centered. Here is a snippet of Lingo code to accomplish this:

on beginSprite me 
--use a point for center
sprite(spriteNum).originMode = #point
--set the 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

Comments