Hey guys.

-I need to load a movie clip to the stage from the library.
-I also need that movie clip to load with a certain string of actionscript code in it.

To load the movie clip, i checked the "export for actionscript" thing in the "linkage" section of the movie clip info, and i named the class "sol1"
I then used this code on the first (and only) frame:
Code:
    _root.attachMovie("sol1", "NewInstanceName", {_x: 50, _y: 100});
It seems to work, but the question is, how do i load the movie clip with code in it?


thanks in advance