Copy link to clipboard
Copied
I have a component which uses ProgressBar. When i try to use this component in mobile application (using flex builder burrito), I have these errors:
Definition mx.skins.spark:ProgressBarSkin could not be found
and some more of the same style.
Is there any way to make ProgressBar to work in mobile app? I tried to import mx.skins.spark:ProgressBarSkin into my component, but this didn't help.
Thank you!
Copy link to clipboard
Copied
Try this:
<mx:ProgressBar
xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:mx="library://ns.adobe.com/flex/mx"
mode="manual"
width="100%"
barSkin="mx.skins.spark.ProgressBarSkin"
indeterminateSkin="mx.skins.spark.ProgressIndeterminateSkin"
maskSkin="mx.skins.spark.ProgressMaskSkin"
trackSkin="mx.skins.spark.ProgressBarTrackSkin"
/>
Copy link to clipboard
Copied
Hi,
You need to add the library to burritto. Steps are:
- Right click on you project & select properties
- Select Flex Build Path -> Add Swc
- Browse to [your Flex 4.5 install directory]/framework/libs
- Select sparkskins.swc
- Click ok
Thats it!
Copy link to clipboard
Copied
It dont helps for me.
sparkskins alerady included in project.
My project type is Flex Mobile Project with Flex Library Project.
In this case some Skin classes can not be found.
Solution is to write styles dirrectly, or in some cases create skin Classes