| View previous topic :: View next topic |
| Author |
Message |
med23
Joined: 01 Feb 2007 Posts: 4
|
Posted: Tue Feb 12, 2008 7:36 pm Post subject: Using Actionscript to size a called image??? HELP Please. |
|
|
Hi guys,
Need some help. My company hired a higher level developer than myself (I'm a intermediate flash programmer at best) for a certain job. He is using actionscript to call an outside source folder's images into a target area in a flash frame when buttons are clicked. The client (for whatever reason) insists that the images be used at 80% when brought into the target area so that when someone zooms in on the browser, there is minimal distortion. Crazy, I know, but that is what they want.
So the question is, can the developer easily use actionscript to bring in an image at a set width/height or a set proportion into the target area? If not, what is the best alternative?
THANKS FOR YOUR HELP. |
|
| Back to top |
|
 |
|
|
Solar42693

Joined: 11 Jul 2006 Posts: 35
|
Posted: Mon Mar 03, 2008 12:08 am Post subject: Re: Using Actionscript to size a called image??? HELP Please. |
|
|
If I'm understanding right, you can set the _xscale and the _yscale of the mc like this:
| Code: |
my_mc._xscale = 80;
my_mc._yscale = 80;
|
|
|
| Back to top |
|
 |
med23
Joined: 01 Feb 2007 Posts: 4
|
Posted: Mon Mar 03, 2008 6:22 pm Post subject: Re: Using Actionscript to size a called image??? HELP Please. |
|
|
| Thanks a lot for the help. I will have to see if the developer can use this. |
|
| Back to top |
|
 |
|