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

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

Tutorial - AS & Cool Stuff.swf

This is the info page for
Flash #55292

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


Text
PLAY

PLAY

SKIP

SKIP

Random AS & Useful Stuff: Menu

Welcome to SickStick's 'Random AS & Cool Stuff' Tutorial, in this tutorial you'll be
able to find some interesting actionscript and 'cool stuff' like clocks, custom cursors
and some other good stuff!
Just choose from the two choices below to select which one you want to learn/use.

CREDITS

CREDITS

RANDOM AS

RANDOM AS

COOL STUFF

COOL STUFF

Created By SickStick

Music Off

Music On

Music Off

Music On

Changing the right click menu is very simple, and it can stop people from cheating
on your games! Just add this AS to the first frame of your game or movie.
And, you're done, easy!

Random AS: Right Click Menu

NEXT

NEXT

MENU

MENU

<p align="left"><font face="Arial" size="9" color="#ffffff" letterSpacing="0.000000" kerning="1"><b>Stage.showMenu = false;</b></font></p>

OK! To make a basic button, you first need to draw it, so draw anything, like a circle.
Select it all, then turn it into a Button. (Ctrl + F8) Open up the actions panel (F9) and
paste the following in.

Random AS: Buttons

BACK

BACK

<p align="left"><font face="Arial" size="7" color="#ffffff" letterSpacing="0.000000" kerning="1">on (press) {</font></p><p align="left"><font face="Arial" size="7" color="#ffffff" letterSpacing="0.000000" kerning="1">play();</font></p><p align="left"><font face="Arial" size="7" color="#ffffff" letterSpacing="0.000000" kerning="1">}</font></p>

This actionscript is very basic, when you press the button, it plays.
The next thing you need to do, is put a stop(); command on the frame
containing the button.

You can make a slightly different button, by changing the play(); command.
These are just a few more commands, but there are many different command in the
place of play();

<p align="left"><font face="Arial" size="8" color="#ffffff" letterSpacing="0.000000" kerning="1">on (press) {</font></p><p align="left"><font face="Arial" size="8" color="#ffffff" letterSpacing="0.000000" kerning="1"> gotoAndPlay(&quot;hi&quot;);</font></p><p align="left"><font face="Arial" size="8" color="#ffffff" letterSpacing="0.000000" kerning="1">}</font></p>

When you press your
button it will play a
frame named 'hi'

<p align="left"><font face="Arial" size="7" color="#ffffff" letterSpacing="0.000000" kerning="1">on (press) {</font></p><p align="left"><font face="Arial" size="7" color="#ffffff" letterSpacing="0.000000" kerning="1"> gotoAndPlay (prevFrame());</font></p><p align="left"><font face="Arial" size="7" color="#ffffff" letterSpacing="0.000000" kerning="1">}</font></p>

When you press your
button it will play the
previous frame.

A quick game to make, nearly entirely from actionscript.
1. Draw a circle for your football, basketball, etc.
2. Select it, convert it into a movieclip. (Ctrl+F8)
3. Open up the actions panel (F9) and put this actionscript in.
4. You're done!

Random AS: Football Kick Up Game

