PDA

View Full Version : Some stupid codes [Flash][Actionscript]



Chaos
08-23-2005, 01:10 PM
to make something follow your mouse, make something(duh) and convert to movie clip the add this:

onClipEvent(mouseMove){
if(hitTest(_root._xmouse,_root._ymouse,true)){
goforit = "yes";
}
}
onClipEvent(enterFrame){
if(goforit == "yes"){
_x -= (_x - _root._xmouse) / 6;
_y -= (_y - _root._ymouse) / 6;
}
}


o make a custom cursor, make object, then convert to movie clip, give instance name cursor, and add:

onClipEvent (load) {
startDrag("", true);
Mouse.hide(); }


to make a drag drop game, draw object, convert to button, and add:

on (press) {
startDrag("box1");
}
on (release) {
stopDrag();
}


to make a link to a URL, make button and add:

getURL("whatever.com", "_blank");


to make button, make object, convert to symbol, ad:

on (release) {
_root.play();
}

then on the first frame of movie, add:


stop();


to make something move with arrow keys, make object, convert to movie clip, and add:

onClipEvent(load){
moveSpeed=10;
}
onClipEvent (enterFrame) {
if (Key.isDown(Key.RIGHT)) {
this._x+=moveSpeed;
} else if (Key.isDown(Key.LEFT)) {
this._x-=moveSpeed;
}
if (Key.isDown(Key.DOWN)) {
this._y+=moveSpeed;
} else if (Key.isDown(Key.UP)) {
this._y-=moveSpeed;
}
}

to change speed, Substitute the 10 in “movespeed=10:” with a higher or lower number.


To make a mouse trail, create object, give instaqnce name “orig”, and add:

onClipEvent(load){i=0;}
onClipEvent (mouseMove){
i++;
this.duplicateMovieClip("MC"+i, i+10);

_root["MC"+i]._x = _root._xmouse;
_root["MC"+i]._y = _root._ymouse;
}
onClipEvent (enterFrame) {
if (_name=="orig") {
this._visible=0;
}else{
_alpha-=2;
_xscale-=2;
_yscale-=2;
if(_alpha<=2) {removeMovieClip(this);}
}
}


to make fireworks, add:

ravity=30;
numsparks=100;
sparksize=2;

SW=Stage.width; SH=Stage.height; f=100;
C1=new Array("0xFF0000", "0xFFFFFF", "0xFFFF00", "0xFF9900", "0xFFCC33", "0xFFFFFF")

function makespark(rd){
_root.createEmptyMovieClip("spark", -7000);
with(spark){
lineStyle(0, 0xFFFFFF, 0);
beginFill(0xFFFFFF);
moveTo(0, -rd);
curveTo(rd*1.5, 0, 0, rd);
curveTo(-rd*1.5, 0, 0, -rd);
endFill();
_visible=0;
}
}

function makeback(){
_root.createEmptyMovieClip("back", 1);
with(back){
beginFill(0x000000, 100);
moveTo(0, 0);
lineTo(SW, 0);
lineTo(SW, SH);
lineTo(0, SH);
lineTo(0, 0);
endFill();
}

back.onPress=function(){
f+= numsparks+10;
for(z=f; z<(f+numsparks); z++){
duplicateMovieClip("spark", "spark"+z, z)
with(_root["spark"+z]){
_x=_root._xmouse;
_y=_root._ymouse;
}
_root["spark"+z].vx= ((random(400)-200)/35);
_root["spark"+z].vy= ((random(200)-150)/35);

_root["spark"+z].onEnterFrame=function(){
new Color(this).setRGB(C1[random(C1.length)]);
this._x+=this.vx*0.6;
this._y+=this.vy*1;
this._alpha-=1;
down=random(gravity)/100;
this.vy+=down;
if(this._y>SH || this._alpha<0){
this.removeMovieClip();
}
}
}
}
}

makeback()
makespark(sparksize)


To make a 3D cube, add this:

this.createEmptyMovieClip("center", 0);
center._x = Stage.width/2;
center._y = Stage.height/2;
focalLength = 400;
cube = {};
cube.vertexList = [];
cube.vertexList.push({x:-50, y:-50, z:50});
cube.vertexList.push({x:50, y:-50, z:50});
cube.vertexList.push({x:50, y:-50, z:-50});
cube.vertexList.push({x:-50, y:-50, z:-50});
cube.vertexList.push({x:-50, y:50, z:50});
cube.vertexList.push({x:50, y:50, z:50});
cube.vertexList.push({x:50, y:50, z:-50});
cube.vertexList.push({x:-50, y:50, z:-50});
cube.side = [];
cube.side.push([0,1,2,3]);
cube.side.push([2,1,5,6]);
cube.side.push([1,0,4,5]);
cube.side.push([5,4,7,6]);
cube.side.push([0,3,7,4]);
cube.side.push([3,2,6,7]);
render = function(model) {
if (transformMatrix) {
for (var i = 0; i < model.vertexList.length; i++) {
var vert = model.vertexList[i];
var x = transformMatrix.a*vert.x + transformMatrix.b*vert.y + transformMatrix.c*vert.z;
var y = transformMatrix.d*vert.x + transformMatrix.e*vert.y + transformMatrix.f*vert.z;
var z = transformMatrix.g*vert.x + transformMatrix.h*vert.y + transformMatrix.i*vert.z;;
vert.x = x;
vert.y = y;
vert.z = z;
}
delete transformMatrix;
}
center.clear();
center.lineStyle(2, 0, 100);
verts2D = [];
depthArray = [];
for (var i = 0; i < model.side.length; i++) {
var zDepth = 0;
for (var j = 0; j < model.side[i].length; j++) {
var whichVert = model.side[i][j];
if (verts2D[whichVert] == undefined) {
verts2D[whichVert] = {};
var scale = focalLength/(focalLength - model.vertexList[whichVert].z);
verts2D[whichVert].x = model.vertexList[whichVert].x * scale;
verts2D[whichVert].y = model.vertexList[whichVert].y * scale;
}
zDepth += model.vertexList[whichVert].z;
}
depthArray.push([model.side[i], zDepth]);
}
depthArray.sort(function(a,b) { return a[1] > b[1] });
for (var i = 0; i < depthArray.length; i++) {
var sideVerts = depthArray[i][0];
center.moveTo(verts2D[sideVerts[0]].x, verts2D[sideVerts[0]].y);
center.beginFill(0x666666, 100);
for (var j = 1; j < sideVerts.length; j++) {
center.lineTo(verts2D[sideVerts[j]].x, verts2D[sideVerts[j]].y);
}
center.lineTo(verts2D[sideVerts[0]].x, verts2D[sideVerts[0]].y);
center.endFill();
}
}
rotateX = function(model, degree) {
var rad = degree*Math.PI/180;
var sin = Math.sin(rad);
var cos = Math.cos(rad);
var matrix = {a:1, b:0, c:0, d:0, e:cos, f:sin, g:0, h:-sin, i:cos};
transform(matrix, model);
}
rotateY = function(model, degree) {
var rad = degree*Math.PI/180;
var sin = Math.sin(rad);
var cos = Math.cos(rad);
var matrix = {a:cos, b:0, c:-sin, d:0, e:1, f:0, g:sin, h:0, i:cos};
transform(matrix, model);
}
rotateZ = function(model, degree) {
var rad = degree*Math.PI/180;
var sin = Math.sin(rad);
var cos = Math.cos(rad);
var matrix = {a:cos, b:sin, c:0, d:-sin, e:cos, f:0, g:0, h:0, i:1};
transform(matrix, model);
}
scale = function(model, percent) {
var rad = degree*Math.PI/180;
var matrix = {a:percent, b:0, c:0, d:0, e:percent, f:0, g:0, h:0, i:percent};
transform(matrix, model);
}
transform = function(matrix, model) {
if (transformMatrix) {
var a = matrix.a*transformMatrix.a + matrix.b*transformMatrix.d + matrix.c*transformMatrix.g;
var b = matrix.a*transformMatrix.b + matrix.b*transformMatrix.e + matrix.c*transformMatrix.h;
var c = matrix.a*transformMatrix.c + matrix.b*transformMatrix.f + matrix.c*transformMatrix.i;
var d = matrix.d*transformMatrix.a + matrix.e*transformMatrix.d + matrix.f*transformMatrix.g;
var e = matrix.d*transformMatrix.b + matrix.e*transformMatrix.e + matrix.f*transformMatrix.h;
var f = matrix.d*transformMatrix.c + matrix.e*transformMatrix.f + matrix.f*transformMatrix.i;
var g = matrix.g*transformMatrix.a + matrix.h*transformMatrix.d + matrix.i*transformMatrix.g;
var h = matrix.g*transformMatrix.b + matrix.h*transformMatrix.e + matrix.i*transformMatrix.h;
var i = matrix.g*transformMatrix.c + matrix.h*transformMatrix.f + matrix.i*transformMatrix.i;
transformMatrix = {a:a, b:b, c:c, d:d, e:e, f:f, g:g, h:h, i:i};
} else {
transformMatrix = matrix
}
}
center.onEnterFrame = function() {
rotateX(cube, 3);
rotateY(cube, 6);
rotateZ(cube, 10);
render(cube);
};


