user353859
user353859

Reputation: 73

Loading a symbol of type Graphic from library with Actionscript 3

Inside Flash, I have a symbol with type graphic in my library and I want to add it to stage using Actionscript 3. Is this possible?

Flash does not let me set any Linkage Properties for Graphic symbols.

How do I draw stuff in Flash and be able to create multiple instances of that stuff at run time without using MovieClip?

Thanks.

Upvotes: 0

Views: 1830

Answers (2)

subb
subb

Reputation: 1568

Short answer : you can't. However, if you think a movieclip is too heavy, you can use a Sprite instead. A Sprite is the same as a movieclip without the timeline stuff. To do so, transform your symbol into a movieclip, and when you assign a class to your symbol, specify flash.display.Sprite as the base class.

Upvotes: 1

corroded
corroded

Reputation: 21604

just convert it or put it inside a movieclip so you can access it :)

Upvotes: 0

Related Questions