Thansk for the responce. 

I have tried closing, the file, the project and FB all to no avail. 

Where do I report bug and post sample. I was able to re-create it so I'd be 
happy to post it. 

Thanks 

Rich 

----- Original Message -----

From: "Alex Harui" <aha...@adobe.com> 
To: flexcoders@yahoogroups.com 
Sent: Monday, April 2, 2012 11:32:39 PM 
Subject: Re: [flexcoders] Orange Question Mark - FB 4.6 Can't see mx:ComboBox 
that is defined in XML 





Mx components are not made available to mobile projects by default. You can add 
mx.swc to your project if you want, but you should try to use all Spark stuff. 


On 4/2/12 6:04 PM, "hawkcode2" < r...@ralbrecht.net > wrote: 








Hi, 

I am pulling my hair out. 

I have FB 4.6 and am doing a mobile project. Only using FB not using anything 
else. 



I have Several Comboboxes Defined in XML and am accessing 2 different ones 
here: 

private function test():void 
{ 

dgType.x=10; 
ddlUnits.x=10; 
} 

Next to the ddlUnits is an Orange Circle with Question Mark. (Access to 
undefined property ddlUnits) 

Yet as you see below it is defined in the xml: 


<mx:ComboBox id="dgType" x="12" y="203" width="255" height="41" 
change="//mpitchspec()" 
click="dgResults.dataProvider = null" selectedIndex="0" 
x.landscapePhone="530" y.landscapePhone="10" width.landscapePhone="153" 
height.landscapePhone="65" 
x.portraitPhone="260" y.portraitPhone="92" width.portraitPhone="210" 
height.portraitPhone="65"> 
<s:ArrayList> 
<fx:Object label="Type" data="1"/> 
<fx:Object label="" data="2"/> 
</s:ArrayList> 

</mx:ComboBox> 



<mx:ComboBox id="ddlUnits" x="10" y="32" width="255" height="54" 
change="//changepitch()" 
fontFamily="Georgia" fontSize="30" selectedIndex="1" 
x.landscapePhone="204" y.landscapePhone="10" width.landscapePhone="153" 
height.landscapePhone="65" 
x.portraitPhone="10" y.portraitPhone="92" width.portraitPhone="210" 
height.portraitPhone="65"> 
<s:ArrayList> 
<fx:Object label="SI/Metric" data="1"/> 
<fx:Object label="Imperial" data="2"/> 
</s:ArrayList> 
</mx:ComboBox> 

----------------------------------------------------- 


I have read every post i could find on this and nothing seems to apply. I can 
see all the components in design view just fine. 

These kind of things shake my confidence in Adobe. 

Anybody have a clue? 

Thanks 

Rich 








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


 

Reply via email to