On 5/11/05, sreejithunni <[EMAIL PROTECTED]> wrote:

> <!---
> 
> function setValue(str:String,obj:Object) {
>         colorBar.width = str;
> }
> 
> <mx:Image id="colorBar" source="@Embed('color.gif')" />
> 
> -->
> 
> How can I set a percentage value to the width of the image.

How about this?

 colorBar.width = "100%";

I'm not sure it works.  Try.


 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to