[Flashcoders] Using sub classes to set styles

2006-02-09 Thread Dave Caygill
Hi I'm having problems with the setStyle function from UIComponent - it
takes ages to aopply and freezes my app. Here
http://livedocs.macromedia.com/flash/mx2004/main_7_2/wwhelp/wwhimpl/comm
on/html/wwhelp.htm?context=Flash_MX_2004&file=0876.html MM sugest
using subclasses to style object, now I can quite see how this is meant
to work.  Say if we extend Label to me LFLabel, then how does that class
automatically know aobut the enw style, without calling setStyle on it?

 

Thanks for yr help!



dave

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] Mixing SMX and MM V2 Components

2006-01-19 Thread Dave Caygill
Hiya,

 

Is it possible to mix SMX components and MM's v2 components?  I seem to
be having trouble detecting events after adding SMX components.  Even a
simple test of adding a MM button (btn) to the stage and using the
following to add an event listener:

 

lo = {};

lo.click = function(evt){

trace('target:'+evt.target);

}

btn.addEventListener("click",lo);

 

Will suddenly fail if you drop the SMXTabPane tab component onto the
stage!  IS this because the smx.core.SMXobject has a function
addEventListener?

 

Thanks,

 

Dave

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] v2 tab component

2006-01-18 Thread Dave Caygill
Hello

 

I'm creating an open source educational app in AS2.0 and need a tab bar
component - ideally one that supports the UIComponent stuff like
setStyles etc...

 

I cant seem to find anything available, only mentions of one in the DRK5
but now you cant buy it anymore.  I also see there is one in flex,
anyone know how to extract that to a swc or something that can be used?

 

Cheers, in advance

 

 

d

 

 

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders