05-31-2011 07:56 PM
Since my trial version of burrito expired I decided to purchase a copy of Flash Builder 4.5. Unfortunately I've had problems moving my mobile flex app from my Burrito build environment to my new Flash Builder 4.5 environment. I've done the -swf-version = 10, -forceAirVersion 2.5 and added playbook_overide.swf to my build path. I then had to change the mobileapplication to a ViewNavigationApplication, it then complained about the <appname>_app.xml <application xmlns="http://ns.adobe.com/air/application/2.5"> so I changed it to <application xmlns="http://ns.adobe.com/air/application/2.6">, I don't think that was correct as my understanding was that the overide process was suppose to remove the dependency on 2.6.
In any case the issue I'm more concerned with as it affect the majority of my UI is the following:
The style 'contentBackgroundColor' is only supported by type 'spark.components.NumericStepper' with the theme(s) 'spark'.
I'm getting the above for various spark components such as text boxes, buttons, etc
Here's an example of that numerical stepper that's causing problems
<s:NumericStepper id="stepper" x="114" y="43" height="51"
textAlign="center" value="1" borderColor="#000000"
Has anyone encountered this issue or know of a fix?
Thanks in advance
Solved! Go to Solution.
06-02-2011 10:50 AM
I think I solved this issue it turns out that there are both a mobile spark theme and a spark theme, setting your mobile flex project to the "Spark" theme does not seem to allow you to assign the properties to the spark components. However if you use the "Mobile Spark" theme all the errors dissapear and this is no longer an issue.
One thing to note, moving from Burrito to 4.5 did change the look of of my spark components.
Hope this save others some time!