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 634819
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T20:20:13+00:00 2026-05-13T20:20:13+00:00

I have a problem in applying the styles for scroll bar skins through actionscript.

  • 0

I have a problem in applying the styles for scroll bar skins through actionscript.

In css we specify as
thumbOverSkin: Embed(source=”assets/thumb_over.png”,scaleGridLeft=”4″,scaleGridTop=”4″, scaleGridRight=”5″, scaleGridBottom=”5″);

In actionscript we specify as
setStyle(“thumbOverSkin”, someImageClass);

How can we specify scaleGrid properties in the above statement?

Thanks for the help 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-13T20:20:14+00:00Added an answer on May 13, 2026 at 8:20 pm

    If you’re using Flex 3, that someImageClass, if it’s just an image, could just be assigned to a variable. Try this out, it shows two ways of setting simple skins on Flex 3 components:

    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application
        xmlns:mx="http://www.adobe.com/2006/mxml">
    
        <mx:Style>
            Button
            {
                overSkin: Embed("assets/over_button.png");
            }
        </mx:Style>
    
        <mx:Script>
            <![CDATA[
    
                [Embed(source="assets/up_button.png", scaleGridLeft="15",scaleGridTop="15", scaleGridRight="25", scaleGridBottom="25")]
                public static const UP_SKIN:Class;
    
            ]]>
        </mx:Script>
    
        <mx:Button id="button" click="button.setStyle('upSkin', UP_SKIN)"/>
    
        <mx:HSlider id="sizer"
            minimum="100" maximum="1000"
            liveDragging="true"
            change="{button.width = sizer.value;button.height = sizer.value/2}"/>
    
    </mx:Application>
    

    (the up_button.png was a simple red square shrunken to 40×40 for testing).

    If you’re using Flex 4, the Group, which extends Skin, has full 9-slice scaling baked in and you can do a lot more with them.

    Hope that helps,
    Lance

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

Sidebar

Ask A Question

Stats

  • Questions 320k
  • Answers 320k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer You're seeing this behavior because events bubble, when you click… May 14, 2026 at 12:25 am
  • Editorial Team
    Editorial Team added an answer SELECT * FROM Table WHERE that_datetime > NOW() - INTERVAL… May 14, 2026 at 12:25 am
  • Editorial Team
    Editorial Team added an answer You need to use -sortedArrayUsingFunction:context: or sortedArrayUsingFunction:context:hint:. static NSInteger order… May 14, 2026 at 12:25 am

Related Questions

I have a element that is set to contain a table element. The table
I have a form in an MVC view which contains a number of text
Scenario: I load some data into a local MySQL database each day, about 2
I am working with the new ASP.NET MVC areas and mixing it with themes.
In an application I write that uses a large HTML table of numbers the

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.