PDA

View Full Version : [AS3] component collision when using a symbol from a shared lib


ceteris
11-11-2009, 01:47 AM
I want to use a symbol from one library in another, not unusual

the symbol to be brought in uses the flash button component

the library the symbol is being brought into also uses the flash button component

so, there's a collision, and flash asks me if I want to delete existing or not

either choice gives me two library instances of the flash button component, with a name collision of some kind

the thing is, I want both: the buttons have different skin collections, but the same linkage identifiers, are two instances of the same component...

how is this normally handled? is it the case that only one instance of the button component, with only one set of skins, can be used in one fla?

thanks