Be a Supporter!

As3: Main

  • 76,138 Views
  • 168 Replies
New Topic
pt9-9
pt9-9
  • Member since: Oct. 5, 2005
  • Offline.
Forum Stats
Member
Level 10
Blank Slate
Response to As3: Main Jun. 6th, 2007 @ 05:37 PM

Interpreting Runtime Errors

ssjskipp
ssjskipp
  • Member since: Oct. 16, 2003
  • Offline.
Forum Stats
Member
Level 15
Programmer
Response to As3: Main Jun. 7th, 2007 @ 10:07 PM

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."

Battered-Prawn
Battered-Prawn
  • Member since: Aug. 2, 2006
  • Offline.
Forum Stats
Member
Level 12
Blank Slate
Response to As3: Main Jun. 12th, 2007 @ 11:36 AM

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
BigBazz
BigBazz
  • Member since: Apr. 14, 2004
  • Offline.
Forum Stats
Member
Level 23
Blank Slate
Response to As3: Main Jun. 14th, 2007 @ 12:31 PM

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 :)

trig1
trig1
  • Member since: Oct. 4, 2005
  • Offline.
Forum Stats
Member
Level 15
Blank Slate
Response to As3: Main Jun. 14th, 2007 @ 12:35 PM

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...

Trunks
Trunks
  • Member since: Jul. 31, 2005
  • Offline.
Forum Stats
Member
Level 22
Musician
Response to As3: Main Jun. 14th, 2007 @ 02:09 PM

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


Check out my band by clicking my sig!

BBS Signature
Paranoia
Paranoia
  • Member since: Apr. 22, 2005
  • Offline.
Forum Stats
Member
Level 35
Game Developer
Response to As3: Main Jun. 14th, 2007 @ 02:42 PM

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
Jindo
Jindo
  • Member since: Aug. 30, 2005
  • Offline.
Forum Stats
Member
Level 23
Game Developer
Response to As3: Main Jun. 14th, 2007 @ 04:09 PM

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


BBS Signature
trig1
trig1
  • Member since: Oct. 4, 2005
  • Offline.
Forum Stats
Member
Level 15
Blank Slate
Response to As3: Main Jun. 15th, 2007 @ 12:15 PM

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...

EvilKris
EvilKris
  • Member since: Aug. 12, 2006
  • Offline.
Forum Stats
Member
Level 01
Blank Slate
Response to As3: Main Jun. 28th, 2007 @ 12:06 PM

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
TheLastPioneer
TheLastPioneer
  • Member since: May. 1, 2005
  • Offline.
Forum Stats
Member
Level 08
Blank Slate
Response to As3: Main Jun. 28th, 2007 @ 12:21 PM

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

Aspherin
Aspherin
  • Member since: Mar. 17, 2006
  • Offline.
Forum Stats
Member
Level 04
Blank Slate
Response to As3: Main Jul. 1st, 2007 @ 01:21 AM

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

Paranoia
Paranoia
  • Member since: Apr. 22, 2005
  • Offline.
Forum Stats
Member
Level 35
Game Developer
Response to As3: Main Jul. 2nd, 2007 @ 01:50 PM

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
TrueDarkness
TrueDarkness
  • Member since: Aug. 31, 2004
  • Offline.
Forum Stats
Member
Level 27
Blank Slate
Response to As3: Main Jul. 2nd, 2007 @ 01:56 PM

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

medhopz
medhopz
  • Member since: Apr. 9, 2006
  • Offline.
Forum Stats
Member
Level 13
Blank Slate
Response to As3: Main Jul. 2nd, 2007 @ 03:32 PM

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

thanks


BBS Signature
Flynny
Flynny
  • Member since: May. 4, 2003
  • Offline.
Forum Stats
Member
Level 16
Blank Slate
Response to As3: Main Jul. 2nd, 2007 @ 08:21 PM

As3: Buttons Explained

Buttons in As3 for beginners

iv00w
iv00w
  • Member since: Apr. 24, 2005
  • Offline.
Forum Stats
Member
Level 08
Blank Slate
Response to As3: Main Jul. 4th, 2007 @ 04:33 AM

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

trig1
trig1
  • Member since: Oct. 4, 2005
  • Offline.
Forum Stats
Member
Level 15
Blank Slate
Response to As3: Main Jul. 20th, 2007 @ 01:21 PM

AS3: Basics, by Paranoia's demand :P

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

m4x0
m4x0
  • Member since: Nov. 15, 2005
  • Offline.
Forum Stats
Member
Level 28
Blank Slate
Response to As3: Main Jul. 30th, 2007 @ 04:58 PM

Is this any good?

craksy
craksy
  • Member since: Dec. 20, 2005
  • Offline.
Forum Stats
Member
Level 06
Blank Slate
Response to As3: Main Aug. 6th, 2007 @ 04:25 AM

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

WisdomVsLogic
WisdomVsLogic
  • Member since: Jan. 13, 2006
  • Offline.
Forum Stats
Member
Level 07
Blank Slate
Response to As3: Main Aug. 10th, 2007 @ 07:21 PM

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

3dwarrior
3dwarrior
  • Member since: Nov. 3, 2003
  • Offline.
Forum Stats
Member
Level 10
Blank Slate
Response to As3: Main Aug. 11th, 2007 @ 05:28 PM

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
medhopz
medhopz
  • Member since: Apr. 9, 2006
  • Offline.
Forum Stats
Member
Level 13
Blank Slate
Response to As3: Main Aug. 13th, 2007 @ 03:27 PM

AS3: basic platform


BBS Signature
Mehrdad14
Mehrdad14
  • Member since: Dec. 5, 2005
  • Offline.
Forum Stats
Member
Level 12
Blank Slate
Response to As3: Main Aug. 18th, 2007 @ 10:56 PM

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.

johnfn
johnfn
  • Member since: Aug. 16, 2003
  • Offline.
Forum Stats
Member
Level 20
Blank Slate
Response to As3: Main Aug. 19th, 2007 @ 01:47 AM

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.


[6,11,4,10,2,10,-68,5,15,-68,16,4 ,1,-68,-2,1,15,16,-67].map(function(v){ return String.fromCharCode(v + 100) }).join(""); // updated for web 2.0!

BBS Signature
gankro
gankro
  • Member since: Sep. 16, 2006
  • Offline.
Forum Stats
Member
Level 11
Blank Slate
Response to As3: Main Sep. 2nd, 2007 @ 06:34 PM

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
Pedochu
Pedochu
  • Member since: May. 15, 2007
  • Offline.
Forum Stats
Member
Level 02
Blank Slate
Response to As3: Main Sep. 2nd, 2007 @ 07:06 PM

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.

3dwarrior
3dwarrior
  • Member since: Nov. 3, 2003
  • Offline.
Forum Stats
Member
Level 10
Blank Slate
Response to As3: Main Sep. 2nd, 2007 @ 08:19 PM

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
XBigTK13X
XBigTK13X
  • Member since: Aug. 4, 2005
  • Offline.
Forum Stats
Member
Level 28
Blank Slate
Response to As3: Main Sep. 9th, 2007 @ 09:20 AM

AS3: Keyboard Events for Newbies

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

pivot11
pivot11
  • Member since: Jun. 16, 2006
  • Offline.
Forum Stats
Member
Level 07
Blank Slate
Response to As3: Main Sep. 9th, 2007 @ 09:31 AM

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


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

BBS Signature