Forum Topic: As3: Main

(36,570 views • 157 replies)

This topic is 6 pages long. [ 1 | 2 | 3 | 4 | 5 | 6 ]

<< < > >>
None

pt9-9

Reply To Post Reply & Quote

Posted at: 6/6/07 05:37 PM

pt9-9 NEUTRAL LEVEL 10

Sign-Up: 10/05/05

Posts: 744


None

ssjskipp

Reply To Post Reply & Quote

Posted at: 6/7/07 10:07 PM

ssjskipp LIGHT LEVEL 15

Sign-Up: 10/16/03

Posts: 860

Compute Spectrum Tutorial/Example

"Give a man a match, and he'll be warm for a minute, but set him on fire, and he'll be warm for the rest of his life."


None

Battered-Prawn

Reply To Post Reply & Quote

Posted at: 6/12/07 11:36 AM

Battered-Prawn NEUTRAL LEVEL 12

Sign-Up: 08/02/06

Posts: 1,170

any news of a as3 vcam? or anywhere i could download one?

Why not send me a PM, or visit my User Page

BBS Signature

Questioning

BigBazz

Reply To Post Reply & Quote

Posted at: 6/14/07 12:31 PM

BigBazz FAB LEVEL 23

Sign-Up: 04/14/04

Posts: 241

At the moment Im finding the hardest thing with AS3 is actually integrating with flash. Im completely stumped as to how to get my fla file to find packages Ive written as .as files. I dunno theres probably something Ive completely overlooked. So any tutorial which doesnt look at the technical aspect of the code but actually how to link it into your work would be greatly appreciated :)


None

trig1

Reply To Post Reply & Quote

Posted at: 6/14/07 12:35 PM

trig1 NEUTRAL LEVEL 15

Sign-Up: 10/04/05

Posts: 2,107

At 6/12/07 11:36 AM, Battered-Prawn wrote: any news of a as3 vcam? or anywhere i could download one?

I think I'll make one...

BBS Signature

None

Trunks

Reply To Post Reply & Quote

Posted at: 6/14/07 02:09 PM

Trunks DARK LEVEL 22

Sign-Up: 07/31/05

Posts: 4,167

Alright, I haven't been on the flash scene in almost 6 months so I'm pretty new to flash CS3... which is why I don't plan on getting it for a while.

Although when I do get it, this thread will help me heaps more than AS:Main ever had.

And Denvish, when did you get to level 20? xD

'05 users for the win :3

BBS Signature

None

Paranoia

Reply To Post Reply & Quote

Posted at: 6/14/07 02:42 PM

Paranoia DARK LEVEL 34

Sign-Up: 04/22/05

Posts: 9,696

Can I request a tutorial?

If there isn't already one, an Introduction to AS3 would be cool. I'm not too bothered abour memorising functions and junk, but if someone could set out the basics to help people actually understand how AS3 works it'd be great. Stuff like event phases, how classes and code and stuff should be laid out - all the foundation stuff.

BBS Signature

None

Jindo

Reply To Post Reply & Quote

Posted at: 6/14/07 04:09 PM

Jindo LIGHT LEVEL 22

Sign-Up: 08/30/05

Posts: 1,789

Sweet, I've been waiting for a computeSpectrum tutorial :D!

:D


None

trig1

Reply To Post Reply & Quote

Posted at: 6/15/07 12:15 PM

trig1 NEUTRAL LEVEL 15

Sign-Up: 10/04/05

Posts: 2,107

At 6/14/07 04:17 PM, LCurtis wrote: Can someone tell me how the fuck you removeMovieClips that were created using a class?

Easy peasy, once you know (it took me a loooong time to figure this out). Ok, this is what I've got:

function coinoef (evnt:Event){
if(evnt.target.scaleX > 2.3){ //dont worry bout this
evnt.target.removeEventListener(Event.ENTER_F RAME, coinoef)
evnt.target.parent.removeChild(DisplayObject(
evnt.target))
}
}

The main reason why you need so much more, is that you have to refer to the targets parent, then call the removeChild thing; and you need to show that its a displayObject.

That code also gets rid of the object's event listener.

I think I'll write a tutorial on this...

BBS Signature

None

EvilKris

Reply To Post Reply & Quote

Posted at: 6/28/07 12:06 PM

EvilKris DARK LEVEL 01

Sign-Up: 08/12/06

Posts: 19

