You have to calculate that yourself. Add an event listener for
"resize" and which calls a function that calculates and resets the width.

private function resizeHandler () : void {
     //if parent is an HBox that is set to 100%
    spacer.width = parent.width;
}

--- In [email protected], "Doug Arthur" <[EMAIL PROTECTED]> wrote:
>
> How can I specify spacer.width = "100%"??? It throws an error
because 100%
> is not an int.
> 
> Thanks!
>






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
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