It appears you have not yet registered with DEVPPL. To register please click here... (it's fast, easy and free!)

Forum

Log In Sponsors
Board index Programming Flash Forum

Using Actionscript to size a called image??? HELP Please.

Moderator: Phate

Using Actionscript to size a called image??? HELP Please.

Postby med23 on Tue Feb 12, 2008 6:36 pm

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.
med23
 
Posts: 4
Joined: Thu Feb 01, 2007 12:14 am

Postby Solar42693 on Sun Mar 02, 2008 11:08 pm

If I'm understanding right, you can set the _xscale and the _yscale of the mc like this:

Code: Select all
my_mc._xscale = 80;
my_mc._yscale = 80;
User avatar
Solar42693
 
Posts: 35
Joined: Tue Jul 11, 2006 12:56 am

Postby med23 on Mon Mar 03, 2008 5:22 pm

Thanks a lot for the help. I will have to see if the developer can use this.
med23
 
Posts: 4
Joined: Thu Feb 01, 2007 12:14 am


Who is online

Users browsing this forum: No registered users and 0 guests