[flexcoders] Combobox / DropDownList
Hi, I have a mobile app and I'm using the mx combobox. Adobe doesn't recomend this for mobile apps. I tried the spark combo and dropdown, both of which do not work well in a mobile app. Looked horible and didn't respond to touches. But Abobe also says Adobe discourages using ComboBox when targeting profiles: mobileDevice. The new spinner is out, it takes up way to much real-estate. So whats a guy to do? :) Thanks Rich
[flexcoders] Colors in FB 4.6 - Hi lights all Identifiers
Hi, I can not find where the setting is to chang the color for when you put the curser on an identifier, it hilights every where it is used. I love the feature, just want to change the color as its to close to other colors. Thanks Rich
[flexcoders] Orange Question Mark - FB 4.6 Can't see mx:ComboBox that is defined in XML
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
[flexcoders] Why doesn't this work?
Hi, I was curious about what the actual DPI was on the phones I'm testing my app on. So I created a label and in the creationComplete I have 1 line: dpi.text = String(Capabilities.screenDPI); Nothing is entered into the label? How can I get this info. Thanks Rich
[flexcoders] Load SpinnerList from SQL Select
Hi, I have taken over an app to convert to a mobile app and am new to Flex/Air. Using FB4.6 Here is the code: var sqlcon:SQLConnection =new SQLConnection(); var dbfile:File= File.applicationDirectory.resolvePath(data/aspe); var ss:SQLStatement=new SQLStatement(); sqlcon.open(dbfile); ss.sqlConnection=sqlcon; ss.text=select distinct material as material from manning; ss.execute(); var dgResultsults:Array=ss.getResult().data; dgMaterial.dataProvider=dgResultsults; sqlcon.close(); I get the following error: Description ResourcePathLocationType 1067: Implicit coercion of a value of type Class to an unrelated type mx.collections:IList. I can not find an example or a way to do this. They were using the mx.combobox, but figured the spinner is more appropriate for a mobile app plus I think it's lighter and was designed for mobile. Can someone point me in the right direction? Thanks Rich