Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6139921
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T18:03:08+00:00 2026-05-23T18:03:08+00:00

I need to skin a Flex button using a MovieClip exported as .swf from

  • 0

I need to skin a Flex button using a MovieClip exported as .swf from Flash Professional. Most of the instructions online say that I need to do something along these lines:

  [Embed(source='Button.swf', symbol="AudioButtonDown")]
  public var Down:Class;
  [Embed(source='Button.swf', symbol="AudioButtonOver")]
  public var Over:Class;
  [Embed(source='Button.swf', symbol="AudioButtonNormal")]
  public var Normal:Class;

  ...

  Button1.setStyle('overSkin',Over);
  Button1.setStyle('downSkin',Down);
  Button1.setStyle('upSkin',Normal);

Which works great if each frame of the movieclip could have it’s own symbol. But what I have is a single movieclip with 3 frames, and a single symbol “AudioButton”, and when I try to apply it as a skin, the three frames just play over and over again in an endless loop. How can I divvy up the frames of a loaded swf, and apply frame 1 to “upSkin” frame 2 to “overSkin”, etc…?

Thanks In Advance.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T18:03:09+00:00Added an answer on May 23, 2026 at 6:03 pm

    Creating symbols for each state would be the easiest way to go, but not the only one (however, the symbol approach is the one you should use).

    Another way to do it would be to just set the skin as the one symbol and from there do yourSymbol.goToAndStop('someButtonState'). This is strongly discouraged before Flex doesn’t work with frames and it could have adverse effects.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to skin a button with images. The following code is for flex
I'm working with Flex 3.4 SDK. I need to change the default close button
My project has multiple themes with different colors. I need to skin certain textboxes
I need to convert this to haml <link href=/skin/jplayer.blue.monday.css rel=stylesheet type=text/css /> Can anyone
In DNN 5, I need to: Dynamically create a page (programmatically) select a skin
I have a custom skin applied to a Flex 4 spark datagrid. One really
I have this mysql orders table: (id,user_id,skin,item,date,reference,price,to_who) I need to select all users, with
As a prepossessing requirement of my project I have to remove skin hairs from
AKA: How to set the hitArea in a skin. I need to make part
Is it possible for a derived controls to inherit his base control skin. Say

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.