• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

Mobile application + progressBar?

Community Beginner ,
Jan 05, 2011 Jan 05, 2011

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!

Views

2.1K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jan 16, 2011 Jan 16, 2011

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"
    />

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Jan 21, 2011 Jan 21, 2011

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!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jan 22, 2011 Jan 22, 2011

Copy link to clipboard

Copied

LATEST

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines