Groups | Blog | Home
all groups > flash actionscript > february 2006 >

flash actionscript : accessing library items from AS


FlashForumName
2/27/2006 9:57:07 PM
How would I access a library item (movieClip) using actionscript to say change
the size. For example, I have a movieClip named zoomer1 with the linkage of
zoom. Is there any way I can access this with actionscript to change the size
and such?
Jeckyl
2/28/2006 12:00:00 AM
You access it by the name it has when placed on the stage (its instance
name) .. not by its library name.
--
Jeckyl

FlashForumName
2/28/2006 4:38:57 PM
So does this mean if I load something into the scrollpane ie:
scroll1.contentPath = "zoom" // zoom is the linkage name of my movieClip in
the library zoomer1
How can I refer to that movieClip zoomer1 without having it on the stage? Is
there not a way? I'd just like to scale the clip but I cannot figure out how
to access it.
AddThis Social Bookmark Button