I added this to your vscroll, it worked but not the best, you may want to play around with this a bit. Perhaps the binding is not getting called until hscroll is created they are not created at the same time, so if hscroll is not fully created the height would in fact be 0.
 
creationComplete="vscroll.y=hscroll.height;"
 
Hope this helps
 
Jason
 
 
 
 
-----Message d'origine-----
De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]De la part de Daniel Tuppeny
Envoyé : vendredi 30 juin 2006 15:19
À : flexcoders@yahoogroups.com
Objet : [flexcoders] Scrollbar bug (with sample code)

Here's some code to show the problem I'm having. When I load the page, the VScrollBar goes right to the bottom edge of the page (ignoring the bottom attribute). If I resize the window, everything jumps into place correctly.
 
This worked fine in beta 3. Any ideas? I've attached a screenshot of what I see.
 
 
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
 
 <mx:Legend width="200" height="200">
  <mx:LegendItem label="Mydtest" />
 </mx:Legend>
 
 <mx:VScrollBar id="vscroll" bottom="{hscroll.height}" right="0" top="0" />
 <mx:HScrollBar id="hscroll" bottom="0" left="0" right="{vscroll.width}" />
  
</mx:Application>

______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________

__._,_.___

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




__,_._,___

Reply via email to