ActionScript 2.0 :: Unidentified Screw-up?
Dec 6, 2004
I had just finished a two hour project, and decided to organize the code a little better for future editing. Usually I take longer with things, so I save lots and lots of backups. However, this time I didn't. I changed some things around in this code here:
Code:
_root.onEnterFrame = function(){
Sections = [[[70, 54]]];
attachMovie("clip", 0);[code].......
Now the shapes that are supposed to appear no longer do! I can't see anything wrong with this, and I can't get my old file back >_<.
View 3 Replies
Dec 19, 2011
This code seem to work fine; getting the array "arr" based on the SharedObject variables and picks only the ones with the value = 1. But when it gets to the function randArray(), all elements become "unidentified":
Code:
score = 0;
arr = [];
id = 0;
count = 0;
_xml = new XML();
[Code] .....
View 3 Replies
Jan 15, 2011
I did this cheesy banner for my portfolio and i dont understand why the setInterval is not working correctly. The thing is when I let the banner roll its working perfectly but as soon as I start to click every number very quickly the timer get all screw up I dont understand why.? this is the code is use
[Code]...
View 2 Replies
Nov 8, 2009
Trying to draw the top of a screw which is at a slight angle as its in perspective. I've tried doing this with the drawEllipse tool but its doesn't seem to be able to let me tell it I don't want it positioned straight, I want it rotated a little bit. I've tried doing it with curve To but it looks rubbish, but then I have only used 2 anchor points.
View 5 Replies
Jul 7, 2009
I get no errors until I try to publish my button when it comes up with: "Error 1120: Access of unidentified property myBtn" Location: Frame 1, Line 3
This is the code I'm trying to put in to get my button to link to another page, I typed it all out myself.
HTML Code:
import flash.events.MouseEvent;
var link:URLRequest = new URLRequest ("http://www.google.ca");
myBtn.addEventListener(MouseEvent.CLICK, clicky);
function clicky(event:MouseEvent):void {
navigateToURL(link);
}
View 7 Replies