Forum Topic: As3: Main

(36,737 views • 157 replies)

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

<< < > >>
None

Silkey

Reply To Post Reply & Quote

Posted at: 9/9/07 11:17 AM

Silkey NEUTRAL LEVEL 10

Sign-Up: 07/23/06

Posts: 148

TextField class
Tutorial on making textfields in AS3, I made it just now.
Go check it out.


Crying

Zielak

Reply To Post Reply & Quote

Posted at: 9/14/07 09:15 AM

Zielak FAB LEVEL 17

Sign-Up: 09/21/05

Posts: 865

i have a question.
how can i access the variable on root from inside of movieClip?
i have tried this.parent.variable but it didn't worked


None

Silkey

Reply To Post Reply & Quote

Posted at: 9/14/07 10:37 AM

Silkey NEUTRAL LEVEL 10

Sign-Up: 07/23/06

Posts: 148

Try this.["root"]["VariableNameLewl"]
Should work! ^^


None

gorman2001

Reply To Post Reply & Quote

Posted at: 9/14/07 10:48 AM

gorman2001 NEUTRAL LEVEL 14

Sign-Up: 08/18/02

Posts: 1,935

just _root.NAMEOFVAR


Shouting

Zielak

Reply To Post Reply & Quote

Posted at: 9/14/07 03:47 PM

Zielak FAB LEVEL 17

Sign-Up: 09/21/05

Posts: 865

At 9/14/07 10:48 AM, gorman2001 wrote: just _root.NAMEOFVAR

dude, we are in AS3 >.>

Silkey, i'll try that, thanks


None

Silkey

Reply To Post Reply & Quote

Posted at: 9/22/07 05:20 AM

Silkey NEUTRAL LEVEL 10

Sign-Up: 07/23/06

Posts: 148

Someone asked for a vcam.
Here you go.


None

Silkey

Reply To Post Reply & Quote

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

Silkey NEUTRAL LEVEL 10

Sign-Up: 07/23/06

Posts: 148


None

GustTheASGuy

Reply To Post Reply & Quote

Posted at: 9/22/07 03:03 PM

GustTheASGuy LIGHT LEVEL 08

Sign-Up: 11/02/05

Posts: 11,370

At 9/14/07 10:37 AM, Silkey wrote: Try this.["root"]["VariableNameLewl"]
Should work! ^^

Using dynamic access changes nothing.
The 'DisplayObject.root' property is there, or you can use a static method.

#ngprogramming at irc.freenode.net
haXe | Keel imperative | Spyro! | Thru you


None

Paranoia

Reply To Post Reply & Quote

Posted at: 10/1/07 02:54 AM

Paranoia DARK LEVEL 34

Sign-Up: 04/22/05

Posts: 9,697

http://www.newgrounds.com/bbs/topic/7859 73 < rotating around points. Meh.

BBS Signature

None

Jindo

Reply To Post Reply & Quote

Posted at: 10/2/07 02:50 AM

Jindo LIGHT LEVEL 22

Sign-Up: 08/30/05

Posts: 1,789

Does anybody wanna make a displacementMapFilter tutorial? I really can't figure it out =P..

:D


None

LilFugitive

Reply To Post Reply & Quote

Posted at: 10/2/07 09:45 AM

LilFugitive EVIL LEVEL 16

Sign-Up: 06/01/06

Posts: 568

I'm having some problems with accessing a var. I started a thread about this. Could somebody help me out, and please in the thread and not in AS3: main, to keep chit-chat down.

Ruining your life since 2006

BBS Signature

None

GustTheASGuy

Reply To Post Reply & Quote

Posted at: 10/4/07 10:23 AM

GustTheASGuy LIGHT LEVEL 08

Sign-Up: 11/02/05

Posts: 11,370

http://www.boostworthy.com/blog/?p=157
AS3 metadata tags. Awesome.

#ngprogramming at irc.freenode.net
haXe | Keel imperative | Spyro! | Thru you


Happy

LilFugitive

Reply To Post Reply & Quote

Posted at: 10/9/07 12:15 PM

LilFugitive EVIL LEVEL 16

Sign-Up: 06/01/06

Posts: 568

I have a small problem... Could somebody help me, keep it in this thread

