pulse00
09-06-2008, 08:38 AM
Hi,
i'm trying to use Actionscript 3 Components, but all the demos in the documentation simply use a single button on the stage.
My Problem is that i need several buttons, which all have a different skin. Therefore if i only use on button component in the library and create multiple instances, all of them will use the same skin.
I then added multiple button components to the library, naming each one different, but i keep getting this warning:
**Warning** The linkage identifier 'fl.controls.Button' was already assigned to the symbol 'Button', and cannot be assigned to the symbol 'PlayButton', since linkage identifiers must be unique.
When changing the linkage identifier to something else than fl.controls.Button, the warning disappears but the Button keeps displaying all it's different skins at once, beneath each other.
Could anyone give me a hint how this is done properly in AS3 ?
thanks !
i'm trying to use Actionscript 3 Components, but all the demos in the documentation simply use a single button on the stage.
My Problem is that i need several buttons, which all have a different skin. Therefore if i only use on button component in the library and create multiple instances, all of them will use the same skin.
I then added multiple button components to the library, naming each one different, but i keep getting this warning:
**Warning** The linkage identifier 'fl.controls.Button' was already assigned to the symbol 'Button', and cannot be assigned to the symbol 'PlayButton', since linkage identifiers must be unique.
When changing the linkage identifier to something else than fl.controls.Button, the warning disappears but the Button keeps displaying all it's different skins at once, beneath each other.
Could anyone give me a hint how this is done properly in AS3 ?
thanks !