Be a Supporter!

how do you make an action script?

  • 786 Views
  • 27 Replies
New Topic Respond to this Topic
tabokangdo
tabokangdo
  • Member since: Mar. 9, 2003
  • Offline.
Forum Stats
Member
Level 09
Blank Slate
how do you make an action script? 2003-03-12 17:45:05 Reply

like in alien hominide (incorrect spelling) is it hard? can you help me out ?

Mr-Chuckles
Mr-Chuckles
  • Member since: Jun. 7, 2001
  • Offline.
Forum Stats
Member
Level 21
Blank Slate
Response to how do you make an action script? 2003-03-12 17:47:10 Reply

It's really hard, when you click on a frame, click on the tab near the bottom called actions.

olskoo
olskoo
  • Member since: Jan. 6, 2001
  • Offline.
Forum Stats
Member
Level 17
Blank Slate
Response to how do you make an action script? 2003-03-12 17:49:04 Reply

what programming experience do you have? like with any other languages, etc

tabokangdo
tabokangdo
  • Member since: Mar. 9, 2003
  • Offline.
Forum Stats
Member
Level 09
Blank Slate
Response to how do you make an action script? 2003-03-12 17:50:57 Reply

im not sure what u meant by languages, but i started flash like 2 weeks ago and i speak english if thats what u meant

<deleted>
Response to how do you make an action script? 2003-03-12 17:50:59 Reply

you can buy a book on it, but they cost about $50. besides that, you need to find websites about it and shit like that.

tabokangdo
tabokangdo
  • Member since: Mar. 9, 2003
  • Offline.
Forum Stats
Member
Level 09
Blank Slate
Response to how do you make an action script? 2003-03-12 17:53:51 Reply

what is this book called?

Mr-Chuckles
Mr-Chuckles
  • Member since: Jun. 7, 2001
  • Offline.
Forum Stats
Member
Level 21
Blank Slate
Response to how do you make an action script? 2003-03-12 17:55:44 Reply

At 3/12/03 05:50 PM, tabokangdo wrote: im not sure what u meant by languages, but i started flash like 2 weeks ago and i speak english if thats what u meant

Your messed.

Sputnix
Sputnix
  • Member since: Jan. 27, 2003
  • Offline.
Forum Stats
Member
Level 05
Blank Slate
Response to how do you make an action script? 2003-03-12 17:57:35 Reply

At 3/12/03 05:50 PM, tabokangdo wrote: and i speak english if thats what u meant

NO! NO! NO! Computer languages! Like HTML, JavaScript, ASP, PHP, MySQL etc.

If you know JavaScript, ActionScript will be easier for you.

http://htmlgoodies.com

ChocolateChipClock
ChocolateChipClock
  • Member since: Aug. 16, 2002
  • Offline.
Forum Stats
Member
Level 19
Blank Slate
Response to how do you make an action script? 2003-03-12 17:59:15 Reply

At 3/12/03 05:45 PM, tabokangdo wrote: like in alien hominide (incorrect spelling) is it hard? can you help me out ?

first of all, your stupid enough to post in the general forums, and secondly THAT WAS THE MOST FUCKING STUPID QUESTION EVER! i love bashing n00bs! fuck off!

how do you make an action script?

Mr-Chuckles
Mr-Chuckles
  • Member since: Jun. 7, 2001
  • Offline.
Forum Stats
Member
Level 21
Blank Slate
Response to how do you make an action script? 2003-03-12 18:00:26 Reply

At 3/12/03 05:59 PM, untitled-1 wrote: first of all, your stupid enough to post in the general forums, and secondly THAT WAS THE MOST FUCKING STUPID QUESTION EVER! i love bashing n00bs! fuck off!

Don't discourage him, he has potential.

tabokangdo
tabokangdo
  • Member since: Mar. 9, 2003
  • Offline.
Forum Stats
Member
Level 09
Blank Slate
Response to how do you make an action script? 2003-03-12 18:02:37 Reply

i should have know i no none laungages

thanks chckles i do have potential

RazorBladez
RazorBladez
  • Member since: Sep. 23, 2002
  • Offline.
Forum Stats
Member
Level 16
Blank Slate
Response to how do you make an action script? 2003-03-12 18:03:11 Reply

At 3/12/03 05:59 PM, untitled-1 wrote:
first of all, your stupid enough to post in the general forums, and secondly THAT WAS THE MOST FUCKING STUPID QUESTION EVER! i love bashing n00bs! fuck off!

well that kind of shit might have been ok last year, but you can't go around saying stuff like that nowadays. you will get banned if you do that again, in fact, you might get some flak for that.

<deleted>
Response to how do you make an action script? 2003-03-12 18:05:11 Reply

At 3/12/03 05:53 PM, tabokangdo wrote: what is this book called?

i bought one called flash actionscript at chapters.

Sputnix
Sputnix
  • Member since: Jan. 27, 2003
  • Offline.
Forum Stats
Member
Level 05
Blank Slate
Response to how do you make an action script? 2003-03-12 18:06:43 Reply

