-
1. Re: error 1010
Ned Murphy Oct 1, 2009 1:47 PM (in response to joshww)While someone may decide to look at your file, other eithers cannot (myself) or will not for a variety of reasons. Your chances of getting help will increase if you include a description of your design along with the code that is having the problem. You can get a better idea of what code is the problem by selecting the option to permit debugging in the Flash Publish Settings. A 1010 error usually means something is out of scope (doesn't exist when the code executes) or is not named properly in the code that is trying to target it.
-
2. Re: error 1010
joshww Oct 1, 2009 2:49 PM (in response to Ned Murphy)i have a move clip flying in with a cloes button
var closebutton1:String;
var G:Number;
var H:Number;
function shut1(closebutton1:String, G:Number, H:Number):void {
acce_mc.accclose_btn =closebutton1;
acce_mc.x = G;
acce_mc.y = H;
}acce_mc.accclose_btn.addEventListener(MouseEvent.CLICK, accclosebtn);
function accclosebtn(event:MouseEvent):void {
closebutton1 = " ";G = 865;
H = 146;
shut1(closebutton1, G, H);
}i used G and H because I am already using X and Y


