Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


I am going to add images into a tag. How will it resize itself in adobe flex actionscript?



I am going to add images into a tag. How will it resize itself in adobe flex actionscript?..

Answer / Pankaj Padaliya

By default, the Image component scales its content to fit its container when you don't explicitly set the width and height properties. If you want to maintain aspect ratio while resizing, use the preserveAspectRatio attribute:

```xml
<mx:Image source="myImage.jpg" preserveAspectRatio="none"/>
```
If you want to customize scaling behavior, set the width and height properties manually or use the scaleMode property.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Adobe Flex Interview Questions

What is mvc and how do you relate it to flex apps?

1 Answers  


How to create custom events? Explain the steps to create a new custom event?

1 Answers  


Ow binding works in mxml components in flex? : adobe flex action script

1 Answers  


What is display list? : adobe flex action script

1 Answers  


Do I need to upgrade to beta 3 to use air beta 3?

1 Answers  


What happens if an .swf is loaded into a already occupied level?

1 Answers  


What keyword allows you to refer to private variables of a class in flex?

1 Answers  


Is it possible for upgrade from flex builder 3 standard edition to flex builder 3 professional edition?

1 Answers  


What did adobe announce regarding flex?

1 Answers  


When I add or modify an item in my dataprovider, why does not it show up in my datagrid?

1 Answers  


What keyword allows us to implement abstraction better in flex? : adobe flex action script

1 Answers  


How to display the check box in data grid header?

1 Answers  


Categories