STORY   LOOP   FURRY   PORN   GAMES
• C •   SERVICES [?] [R] RND   POPULAR
Archived flashes:
229595
/disc/ · /res/     /show/ · /fap/ · /gg/ · /swf/P0001 · P2595 · P5190

<div style="position:absolute;top:-99px;left:-99px;"><img src="http://swfchan.com:57475/68711372?noj=FRM68711372-22DC" width="1" height="1"></div>

Flash Tutorial - Novice.swf

This is the info page for
Flash #69388

(Click the ID number above for more basic data on this flash file.)


Text
Quality button, clocks, webcams, elasticity, mouse
effects, custom cursors, cursor watchers and more!

Start!

Start!

Quality Button:

Next

Next

Firstly, draw a button like this one:

Q

Then highlight it and press F8 and choose
"Button". Give it a name like "QualityButton"

Then give it this code: (click inside the
box and press ctrl - A and copy it)

<p align="left"><font face="Calibri" size="8" color="#000000" letterSpacing="0.000000" kerning="1"><b><i>on(press){</i></b></font></p><p align="left"><font face="Calibri" size="8" color="#000000" letterSpacing="0.000000" kerning="1"><b><i>if(_quality==&quot;HIGH&quot;){_quality=&quot;MEDIUM&quot;;}</i></b></font></p><p align="left"><font face="Calibri" size="8" color="#000000" letterSpacing="0.000000" kerning="1"><b><i>else if(_quality==&quot;MEDIUM&quot;){_quality=&quot;LOW&quot;;}</i></b></font></p><p align="left"><font face="Calibri" size="8" color="#000000" letterSpacing="0.000000" kerning="1"><b><i>else if(_quality==&quot;LOW&quot;){_quality=&quot;HIGH&quot;;}</i></b></font></p><p align="left"><font face="Calibri" size="8" color="#000000" letterSpacing="0.000000" kerning="1"><b><i>}</i></b></font></p>

Code Explained:

