I've got a little bit of flash to do and I haven't opened flash since version 4 and AS1.
I'm using CS3 and AS2 (I think).
The issue: I have a movie clip on layer in Frame1 (instance name of 'soldmark'. I add an event listener and want to affect the movie clip in the event listener function:
listenerObject = new Object();
listenerObject.onMyEvent = function(eventObject):Void {
soldmark._visible = false;
sold = eventObject.data.sold;
if (sold == "true") {
var soldmarkTween = new Tween(soldmark,'_alpha',None.easeNone(0,1,2),true);
}
}
myMovie.addEventListener("onMyEvent", listenerObject);
I'm getting the following error at compile time:
"The class or interface soldmark could not be loaded"
and I'm 99% sure that it's when it's being referenced in the new Tween instantiation.
How do i reference the mc as a parameter to the class instantiation?
I get the same error if i use _root.soldmark.
Everyone should believe in something
I believe I'll have another drink
One can always find solace in Gin