This is a little tough. It’s
completely unsupported, but what you’d need to do is get through to the
underlying TextField that represents the title and change it to use HTML
instead of regular text. Then you’d update the title using HTML so that
the proper number is highlighted. As I said, totally unsupported (look at the
panel’s back_mc.title_mc I think in the debugger and see what you can
find ). Might you consider simply changing the title to be something like: “Step
1 of 3”, “Step 2 of 3”, “Step 3 of 3” which is
obviously trivial to implement?
Matt
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of sandip_patil01
Sent: Monday, November 14, 2005
9:40 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] How to give
dynamic title to panel
Hi All,
I want to give dynamic title to panel.
Here is my scenorio,
<mx:Panel xmlns:mx="http://www.macromedia.com/2003/mxml"
title=" Steps: 1 2
3">
Here this is my panel.
& I have buttons "FIRST" "SECOND"
"THIRD"
When I click on button FIRST the number 1 should
Highligtened
If I click on button SECOND the number 2 should
Highligtened
lly,If I click on button THIRD the number 3 should
Highligtened
If anybody know this I appreciate the help
Thx,
sandip
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
YAHOO! GROUPS LINKS
|