on(press){ - When you press the button
if(_quality=="HIGH"{_quality="MEDIUM";} - If the quality
is high, then set it to medium
if(_quality=="MEDIUM"{_quality="LOW";} - If the quality
is medium, then set it to low
if(_quality=="LOW"{_quality="HIGH";} - If the quality is
low, then set it to high
} - Ends the code

Clocks:

Firstly, draw a clock like this one:

Then give the frame this code:
(click inside the box and press ctrl - A and copy it)

<p align="left"><font face="Calibri" size="8" color="#000000" letterSpacing="0.000000" kerning="1"><b><i>_root.onEnterFrame = function() {</i></b></font></p><p align="left"><font face="Calibri" size="8" color="#000000" letterSpacing="0.000000" kerning="1"><b><i>myDate = new Date();</i></b></font></p><p align="left"><font face="Calibri" size="8" color="#000000" letterSpacing="0.000000" kerning="1"><b><i>hour = myDate.getHours();</i></b></font></p><p align="left"><font face="Calibri" size="8" color="#000000" letterSpacing="0.000000" kerning="1"><b><i>min = myDate.getMinutes();</i></b></font></p><p align="left"><font face="Calibri" size="8" color="#000000" letterSpacing="0.000000" kerning="1"><b><i>sec = myDate.getSeconds();</i></b></font></p><p align="left"><font face="Calibri" size="8" color="#000000" letterSpacing="0.000000" kerning="1"><b><i>if (hour&gt;12) {</i></b></font></p><p align="left"><font face="Calibri" size="8" color="#000000" letterSpacing="0.000000" kerning="1"><b><i>hour = hour-12;</i></b></font></p><p align="left"><font face="Calibri" size="8" color="#000000" letterSpacing="0.000000" kerning="1"><b><i>} else if (hour == 0) {</i></b></font></p><p align="left"><font face="Calibri" size="8" color="#000000" letterSpacing="0.000000" kerning="1"><b><i>hour = 12;</i></b></font></p><p align="left"><font face="Calibri" size="8" color="#000000" letterSpacing="0.000000" kerning="1"><b><i>}</i></b></font></p><p align="left"><font face="Calibri" size="8" color="#000000" letterSpacing="0.000000" kerning="1"><b><i>myDisplay.text = hour+&quot;:&quot;+min+&quot;:&quot;+sec;</i></b></font></p><p align="left"><font face="Calibri" size="8" color="#000000" letterSpacing="0.000000" kerning="1"><b><i>};</i></b></font></p>

hour = myDate.getHours(); - Takes the hours from the
clock on your PC
min = myDate.getMinutes(); - Takes the minutes from the
clock on your PC
sec = myDate.getSeconds(); - Takes the seconds from the
clock on your PC
myDisplay.text =hour+":"+min":"sec; - Shows the hours,
minutes and seconds on the text box with the instance of
"myDisplay"

<p align="justify"><font face="Trebuchet MS" size="35" color="#000000" letterSpacing="0.000000" kerning="1"><b><i>00:00</i></b></font></p>

Open the properties tab in the bottom left corner,
change the text to dynamic text and give it the
instance name of "myDisplay"

Webcams:

Firstly, press ctrl-L and on the window that pops
up press the the button on
the top right

<p align="left"><font face="Calibri" size="8" color="#000000" letterSpacing="0.000000" kerning="1"><b><i>myCam = Camera.get();</i></b></font></p><p align="left"><font face="Calibri" size="8" color="#000000" letterSpacing="0.000000" kerning="1"><b><i>myCamera.attachVideo(myCam);</i></b></font></p><p align="left"><font face="Calibri" size="8" color="#000000" letterSpacing="0.000000" kerning="1"><b><i>myCamera.smoothing = true;</i></b></font></p>

myCam = Camera.get(); - This creates a variable called
myCam and finds your PC's default camera and applies it
to that variable
myCamera.attachVideo(myCam); - This applies the
camera to the variable we created
myCamera.smoothing.true - This smoothes out the image
displayed

Press NewVideo and select AS controlled. Add it to
the stage and make it any size you want and give
it the instance name of "myCamera"

Elasticity:

Firstly, draw a simple object, like a ball or
something similar.

<p align="left"><font face="Calibri" size="8" color="#000000" letterSpacing="0.000000" kerning="1"><b><i>onClipEvent(load){</i></b></font></p><p align="left"><font face="Calibri" size="8" color="#000000" letterSpacing="0.000000" kerning="1"><b><i>xTarget=_x</i></b></font></p><p align="left"><font face="Calibri" size="8" color="#000000" letterSpacing="0.000000" kerning="1"><b><i>yTarget=_y</i></b></font></p><p align="left"><font face="Calibri" size="8" color="#000000" letterSpacing="0.000000" kerning="1"><b><i>xSpeed=0</i></b></font></p><p align="left"><font face="Calibri" size="8" color="#000000" letterSpacing="0.000000" kerning="1"><b><i>ySpeed=0</i></b></font></p><p align="left"><font face="Calibri" size="8" color="#000000" letterSpacing="0.000000" kerning="1"><b><i>Mode=1</i></b></font></p><p align="left"><font face="Calibri" size="8" color="#000000" letterSpacing="0.000000" kerning="1"><b><i>Speed=10</i></b></font></p><p align="left"><font face="Calibri" size="8" color="#000000" letterSpacing="0.000000" kerning="1"><b><i>Stop=1.2</i></b></font></p><p align="left"><font face="Calibri" size="8" color="#000000" letterSpacing="0.000000" kerning="1"><b><i>}</i></b></font></p><p align="left"><font face="Calibri" size="8" color="#000000" letterSpacing="0.000000" kerning="1"><b><i>onClipEvent(enterFrame){</i></b></font></p><p align="left"><font face="Calibri" size="8" color="#000000" letterSpacing="0.000000" kerning="1"><b><i>if(Mode==1){</i></b></font></p><p align="left"><font face="Calibri" size="8" color="#000000" letterSpacing="0.000000" kerning="1"><b><i>_x+=xSpeed</i></b></font></p><p align="left"><font face="Calibri" size="8" color="#000000" letterSpacing="0.000000" kerning="1"><b><i>_y+=ySpeed</i></b></font></p><p align="left"><font face="Calibri" size="8" color="#000000" letterSpacing="0.000000" kerning="1"><b><i>xSpeed+=(xTarget-_x)/Speed</i></b></font></p><p align="left"><font face="Calibri" size="8" color="#000000" letterSpacing="0.000000" kerning="1"><b><i>ySpeed+=(yTarget-_y)/Speed</i></b></font></p><p align="left"><font face="Calibri" size="8" color="#000000" letterSpacing="0.000000" kerning="1"><b><i>xSpeed/=Stop</i></b></font></p><p align="left"><font face="Calibri" size="8" color="#000000" letterSpacing="0.000000" kerning="1"><b><i>ySpeed/=Stop</i></b></font></p><p align="left"><font face="Calibri" size="8" color="#000000" letterSpacing="0.000000" kerning="1"><b><i>}</i></b></font></p><p align="left"><font face="Calibri" size="8" color="#000000" letterSpacing="0.000000" kerning="1"><b><i>if(Mode==2){</i></b></font></p><p align="left"><font face="Calibri" size="8" color="#000000" letterSpacing="0.000000" kerning="1"><b><i>_x=_root._xmouse</i></b></font></p><p align="left"><font face="Calibri" size="8" color="#000000" letterSpacing="0.000000" kerning="1"><b><i>_y=_root._ymouse</i></b></font></p><p align="left"><font face="Calibri" size="8" color="#000000" letterSpacing="0.000000" kerning="1"><b><i>xSpeed=0</i></b></font></p><p align="left"><font face="Calibri" size="8" color="#000000" letterSpacing="0.000000" kerning="1"><b><i>ySpeed=0</i></b></font></p><p align="left"><font face="Calibri" size="8" color="#000000" letterSpacing="0.000000" kerning="1"><b><i>}</i></b></font></p><p align="left"><font face="Calibri" size="8" color="#000000" letterSpacing="0.000000" kerning="1"><b><i>}</i></b></font></p><p align="left"><font face="Calibri" size="8" color="#000000" letterSpacing="0.000000" kerning="1"><b><i>onClipEvent(mouseDown){</i></b></font></p><p align="left"><font face="Calibri" size="8" color="#000000" letterSpacing="0.000000" kerning="1"><b><i>Mode=2</i></b></font></p><p align="left"><font face="Calibri" size="8" color="#000000" letterSpacing="0.000000" kerning="1"><b><i>}</i></b></font></p><p align="left"><font face="Calibri" size="8" color="#000000" letterSpacing="0.000000" kerning="1"><b><i>onClipEvent(mouseUp){</i></b></font></p><p align="left"><font face="Calibri" size="8" color="#000000" letterSpacing="0.000000" kerning="1"><b><i>Mode=1</i></b></font></p><p align="left"><font face="Calibri" size="8" color="#000000" letterSpacing="0.000000" kerning="1"><b><i>}</i></b></font></p><p align="left"></p>

Try it out:

Press F8 and give it a name like "ElasticBall" and
select MovieClip.

Mouse Effects:

<p align="left"><font face="Calibri" size="8" color="#000000" letterSpacing="0.000000" kerning="1"><b><i>onClipEvent (load) {i = 0;}</i></b></font></p><p align="left"><font face="Calibri" size="8" color="#000000" letterSpacing="0.000000" kerning="1"><b><i>onClipEvent (mouseMove) {</i></b></font></p><p align="left"><font face="Calibri" size="8" color="#000000" letterSpacing="0.000000" kerning="1"><b><i>i++;</i></b></font></p><p align="left"><font face="Calibri" size="8" color="#000000" letterSpacing="0.000000" kerning="1"><b><i>this.duplicateMovieClip(&quot;Spawn&quot;+i, i+30);</i></b></font></p><p align="left"><font face="Calibri" size="8" color="#000000" letterSpacing="0.000000" kerning="1"><b><i>_root[&quot;Spawn&quot;+i]._x = _root._xmouse;</i></b></font></p><p align="left"><font face="Calibri" size="8" color="#000000" letterSpacing="0.000000" kerning="1"><b><i>_root[&quot;Spawn&quot;+i]._y = _root._ymouse;</i></b></font></p><p align="left"><font face="Calibri" size="8" color="#000000" letterSpacing="0.000000" kerning="1"><b><i>}</i></b></font></p><p align="left"><font face="Calibri" size="8" color="#000000" letterSpacing="0.000000" kerning="1"><b><i>onClipEvent (enterFrame) {</i></b></font></p><p align="left"><font face="Calibri" size="8" color="#000000" letterSpacing="0.000000" kerning="1"><b><i>if (this._name == &quot;Trail&quot;) {</i></b></font></p><p align="left"><font face="Calibri" size="8" color="#000000" letterSpacing="0.000000" kerning="1"><b><i>_visible = false;</i></b></font></p><p align="left"><font face="Calibri" size="8" color="#000000" letterSpacing="0.000000" kerning="1"><b><i>} else {</i></b></font></p><p align="left"><font face="Calibri" size="8" color="#000000" letterSpacing="0.000000" kerning="1"><b><i>this._alpha -= 10;</i></b></font></p><p align="left"><font face="Calibri" size="8" color="#000000" letterSpacing="0.000000" kerning="1"><b><i>this._rotation += 30;</i></b></font></p><p align="left"><font face="Calibri" size="8" color="#000000" letterSpacing="0.000000" kerning="1"><b><i>this._xscale -= 10;</i></b></font></p><p align="left"><font face="Calibri" size="8" color="#000000" letterSpacing="0.000000" kerning="1"><b><i>this._yscale -= 10;</i></b></font></p><p align="left"><font face="Calibri" size="8" color="#000000" letterSpacing="0.000000" kerning="1"><b><i>if (this._alpha&lt;=5) {</i></b></font></p><p align="left"><font face="Calibri" size="8" color="#000000" letterSpacing="0.000000" kerning="1"><b><i>removeMovieClip(this);</i></b></font></p><p align="left"><font face="Calibri" size="8" color="#000000" letterSpacing="0.000000" kerning="1"><b><i>}</i></b></font></p><p align="left"><font face="Calibri" size="8" color="#000000" letterSpacing="0.000000" kerning="1"><b><i>}</i></b></font></p><p align="left"><font face="Calibri" size="8" color="#000000" letterSpacing="0.000000" kerning="1"><b><i>}</i></b></font></p>

Press F8 and give it the name "Spawn" and select
MovieClip. Then give it the instance name of
"Trail"

Custom Cursor:

Firstly, draw your own cursor

<p align="left"><font face="Calibri" size="8" color="#000000" letterSpacing="0.000000" kerning="1"><b><i>onClipEvent (load) {</i></b></font></p><p align="left"><font face="Calibri" size="8" color="#000000" letterSpacing="0.000000" kerning="1"><b><i>startDrag(&quot;&quot;, true);</i></b></font></p><p align="left"><font face="Calibri" size="8" color="#000000" letterSpacing="0.000000" kerning="1"><b><i>Mouse.hide();</i></b></font></p><p align="left"><font face="Calibri" size="8" color="#000000" letterSpacing="0.000000" kerning="1"><b><i>}</i></b></font></p>

Press F8 and give it the name "Cursor" and select
MovieClip. Double click it, and you should see a
circle with a cross in it. Move the cursor until the
tip of the pointer is under it.

startDrag("",true) - Drags the cursor wherever your
default cursor goes
Mouse.hide(); - Hides the default mouse

Custom Watcher:

Firstly, draw an arrow or something similar

<p align="left"><font face="Calibri" size="8" color="#000000" letterSpacing="0.000000" kerning="1"><b><i>onClipEvent (enterFrame) { </i></b></font></p><p align="left"><font face="Calibri" size="8" color="#000000" letterSpacing="0.000000" kerning="1"><b><i>myRadians = Math.atan2(_root._ymouse-this._y, _root._xmouse-this._x); </i></b></font></p><p align="left"><font face="Calibri" size="8" color="#000000" letterSpacing="0.000000" kerning="1"><b><i>myDegrees = Math.round((myRadians*180/Math.PI)); </i></b></font></p><p align="left"><font face="Calibri" size="8" color="#000000" letterSpacing="0.000000" kerning="1"><b><i>_root.yChange = Math.round(_root._ymouse-this._y); </i></b></font></p><p align="left"><font face="Calibri" size="8" color="#000000" letterSpacing="0.000000" kerning="1"><b><i>_root.xChange = Math.round(_root._xmouse-this._x); </i></b></font></p><p align="left"><font face="Calibri" size="8" color="#000000" letterSpacing="0.000000" kerning="1"><b><i>_root.yMove = Math.round(_root.yChange/20); </i></b></font></p><p align="left"><font face="Calibri" size="8" color="#000000" letterSpacing="0.000000" kerning="1"><b><i>_root.xMove = Math.round(_root.xChange/20); </i></b></font></p><p align="left"><font face="Calibri" size="8" color="#000000" letterSpacing="0.000000" kerning="1"><b><i>this._rotation = myDegrees+180; </i></b></font></p><p align="left"><font face="Calibri" size="8" color="#000000" letterSpacing="0.000000" kerning="1"><b><i>} </i></b></font></p>

Press F8 and give it the name "Watcher" and select
MovieClip. Double click it, and you should see a
circle with a cross in it. Put the flat end of the
arrow under the circle with the cross

Disable Right Clicking:

Firstly, make a new layer called "disable" that
runs the length of your movie

<p align="left"><font face="Calibri" size="8" color="#000000" letterSpacing="0.000000" kerning="1"><b><i>root_cm = new ContextMenu();</i></b></font></p><p align="left"><font face="Calibri" size="8" color="#000000" letterSpacing="0.000000" kerning="1"><b><i>root_cm.hideBuiltInItems();</i></b></font></p><p align="left"><font face="Calibri" size="8" color="#000000" letterSpacing="0.000000" kerning="1"><b><i>root_cm.customItems.push(new ContextMenuItem(&quot;My Site&quot;, itemHandler));</i></b></font></p><p align="left"><font face="Calibri" size="8" color="#000000" letterSpacing="0.000000" kerning="1"><b><i>function itemHandler(obj:Object, item:ContextMenuItem) {</i></b></font></p><p align="left"><font face="Calibri" size="8" color="#000000" letterSpacing="0.000000" kerning="1"><b><i>getURL(&quot;http://www.Typewebsitehere.com&quot;,&quot;_blank&quot;);</i></b></font></p><p align="left"><font face="Calibri" size="8" color="#000000" letterSpacing="0.000000" kerning="1"><b><i>}</i></b></font></p><p align="left"><font face="Calibri" size="8" color="#000000" letterSpacing="0.000000" kerning="1"><b><i>_root.menu = root_cm;</i></b></font></p>

In the code, where it says
www.Typewebsitehere.com" you can cange it to a
website of your choice

root_cm = new ContextMenu(); - Adds a new item to your
menu
root_cm.hideBuiltInItems(); - Hides items that were
already in the menu

Cursor Chaser:

Firstly, make something small that will chase
your cursor

<p align="left"><font face="Calibri" size="8" color="#000000" letterSpacing="0.000000" kerning="1"><b><i>onClipEvent (enterFrame) { </i></b></font></p><p align="left"><font face="Calibri" size="8" color="#000000" letterSpacing="0.000000" kerning="1"><b><i>myRadians = Math.atan2(_root._ymouse-this._y, _root._xmouse-this._x); </i></b></font></p><p align="left"><font face="Calibri" size="8" color="#000000" letterSpacing="0.000000" kerning="1"><b><i>myDegrees = Math.round((myRadians*180/Math.PI)); </i></b></font></p><p align="left"><font face="Calibri" size="8" color="#000000" letterSpacing="0.000000" kerning="1"><b><i>_root.yChange = Math.round(_root._ymouse-this._y); </i></b></font></p><p align="left"><font face="Calibri" size="8" color="#000000" letterSpacing="0.000000" kerning="1"><b><i>_root.xChange = Math.round(_root._xmouse-this._x); </i></b></font></p><p align="left"><font face="Calibri" size="8" color="#000000" letterSpacing="0.000000" kerning="1"><b><i>_root.yMove = Math.round(_root.yChange/20); </i></b></font></p><p align="left"><font face="Calibri" size="8" color="#000000" letterSpacing="0.000000" kerning="1"><b><i>_root.xMove = Math.round(_root.xChange/20); </i></b></font></p><p align="left"><font face="Calibri" size="8" color="#000000" letterSpacing="0.000000" kerning="1"><b><i>this._y += _root.yMove; </i></b></font></p><p align="left"><font face="Calibri" size="8" color="#000000" letterSpacing="0.000000" kerning="1"><b><i>this._x += _root.xMove; </i></b></font></p><p align="left"><font face="Calibri" size="8" color="#000000" letterSpacing="0.000000" kerning="1"><b><i>this._rotation = myDegrees+90; </i></b></font></p><p align="left"><font face="Calibri" size="8" color="#000000" letterSpacing="0.000000" kerning="1"><b><i>}</i></b></font></p>

Press F8 and give it the name "Chaser" and select
MovieClip. If you want, you can animate it

Filters:

Firstly, make a square or circle

NO CODE NEEDED!

<p align="justify"><font face="Calibri" size="8" color="#000000" letterSpacing="0.000000" kerning="1"><b><i>NO CODE NEEDED!</i></b></font></p>

See some examples:

To give it a filter, press F8 and make it a
MovieCip. Then, next to the properties tab is a
"Filter" button, press it. You should then see a
little plus sign, press it and choose a filter. You
can also play around with the settings.

Glow + Blur

Drop Shadow

The End - Hope I helped!

Restart

Restart

Made by Fuckle for newgrounds.com

ActionScript [AS1/AS2]

Frame 1
function itemHandler(obj, item) { getURL ("http://www.newgrounds.com", "_blank"); } root_cm = new ContextMenu(); root_cm.hideBuiltInItems(); root_cm.customItems.push(new ContextMenuItem("Visit newgrounds", itemHandler)); _root.menu = root_cm;
Frame 2
stop();
Frame 4
_root.onEnterFrame = function () { myDate = new Date(); hour = myDate.getHours(); min = myDate.getMinutes(); sec = myDate.getSeconds(); if (hour > 12) { hour = hour - 12; } else if (hour == 0) { hour = 12; } myDisplay.text = (((hour + ":") + min) + ":") + sec; };
Instance of Symbol 62 MovieClip in Frame 6
onClipEvent (load) { xTarget = _x; yTarget = _y; xSpeed = 0; ySpeed = 0; Mode = 1; Speed = 10; Stop = 1.2; } onClipEvent (enterFrame) { if (Mode == 1) { _x = (_x + xSpeed); _y = (_y + ySpeed); xSpeed = xSpeed + ((xTarget - _x) / Speed); ySpeed = ySpeed + ((yTarget - _y) / Speed); xSpeed = xSpeed / Stop; ySpeed = ySpeed / Stop; } if (Mode == 2) { _x = _root._xmouse; _y = _root._ymouse; xSpeed = 0; ySpeed = 0; } } onClipEvent (mouseDown) { Mode = 2; } onClipEvent (mouseUp) { Mode = 1; }
Instance of Symbol 62 MovieClip "Trail" in Frame 7
onClipEvent (load) { i = 0; } onClipEvent (mouseMove) { i++; this.duplicateMovieClip("Spawn" + i, i + 30); _root["Spawn" + i]._x = _root._xmouse; _root["Spawn" + i]._y = _root._ymouse; } onClipEvent (enterFrame) { if (this._name == "Trail") { _visible = false; } else { this._alpha = this._alpha - 10; this._rotation = this._rotation + 30; this._xscale = this._xscale - 10; this._yscale = this._yscale - 10; if (this._alpha <= 5) { removeMovieClip(this); } } }
Instance of Symbol 79 MovieClip in Frame 9
onClipEvent (enterFrame) { myRadians = Math.atan2(_root._ymouse - this._y, _root._xmouse - this._x); myDegrees = Math.round((myRadians * 180) / Math.PI); _root.yChange = Math.round(_root._ymouse - this._y); _root.xChange = Math.round(_root._xmouse - this._x); _root.yMove = Math.round(_root.yChange / 20); _root.xMove = Math.round(_root.xChange / 20); this._rotation = myDegrees + 180; }
Instance of Symbol 93 MovieClip in Frame 11
onClipEvent (enterFrame) { myRadians = Math.atan2(_root._ymouse - this._y, _root._xmouse - this._x); myDegrees = Math.round((myRadians * 180) / Math.PI); _root.yChange = Math.round(_root._ymouse - this._y); _root.xChange = Math.round(_root._xmouse - this._x); _root.yMove = Math.round(_root.yChange / 20); _root.xMove = Math.round(_root.xChange / 20); this._y = this._y + _root.yMove; this._x = this._x + _root.xMove; this._rotation = myDegrees + 90; }
Symbol 10 MovieClip Frame 1
function timerHandler() { if (!loadingComplete) { var _local4 = _root.getBytesLoaded() / _root.getBytesTotal(); bar._xscale = 100 * _local4; if (_local4 == 1) { loadingComplete = true; if (AUTO_PLAY) { startMovie(); } else { gotoAndStop ("loaded"); } return(undefined); } } dt = getTimer() - time; time = time + dt; frameAccum = frameAccum + dt; var _local3 = 0; while ((frameAccum >= FRAME_TIME) && (_local3 < MAX_FRAME_SKIP)) { advanceFrame(tankLogo, true, true); advanceFrame(loadingText, false, true); advanceFrame(barGfx, false, true); if (loadingComplete) { advanceFrame(this, false, false); } (frameAccum = frameAccum - FRAME_TIME); _local3++; } updateAfterEvent(); } function advanceFrame(clip, recurse, loop) { if (!clip) { return(undefined); } clip.stop(); if (clip._currentframe == clip._totalframes) { if (loop) { clip.gotoAndStop(1); } } else { clip.nextFrame(); } if (recurse) { for (childName in clip) { if (typeof(clip[childName]) == "movieclip") { advanceFrame(clip[childName], recurse, loop); } } } } function startMovie() { clearInterval(intervalId); _root.play(); } _root.stop(); stop(); var FRAME_TIME = 33.3333333333333; var AUTO_PLAY = false; var MAX_FRAME_SKIP = 5; var loadingComplete; var intervalId; var time; var frameAccum; loadingComplete = false; intervalId = setInterval(this, "timerHandler", FRAME_TIME / 2); frameAccum = 0; time = getTimer(); timerHandler();
Symbol 10 MovieClip Frame 37
startMovie();
Symbol 21 Button
on (release) { gotoAndStop (3); }
Symbol 30 Button
on (release) { gotoAndStop (4); }
Symbol 41 Button
on (release) { gotoAndStop (5); }
Symbol 50 Button
on (release) { gotoAndStop (6); }
Symbol 56 Button
on (release) { gotoAndStop (7); }
Symbol 64 Button
on (release) { gotoAndStop (8); }
Symbol 68 Button
on (release) { gotoAndStop (9); }
Symbol 74 Button
on (release) { gotoAndStop (10); }
Symbol 81 Button
on (release) { gotoAndStop (11); }
Symbol 87 Button
on (release) { gotoAndStop (12); }
Symbol 95 Button
on (release) { gotoAndStop (13); }
Symbol 111 Button
on (release) { gotoAndPlay (2); stopAllSounds(); }

Library Items

Symbol 1 GraphicUsed by:10
Symbol 2 GraphicUsed by:10
Symbol 3 GraphicUsed by:4 10
Symbol 4 MovieClipUses:3Used by:10
Symbol 5 GraphicUsed by:6
Symbol 6 ButtonUses:5Used by:10
Symbol 7 ShapeTweeningUsed by:10
Symbol 8 ShapeTweeningUsed by:10
Symbol 9 GraphicUsed by:10
Symbol 10 MovieClipUses:1 2 4 6 3 7 8 9Used by:Timeline
Symbol 11 GraphicUsed by:Timeline
Symbol 12 GraphicUsed by:13
Symbol 13 MovieClipUses:12Used by:Timeline
Symbol 14 FontUsed by:15 17 19 24 26 28 31 32 33 34 37 38 40 42 43 45 46 47 49 51 53 54 55 57 59 60 63 66 67 69 71 72 73 75 77 80 82 84 85 86 88 90 94 96 97 99 100 103 106 107 108 109 112
Symbol 15 TextUses:14Used by:Timeline
Symbol 16 GraphicUsed by:21
Symbol 17 TextUses:14Used by:21
Symbol 18 GraphicUsed by:21
Symbol 19 TextUses:14Used by:21
Symbol 20 GraphicUsed by:21
Symbol 21 ButtonUses:16 17 18 19 20Used by:Timeline
Symbol 22 SoundUsed by:Timeline
Symbol 23 GraphicUsed by:Timeline
Symbol 24 TextUses:14Used by:Timeline
Symbol 25 GraphicUsed by:30 41 50 56 64 68 74 81 87 95
Symbol 26 TextUses:14Used by:30 41 50 56 64 68 74 81 87 95
Symbol 27 GraphicUsed by:30 41 50 56 64 68 74 81 87 95 111
Symbol 28 TextUses:14Used by:30 41 50 56 64 68 74 81 87 95
Symbol 29 GraphicUsed by:30 41 50 56 64 68 74 81 87 95
Symbol 30 ButtonUses:25 26 27 28 29Used by:Timeline
Symbol 31 TextUses:14Used by:Timeline
Symbol 32 TextUses:14Used by:Timeline
Symbol 33 TextUses:14Used by:Timeline
Symbol 34 TextUses:14Used by:Timeline
Symbol 35 FontUsed by:36 44 52 58 65 70 76 83 89 98
Symbol 36 EditableTextUses:35Used by:Timeline
Symbol 37 TextUses:14Used by:Timeline
Symbol 38 TextUses:14Used by:Timeline
Symbol 39 GraphicUsed by:Timeline
Symbol 40 TextUses:14Used by:Timeline
Symbol 41 ButtonUses:25 26 27 28 29Used by:Timeline
Symbol 42 TextUses:14Used by:Timeline
Symbol 43 TextUses:14Used by:Timeline
Symbol 44 EditableTextUses:35Used by:Timeline
Symbol 45 TextUses:14Used by:Timeline
Symbol 46 EditableTextUses:14Used by:Timeline
Symbol 47 TextUses:14Used by:Timeline
Symbol 48 GraphicUsed by:Timeline
Symbol 49 TextUses:14Used by:Timeline
Symbol 50 ButtonUses:25 26 27 28 29Used by:Timeline
Symbol 51 TextUses:14Used by:Timeline
Symbol 52 EditableTextUses:35Used by:Timeline
Symbol 53 TextUses:14Used by:Timeline
Symbol 54 TextUses:14Used by:Timeline
Symbol 55 TextUses:14Used by:Timeline
Symbol 56 ButtonUses:25 26 27 28 29Used by:Timeline
Symbol 57 TextUses:14Used by:Timeline
Symbol 58 EditableTextUses:35Used by:Timeline
Symbol 59 TextUses:14Used by:Timeline
Symbol 60 TextUses:14Used by:Timeline
Symbol 61 GraphicUsed by:62
Symbol 62 MovieClipUses:61Used by:Timeline
Symbol 63 TextUses:14Used by:Timeline
Symbol 64 ButtonUses:25 26 27 28 29Used by:Timeline
Symbol 65 EditableTextUses:35Used by:Timeline
Symbol 66 TextUses:14Used by:Timeline
Symbol 67 TextUses:14Used by:Timeline
Symbol 68 ButtonUses:25 26 27 28 29Used by:Timeline
Symbol 69 TextUses:14Used by:Timeline
Symbol 70 EditableTextUses:35Used by:Timeline
Symbol 71 TextUses:14Used by:Timeline
Symbol 72 TextUses:14Used by:Timeline
Symbol 73 TextUses:14Used by:Timeline
Symbol 74 ButtonUses:25 26 27 28 29Used by:Timeline
Symbol 75 TextUses:14Used by:Timeline
Symbol 76 EditableTextUses:35Used by:Timeline
Symbol 77 TextUses:14Used by:Timeline
Symbol 78 GraphicUsed by:79
Symbol 79 MovieClipUses:78Used by:Timeline
Symbol 80 TextUses:14Used by:Timeline
Symbol 81 ButtonUses:25 26 27 28 29Used by:Timeline
Symbol 82 TextUses:14Used by:Timeline
Symbol 83 EditableTextUses:35Used by:Timeline
Symbol 84 TextUses:14Used by:Timeline
Symbol 85 TextUses:14Used by:Timeline
Symbol 86 TextUses:14Used by:Timeline
Symbol 87 ButtonUses:25 26 27 28 29Used by:Timeline
Symbol 88 TextUses:14Used by:Timeline
Symbol 89 EditableTextUses:35Used by:Timeline
Symbol 90 TextUses:14Used by:Timeline
Symbol 91 GraphicUsed by:93
Symbol 92 GraphicUsed by:93
Symbol 93 MovieClipUses:91 92Used by:Timeline
Symbol 94 TextUses:14Used by:Timeline
Symbol 95 ButtonUses:25 26 27 28 29Used by:Timeline
Symbol 96 TextUses:14Used by:Timeline
Symbol 97 TextUses:14Used by:Timeline
Symbol 98 EditableTextUses:35Used by:Timeline
Symbol 99 TextUses:14Used by:Timeline
Symbol 100 TextUses:14Used by:Timeline
Symbol 101 GraphicUsed by:102
Symbol 102 MovieClipUses:101Used by:Timeline
Symbol 103 TextUses:14Used by:Timeline
Symbol 104 GraphicUsed by:105
Symbol 105 MovieClipUses:104Used by:Timeline
Symbol 106 TextUses:14Used by:Timeline
Symbol 107 TextUses:14Used by:Timeline
Symbol 108 TextUses:14Used by:111
Symbol 109 TextUses:14Used by:111
Symbol 110 GraphicUsed by:111
Symbol 111 ButtonUses:27 108 109 110Used by:Timeline
Symbol 112 TextUses:14Used by:Timeline

Instance Names

"myDisplay"Frame 4Symbol 46 EditableText
"Trail"Frame 7Symbol 62 MovieClip
"bar"Symbol 10 MovieClip Frame 1Symbol 4 MovieClip

Special Tags

FileAttributes (69)Timeline Frame 1Access local files only, Metadata not present, AS1/AS2.

Labels

"loaded"Symbol 10 MovieClip Frame 2




http://swfchan.com/14/69388/info.shtml
Created: 10/4 -2019 11:49:56 Last modified: 10/4 -2019 11:49:56 Server time: 22/12 -2024 10:30:43