I was able to get it to work if I took it out of a Panel container in
the module in question.  Totally fubar.

-----Original Message-----
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Battershall, Jeff
Sent: Sunday, February 03, 2008 10:28 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] PopUpButton not working in AIR Beta 3


I'm still trying to identify the exact steps to re-create but suffice to
say, in my AIR application (which uses modules), the PopUpButton
component refuses to work.  I'm doing things declaritively, with MXML
like this:

<mx:PopUpButton x="500" y="10" label="Add Company" width="220"
openAlways="true">
    <mx:popUp>
<mx:Canvas width="220" height="35" visible="true"
backgroundColor="0xFFFFFF" backgroundAlpha="1"
horizontalScrollPolicy="off" verticalScrollPolicy="off"> <mx:TextInput
textAlign="left" x="5" y="5" width="150" id="companyInput"/> <mx:Button
x="160" y="5" label="Add" styleName="appButton"/> 
</mx:Canvas>
</mx:popUp> 
</mx:PopUpButton>

This is pretty vanilla code - of the type I have not seen issues with
elsewhere. So far its a complete mystery why this doesn't work - it
works fine in a test AIR app not using modules. Any input appreciated. 

Jeff Battershall
Application Architect
Dow Jones Indexes
[EMAIL PROTECTED]
(609) 520-5637 (p)
(484) 477-9900 (c)


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



Reply via email to