hope this helps. reppage, please if it helps

Slick Vick
08-23-2005, 01:34 PM
Very good tutioral just no proof that it will work, Which some people need.

TheCheez
08-23-2005, 02:00 PM
cool tute, i already knew the fireworks one and it's already in my sig, but ya that helped me, rep for you.

Slick Vick
08-23-2005, 03:26 PM
Lol te cheez, I was massing fire works, And it almost crashed my computer O.o Anyways. I'm gonna get started on some action scripting.

vanquish
08-23-2005, 03:58 PM
thnx for the tutorial.

That was helpful

2-D
08-23-2005, 06:19 PM
this totally went on my favorites list.

Admin
08-23-2005, 06:23 PM
Maybe you could comment your code so we know how it works...

StickFu
08-23-2005, 06:27 PM
Make examples of whaT THEY DO. tHATD BE COOL. sry bout the caps.

Chaos
08-24-2005, 01:00 PM
my flash trial is dead... anyone know where to get free flash???? if i got flash again, id show you what they do

F-Zero
08-24-2005, 01:18 PM
this is what i use for my website. its really cool. reppage if you use it. look at my profile and go to my site. look at it at my site :D


<script language="javascript">

var speed;
var RunTime = 0;
var Xpos = 0;
var Ypos = 0;
var pulse=25;
var cnter=70;
var _y;
if (document.layers)
{
document.write('<LAYER NAME="a0" LEFT=10 TOP=10 BGCOLOR="#FF0000" CLIP="0,0,2,2"></LAYER>'
+'<LAYER NAME="a1" LEFT=10 TOP=10 BGCOLOR="#FF8000" CLIP="0,0,2,2"></LAYER>'
+'<LAYER NAME="a2" LEFT=10 TOP=10 BGCOLOR="#FFFF00" CLIP="0,0,2,2"></LAYER>'
+'<LAYER NAME="a3" LEFT=10 TOP=10 BGCOLOR="#00FF00" CLIP="0,0,2,2"></LAYER>'
+'<LAYER NAME="a4" LEFT=10 TOP=10 BGCOLOR="#0000FF" CLIP="0,0,2,2"></LAYER>'
+'<LAYER NAME="a5" LEFT=10 TOP=10 BGCOLOR="#FF00FF" CLIP="0,0,2,2"></LAYER>'
+'<LAYER NAME="a6" LEFT=10 TOP=10 BGCOLOR="#FFFFFF" CLIP="0,0,2,2"></LAYER>');
window.captureEvents(Event.MOUSEMOVE);
function xMoveHandler(evnt){
Xpos = evnt.pageX;
Ypos = evnt.pageY;
}
window.onMouseMove = xMoveHandler;
}
else if (document.all)
{
document.write('<div id="ieDiv" style="position:absolute;top:0px;left:0px">'
+'<div id="c" style="position:relative">'
+'<div style="position:absolute;top:0px;left:0px;width:2px;heigh t:2px;background:#ff0000;font-size:2px"></div>'
+'<div style="position:absolute;top:0px;left:0px;width:2px;heigh t:2px;background:#00ff00;font-size:2px"></div>'
+'<div style="position:absolute;top:0px;left:0px;width:2px;heigh t:2px;background:#ffffff;font-size:2px"></div>'
+'<div style="position:absolute;top:0px;left:0px;width:2px;heigh t:2px;background:#ffa500;font-size:2px"></div>'
+'<div style="position:absolute;top:0px;left:0px;width:2px;heigh t:2px;background:#ff00ff;font-size:2px"></div>'
+'<div style="position:absolute;top:0px;left:0px;width:2px;heigh t:2px;background:#8888ff;font-size:2px"></div>'
+'<div style="position:absolute;top:0px;left:0px;width:2px;heigh t:2px;background:#fff000;font-size:2px"></div>'
+'</div>'
+'</div>');
function MoveHandler(){
Xpos = document.body.scrollLeft+event.x;
Ypos = document.body.scrollTop+event.y;
}
document.onmousemove = MoveHandler;
}
function sv3(){
if (RunTime<0.0550)
speed=0.001;

if (document.layers)
{
for (i=0;i<7;i++)
{
var ntscp="a"+i
document.layers[ntscp].top=Ypos+cnter*Math.cos((RunTime+i*4.5)/5)*Math.sin((RunTime)*150);
document.layers[ntscp].left=Xpos+cnter*Math.sin((RunTime+i*4.5)/5)*Math.sin((RunTime)*150);
}
}
else if (document.all)
{
for (i=0;i<ieDiv.all.c.all.length;i++)
{
ieDiv.all.c.all[i].style.top=Ypos+cnter*Math.cos((RunTime+i*4.5)/5)*Math.sin((RunTime)*150);
ieDiv.all.c.all[i].style.left=Xpos+cnter*Math.sin((RunTime+i*4.5)/5)*Math.sin((RunTime)*150);
}
}
RunTime+=speed;
stp=setTimeout('sv3()',10);
if (RunTime>0.0540)
{
speed+=0.002;
if (document.layers)
{
for (i=0;i<7;i++)
{
var ntscp="a"+i
document.layers[ntscp].top=Ypos+cnter*Math.cos((RunTime+i*4.5)/5)
document.layers[ntscp].left=Xpos+cnter*Math.sin((RunTime+i*4.5)/5)
}
}
else if (document.all)
{
for (i=0;i<ieDiv.all.c.all.length;i++)
{
ieDiv.all.c.all[i].style.top=Ypos+cnter*Math.cos((RunTime+i*4.5)/5)
ieDiv.all.c.all[i].style.left=Xpos+cnter*Math.sin((RunTime+i*4.5)/5)
}
}
}
if (speed > 0.5)
{
speed=0.5;
cnter-=8;
}
if (document.layers)
_y=-window.innerHeight;
else if (document.all)
_y=-document.body.clientHeight;
if (cnter <= _y)
{
RunTime=0;
speed=0.001;
cnter=70;
}
}
sv3();
//-->
</SCRIPT>