Thanks :)

Ruining your life since 2006

BBS Signature

Crying

LilFugitive

Reply To Post Reply & Quote

Posted at: 10/10/07 01:52 PM

LilFugitive EVIL LEVEL 16

Sign-Up: 06/01/06

Posts: 568

I have another problem, could somebody help me out?

Ruining your life since 2006

BBS Signature

None

Jindo

Reply To Post Reply & Quote

Posted at: 10/10/07 03:10 PM

Jindo LIGHT LEVEL 22

Sign-Up: 08/30/05

Posts: 1,789

Stop advertising your problem threads here, this is for AS3 tutorials :P.

:D


None

LilFugitive

Reply To Post Reply & Quote

Posted at: 10/11/07 11:37 AM

LilFugitive EVIL LEVEL 16

Sign-Up: 06/01/06

Posts: 568

At 10/10/07 03:10 PM, Jindo wrote: Stop advertising your problem threads here, this is for AS3 tutorials :P.

Ok, I'm sorry, as a deed to compensate my bad deeds I made a very simple tutorial on displaying variables in textbox

It's possible that I've made a mistake, if so leave a comment in that thread or PM me.

Ruining your life since 2006

BBS Signature

None

LilFugitive

Reply To Post Reply & Quote

Posted at: 11/8/07 09:37 AM

LilFugitive EVIL LEVEL 16

Sign-Up: 06/01/06

Posts: 568

I just wrote a tutorial on dragging objects in AS3

Also I was wondering, should I write a tutorial for basics of AS3, so how EventListeners work and other things?

Ruining your life since 2006

BBS Signature

Happy

LilFugitive

Reply To Post Reply & Quote

Posted at: 11/10/07 06:48 AM

LilFugitive EVIL LEVEL 16

Sign-Up: 06/01/06

Posts: 568

Hey guys

My newest tutorial AS3: Counter has just been posted =D

Ruining your life since 2006

BBS Signature

Thinking

LilFugitive

Reply To Post Reply & Quote

Posted at: 12/15/07 07:34 AM

LilFugitive EVIL LEVEL 16

Sign-Up: 06/01/06

Posts: 568

I made another AS3 thread, it's about adding external images. Sadly the layout looks a bit messed up (of the thread).

Ruining your life since 2006

BBS Signature

None

Zielak

Reply To Post Reply & Quote

Posted at: 12/18/07 05:19 PM

Zielak FAB LEVEL 17

Sign-Up: 09/21/05

Posts: 865

would someone try making a tutorial about creating classes?


None

SweetSkater

Reply To Post Reply & Quote

Posted at: 12/30/07 09:51 AM

SweetSkater LIGHT LEVEL 11

Sign-Up: 03/18/06

Posts: 1,904

I think someone need's to post all of the tutorials like Denvish did, so basically this thread needs a Denvish stand-in. I hate having to read every post for tutorials :P

Owner of Spam The Web.

BBS Signature

None

johnfn

Reply To Post Reply & Quote

Posted at: 12/30/07 10:57 AM

johnfn DARK LEVEL 20

Sign-Up: 08/16/03

Posts: 3,031

At 12/18/07 05:19 PM, Zielak wrote: would someone try making a tutorial about creating classes?

It's actually not that hard. Just put the class into another file (named after the class) inside of a package{} block, and then you should be able to access it like normal. If you want to know more about specifics of classes, you can always look up an AS2 OOP tutorial - they haven't changed much in basic structure

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

Dizeaze

Reply To Post Reply & Quote

Posted at: 12/30/07 11:01 AM

Dizeaze DARK LEVEL 07

Sign-Up: 12/21/07

Posts: 412

At 5/2/07 04:10 AM, Denvish wrote: Actionscript Cheatsheet

Bookmarked! YAY! lol

YOU GOT RICK-ROLLED!

fuck


None

LilFugitive

Reply To Post Reply & Quote

Posted at: 1/1/08 03:44 PM

LilFugitive EVIL LEVEL 16

Sign-Up: 06/01/06

Posts: 568

At 12/30/07 09:51 AM, SweetSkater wrote: I think someone need's to post all of the tutorials like Denvish did, so basically this thread needs a Denvish stand-in. I hate having to read every post for tutorials :P