At 3/12/03 06:02 PM, tabokangdo wrote: i should have know i no none laungages

So, then it's going to be a pain in the motherfucking cornhole. Try learning at least html. Goto www.htmlgoodies.com and it has more than just html, btw.

Rystic
Rystic
  • Member since: Mar. 9, 2002
  • Offline.
Forum Stats
Member
Level 60
Blank Slate
Response to how do you make an action script? 2003-03-12 18:56:24 Reply

At 3/12/03 05:50 PM, tabokangdo wrote: im not sure what u meant by languages, but i started flash like 2 weeks ago and i speak english if thats what u meant

I am going to HURT you.

Anyway, actionscript is DIFFICULT and takes years of practice to accomplish. When we say languages, we mean C, C++, Java, HTML, etc.

Apparently, you know none of them.

In closing, if you wanna see some 'ActionScript', here's something I did when I was bored:

onClipEvent(load) {
speed=8;
ym=0;
yp=0;
_rotation=0;
cool=0;
over=0;
orgx=_x;
orgy=_y;
survive=0;
}
onClipEvent(enterFrame) {
if (survive>80) {
survive=0;
play();
}
if (Key.isDown(Key.END) && over==0) {
cool=50;
over=1;
_alpha=50;
_x=random(550);
_y=random(350);
survive=random(100);
}
if (_alpha<>100) {
_alpha+=10;
}
if (Key.isDown(Key.LEFT)) {
_rotation-=15;
}
if (Key.isDown(Key.RIGHT)) {
_rotation+=15;
}
if (Key.isDown(Key.UP)) {
if (_rotation==90) {
_x+=speed;
xp=xp+2;
}
if (_rotation==0) {
_y-=speed;
ym=ym+2;
}
if (_rotation<90 && _rotation>0) {
_x+=speed;
_y-=speed;
xp=xp+2;
ym=ym+2;
}
if (_rotation<0 && _rotation>-90) {
_x-=speed;
_y-=speed;
ym=ym+2;
xm=xm+2;
}
if (_rotation==-90) {
_x-=speed;
xm=xm+2;
}
if (_rotation==-180 || _rotation==180) {
_y+=speed;
yp=yp+2;
}
if (_rotation<-90 && _rotation>-180) {
_x-=speed;
_y+=speed;
yp=yp+2;
xm=xm+2;
}
if (_rotation<180 && _rotation>90) {
_x+=speed;
_y+=speed;
xp=xp+2;
yp=yp+2;
}
}
}

onClipEvent(enterFrame) {
if (yp>=1 && ym<=0) {
_y+=1.1*yp;
yp--;
}
if (yp>=1 && ym>=1) {
ym--;
}
if (ym>=1 && yp<=0) {
_y-=1.1*ym;
ym--;
}
if (ym>=1 && yp>=1) {
yp--;
}
if (xp>=1 && xm<=0) {
_x+=1.1*xp;
xp--;
}
if (xp>=1 && xm>=1) {
xm--;
}
if (xm>=1 && xp<=0) {
_x-=1.1*xm;
xm--;
}
if (xm>=1 && xp>=1) {
xp--;
}
}

onClipEvent(enterFrame) {
if (_y>350) {
_y=1;
}
if (_y<0) {
_y=349;
}
if (_x>550) {
_x=1;
}
if (_x<0) {
_x=549;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(Key.DOWN) && cool<20 && over<>1) {
over=1;
cool=20;
_root.gbullet._x=_x;
_root.gbullet._y=_y;
_root.gbullet._rotation=_rotation;
_root.gbullet.play();
}
if (cool>=20 || over==1) {
over=1;
cool--;
}
if (cool<=0 && over==1) {
over=0;
cool=0;
}
}
onClipEvent(enterFrame) {
if (hitTest(_root.star) || hitTest(_root.rship)) {
play();
}
}

Rystic
Rystic
  • Member since: Mar. 9, 2002
  • Offline.
Forum Stats
Member
Level 60
Blank Slate
Response to how do you make an action script? 2003-03-12 18:58:06 Reply

At 3/12/03 05:53 PM, tabokangdo wrote: what is this book called?

GRRRRRRRRR!!!!!!!

There are many, many books on actionscript...

Rystic
Rystic
  • Member since: Mar. 9, 2002
  • Offline.
Forum Stats
Member
Level 60
Blank Slate
Response to how do you make an action script? 2003-03-12 18:59:57 Reply

At 3/12/03 06:00 PM, mr_chuckles66 wrote: Don't discourage him, he has potential.

Sigh... I suppose. I guess I'm just in a bad mood right now... and this is(after my suffering with actionscript)... disturbing...

Dobio
Dobio
  • Member since: Jul. 7, 2002
  • Offline.
Forum Stats
Member
Level 37
Blank Slate
Response to how do you make an action script? 2003-03-12 19:38:54 Reply

Easy there Rystic....lol

You need to take a breather. :D


Still a world famous superstar.

Rystic
Rystic
  • Member since: Mar. 9, 2002
  • Offline.
