PDA

View Full Version : Getting timeline of movieclip instance in the library


mrand01
06-02-2004, 02:08 PM
I have some movieclips...actually about 150 movieclips...that all need a 640 X 480 black box wrapped around them. Doing this manually just isn't my style...but I can't figure out how to do it w/ JSFL. I can access _root timelines easily, but how can I access the timeline of a library item so I can draw on it? Is it possible?

hangalot
06-03-2004, 10:01 AM
from the jsAPI help
library object
Availability
Flash MX 2004.

Description
The library object represents the Library panel. It is a property of the Document object (see document.library) and can be accessed by fl.getDocumentDOM().library.

The library object contains an array of items of different types, including symbols, bitmaps, sounds, and video.


and
Property summary for the library object
The following property is available for the library object.

Property
Description

library.items
An array of item objects in the library