Groups | Blog | Home
all groups > flash (macromedia) > july 2004 >

flash (macromedia) : Skinning a Button


whatknows
7/9/2004 10:29:52 PM
Hey all - I hope that someone with some expertise might be able to help me out.

I am looking to skin the Button component. I have opened the Halo and Sample
skins, but the content in the Button assest seems to be non-existent or at
least not important. For example, when you drag the asses on to the stage, a
little grey box appears. Changing it to blue has no effect on the component,
and looking through the assests they seem to be empty MCs.

Anyone have some experience and advice? I would appricaite it!

Thanks!
Dale
7/10/2004 2:52:56 AM
[quoted text, click to view]
see.

Not meaning to pick on you, but as far as I know, "assest" is not a word. I
think you must be talking about assets. You are not alone in this
misspelling, however, as a Google search on "assest" will show.

whatknows
7/10/2004 3:36:16 AM
While I am chugging along on this problem, here is what I have found. It isn't
a solution, but it is heading towards one, I hope.

There are no assest for the Button (ala Halo) because they don't exist.
Button extends SimpleButton, which does have assests, but doesn't define them
in the same typical way that other components do.
All of the Button states (where there would normally be assests) reference a
"ButtonSkin" string.
ButtonSkin is an AS file in the halo package that draws the buttons by hand
which includes drawing information for all of the states referencing
"ButtonSkin."

I am note quite sure yet how to pull all of this together, but we shall see.
AddThis Social Bookmark Button