Home Tutorials Forums Articles Blogs Movies Library Employment Press

Go Back   ActionScript.org Forums > Flex > Flex 2, 3 & 4

Reply
 
Thread Tools Rate Thread Display Modes
Old 01-30-2008, 11:18 PM   #1
ferrisb
Batman
 
Join Date: Nov 2004
Posts: 72
Default AccordionHeader.setStyle Problem

I'd like to set the style for the currently selected header in an Accordion. Currently, I'm using the following code:

PHP Code:
stack.getHeaderAt(_currentCard).setStyle("color"0xFFFFFF); 
This is working except for one problem: the new style is being applied to ALL of the headers, and not just the targeted header.

I know that I'm targeting the correct header, because I can change the labels for individual headers with now problem, but styles are causing all sorts of problems.

Any ideas as to what I'm doing wrong here?
ferrisb is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with component scope / calling function FarFeTTu Components 2 03-10-2011 10:19 PM
maybe a caching problem? kath421 ActionScript 2.0 4 03-21-2006 05:41 AM
Problem with loading unloading clips and dynamic text sah302 ActionScript 1.0 (and below) 1 01-06-2006 05:19 PM
HEEELP!!! cant work out the answer to a problem case ActionScript 1.0 (and below) 1 07-29-2003 11:37 PM
global TextField Problem! Guru wonted mediaholic ActionScript 1.0 (and below) 3 07-20-2003 10:07 AM


All times are GMT. The time now is 06:52 AM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.