Forum Stats
Member
Level 60
Blank Slate
Response to how do you make an action script? 2003-03-12 19:55:29 Reply

At 3/12/03 07:38 PM, Dobio wrote: Easy there Rystic....lol

You need to take a breather. :D

I told you not to make fun of my asthma!

Heretik-Johnson
Heretik-Johnson
  • Member since: Feb. 4, 2003
  • Offline.
Forum Stats
Member
Level 02
Blank Slate
Response to how do you make an action script? 2003-03-12 20:10:03 Reply


onClipEvent(load) {
speed=8;
ym=0;
yp=0;
_rotation=0;
}
if (_rotation<90 && _rotation>0) {
_x+=speed;
_y-=speed;
xp=xp+2;
}
}
}

onClipEvent(enterFrame) {
if (yp>=1 && ym<=0) {
}
onClipEvent (enterFrame) {
if (Key.isDown(Key.DOWN) && cool<20 && over<>1) {
over=1;
cool=20;
_root.gbullet._x=_x;
_root.gbullet._y=_y;
_root.gbullet._rotation=_rotation;
_root.gbullet.play();
}
if (cool>=20 || over==1) {
over=1;
cool--;
}
if (cool<=0 && over==1) {
over=0;
cool=0;
}
onClipEvent(enterFrame) {
if (hitTest(_root.star) || hitTest(_root.rship)) {
play();

The thing that sickens me the most is that I get the strange feeling that you got off typing all of that. Did somebody wet the front of their pants again? Don't worry, the yellow stains come out.

PreacherJ
PreacherJ
  • Member since: Jan. 27, 2003
  • Offline.
Forum Stats
Member
Level 10
Blank Slate
Response to how do you make an action script? 2003-03-12 20:16:49 Reply

At 3/12/03 08:10 PM, Heretik_Johnson wrote: The thing that sickens me the most is that I get the strange feeling that you got off typing all of that. Did somebody wet the front of their pants again? Don't worry, the yellow stains come out.

Ouchie...

BURN!

It's true. There was no need to be so mean, but at the same time, there is a "How-To" BBS Board.

Mr-Chuckles
Mr-Chuckles
  • Member since: Jun. 7, 2001
  • Offline.
Forum Stats
Member
Level 21
Blank Slate
Response to how do you make an action script? 2003-03-12 20:18:57 Reply

At 3/12/03 07:55 PM, Rystic_Force wrote:
At 3/12/03 07:38 PM, Dobio wrote: Easy there Rystic....lol

You need to take a breather. :D
I told you not to make fun of my asthma!

Hilarious.

Rystic
Rystic
  • Member since: Mar. 9, 2002
  • Offline.
Forum Stats
Member
Level 60
Blank Slate
Response to how do you make an action script? 2003-03-12 21:02:31 Reply

At 3/12/03 08:10 PM, Heretik_Johnson wrote:

Don't worry, the yellow stains come out.

With what?

Rystic
Rystic
  • Member since: Mar. 9, 2002
  • Offline.
Forum Stats
Member
Level 60
Blank Slate
Response to how do you make an action script? 2003-03-12 21:03:47 Reply

At 3/12/03 08:16 PM, PreacherJ wrote: It's true. There was no need to be so mean, but at the same time, there is a "How-To" BBS Board.

I admit it, I overreacted, but that was because I was angry. I guess I shouldn't have flamed as much. Oh well, least' I got to show off MEH KEWL CODE!!!11

Rystic
Rystic
  • Member since: Mar. 9, 2002
  • Offline.
Forum Stats
Member
Level 60
Blank Slate
Response to how do you make an action script? 2003-03-12 21:04:57 Reply

At 3/12/03 08:18 PM, mr_chuckles66 wrote: Hilarious.

I'm here till' Thursday.

Mr-Chuckles
Mr-Chuckles
  • Member since: Jun. 7, 2001
  • Offline.
Forum Stats
Member
Level 21
Blank Slate
Response to how do you make an action script? 2003-03-12 21:07:18 Reply

At 3/12/03 09:04 PM, Rystic_Force wrote:
At 3/12/03 08:18 PM, mr_chuckles66 wrote: Hilarious.
I'm here till' Thursday.

Yeah yeah cool cool

Rystic
Rystic
  • Member since: Mar. 9, 2002
  • Offline.
Forum Stats
Member
Level 60
Blank Slate
Response to how do you make an action script? 2003-03-12 21:09:05 Reply

At 3/12/03 09:07 PM, mr_chuckles66 wrote: Yeah yeah cool cool

That's 3 more hours.

Ken-Vermette
Ken-Vermette
  • Member since: Feb. 12, 2002
  • Offline.
Forum Stats
Member
Level 07
Blank Slate
Response to how do you make an action script? 2003-03-14 14:42:45 Reply

Nice one rystic!

Id post a big script, but I really want to keep the scroll bar within reason.

*evil*

Anyway, you really don't need books or anything, read off the net, or if your like me, it will just "click"

thats what happened to me.

heres my contribution to advanced script.

play ()

:p