Nicol3
08-24-2005, 01:39 PM
These codes are juicier than a 3 foot Po'Boy sandwich. Bookmark'd.

Chaos
08-24-2005, 01:42 PM
please rep me!!





character limit

Lambi
08-24-2005, 02:13 PM
yay I learned something! maybe not. but I know where to find it, rep for you : D

F-Zero
08-24-2005, 02:23 PM
Pop-up code-

</SCRIPT>
<SCRIPT>alert ('HALDO!')</SCRIPT>

<script language="Javascript1.2">

just change the word HALDO! to whatever you want. put that code near the beginning of the text block.

spinnything code-

<script language="javascript">

var speed;
var RunTime = 0;
var Xpos = 0;
var Ypos = 0;
var pulse=25;
var cnter=70;
var _y;
if (document.layers)
{
document.write('<LAYER NAME="a0" LEFT=10 TOP=10 BGCOLOR="#FF0000" CLIP="0,0,2,2"></LAYER>'
+'<LAYER NAME="a1" LEFT=10 TOP=10 BGCOLOR="#FF8000" CLIP="0,0,2,2"></LAYER>'
+'<LAYER NAME="a2" LEFT=10 TOP=10 BGCOLOR="#FFFF00" CLIP="0,0,2,2"></LAYER>'
+'<LAYER NAME="a3" LEFT=10 TOP=10 BGCOLOR="#00FF00" CLIP="0,0,2,2"></LAYER>'
+'<LAYER NAME="a4" LEFT=10 TOP=10 BGCOLOR="#0000FF" CLIP="0,0,2,2"></LAYER>'
+'<LAYER NAME="a5" LEFT=10 TOP=10 BGCOLOR="#FF00FF" CLIP="0,0,2,2"></LAYER>'
+'<LAYER NAME="a6" LEFT=10 TOP=10 BGCOLOR="#FFFFFF" CLIP="0,0,2,2"></LAYER>');
window.captureEvents(Event.MOUSEMOVE);
function xMoveHandler(evnt){
Xpos = evnt.pageX;
Ypos = evnt.pageY;
}
window.onMouseMove = xMoveHandler;
}
else if (document.all)
{
document.write('<div id="ieDiv" style="position:absolute;top:0px;left:0px">'
+'<div id="c" style="position:relative">'
+'<div style="position:absolute;top:0px;left:0px;width:2px;heigh t:2px;background:#ff0000;font-size:2px"></div>'
+'<div style="position:absolute;top:0px;left:0px;width:2px;heigh t:2px;background:#00ff00;font-size:2px"></div>'
+'<div style="position:absolute;top:0px;left:0px;width:2px;heigh t:2px;background:#ffffff;font-size:2px"></div>'
+'<div style="position:absolute;top:0px;left:0px;width:2px;heigh t:2px;background:#ffa500;font-size:2px"></div>'
+'<div style="position:absolute;top:0px;left:0px;width:2px;heigh t:2px;background:#ff00ff;font-size:2px"></div>'
+'<div style="position:absolute;top:0px;left:0px;width:2px;heigh t:2px;background:#8888ff;font-size:2px"></div>'
+'<div style="position:absolute;top:0px;left:0px;width:2px;heigh t:2px;background:#fff000;font-size:2px"></div>'
+'</div>'
+'</div>');
function MoveHandler(){
Xpos = document.body.scrollLeft+event.x;
Ypos = document.body.scrollTop+event.y;
}
document.onmousemove = MoveHandler;
}
function sv3(){
if (RunTime<0.0550)
speed=0.001;

if (document.layers)
{
for (i=0;i<7;i++)
{
var ntscp="a"+i
document.layers[ntscp].top=Ypos+cnter*Math.cos((RunTime+i*4.5)/5)*Math.sin((RunTime)*150);
document.layers[ntscp].left=Xpos+cnter*Math.sin((RunTime+i*4.5)/5)*Math.sin((RunTime)*150);
}
}
else if (document.all)
{
for (i=0;i<ieDiv.all.c.all.length;i++)
{
ieDiv.all.c.all[i].style.top=Ypos+cnter*Math.cos((RunTime+i*4.5)/5)*Math.sin((RunTime)*150);
ieDiv.all.c.all[i].style.left=Xpos+cnter*Math.sin((RunTime+i*4.5)/5)*Math.sin((RunTime)*150);
}
}
RunTime+=speed;
stp=setTimeout('sv3()',10);
if (RunTime>0.0540)
{
speed+=0.002;
if (document.layers)
{
for (i=0;i<7;i++)
{
var ntscp="a"+i
document.layers[ntscp].top=Ypos+cnter*Math.cos((RunTime+i*4.5)/5)
document.layers[ntscp].left=Xpos+cnter*Math.sin((RunTime+i*4.5)/5)
}
}
else if (document.all)
{
for (i=0;i<ieDiv.all.c.all.length;i++)
{
ieDiv.all.c.all[i].style.top=Ypos+cnter*Math.cos((RunTime+i*4.5)/5)
ieDiv.all.c.all[i].style.left=Xpos+cnter*Math.sin((RunTime+i*4.5)/5)
}
}
}
if (speed > 0.5)
{
speed=0.5;
cnter-=8;
}
if (document.layers)
_y=-window.innerHeight;
else if (document.all)
_y=-document.body.clientHeight;
if (cnter <= _y)
{
RunTime=0;
speed=0.001;
cnter=70;
}
}
sv3();
//-->
</SCRIPT>
also put near top of text block.