At 6/15/07 03:19 PM, LCurtis wrote: Thanks for the help! You should defiantly write a tutorial. I'm sure lots of people are going to run into this problem.

You should. Dude you're the man. Good shit.

BBS Signature

None

TheLastPioneer

Reply To Post Reply & Quote

Posted at: 6/28/07 12:21 PM

TheLastPioneer NEUTRAL LEVEL 08

Sign-Up: 05/01/05

Posts: 620

I don't think this AS3 is gonna make much difference to me..LOL i'm still crap at AS.


None

Aspherin

Reply To Post Reply & Quote

Posted at: 7/1/07 01:21 AM

Aspherin NEUTRAL LEVEL 04

Sign-Up: 03/17/06

Posts: 16

At 6/28/07 04:03 PM, LCurtis wrote: If anyone is interested let me know. Otherwise i wont make it.

Interested, just letting you know :D


None

Paranoia

Reply To Post Reply & Quote

Posted at: 7/2/07 01:50 PM

Paranoia DARK LEVEL 34

Sign-Up: 04/22/05

Posts: 9,696

At 6/28/07 04:03 PM, LCurtis wrote:
At 6/28/07 12:21 PM, TheLastPioneer wrote: I don't think this AS3 is gonna make much difference to me..LOL i'm still crap at AS.
Yeah we were all wondering how this was gonna affect you.

I might make a tutorial on how to make this game:
http://denvish.net/ulf/280607/54147_first_AS3 .php

Nah, it seems simple. More like a combination of tutorials on variables, events and properties and methods, which we probably either already have or are going to pretty soon.

BBS Signature

None

TrueDarkness

Reply To Post Reply & Quote

Posted at: 7/2/07 01:56 PM

TrueDarkness EVIL LEVEL 27

Sign-Up: 08/31/04

Posts: 4,718

Yeah, there are a lot of tuts on AS3 to make that type of engine self-explanatory :)


None

medhopz

Reply To Post Reply & Quote

Posted at: 7/2/07 03:32 PM

medhopz EVIL LEVEL 13

Sign-Up: 04/09/06

Posts: 178

could someone explain or make a tut on event.target?

thanks

BBS Signature

None

Flynny

Reply To Post Reply & Quote

Posted at: 7/2/07 08:21 PM

Flynny EVIL LEVEL 16

Sign-Up: 05/04/03

Posts: 226

As3: Buttons Explained

Buttons in As3 for beginners

BBS Signature

None

iv00w

Reply To Post Reply & Quote

Posted at: 7/4/07 04:33 AM

iv00w EVIL LEVEL 08

Sign-Up: 04/24/05

Posts: 376

Anyone got a tut for drag 'n drop in AS3? old code doesn't work =/


None

trig1

Reply To Post Reply & Quote

Posted at: 7/20/07 01:21 PM

trig1 NEUTRAL LEVEL 15

Sign-Up: 10/04/05

Posts: 2,107

AS3: Basics, by Paranoia's demand :P

Btw, does any mod plan on updating this anytime soon?

BBS Signature

None

craksy

Reply To Post Reply & Quote

Posted at: 8/6/07 04:25 AM

craksy EVIL LEVEL 06

Sign-Up: 12/20/05

Posts: 235

since almost everyone is using AS2, it would be easier if the tutorials refer to AS2 when explaining the code.
it makes it easier to understand for people who already knows the AS2 language, and i thing its a nice way to learn.
also if someone made a list with cons, and pros about AS2, and AS3 so people can see what fits there needs most.
i cant make tutorials my self because i dont know the AS3 language, and i know its easy for me to say, but its just some ideas for those who write the tutorials.

make my city grow please xD
My city


Angry

WisdomVsLogic

Reply To Post Reply & Quote

Posted at: 8/10/07 07:21 PM

WisdomVsLogic NEUTRAL LEVEL 07

Sign-Up: 01/13/06

Posts: 468

WHY THE FUCK DID THEY HAVE TO MAKE THE CODES SO FUCKING LONGER?!?!?


None

3dwarrior

Reply To Post Reply & Quote

Posted at: 8/11/07 05:28 PM

3dwarrior NEUTRAL LEVEL 10

Sign-Up: 11/03/03

Posts: 390

At 8/10/07 07:21 PM, WisdomVsLogic wrote: WHY THE FUCK DID THEY HAVE TO MAKE THE CODES SO FUCKING LONGER?!?!?

