This functionality is not in com.bumpslide.ui.MovieClipButton. This
class bypasses the default skin stuff and use the same kind of
workflow you had before. This class is updated as of today. Be sure
you checkout the latest.
There is a FLA here:
http://github.com/tkdave/bumpslide_as3_examples
Note that I set the component definition class so you get some
properties in the component inspector.
Also note that this FLA is linked to the bumpslide-as3 SWC file. I
had an issue here with the 'Automatically declare stage instances'
(off) not working properly when I had my button class set to extend
the MovieClipButton class found in the SWC. It worked fine when I
added framework source to the class path. The solution was to create
an actual class file for the custom button clip and set the base class
there. Then, Flash would honor the auto-declare stage instance
setting I specified. It's like if there isn't a class file, and the
base class is in a SWC, Flash doesn't know how to not automatically
declare stage instances.
I must warn you all that the code on github is still in flux. I've
added a skinning framework to the core, but only button and slider
actually use this.
-dk
--
David Knape
Programmer / Consultant
> --
> --
> Bumpslide Mailing List
> http://groups.google.com/group/bumpslide
>
> To post to this group, send email to bump...@googlegroups.com
> To unsubscribe from this group, send email to
> bumpslide+...@googlegroups.com
~wayne
----------
wayne fidler
media mongrel
971.404.9175
http://www.moonpatrol.com
----------
Make this the base class of your movie clip.
Frame labels for states are "off", "over", "down", "selected", "disabled".
A child MovieClip with the name 'background' will be sized to the
button dimensions.
The label should be a classic TextField named label_txt.
If child elements are coming up null on state change, separate each
state into a separate timeline layer. I don't know why, but it helps.
Meanwhile, please explore the skinning stuff, and let me know what you
think. I'm having good luck with it for certain kinds of development.
-dk
--
David Knape
Programmer / Consultant
~wayne