<p align="left"><font face="Arial" size="1" color="#ffffff" letterSpacing="0.000000" kerning="1">onClipEvent (load) {</font></p><p align="left"><font face="Arial" size="1" color="#ffffff" letterSpacing="0.000000" kerning="1">ySpeed = 0;</font></p><p align="left"><font face="Arial" size="1" color="#ffffff" letterSpacing="0.000000" kerning="1">gravity =3;</font></p><p align="left"><font face="Arial" size="1" color="#ffffff" letterSpacing="0.000000" kerning="1">bounce = .8;</font></p><p align="left"><font face="Arial" size="1" color="#ffffff" letterSpacing="0.000000" kerning="1">ground = 300;</font></p><p align="left"><font face="Arial" size="1" color="#ffffff" letterSpacing="0.000000" kerning="1">}</font></p><p align="left"></p><p align="left"><font face="Arial" size="1" color="#ffffff" letterSpacing="0.000000" kerning="1">onClipEvent (enterFrame) {</font></p><p align="left"><font face="Arial" size="1" color="#ffffff" letterSpacing="0.000000" kerning="1">if (_y&lt;ground) {</font></p><p align="left"><font face="Arial" size="1" color="#ffffff" letterSpacing="0.000000" kerning="1">ySpeed += gravity;</font></p><p align="left"><font face="Arial" size="1" color="#ffffff" letterSpacing="0.000000" kerning="1">} else if (ySpeed&gt;gravity*4) {</font></p><p align="left"><font face="Arial" size="1" color="#ffffff" letterSpacing="0.000000" kerning="1">_y = ground;</font></p><p align="left"><font face="Arial" size="1" color="#ffffff" letterSpacing="0.000000" kerning="1">ySpeed *= -bounce;</font></p><p align="left"><font face="Arial" size="1" color="#ffffff" letterSpacing="0.000000" kerning="1">} else {</font></p><p align="left"><font face="Arial" size="1" color="#ffffff" letterSpacing="0.000000" kerning="1">ySpeed = 0;</font></p><p align="left"><font face="Arial" size="1" color="#ffffff" letterSpacing="0.000000" kerning="1">_y = ground;</font></p><p align="left"><font face="Arial" size="1" color="#ffffff" letterSpacing="0.000000" kerning="1">}</font></p><p align="left"><font face="Arial" size="1" color="#ffffff" letterSpacing="0.000000" kerning="1">_y += ySpeed;</font></p><p align="left"><font face="Arial" size="1" color="#ffffff" letterSpacing="0.000000" kerning="1">}</font></p><p align="left"></p><p align="left"><font face="Arial" size="1" color="#ffffff" letterSpacing="0.000000" kerning="1">onClipEvent (enterFrame) {</font></p><p align="left"><font face="Arial" size="1" color="#ffffff" letterSpacing="0.000000" kerning="1">if (_x&lt;0 || _x&gt;550) {</font></p><p align="left"><font face="Arial" size="1" color="#ffffff" letterSpacing="0.000000" kerning="1">xSpeed *= -1;</font></p><p align="left"><font face="Arial" size="1" color="#ffffff" letterSpacing="0.000000" kerning="1">}</font></p><p align="left"><font face="Arial" size="1" color="#ffffff" letterSpacing="0.000000" kerning="1">_x += xSpeed;</font></p><p align="left"><font face="Arial" size="1" color="#ffffff" letterSpacing="0.000000" kerning="1">xSpeed *= .95;</font></p><p align="left"><font face="Arial" size="1" color="#ffffff" letterSpacing="0.000000" kerning="1">}</font></p><p align="left"></p><p align="left"><font face="Arial" size="1" color="#ffffff" letterSpacing="0.000000" kerning="1">onClipEvent (mouseDown) {</font></p><p align="left"><font face="Arial" size="1" color="#ffffff" letterSpacing="0.000000" kerning="1">if (hitTest(_root._xmouse, _root._ymouse, true)) {</font></p><p align="left"><font face="Arial" size="1" color="#ffffff" letterSpacing="0.000000" kerning="1">xSpeed = (_x-_root._xmouse)/2;</font></p><p align="left"><font face="Arial" size="1" color="#ffffff" letterSpacing="0.000000" kerning="1">_y--;</font></p><p align="left"><font face="Arial" size="1" color="#ffffff" letterSpacing="0.000000" kerning="1">ySpeed = (_y-_root._ymouse-_height)/1.5;</font></p><p align="left"><font face="Arial" size="1" color="#ffffff" letterSpacing="0.000000" kerning="1">}</font></p><p align="left"><font face="Arial" size="1" color="#ffffff" letterSpacing="0.000000" kerning="1">}</font></p>

It's probably best that you do this, in your flash rather than this one, things get a
little shakey, just stick this AS into the frame you want to be shakey!
And you're done!

Random AS: Earthquake

