Jeff,

 

This sounds like this bug: https://bugs.adobe.com/jira/browse/SDK-14470.
Unfortunately, this bug was deferred for this release because we are at
the end of the cycle, but, there is a workaround in the bug to reset the
PopUpButton. HTH.  Please vote on this bug and it will get a higher
priority for getting fixed in the future.

 

Joan

 

________________________________

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

 

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:flexcoders%40yahoogroups.com>
[mailto:flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com>
] On
Behalf Of Battershall, Jeff
Sent: Sunday, February 03, 2008 10:28 AM
To: flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.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] <mailto:jeff.battershall%40dowjones.com> 
(609) 520-5637 (p)
(484) 477-9900 (c)

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

 

Reply via email to