PDA

View Full Version : Extending V2 Component


carriker
06-06-2008, 10:46 PM
I found this thread talking about extending V2 components and it was pretty helpful:

http://www.actionscript.org/forums/showthread.php3?t=111182&highlight=extending+component

The problem is that I'd like to add some graphic assets to the component. I can create a class to extend the existing component. When it comes to compiling the swc it works fine as long as I have the component I'm extending in the library and an empty movie clip with all the correct linkage settings. But I can't figure out how to add any new assets to the new component without messing it all up.

Thanks in advance for any tips,

--carriker

carriker
06-07-2008, 10:00 PM
Okay, you can ignore my question I figured it out. I was accidentally initializing the super class twice which was messing up my sizing.

--carriker