Flash Games
 FAQ   Search   Memberlist   Usergroups   Register  Profile   Log in to check your private messages   Log in 


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



 

Post new topic   Reply to topic  
   DEVPPL Forum Index -> Flash Forum
View previous topic :: View next topic  
Author Message
med23



Joined: 01 Feb 2007
Posts: 4

PostPosted: Tue Feb 12, 2008 7:36 pm    Post subject: Using Actionscript to size a called image??? HELP Please. Reply with quote

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
View user's profile Send private message
Solar42693



Joined: 11 Jul 2006
Posts: 35

PostPosted: Mon Mar 03, 2008 12:08 am    Post subject: Re: Using Actionscript to size a called image??? HELP Please. Reply with quote

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
View user's profile Send private message
med23



Joined: 01 Feb 2007
Posts: 4

PostPosted: Mon Mar 03, 2008 6:22 pm    Post subject: Re: Using Actionscript to size a called image??? HELP Please. Reply with quote

Thanks a lot for the help. I will have to see if the developer can use this.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    DEVPPL Forum Index -> Flash Forum All times are GMT + 1 Hour
Page 1 of 1

 
 
Welcome to DEVPPL.com
You are not logged in, which means that you can't post in the forums.
Click here to Register

If you are a current member here on DEVPPL, please login below:

User: Pass:
Log me on automatically each visit:

 


Powered by phpBB © 2001, 2005 phpBB Group - Modified by DEVPPL

Flash Games - Sitemap