kmbeck
Content Type
Profiles
Forums
Store
Blog
Product
Showcase
FAQ
Downloads
Posts posted by kmbeck
-
-
Problem was fixed. It was referencing the wrong AS Class.
-
Trying to use the SWF loader function:
Layer 1
clickBtn.addEventListener(MouseEvent.MOUSE_UP, function(event: MouseEvent): void {
var sURL: String;
if ((sURL = root.loaderInfo.parameters.clickTag)) {
navigateToURL(new URLRequest(sURL), "_blank");
}
});
clickBtn.buttonMode = true;
clickBtn.useHandCursor = true;
Layer 2
import com.swfUtil.SWFLoader;
SWFLoader.loadSWF(loader_mc, "URL", true);
stop();
Getting the following compiling error:
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at McallCreativeUtil/addClickButton()
at McallCreativeUtil()
Anyone help out here? Is it a problem with the movie clip I'm referencing?
SWF Loader error
in Loading (Flash)
Posted
Yeah sorry bout that. I'm using gs for tweening but didn't realize it used a different loader.