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

