I’m sure I’ve seen this somewhere, just couldn’t find it.
I have a movie that works perfectly on its own. I’ve added linkage to some symbols in the library using “new Linkagename” to access them.
Now. When I load this movie into another movie I get the following complaint:
“1180: Call to a possibly undefined method [Linkagename].”
What’s the problem here?
Does the sub movie need some special treatment to be able to add symbols from its library?
One other problem coming up is that I’m not able recast the loaded swf to it’s document class. Ie, the swf I’m loading has a custom document class [MainClass].
I try to recast it like this:
var main:MainClass = loader.content as MainClass;
trace(main); // null
This works however:
var main:MovieClip= loader.content as MovieClip;
trace(main); // [object MainTimeline]
??
:: nook