rep me if it helped. i use these two codes in my site. Animotions.tk (http://www.Animotions.tk)

Death Cool
08-26-2005, 01:22 PM
Yo chaos,
You know anymore codes?
Theyre pretty good!

Chaos
08-26-2005, 02:18 PM
rep please. dont copy my avitar

stick king
08-28-2005, 06:22 AM
If you want Flash for 99 bucks, follow this link: http://www.macromedia.com/cfusion/store/html/index.cfm?event=displayEduConditions
Rep me for that advice.

Chaos
08-28-2005, 10:06 AM
well, sticky friend, i already knew that!!!! Exept i kinda cant deal with macromedia...

☺SA☺
09-01-2005, 06:50 PM
Rep me for posting!!1!11one!!1 Calm down with the reps, you're sounding desperate.

Anyway, that wasn't a tut. that was just loads of codes that someone will copy and paste, watch it, and will have no idea how it works. I knew how to do everythin' there except the fireworks and cube. But i do know how to alter those codes to meet my requirements.

You should of really gone over them, like Pol used to do, that's more helpful than providing a load of code that i bet even you dont know what it means...

sheepskate
09-11-2005, 04:09 AM
Hey, does any1 no the as for "random movement"? :confused:

Chaos
09-11-2005, 09:58 AM
i think its:
onClipEvent (load) {
time=0;
dir=2;
speed=20;
}
onClipEvent (enterFrame) {
maxTime = random(5);
time++;
if (time>=maxTime) {
time = 0;
}
if (time == 0) {
dir = random(20);
}
if (dir == 0) {
this._y -= speed;
} else if (dir == 1) {
this._y += speed;
} else if (dir == 2) {
this._x -= speed;
} else if (dir == 3) {
this._x += speed;
}
}

xion71
09-11-2005, 11:18 AM
nice tut. wish i new how to rep. How do i rep?

F-Zero
09-11-2005, 11:26 AM
YOur reps wont do anything XD

Chaos
09-11-2005, 11:27 AM
click the scale in the right upper corner of my post.

funnyav
11-14-2005, 09:23 AM
If you can, please help me. Does anyone know the code to expand the dimenstion of my swf. Example: like those ads where theres a button "click to expand" and then the flash expands and ogverlaps everything over what it expanded. like its this big:
____________________
llllllllllllllllllllllllllllllllllllllllllllllllll lll
llllllllllllllllllllllllllllllllllllllllllllllllll lll
llllllllllllllllllllllllllllllllllllllllllllllllll lll
llllllllllllllllllllllllllllllllllllllllllllllllll lll
llllllllllllllllllllllllllllllllllllllllllllllllll lll
llllllllllllllllllllllllllllllllllllllllllllllllll lll
l___________________l
then when u click expand, its this big

llllllllllllllllllllllllllllllllllllllllllllllllll llllllllllllllllllllllllllllllllllllllllllllllllll llllll
llllllllllllllllllllllllllllllllllllllllllllllllll llllllllllllllllllllllllllllllllllllllllllllllllll llllll
llllllllllllllllllllllllllllllllllllllllllllllllll llllllllllllllllllllllllllllllllllllllllllllllllll llllll
llllllllllllllllllllllllllllllllllllllllllllllllll llllllllllllllllllllllllllllllllllllllllllllllllll llllll
llllllllllllllllllllllllllllllllllllllllllllllllll llllllllllllllllllllllllllllllllllllllllllllllllll llllll
llllllllllllllllllllllllllllllllllllllllllllllllll llllllllllllllllllllllllllllllllllllllllllllllllll llllll
llllllllllllllllllllllllllllllllllllllllllllllllll llllllllllllllllllllllllllllllllllllllllllllllllll llllll
llllllllllllllllllllllllllllllllllllllllllllllllll llllllllllllllllllllllllllllllllllllllllllllllllll llllll



I want to do this for my sig. see my sig,
http://ish.xs4all.nl/~0136/images/ScrollingSig.swf
or here:
http://ish.xs4all.nl/~0136/images/ScrollingSig.swf
I want to make it so that its only wat you see without scrolling, then on mouse over i want to make it expand. I know if exactly what i want is not possible, the basic idea is.
Help!!!!!!

froggeh.
12-13-2005, 09:22 AM
where do you insert the thing for the *custom cursor* ?

thx

The_(N00b)_Animator
12-13-2005, 08:54 PM
hey anyone know the AS code for those really annoying things http://www.funnyjunk.com/pages/awesome.htm/ like that go to that adress to be annoyed with like 255 popups that you have to click ok on all of them to get past all of em
what would be the code for that?

ayyg
01-21-2006, 08:43 AM
its not annoying. Just hold enter for 10 sec and they all gone liao.

kidko
01-21-2006, 09:32 AM
BUT... that's JavaScript:

function wa(txt) {
window.alert(txt);
}

And then just use this:

var a = 0;
var txt = "x";
while (a < 100) {
wa('It\'s on value '+a+'!');
a++;
}

MF3dragon
02-19-2006, 01:17 PM
O_O there's no way for me to learn this...

Hydrogen
02-19-2006, 01:53 PM
O_O there's no way for me to learn this...
Wow, bumpage...

I miss my old account.

bazookapenguin
02-20-2006, 01:06 PM
my flash trial is dead... anyone know where to get free flash???? if i got flash again, id show you what they do
if u got a trial 4 falsh 8 i could give u the key



mabey

ilike2game
03-22-2006, 09:40 PM
i cant make the drag'n drop thing drag and its pissing me off. the point finger appers when you scroll over it but it wont Move!!!

DarkAssassin
03-25-2006, 10:50 AM
my flash trial is dead... anyone know where to get free flash???? if i got flash again, id show you what they do

if i would tell evryone how to get flash 8 proffesional for free i would get banned

the silent mage
10-28-2006, 03:23 PM
need help with the drag and drop!!!!!!!!!!!!!!!!!!!!!!!! it also won't move for me!!!!!!!

Big Bang
10-28-2006, 03:46 PM
need help with the drag and drop!!!!!!!!!!!!!!!!!!!!!!!! it also won't move for me!!!!!!!
Wow, thanks for bumping a 7 month old thread...

Sigh.Did you turned the object into a button?

Kitsune
10-28-2006, 06:00 PM
omg cool!!!!! thanx for bumpin!!!!!!!! awesome tut!!!!!

the silent mage
02-03-2007, 02:45 PM
What i last said was ages ago but... how to make a drag and drop game is to make a movieclip and call it what ever you want it to be called and add this code into the actions :

on(press){
startDrag("")
}
on(release){
stopDrag()
}

works for me :)