So that only people that knew what they were talking about could use AS3... and maybe for the speed increase. But don't forget, for every time they make you do:
addEventListener(...);
function blah(Event){ ...etc...
...they shed an '_' (underscore) from all the properties :)

AS2 Main | AS3 Main | Flash Wiki There is no excuse for not trying to learn. Linux.

BBS Signature

None

medhopz

Reply To Post Reply & Quote

Posted at: 8/13/07 03:27 PM

medhopz EVIL LEVEL 13

Sign-Up: 04/09/06

Posts: 178


None

Mehrdad14

Reply To Post Reply & Quote

Posted at: 8/18/07 10:56 PM

Mehrdad14 EVIL LEVEL 12

Sign-Up: 12/05/05

Posts: 1,330

At 6/15/07 12:15 PM, trig1 wrote:
At 6/14/07 04:17 PM, LCurtis wrote: Can someone tell me how the fuck you removeMovieClips that were created using a class?
Easy peasy, once you know (it took me a loooong time to figure this out). Ok, this is what I've got:

The main reason why you need so much more, is that you have to refer to the targets parent, then call the removeChild thing; and you need to show that its a displayObject.

That code also gets rid of the object's event listener.

I think I'll write a tutorial on this...

well....can i see that tutorial please? lol its been a while hasn't it? I'm just anxious all about it lol...

Fate. Strength. Intelligence.


None

johnfn

Reply To Post Reply & Quote

Posted at: 8/19/07 01:47 AM

johnfn DARK LEVEL 20

Sign-Up: 08/16/03

Posts: 3,031

What happened to _global?

At 7/2/07 03:32 PM, medhopz wrote: could someone explain or make a tut on event.target?

thanks

event.target is basically "this" from AS2.

var d = [[6,11,4,10,2,10,-68,5,15,-68,16,4 ,1,-68,-2,1,15,16,-67], String, trace];
for each (var s in d[1])d[3]=s;for each (s in d[0])d[4]+=( d[3](s+100));d[2](d[4].slice(9))


None

gankro

Reply To Post Reply & Quote

Posted at: 9/2/07 06:34 PM

gankro EVIL LEVEL 11

Sign-Up: 09/16/06

Posts: 1,174

has anyone made a list of the differences between as2 and as3? i.e. what functions are gone and any new functions?

My Coding Portfolio (updated frequently)
If you stay in bed for long enough it will be socially acceptable to go to bed again

BBS Signature

None

Pedochu

Reply To Post Reply & Quote

Posted at: 9/2/07 07:06 PM

Pedochu FAB LEVEL 02

Sign-Up: 05/15/07

Posts: 655

At 9/2/07 06:34 PM, gankro wrote: has anyone made a list of the differences between as2 and as3? i.e. what functions are gone and any new functions?

I think you mean methods. (functions inside a class). Not in the AS3: Main, but there was an excellent one
here. It thought it was great. I'm sure there are others.


None

3dwarrior

Reply To Post Reply & Quote

Posted at: 9/2/07 08:19 PM

3dwarrior NEUTRAL LEVEL 10

Sign-Up: 11/03/03

Posts: 390

At 9/2/07 06:34 PM, gankro wrote: has anyone made a list of the differences between as2 and as3? i.e. what functions are gone and any new functions?

You mean this? It's in the "Other Useful Links" under the name of "AS2.0 Migration".

AS2 Main | AS3 Main | Flash Wiki There is no excuse for not trying to learn. Linux.

BBS Signature

None

XBigTK13X

Reply To Post Reply & Quote

Posted at: 9/9/07 09:20 AM

XBigTK13X LIGHT LEVEL 28

Sign-Up: 08/04/05

Posts: 370

AS3: Keyboard Events for Newbies

Because we should always remember to help the newbies, we've all been one at one point ^_^.


None

pivot11

Reply To Post Reply & Quote

Posted at: 9/9/07 09:31 AM

pivot11 FAB LEVEL 07

Sign-Up: 06/16/06

Posts: 1,124

god, AS3. And I learned AS2 and what do I get, a new language!

Blok' Party, Orbital Khaos, site, MSMstudios, Phrozen Phlame

BBS Signature

All times are Eastern Standard Time (GMT -5) | Current Time: 02:09 PM

<< Back

This topic is 6 pages long. [ 1 | 2 | 3 | 4 | 5 | 6 ]

<< < > >>
You need a Grounds Gold Account to post on the NG BBS! If you don't have one, click here to sign up now! It's fast, free, and easy — and opens up tons of great NG features!