HUD/SetFlashScale
From Blue Mars Developer Guidebook
|
|
This is a HUD function
Contents |
Overview
Function
- SetFlashScale(movie, scalex, scaley)
- movie - string name of the movie to scale
- scalex - number scale factor for sizing movie - default is 1.0
- scaley - float optional vertical scaling factor. If supplied, then scalex is just for horizontal scaling
Usage
Use this only if DockFlash is called with eFD_Pos
Examples
Here's a Flash movie at original size:
Now scaled with different x and y scale factors:
HUD.DockFlash("test",eFD_Pos);
HUD.ScaleFlash("test",2.0,0.25);
