Mailing List
Home
Flash Pro
Extending Flash
Flash Macromedia Developer
Subjects
Firework Effect
setInterval bug identified and fixed
setInterval bug identified and fixed
ScrollPane component doesn 't auto update
Help: MX 2004 How to script a print button to print the entire sli
Event Dispatcher between classes
memory management removeMovieClip /
MX2004 Dataset itemClassName
Order of events per frame
XML to Object help
Textfield prototype question
Flash and QuickTime VR
Reading and displaying RSS feeds in Flash MX
Flash MX 2004 Sucks
AW: [Flashcoders] Switch/Case vs If/else
AW: [Flashcoders] Switch/Case vs If/else
Flash Interface with 10mb xml file
Web Service Results
Listener Object 's best practice
 
Search:  
Power your search with and, or, +, -, or "some phrase" operators.
The sad tale of the v2 button component and its icon

The sad tale of the v2 button component and its icon

2004-02-24       - By Aral Balkan

 Back
Reply:     1     2  

As I had posted earlier, the v2 component framework in very inadequate when
it comes to handling icons in a manner suitable for application work. In my
previous post I had a workaround to hack a button component to display
different icon states without skinning it. Now I 'm trying something else, so
as to better encapsulate this functionality and improve the workflow but, as
usual, the amazing architecture is not making it easy. Here 's the question:

When I add an icon to a button component, its class does not get initiated
when the icon is added to the button, even though I 've specified it in the
Linkage properties. Hunch: Somewhere, it must be executing an
Object.registerClass to override the setting at author time.

If I set up a frame loop to register the class back, I get traces from the
constructor when I mouse over the button (from instance name "fui ") and
click it (instance name "fdi ").

Any ideas?

Aral


=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
Supported by Fig Leaf Software
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
Be sure to check the archives and the wiki:
http://chattyfig.figleaf.com/
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
http://chattyfig.figleaf.com/cgi-bin/ezmlm-cgi?1:mss:105036
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
To unsubscribe send a blank e-mail to:
Normal Mode: flashcoders-unsubscribe@(protected)
Digest Mode: flashcoders-digest-unsubscrive@(protected)