Jump to content


Flash buttons


  • You cannot reply to this topic
1 reply to this topic

#1 l3lueMage

    Wanna Be Moderator

  • Publishing Betazoids
  • PipPipPipPip
  • 4,596 posts
  • Gender:Male
  • Location:San Francisco Bay Area

Posted 09 September 2005 - 02:19 PM

I have made a custom style for buttons on a flash site, but whenever I load a window and close it, the buttons go back to the default green style. Most of the buttons turn default and some stay with the style I created. Also the buttons are randomly changed its never the same buttons that go back to the default skin and stay with my skin.

Thats the style code I used, but doesnt work with windows component :)
var styleObjButton = new CSSStyleDeclaration();
_global.styles.myButtonStyle = styleObjButton;
styleObjButton.setStyle("fontFamily", "Tahoma");
styleObjButton.setStyle("fontSize", 12);
styleObjButton.setStyle("themeColor", "0x7D37FF");
edit_use_button.setStyle("styleName", "myButtonStyle");

Edited by l3lueMage, 09 September 2005 - 02:22 PM.


#2 funkysoul

    The Funky Stuff

  • Publishing Betazoids
  • PipPipPipPip
  • 2,307 posts
  • Gender:Male
  • Location:Zurich, Switzerland
  • Interests:Music: HIM, HIM, HIM, Cafe del Mar, Linkin Park, Fort Minor, Coldplay, Eric Jordan<br />Sports: Snowboarding, KiteSurfing, Extreme Sports<br />Computer: Flash, After Effects, Actionscript

Posted 09 September 2005 - 07:46 PM

flash components are just too unflexible.. why don't you make your own button? I would never dare to use those components..
but hey.. if you really need it.. then have a look at UltraShock they have somewhere a skinning tut.. and their forum is helpful on such questions

Funkysoul

Edited by funkysoul, 09 September 2005 - 07:46 PM.






1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users