I want to make a Flex button that has it's background transparent in order to apply css to the page and affecting the flash.
I tried, but with no luck:
<mx:Button skin="{null}" x="0" y="0" label="Submit"/>
actionscript-3apache-flexflex4transparent
I want to make a Flex button that has it's background transparent in order to apply css to the page and affecting the flash.
I tried, but with no luck:
<mx:Button skin="{null}" x="0" y="0" label="Submit"/>
Best Answer
When using a Spark Button, you can apply a custom skin that leaves out all the chrome.
You can apply a custom skin like this:
@Panciz' solution will probably work, but the skin can be made much more lightweight by simply leaving out all the components that you don't need.
Notice the
hitzone
transparent graphic: that is necessary because otherwise you would click through the transparent section of the Button.