Apparently I coded this wrong, but it's what the tutorial said to do. 
Here's what comes up.
Line 6 1084: Syntax error: expecting identifier before dot.
Line 7 1084: Syntax error: expecting leftparen before leftbrace.
Line 7 1084: Syntax error: expecting identifier before leftbrace.
Line 7 1084: Syntax error: expecting rightparen before leftbrace.
Line 15 1084: Syntax error: expecting identifier before dot.
Line 16 1084: Syntax error: expecting leftparen before leftbrace.
Line 16 1084: Syntax error: expecting identifier before leftbrace.
Line 16 1084: Syntax error: expecting rightparen before leftbrace.
I don't get it. :\
This is my first attempt at trying to code something in flash since about 3 years ago when I played with an old version for about a month, got stuck, and quit. xD
Free File Hosting Made Simple - MediaFire
There's my .fla file, if anyone wants to see what I did wrong. The same shit is happening to me with whatever code I enter, but I have some files downloaded from deviant art that work fine with a lot more coding that I even know the meanings of...

Code:
1 stop();
2
3 this.loaderInfo.addEventListener(ProgressEvent.PROGRESS, onProgress);
4 this.loaderInfo.addEventListener(Event.COMPLETE, onComplete);
5
6 function.onProgress(e:ProgressEvent):void
7 {
8 var loaded:Number = e.target.bytesLoaded;
9 var total:Number = e.target.bytesTotal;
10 var pct:Number = loaded/total;
11 loader_mc.scaleX = pct;
12 loaded_txt.text = "Loading..."+(Math.round(pct * 100))+"%";
13 }
14
15 function.onComplete(e:Event):void
16 {
17 nextFrame();
18 }
Here's what comes up.
Line 6 1084: Syntax error: expecting identifier before dot.
Line 7 1084: Syntax error: expecting leftparen before leftbrace.
Line 7 1084: Syntax error: expecting identifier before leftbrace.
Line 7 1084: Syntax error: expecting rightparen before leftbrace.
Line 15 1084: Syntax error: expecting identifier before dot.
Line 16 1084: Syntax error: expecting leftparen before leftbrace.
Line 16 1084: Syntax error: expecting identifier before leftbrace.
Line 16 1084: Syntax error: expecting rightparen before leftbrace.
I don't get it. :\
This is my first attempt at trying to code something in flash since about 3 years ago when I played with an old version for about a month, got stuck, and quit. xD
Free File Hosting Made Simple - MediaFire
There's my .fla file, if anyone wants to see what I did wrong. The same shit is happening to me with whatever code I enter, but I have some files downloaded from deviant art that work fine with a lot more coding that I even know the meanings of...
[url=javascript:void(0);]
[/url]
![[Image: lostodd2.png?t=1230460315]](http://i365.photobucket.com/albums/oo93/Nethran/lostodd2.png?t=1230460315)