That was exactly what I was looking for.
For those who don't have the time to click the link right now,
Solution::
Use a switch statement on the ProgramaticSkin, Border or RectBorder using the 'name' property of the skin class.
Great, and eloquent.
Peace, Mike
On 2/27/06, Abdul Qabiz <[EMAIL PROTECTED]> wrote:
Look at following links on skinning in Flex 2.0:-
http://mannu.livejournal.com/305284.html
http://weblogs.macromedia.com/khoyt/archives/2006/02/programmatic_sk.cfm
-abdulOn 2/28/06, Teoti Graphix < [EMAIL PROTECTED]> wrote:Hello,--
I know in previous incarnations of the Button, you would subclass RectBorder and create a switch or conditional statement based on the borderStyle which actually showed what 'phase' the button is in.
I see that the phase property now is protected. So we can't call paret.phase in the RectBorder skin class.
What is the correct way of subclassing the RectBorder for the skin styles of mx.controls.Button ?
I traced the borderStyle and came up with inset which is obviously a default that means nothing.
Any ideas adobe ?
Peace, Mike
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
Web site design development Computer software development Software design and development Macromedia flex Software development best practice
YAHOO! GROUPS LINKS
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service .
--
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
Web site design development Computer software development Software design and development Macromedia flex Software development best practice
YAHOO! GROUPS LINKS
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
--
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
| Web site design development | Computer software development | Software design and development |
| Macromedia flex | Software development best practice |
YAHOO! GROUPS LINKS
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

