Hi again good people of actionscript.org,
If I create a movieclip in my library
Code:
itemexists = fl.getDocumentDOM().library.itemExists("Service1");
if (itemexists == false) {
fl.getDocumentDOM().library.addNewItem("movieclip", "Service1");
}
And I want to then write some actionscript into the first frame of it, is it possible to do so? The idea is that the author would automatically have a MC in their library that they could use.
I couldn't find any documentation to suggest I could edit the item in such a way. I thought about adding it to the timeline temporarilily, editing it, and then removing it from the timeline, but I'm not sure I can do even that (?)
I guess what I really need to know is, how would I reference the above library item if I wanted to modify it (if it were on the timeline or if it weren't - either will work as long as I can get at it!)
Any help would be greatly appreciated. Thanks - hopefully I'll be able to help someone else someday once I get my mind around all this jsfl stuff
- Kate