coolninja19
03-06-2007, 03:43 PM
Thanks!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! how to shoot object and colision

Apples
03-08-2007, 03:23 PM
Thanks!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! how to shoot object and colision

youve got to be ****ing kidding me to bump a thread over a year old.

kespen
04-06-2007, 04:27 AM
my flash trial is dead... anyone know where to get free flash???? if i got flash again, id show you what they do

You can try limewire, I can't find anything that actually works there, but there are downloads involving flash.

If you find anything good, can you tell me the keywords you used?
Thx

Xelectroid
04-06-2007, 04:38 AM
youve got to be ****ing kidding me to bump a thread over a year old.

It wasn't him. Look at the posts above it.

«Some.Guy»
04-09-2007, 07:43 AM
You can try limewire, I can't find anything that actually works there, but there are downloads involving flash.

If you find anything good, can you tell me the keywords you used?
Thx

keygen...

thats all i can post....

Fringo
04-11-2007, 10:48 PM
Thanks for the codes ^_^ Can come handy.

karma
04-12-2007, 12:07 PM
Hey Slick Vick nice cop hein? :p

stiky the dumb
04-26-2007, 06:04 PM
my flash trial is dead... anyone know where to get free flash???? if i got flash again, id show you what they do

I got flash 4 free, but thats because i messed with that YOUR FREE TRAIL IS OVER thing
P.S. How do you covert into a button???

