Hello Sergey,

Tuesday, December 27, 2005, 3:43:09 PM, you wrote:

Thank you for the straightforward example. I think you had encountered
the problem because of ViewStack does not know exactly of what height
it should be rendered, because you omitted atribute "height" for your
ViewStack instance.


Try the following:

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml";>
<mx:ViewStack width="100%" borderStyle="solid" height="{contentSize.height}">
        <mx:VBox width="100%" borderStyle="solid" id="content">
                <mx:Text width="100%" id="contentSize" text="An Ithaca College 
dean is
encouraging students to instead think small - and she's offering a $5,000
prize to do it. The school has invited high school and college students
across America to submit a 30-second movie shot entirely with a cell phone."
/>
        </mx:VBox>
</mx:ViewStack>
</mx:Application>


Notice the binding set for ViewStack's attribute "height".

> Look at this application:

> <?xml version="1.0" encoding="utf-8"?>
> <mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml";>
> <mx:ViewStack width="100%" borderStyle="solid">
>         <mx:VBox width="100%" borderStyle="solid">
>                 <mx:Text width="100%" text="An Ithaca College dean is
> encouraging students to instead think small - and she's offering a $5,000
> prize to do it. The school has invited high school and college students
> across America to submit a 30-second movie shot entirely with a cell phone."
/>>
>         </mx:VBox>
> </mx:ViewStack>
> </mx:Application>


-- 
Best regards,
 Andriy                            mailto:[EMAIL PROTECTED]



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Most low income homes are not online. Make a difference this holiday season!
http://us.click.yahoo.com/5UeCyC/BWHMAA/TtwFAA/nhFolB/TM
--------------------------------------------------------------------~-> 

--
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