If AppHolder is height = 0, then the rect might draw from y=0 to y=-2 or 
something like that.   I use FDB for my debugging so I can always examine 
objects on the stack and see which one it is and what its properties are.  I’m 
not sure how to do that with the debugger in FlexBuilder.


On 4/19/10 10:59 AM, "Wally Kolcz" <[email protected]> wrote:






AppHolder is the id of a s:Group that is set to 100% / 100%. What constaints? I 
only have it set to be 2 pixels from the bottom and 5 pixels from the left.

On 4/19/2010 1:42 PM, Alex Harui wrote:



What is appHolder? If it gets layed out too small, the constraints you set
might force a negative height.

On 4/19/10 10:17 AM, "Wally Kolcz" <[email protected] 
<mailto:wkolcz%40isavepets.com> > wrote:

> Here is the bugger. Ok, now I know what the issue is, no idea which
> parameter is invalid and how to fix it. Guess I need to reread up on how
> to create a spark button in AS...
>
> var back_btn:spark.components.Button = new spark.components.Button()
> back_btn.label = "Back";
> back_btn.addEventListener(MouseEvent.CLICK, backToNav);
> appHolder.addElement(back_btn);
> back_btn.setStyle("bottom", 2);
> back_btn.setStyle("left", 5)
>
>
>
> ------------------------------------
>
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Alternative FAQ location:
> https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e6207
> 9f6847
> Search Archives:
> http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links
>
>
>


--
Alex Harui
Flex SDK Team
Adobe System, Inc.
http://blogs.adobe.com/aharui

Reply via email to