<p align="left"><font face="Arial" size="6" color="#ffffff" letterSpacing="0.000000" kerning="1">onClipEvent (enterFrame) {</font></p><p align="left"><font face="Arial" size="6" color="#ffffff" letterSpacing="0.000000" kerning="1">function shake(){</font></p><p align="left"><font face="Arial" size="6" color="#ffffff" letterSpacing="0.000000" kerning="1">shakex=random(20)-10</font></p><p align="left"><font face="Arial" size="6" color="#ffffff" letterSpacing="0.000000" kerning="1">shakey=random(20)-10</font></p><p align="left"><font face="Arial" size="6" color="#ffffff" letterSpacing="0.000000" kerning="1">shakex*=0.7</font></p><p align="left"><font face="Arial" size="6" color="#ffffff" letterSpacing="0.000000" kerning="1">shakey*=0.7</font></p><p align="left"><font face="Arial" size="6" color="#ffffff" letterSpacing="0.000000" kerning="1">if(shakex&lt;1 &amp;&amp; shakey&lt;1){</font></p><p align="left"><font face="Arial" size="6" color="#ffffff" letterSpacing="0.000000" kerning="1">_parent._x=0</font></p><p align="left"><font face="Arial" size="6" color="#ffffff" letterSpacing="0.000000" kerning="1">_parent._y=0</font></p><p align="left"><font face="Arial" size="6" color="#ffffff" letterSpacing="0.000000" kerning="1">}</font></p><p align="left"><font face="Arial" size="6" color="#ffffff" letterSpacing="0.000000" kerning="1">}</font></p><p align="left"><font face="Arial" size="6" color="#ffffff" letterSpacing="0.000000" kerning="1">setInterval(shake,100)</font></p><p align="left"><font face="Arial" size="6" color="#ffffff" letterSpacing="0.000000" kerning="1">_parent._x-=shakex</font></p><p align="left"><font face="Arial" size="6" color="#ffffff" letterSpacing="0.000000" kerning="1">_parent._y-=shakey</font></p>

Make a piece of string follow your cursor with this cool script! Just stick it in the
frames action panel!
This actionscript has some really good physics!

Random AS: Cursor String

<p align="left"><font face="Arial" size="1" color="#ffffff" letterSpacing="0.000000" kerning="1">var pointArray:Array = new Array();</font></p><p align="left"><font face="Arial" size="1" color="#ffffff" letterSpacing="0.000000" kerning="1">var maxDistance:Number = new Number(5);</font></p><p align="left"><font face="Arial" size="1" color="#ffffff" letterSpacing="0.000000" kerning="1">var maxDistance2:Number = maxDistance*maxDistance;</font></p><p align="left"><font face="Arial" size="1" color="#ffffff" letterSpacing="0.000000" kerning="1">var gravity:Number = new Number(2);</font></p><p align="left"><font face="Arial" size="1" color="#ffffff" letterSpacing="0.000000" kerning="1">var lineLenght:Number = new Number(60);</font></p><p align="left"><font face="Arial" size="1" color="#ffffff" letterSpacing="0.000000" kerning="1">pointArray.push([Stage.width/2, Stage.height/2]);</font></p><p align="left"><font face="Arial" size="1" color="#ffffff" letterSpacing="0.000000" kerning="1">_root.createEmptyMovieClip(&quot;line&quot;, 1);</font></p><p align="left"><font face="Arial" size="1" color="#ffffff" letterSpacing="0.000000" kerning="1">_root[&quot;line&quot;].lineStyle(2, 0, 100);</font></p><p align="left"><font face="Arial" size="1" color="#ffffff" letterSpacing="0.000000" kerning="1">_root[&quot;line&quot;].moveTo(pointArray[0][0], pointArray[0][1]);</font></p><p align="left"><font face="Arial" size="1" color="#ffffff" letterSpacing="0.000000" kerning="1">for (i=1; i&lt;lineLenght; i++) {</font></p><p align="left"><font face="Arial" size="1" color="#ffffff" letterSpacing="0.000000" kerning="1">pointArray.push([pointArray[0][0], pointArray[0][1]+(i*maxDistance)]);</font></p><p align="left"><font face="Arial" size="1" color="#ffffff" letterSpacing="0.000000" kerning="1">_root[&quot;line&quot;].lineTo(pointArray[i][0], pointArray[i][1]);</font></p><p align="left"><font face="Arial" size="1" color="#ffffff" letterSpacing="0.000000" kerning="1">}</font></p><p align="left"><font face="Arial" size="1" color="#ffffff" letterSpacing="0.000000" kerning="1">_root.onEnterFrame = function() {</font></p><p align="left"><font face="Arial" size="1" color="#ffffff" letterSpacing="0.000000" kerning="1">pointArray[0][0] = _xmouse;</font></p><p align="left"><font face="Arial" size="1" color="#ffffff" letterSpacing="0.000000" kerning="1">pointArray[0][1] = _ymouse;</font></p><p align="left"><font face="Arial" size="1" color="#ffffff" letterSpacing="0.000000" kerning="1">_root[&quot;line&quot;].clear();</font></p><p align="left"><font face="Arial" size="1" color="#ffffff" letterSpacing="0.000000" kerning="1">_root[&quot;line&quot;].moveTo(pointArray[0][0], pointArray[0][1]);</font></p><p align="left"><font face="Arial" size="1" color="#ffffff" letterSpacing="0.000000" kerning="1">_root[&quot;line&quot;].lineStyle(2, 0, 100);</font></p><p align="left"><font face="Arial" size="1" color="#ffffff" letterSpacing="0.000000" kerning="1">for (i=1; i&lt;lineLenght; i++) {</font></p><p align="left"><font face="Arial" size="1" color="#ffffff" letterSpacing="0.000000" kerning="1">pointArray[i][1] += gravity;</font></p><p align="left"><font face="Arial" size="1" color="#ffffff" letterSpacing="0.000000" kerning="1">if (distSq(pointArray[i], pointArray[i-1])&gt;maxDistance2) {</font></p><p align="left"><font face="Arial" size="1" color="#ffffff" letterSpacing="0.000000" kerning="1">var rotation:Number = Math.atan2(pointArray[i][1]-pointArray[i-1][1], pointArray[i][0]-pointArray[i-1][0]);</font></p><p align="left"><font face="Arial" size="1" color="#ffffff" letterSpacing="0.000000" kerning="1">pointArray[i][0] = pointArray[i-1][0]+Math.cos(rotation)*maxDistance;</font></p><p align="left"><font face="Arial" size="1" color="#ffffff" letterSpacing="0.000000" kerning="1">pointArray[i][1] = pointArray[i-1][1]+Math.sin(rotation)*maxDistance;</font></p><p align="left"><font face="Arial" size="1" color="#ffffff" letterSpacing="0.000000" kerning="1">}</font></p><p align="left"><font face="Arial" size="1" color="#ffffff" letterSpacing="0.000000" kerning="1">_root[&quot;line&quot;].lineTo(pointArray[i][0], pointArray[i][1])</font></p><p align="left"><font face="Arial" size="1" color="#ffffff" letterSpacing="0.000000" kerning="1">}</font></p><p align="left"><font face="Arial" size="1" color="#ffffff" letterSpacing="0.000000" kerning="1">};</font></p><p align="left"><font face="Arial" size="1" color="#ffffff" letterSpacing="0.000000" kerning="1">function distSq(ptA:Array, ptB:Array):Number {</font></p><p align="left"><font face="Arial" size="1" color="#ffffff" letterSpacing="0.000000" kerning="1">return (ptA[0]-ptB[0])*(ptA[0]-ptB[0])+(ptA[1]-ptB[1])*(ptA[1]-ptB[1]);</font></p><p align="left"><font face="Arial" size="1" color="#ffffff" letterSpacing="0.000000" kerning="1">}</font></p>

Right! Here's something useful! A digital clock, the one you'll be making is at the
bottom of the page. Anyway to start you'll need to make a new MC. (Ctrl+F8) Then,
create 3 layers each with 2 keyframes. The top layer is for actionscript, the next one
down is for the time, and the bottom layer is optional, it's the box around the time. On
the top layer, put these actions in:

Cool Stuff: Digital Clock

<p align="left"><font face="Arial" size="2" color="#ffffff" letterSpacing="0.000000" kerning="1">time=new Date(); // time object</font></p><p align="left"><font face="Arial" size="2" color="#ffffff" letterSpacing="0.000000" kerning="1">var seconds = time.getSeconds()</font></p><p align="left"><font face="Arial" size="2" color="#ffffff" letterSpacing="0.000000" kerning="1">var minutes = time.getMinutes()</font></p><p align="left"><font face="Arial" size="2" color="#ffffff" letterSpacing="0.000000" kerning="1">var hours = time.getHours()</font></p><p align="left"><font face="Arial" size="2" color="#ffffff" letterSpacing="0.000000" kerning="1">if (hours&lt;12) {</font></p><p align="left"><font face="Arial" size="2" color="#ffffff" letterSpacing="0.000000" kerning="1">ampm = &quot;AM&quot;;</font></p><p align="left"><font face="Arial" size="2" color="#ffffff" letterSpacing="0.000000" kerning="1">} </font></p><p align="left"><font face="Arial" size="2" color="#ffffff" letterSpacing="0.000000" kerning="1">else{</font></p><p align="left"><font face="Arial" size="2" color="#ffffff" letterSpacing="0.000000" kerning="1">ampm = &quot;PM&quot;;</font></p><p align="left"><font face="Arial" size="2" color="#ffffff" letterSpacing="0.000000" kerning="1">}</font></p><p align="left"><font face="Arial" size="2" color="#ffffff" letterSpacing="0.000000" kerning="1">while(hours &gt;12){</font></p><p align="left"><font face="Arial" size="2" color="#ffffff" letterSpacing="0.000000" kerning="1">hours = hours - 12;</font></p><p align="left"><font face="Arial" size="2" color="#ffffff" letterSpacing="0.000000" kerning="1">}</font></p><p align="left"><font face="Arial" size="2" color="#ffffff" letterSpacing="0.000000" kerning="1">if(hours&lt;10)</font></p><p align="left"><font face="Arial" size="2" color="#ffffff" letterSpacing="0.000000" kerning="1">{</font></p><p align="left"><font face="Arial" size="2" color="#ffffff" letterSpacing="0.000000" kerning="1">hours = &quot;0&quot; + hours;</font></p><p align="left"><font face="Arial" size="2" color="#ffffff" letterSpacing="0.000000" kerning="1">}</font></p><p align="left"><font face="Arial" size="2" color="#ffffff" letterSpacing="0.000000" kerning="1">if(minutes&lt;10)</font></p><p align="left"><font face="Arial" size="2" color="#ffffff" letterSpacing="0.000000" kerning="1">{</font></p><p align="left"><font face="Arial" size="2" color="#ffffff" letterSpacing="0.000000" kerning="1">minutes = &quot;0&quot; + minutes;</font></p><p align="left"><font face="Arial" size="2" color="#ffffff" letterSpacing="0.000000" kerning="1">}</font></p><p align="left"><font face="Arial" size="2" color="#ffffff" letterSpacing="0.000000" kerning="1">if(seconds&lt;10)</font></p><p align="left"><font face="Arial" size="2" color="#ffffff" letterSpacing="0.000000" kerning="1"> &nbsp;&nbsp;{</font></p><p align="left"><font face="Arial" size="2" color="#ffffff" letterSpacing="0.000000" kerning="1">seconds = &quot;0&quot; + seconds;</font></p><p align="left"><font face="Arial" size="2" color="#ffffff" letterSpacing="0.000000" kerning="1">}</font></p><p align="left"><font face="Arial" size="2" color="#ffffff" letterSpacing="0.000000" kerning="1">clock_txt.text = hours + &quot;:&quot; + minutes + &quot;:&quot; + seconds +&quot; &quot;+ ampm;</font></p>

Frame 1           Frame 2

<p align="left"><font face="Arial" size="7" color="#ffffff" letterSpacing="0.000000" kerning="1">gotoAndPlay(1);</font></p>

In the layer down, put in a 'Dynamic' text box, with the
instance name of 'clock_txt'
In the layer below that, if you want, you can do what I have
and stick a box round the text box, to make it stand out
more. Otherwise, delete the bottom layer. Import the
movieclip onto the stage, and... you're done!

You can make a webcam image appear on the screen, it's easy! You can do it in 5 quick
steps!
1. Open up the library. (Ctrl+L)
2. Click on the button, next to the word Library.
3. Select 'New Video' and drag it onto the frame. You should now have a green box.
4. Open up the properties panel for the new object, give it an instance name of cam.
5. Open up the actions panel for the frame containing cam, and put in this actionscript.
6. Press Ctrl+Enter and view yourself on webcam!
Note: You will need to click on 'Allow' to give flash access to your webcam.

Cool Stuff: Webcam

<p align="left"><font face="Arial" size="8" color="#ffffff" letterSpacing="0.000000" kerning="1">c = Camera.get();</font></p><p align="left"><font face="Arial" size="8" color="#ffffff" letterSpacing="0.000000" kerning="1">cam.attachVideo(c)</font></p>

Custom cursors can make your flash feel a lot more special, it's very easy aswell,
and you can make your own one, just like this blue one!
1. Create your cursor graphic, select it, and turn it into a movieclip. (Ctrl+F8)
2. Open up the Actions Panel (F9) and give your cursor the instance name of cursor.
3. Paste the following into the frame containing your cursor.
4. You're done!

Cool Stuff: Custom Cursor

<p align="left"><font face="Arial" size="8" color="#ffffff" letterSpacing="0.000000" kerning="1">startDrag (&quot;_root.cursor&quot;, <sbr />true);</font></p><p align="left"><font face="Arial" size="8" color="#ffffff" letterSpacing="0.000000" kerning="1">Mouse.hide(); </font></p>

There's nothing more annoying than watching a flash movie,but your computer is too
slow to run it, so you end up not being able to watch it, but if that movie or game had
a quality changer button, it would run a lot quicker... So you're going to learn how to
do it for your flash!
1. Create your button, select it all, and convert it into a button. (Ctrl+F8)
2. Open up the Actions panel for the new button. (F9)
3. Paste in the following actionscript.

Cool Stuff: Quality Changer

<p align="left"><font face="Arial" size="6" color="#ffffff" letterSpacing="0.000000" kerning="1">on (release) { </font></p><p align="left"><font face="Arial" size="6" color="#ffffff" letterSpacing="0.000000" kerning="1">&nbsp;&nbsp;&nbsp;&nbsp;if (_quality == &quot;LOW&quot;) { </font></p><p align="left"><font face="Arial" size="6" color="#ffffff" letterSpacing="0.000000" kerning="1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;_quality = &quot;MEDIUM&quot;; </font></p><p align="left"><font face="Arial" size="6" color="#ffffff" letterSpacing="0.000000" kerning="1">&nbsp;&nbsp;&nbsp;&nbsp;} else if (_quality == &quot;MEDIUM&quot;) { </font></p><p align="left"><font face="Arial" size="6" color="#ffffff" letterSpacing="0.000000" kerning="1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;_quality = &quot;HIGH&quot;; </font></p><p align="left"><font face="Arial" size="6" color="#ffffff" letterSpacing="0.000000" kerning="1">&nbsp;&nbsp;&nbsp;&nbsp;} else if (_quality == &quot;HIGH&quot;) { </font></p><p align="left"><font face="Arial" size="6" color="#ffffff" letterSpacing="0.000000" kerning="1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;_quality = &quot;LOW&quot;; </font></p><p align="left"><font face="Arial" size="6" color="#ffffff" letterSpacing="0.000000" kerning="1">&nbsp;&nbsp;&nbsp;&nbsp;} </font></p><p align="left"><font face="Arial" size="6" color="#ffffff" letterSpacing="0.000000" kerning="1">}</font></p>

And this is the type of button you should end up with...

QUALITY

QUALITY

Key codes, are numbers which relate to keys on the keyboard, here's a list.
A=65 B=66 C=67 D=68 E=69 F=70 G=71 H=72 I=73 J=74 K=75 L=76 M=77 N=78 O=79
P=80 Q=81 R=82 S=83 T=84 U=85 V=86 W=87 X=88 Y=89 Z=90
An example would be:
onClipEvent (enterFrame) {
if(Key.isDown(65)){
_root.gotoAndStop(2);
}
}
Note: The above script would be put on a frame.

Cool Stuff: Key Codes

Random AS & Cool Stuff

Facts:
Time Taken: 2 Days.
Tutorials: 10
FPS: 30
Music: Lost Prophets - Rooftops.
Programs Used: Macromedia Flash Professional 8.
Credits:
Everything By SickStick.

ActionScript [AS1/AS2]

Frame 3
stop(); Stage.showMenu = false;
Frame 4
stop();
Frame 5
stop();
Frame 6
stop();
Frame 7
stop();
Frame 8
stop();
Frame 9
stop();
Frame 10
stop();
Frame 11
stop(); startDrag ("_root.cursor", true); Mouse.hide();
Frame 12
stop();
Frame 13
stop();
Frame 14
stop();
Symbol 12 Button
on (release) { _root.play(); }
Instance of Symbol 5 MovieClip in Symbol 13 MovieClip Frame 1
onClipEvent (load) { _root.stop(); _parent.stop(); } onClipEvent (enterFrame) { var bytes = _root.getBytesTotal(); var bytes_loaded = _root.getBytesLoaded(); kbl = int(bytes_loaded / 1024); kbt = int(bytes / 1024); percent = (bytes_loaded / bytes) * 100; pc = int(percent); _parent.mask._alpha = 100 - pc; _width = (percent * 2.8); _root.plpc = ((((pc + "% LOADED - ") + kbl) + " OF ") + kbt) + " KB"; if (bytes_loaded == bytes) { _parent.gotoAndStop(2); } }
Symbol 18 MovieClip Frame 20
stop();
Symbol 19 MovieClip Frame 25
stop();
Symbol 56 MovieClip Frame 1
_root.stop();
Symbol 56 MovieClip Frame 265
_root.play();
Symbol 60 Button
on (press) { _root.play(); }
Symbol 68 Button
on (press) { gotoAndPlay ("credits"); }
Symbol 71 Button
on (press) { gotoAndPlay ("ranas"); }
Symbol 74 Button
on (press) { gotoAndPlay ("use"); }
Symbol 78 Button
on (release) { nextFrame(); stopAllSounds(); }
Symbol 83 Button
on (release) { prevFrame(); }
Symbol 84 MovieClip Frame 1
stop();
Symbol 84 MovieClip Frame 2
stopAllSounds();
Symbol 89 Button
on (press) { play(); }
Symbol 92 Button
on (press) { gotoAndPlay ("int"); }
Symbol 99 Button
on (press) { prevFrame(); gotoAndPlay; }
Symbol 114 Button
on (press) { play(); Mouse.show(); }
Symbol 115 Button
on (press) { prevFrame(); gotoAndPlay; Mouse.show(); }
Symbol 116 Button
on (press) { gotoAndPlay ("int"); Mouse.show(); }
Symbol 127 Button
on (press) { prevFrame(); gotoAndPlay; _quality = "HIGH"; }
Symbol 128 Button
on (press) { gotoAndPlay ("int"); _quality = "HIGH"; }
Symbol 136 MovieClip Frame 1
time = new Date(); var seconds = time.getSeconds(); var minutes = time.getMinutes(); var hours = time.getHours(); if (hours < 12) { ampm = "AM"; } else { ampm = "PM"; } while (hours > 12) { hours = hours - 12; } if (hours < 10) { hours = "0" + hours; } if (minutes < 10) { minutes = "0" + minutes; } if (seconds < 10) { seconds = "0" + seconds; } clock_txt.text = (((((hours + ":") + minutes) + ":") + seconds) + " ") + ampm;
Symbol 136 MovieClip Frame 2
gotoAndPlay (1);
Symbol 158 Button
on (release) { if (_quality == "LOW") { _quality = "MEDIUM"; } else if (_quality == "MEDIUM") { _quality = "HIGH"; } else if (_quality == "HIGH") { _quality = "LOW"; } }
Symbol 159 Button
on (press) { prevFrame(); gotoAndPlay; }
Symbol 164 Button
on (press) { gotoAndPlay ("int"); _root.music.stop(); }

Library Items

Symbol 1 GraphicUsed by:2
Symbol 2 MovieClipUses:1Used by:Timeline
Symbol 3 GraphicUsed by:13 23
Symbol 4 GraphicUsed by:5
Symbol 5 MovieClipUses:4Used by:13
Symbol 6 FontUsed by:7 10 11
Symbol 7 EditableTextUses:6Used by:13
Symbol 8 GraphicUsed by:13
Symbol 9 GraphicUsed by:12 60
Symbol 10 TextUses:6Used by:12
Symbol 11 TextUses:6Used by:12
Symbol 12 ButtonUses:9 10 11Used by:13
Symbol 13 MovieClipUses:3 5 7 8 12Used by:Timeline
Symbol 14 GraphicUsed by:15
Symbol 15 ButtonUses:14Used by:56
Symbol 16 ShapeTweeningUsed by:18
Symbol 17 GraphicUsed by:18
Symbol 18 MovieClipUses:16 17Used by:19
Symbol 19 MovieClipUses:18Used by:22 56
Symbol 20 GraphicUsed by:21
Symbol 21 MovieClipUses:20Used by:22 56
Symbol 22 MovieClipUses:19 21Used by:56
Symbol 23 MovieClipUses:3Used by:56
Symbol 24 GraphicUsed by:56
Symbol 25 GraphicUsed by:56
Symbol 26 GraphicUsed by:56
Symbol 27 GraphicUsed by:56
Symbol 28 GraphicUsed by:56
Symbol 29 GraphicUsed by:56
Symbol 30 GraphicUsed by:56
Symbol 31 GraphicUsed by:56
Symbol 32 GraphicUsed by:56
Symbol 33 GraphicUsed by:56
Symbol 34 GraphicUsed by:56
Symbol 35 GraphicUsed by:56
Symbol 36 GraphicUsed by:56
Symbol 37 GraphicUsed by:56
Symbol 38 GraphicUsed by:56
Symbol 39 GraphicUsed by:56
Symbol 40 GraphicUsed by:56
Symbol 41 GraphicUsed by:56
Symbol 42 GraphicUsed by:56
Symbol 43 GraphicUsed by:56
Symbol 44 GraphicUsed by:56
Symbol 45 GraphicUsed by:56
Symbol 46 GraphicUsed by:47
Symbol 47 MovieClipUses:46Used by:56
Symbol 48 GraphicUsed by:49
Symbol 49 MovieClipUses:48Used by:56
Symbol 50 GraphicUsed by:51
Symbol 51 MovieClipUses:50Used by:56
Symbol 52 GraphicUsed by:53
Symbol 53 MovieClipUses:52Used by:56
Symbol 54 GraphicUsed by:55
Symbol 55 MovieClipUses:54Used by:56
Symbol 56 MovieClipUses:15 22 19 21 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 47 49 51 53 55 SS1Used by:Timeline
Symbol 57 FontUsed by:58 59 61 62 69 70 72 73 75 76 79 81 82 85 86 94 95 96 102 104 105 107 108 110 111 112 113 118 119 120 122 123 124 126 129 130 138 140 141 142 143 145 146 147 148 151 152 154 155 160 161 162 163
Symbol 58 TextUses:57Used by:60
Symbol 59 TextUses:57Used by:60
Symbol 60 ButtonUses:9 58 59Used by:Timeline
Symbol 61 TextUses:57Used by:Timeline
Symbol 62 TextUses:57Used by:Timeline
Symbol 63 GraphicUsed by:68 89 92 99 114 115 116 127 128 158 159 164
Symbol 64 FontUsed by:65 67 87 88 90 91 97 98 156 157
Symbol 65 TextUses:64Used by:68
Symbol 66 GraphicUsed by:68 89 99 114 115 127 159
Symbol 67 TextUses:64Used by:68
Symbol 68 ButtonUses:63 65 66 67Used by:Timeline
Symbol 69 TextUses:57Used by:71
Symbol 70 TextUses:57Used by:71
Symbol 71 ButtonUses:69 70Used by:Timeline
Symbol 72 TextUses:57Used by:74
Symbol 73 TextUses:57Used by:74
Symbol 74 ButtonUses:72 73Used by:Timeline
Symbol 75 TextUses:57Used by:Timeline
Symbol 76 TextUses:57Used by:78
Symbol 77 GraphicUsed by:78
Symbol 78 ButtonUses:76 77Used by:84
Symbol 79 TextUses:57Used by:84
Symbol 80 SoundUsed by:84
Symbol 81 TextUses:57Used by:84
Symbol 82 TextUses:57Used by:83
Symbol 83 ButtonUses:82Used by:84
Symbol 84 MovieClipUses:78 79 80 81 83Used by:Timeline
Symbol 85 TextUses:57Used by:Timeline
Symbol 86 TextUses:57Used by:Timeline
Symbol 87 TextUses:64Used by:89 114
Symbol 88 TextUses:64Used by:89 114
Symbol 89 ButtonUses:63 87 66 88Used by:Timeline
Symbol 90 TextUses:64Used by:92 116 128 164
Symbol 91 TextUses:64Used by:92 116 128 164
Symbol 92 ButtonUses:63 90 91Used by:Timeline
Symbol 93 GraphicUsed by:Timeline
Symbol 94 EditableTextUses:57 101 103Used by:Timeline
Symbol 95 TextUses:57Used by:Timeline
Symbol 96 TextUses:57Used by:Timeline
Symbol 97 TextUses:64Used by:99 115 127 159
Symbol 98 TextUses:64Used by:99 115 127 159
Symbol 99 ButtonUses:63 97 66 98Used by:Timeline
Symbol 100 GraphicUsed by:Timeline
Symbol 101 FontUsed by:94 102 107 110 118 122 126 138 140 145 148 154
Symbol 102 EditableTextUses:57 101 103Used by:Timeline
Symbol 103 FontUsed by:94 102 104 105 107 110 118 122 126 138 139 140 142 145 146 148 154 160 163
Symbol 104 TextUses:57 103Used by:Timeline
Symbol 105 TextUses:57 103Used by:Timeline
Symbol 106 GraphicUsed by:Timeline
Symbol 107 EditableTextUses:57 101 103Used by:Timeline
Symbol 108 TextUses:57Used by:Timeline
Symbol 109 GraphicUsed by:Timeline
Symbol 110 EditableTextUses:57 101 103Used by:Timeline
Symbol 111 TextUses:57Used by:Timeline
Symbol 112 TextUses:57Used by:Timeline
Symbol 113 TextUses:57Used by:Timeline
Symbol 114 ButtonUses:63 87 66 88Used by:Timeline
Symbol 115 ButtonUses:63 97 66 98Used by:Timeline
Symbol 116 ButtonUses:63 90 91Used by:Timeline
Symbol 117 GraphicUsed by:Timeline
Symbol 118 EditableTextUses:57 101 103Used by:Timeline
Symbol 119 TextUses:57Used by:Timeline
Symbol 120 TextUses:57Used by:Timeline
Symbol 121 GraphicUsed by:Timeline
Symbol 122 EditableTextUses:57 101 103Used by:Timeline
Symbol 123 TextUses:57Used by:Timeline
Symbol 124 TextUses:57Used by:Timeline
Symbol 125 GraphicUsed by:Timeline
Symbol 126 EditableTextUses:57 101 103Used by:Timeline
Symbol 127 ButtonUses:63 97 66 98Used by:Timeline
Symbol 128 ButtonUses:63 90 91Used by:Timeline
Symbol 129 TextUses:57Used by:Timeline
Symbol 130 TextUses:57Used by:Timeline
Symbol 131 GraphicUsed by:136
Symbol 132 FontUsed by:133 135
Symbol 133 EditableTextUses:132Used by:136
Symbol 134 GraphicUsed by:136
Symbol 135 EditableTextUses:132Used by:136
Symbol 136 MovieClipUses:131 133 134 135Used by:Timeline
Symbol 137 GraphicUsed by:Timeline
Symbol 138 EditableTextUses:57 101 103Used by:Timeline
Symbol 139 TextUses:103Used by:Timeline
Symbol 140 EditableTextUses:57 101 103Used by:Timeline
Symbol 141 TextUses:57Used by:Timeline
Symbol 142 TextUses:57 103Used by:Timeline
Symbol 143 TextUses:57Used by:Timeline
Symbol 144 GraphicUsed by:Timeline
Symbol 145 EditableTextUses:57 101 103Used by:Timeline
Symbol 146 TextUses:57 103Used by:Timeline
Symbol 147 TextUses:57Used by:Timeline
Symbol 148 EditableTextUses:57 101 103Used by:Timeline
Symbol 149 GraphicUsed by:150
Symbol 150 MovieClipUses:149Used by:Timeline
Symbol 151 TextUses:57Used by:Timeline
Symbol 152 TextUses:57Used by:Timeline
Symbol 153 GraphicUsed by:Timeline
Symbol 154 EditableTextUses:57 101 103Used by:Timeline
Symbol 155 TextUses:57Used by:Timeline
Symbol 156 TextUses:64Used by:158
Symbol 157 TextUses:64Used by:158
Symbol 158 ButtonUses:63 156 157Used by:Timeline
Symbol 159 ButtonUses:63 97 66 98Used by:Timeline
Symbol 160 TextUses:57 103Used by:Timeline
Symbol 161 TextUses:57Used by:Timeline
Symbol 162 TextUses:57Used by:Timeline
Symbol 163 TextUses:103 57Used by:Timeline
Symbol 164 ButtonUses:63 90 91Used by:Timeline
Streaming Sound 1Used by:Symbol 56 MovieClip

Instance Names

"music"Frame 3Symbol 84 MovieClip
"cursor"Frame 11Symbol 150 MovieClip
"clock_txt"Symbol 136 MovieClip Frame 1Symbol 133 EditableText
"clock_txt"Symbol 136 MovieClip Frame 2Symbol 135 EditableText

Special Tags

FileAttributes (69)Timeline Frame 1Access local files only, Metadata not present, AS1/AS2.
Protect (24)Timeline Frame 131 bytes "..$1$jj$cTu1/MrjaTI/riH6q39VM1."

Labels

"load"Frame 1
"int"Frame 3
"ranas"Frame 4
"clock"Frame 5
"use"Frame 9
"credits"Frame 14

Dynamic Text Variables

_root.plpcSymbol 7 EditableText""




http://swfchan.com/12/55292/info.shtml
Created: 20/4 -2019 15:28:42 Last modified: 20/4 -2019 15:28:42 Server time: 15/05 -2024 15:59:29