skip to main | skip to sidebar

FlexExCoding

FlexExCoding is about adobe Flex. This blog is for developer , learner , and student.

Thursday, June 18, 2009

Set dynamic style

Using CSSStyleDecalration object we can set style of included style sheet.

var curStyle:CSSStyleDeclaration = StyleManager.getStyleDeclaration(".styleName");
curStyle.setStyle("backgroundColor", 0x876543);
Posted by Mohit Chavda at 2:55 AM
Labels: CSSStyle, Dynamic style

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

Useful Links

  • Flex Blog List and Update information
  • Flash Builder 4 (Anirudhs)
  • Flash Builder 4 (Sujit Reddy)
  • Adobe Labs
  • Online Component Explorer
  • Online Style Creator
  • Flex Blog List and Update information
Page Counter : Free Counters
My Profile : View

Blog Archive

  • ►  2013 (2)
    • ►  July (2)
  • ►  2012 (1)
    • ►  February (1)
  • ►  2010 (6)
    • ►  December (1)
    • ►  November (3)
    • ►  August (1)
    • ►  May (1)
  • ▼  2009 (27)
    • ►  July (2)
    • ▼  June (14)
      • Apply Dynamic Style :
      • Create Custom Menu Using Menu Control
      • Some function for Image Edition
      • Validate in flex
      • Create dynamic tooltip
      • Set dynamic style
      • Call javascript from MXML and viceversa.
      • Using Flash Movie Clips Color Transformation
      • Custom Tooltip
      • Create User define Menu
      • AdobeAIR, Check Net Connection
      • PopUpManager Closing using voGlobal Class
      • Check for hit with other object
      • Dragging , UIComponent
    • ►  May (11)
 

About Me

Ahmedabad, Gujarat, India
View my complete profile