Plague
05-11-2007, 10:35 AM
the drag and drop has errors(don't know what) and the trail disappears after 5 seconds(the code was good though) the 3D cube has errors on line 88 and 90(again, dont know what) the rest of them work though good job though :),
I would have no idea how to do it though

Plague
05-11-2007, 10:37 AM
I got flash 4 free, but thats because i messed with that YOUR FREE TRAIL IS OVER thing
P.S. How do you covert into a button???
sorry about the double post everone but| when my trial expires can you PLEEEAAASSSeee tell me EXACTLY what you did to get it for free,:D oh you convert it to a button by selecting your object right clicking it convert to symbol "button" then with nothing selected press F9 then paste this into the white box stop();
then double click your button press F6 3 times click Scene 1
select your button press F9 then +>actions>movie control>play

stiky the dumb
05-13-2007, 11:21 AM
Okay thx ill try that
(\_/)
(o-0)
(> <
/_|_\put the bunny on your posts to help him acheive world domination

Apples
05-13-2007, 02:42 PM
sorry about the double post everone but| when my trial expires can you PLEEEAAASSSeee tell me EXACTLY what you did to get it for free

gtfo the internet........

























































now!

Gongagoo
05-14-2007, 07:17 PM
Might use those later, thanks!

ninjapanda
05-16-2007, 09:54 PM
wow dude! Awesome tut. Helped alot!! XD

jeroenw1
10-20-2007, 04:36 AM
i liked the one with the cursor thing

.::xmarkusx::.
01-09-2008, 01:31 PM
cool tut, havin a hard time finding chaos heeelp! mee!!!

grimstik4.9
01-24-2008, 05:29 AM
i have a problem i cant get the url thing to work dunno why?

suliro
02-17-2008, 04:23 AM
you add something but where

chinkie
02-21-2008, 09:04 PM
cool man. this stupid codes i really useful

gk99
05-31-2008, 10:47 PM
Ok... to get flash =>8<= for free use this key: *Sorry, i forgot EPIC LULZ*

bruised fruit
04-22-2009, 08:28 PM
Do you have the script for a wall?

doc
04-23-2009, 04:13 PM
really?
why would you bump this? He's not even in the forums anymore, this was so long ago...

ellwilllanimator
04-26-2009, 12:48 PM
the drag drop code dont work...

NinjasRule34
05-10-2009, 08:56 PM
For helping me so much I am donating one of my internets to you.

differentuser123
06-13-2009, 12:58 AM
my flash trial is dead... anyone know where to get free flash???? if i got flash again, id show you what they do
just download the trial again then look for the register code in youtube:
Serial number for the registeration code:
WPD800-52830-64832-84599

Cronos
06-13-2009, 05:10 AM
How about, your gonna get banned for posting that. Its called get some ******* money and buy it like the rest of us.

power fuse0
06-16-2009, 08:28 AM
just download the trial again then look for the register code in youtube:
Serial number for the registeration code:
*********

Reported.


This tutorial is great & I will forever be using it