You mean that there's a list of all the tutorials like on page 2? I'll maybe do that

Ruining your life since 2006

BBS Signature

None

LilFugitive

Reply To Post Reply & Quote

Posted at: 1/3/08 11:53 AM

LilFugitive EVIL LEVEL 16

Sign-Up: 06/01/06

Posts: 568

At 12/18/07 05:19 PM, Zielak wrote: would someone try making a tutorial about creating classes?

You should read the AS3: OOP thread. It's about Object Orientated Programing, basically any language using class files is an OOP

Ruining your life since 2006

BBS Signature

None

XBigTK13X

Reply To Post Reply & Quote

Posted at: 1/6/08 10:11 AM

XBigTK13X LIGHT LEVEL 28

Sign-Up: 08/04/05

Posts: 370

Just posting this so that I can post the new list of tuts on a new page ^_^.

:sorry if I counted incorrectly =p


None

XBigTK13X

Reply To Post Reply & Quote

Posted at: 1/6/08 10:13 AM

XBigTK13X LIGHT LEVEL 28

Sign-Up: 08/04/05

Posts: 370

AS3 TUTORIALS

API -> Rectangles and Circles
API -> Shapes by phyconinja
AttachMovie via Class ID by Alphabit
Basic Buttons by Flynny
Basic HitTesting and Conditionals by hashbrown
Basic Platformer by medhopz
The Basics by trig1
Changing Framerate by Siggles
Compute Spectrum by ssjskipp
Counter by LilFugitive
Custom Cursor by Jindo
Display List & Swapping Depths by ShooterMG
Dragging Objects by LilFugitive
Events by LesPaulPlayer
fl.controls by Silkey
Global Buttons by ninjitsuwarrior
HitTests by Jindo
Key Input (AS2 Style) by dELtaluca
Keyboard Events for Newbies by XBigTK13X
Loading External Images by LilFugitive
Movement With Keys by TrueDarkness
Old-Fashioned Random Function by LesPaulPlayer
Object Oriented Programming by Alphabit
Quality by LesPaulPlayer
Pointing at Mouse by trig1
Rotate And Shoot To Mouse by Pyromaniac
Rotating Objects Around Points by Paranoia
Simple Preloader by Denvish
Springs by trig1
TextField class by Silkey
Timer by Denvish

OTHER USEFUL LINKS

AM Laboratories
AS3 Cookbook Chapters as pdf
AS3 Metadata Tags
AS3 Overview
AS3 Samples From Adobe
Flash CS3 Review/Overview by Depredation
Flashscript.biz tuts
FlashWiki
Getting Started with AS3
Learning AS3 with the Flex 2 SDK for Free
List Video Tutorial
Interpreting Runtime Errors
Senocular's AS3 Tip of the Day
Downloadable V-Cam

Actionscript Cheatsheet
AS2.0 Migration
AS3 Changes - Condensed
AS3 (Flex) Language Specs

I'll come back and fix any errors I missed ^_^

<3 We Miss You Denvish <3


None

Paranoia

Reply To Post Reply & Quote

Posted at: 1/6/08 12:46 PM

Paranoia DARK LEVEL 34

Sign-Up: 04/22/05

Posts: 9,697

At 1/6/08 10:13 AM, XBigTK13X wrote: Rotating Objects Around Points by Paranoia

This one is a more efficient way of doing it:

AS3: Rotating With Matrices

BBS Signature

None

Zielak

Reply To Post Reply & Quote

Posted at: 2/4/08 05:18 AM

Zielak FAB LEVEL 17

Sign-Up: 09/21/05

Posts: 865

what about xml tutorial ? I'm getting "...well formatted" error while working with it.


None

XBigTK13X

Reply To Post Reply & Quote

Posted at: 2/10/08 06:43 AM

XBigTK13X LIGHT LEVEL 28

Sign-Up: 08/04/05

Posts: 370

From now on I'd prefer if anyone with simple questions and /or tutorial requests would try to keep those in a different thread, or by PMing someone you'd like to help you.

If people keep posting that stuff here, things will get cluttered.

Thank you ^_^.


All times are Eastern Standard Time (GMT -5) | Current Time: 03:47 AM

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