Be a Supporter!

As3: Main

  • 76,781 Views
  • 168 Replies
New Topic
Silkey
Silkey
  • Member since: Jul. 23, 2006
  • Offline.
Forum Stats
Member
Level 10
Blank Slate
Response to As3: Main Sep. 9th, 2007 @ 11:17 AM

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

Zielak
Zielak
  • Member since: Sep. 21, 2005
  • Offline.
Forum Stats
Member
Level 17
Game Developer
Response to As3: Main Sep. 14th, 2007 @ 09:15 AM

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

Silkey
Silkey
  • Member since: Jul. 23, 2006
  • Offline.
Forum Stats
Member
Level 10
Blank Slate
Response to As3: Main Sep. 14th, 2007 @ 10:37 AM

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

gorman2001
gorman2001
  • Member since: Aug. 18, 2002
  • Offline.
Forum Stats
Member
Level 14
Blank Slate
Response to As3: Main Sep. 14th, 2007 @ 10:48 AM

just _root.NAMEOFVAR


website :: hugostonge.com
my job :: we+are

Zielak
Zielak
  • Member since: Sep. 21, 2005
  • Offline.
Forum Stats
Member
Level 17
Game Developer
Response to As3: Main Sep. 14th, 2007 @ 03:47 PM

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

dude, we are in AS3 >.>

Silkey, i'll try that, thanks

Silkey
Silkey
  • Member since: Jul. 23, 2006
  • Offline.
Forum Stats
Member
Level 10
Blank Slate
Response to As3: Main Sep. 22nd, 2007 @ 05:20 AM

Someone asked for a vcam.
Here you go.

Silkey
Silkey
  • Member since: Jul. 23, 2006
  • Offline.
Forum Stats
Member
Level 10
Blank Slate
Response to As3: Main Sep. 22nd, 2007 @ 07:09 AM

AS3: fl.controls

GustTheASGuy
GustTheASGuy
  • Member since: Nov. 2, 2005
  • Offline.
Forum Stats
Member
Level 08
Blank Slate
Response to As3: Main Sep. 22nd, 2007 @ 03:03 PM

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.


BBS Signature
Paranoia
Paranoia
  • Member since: Apr. 22, 2005
  • Offline.
Forum Stats
Member
Level 35
Game Developer
Response to As3: Main Oct. 1st, 2007 @ 02:54 AM

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


BBS Signature
Jindo
Jindo
  • Member since: Aug. 30, 2005
  • Offline.
Forum Stats
Member
Level 23
Game Developer
Response to As3: Main Oct. 2nd, 2007 @ 02:50 AM

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


BBS Signature
LilFugitive
LilFugitive
  • Member since: Jun. 1, 2006
  • Offline.
Forum Stats
Member
Level 16
Blank Slate
Response to As3: Main Oct. 2nd, 2007 @ 09:45 AM

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
GustTheASGuy
GustTheASGuy
  • Member since: Nov. 2, 2005
  • Offline.
Forum Stats
Member
Level 08
Blank Slate
Response to As3: Main Oct. 4th, 2007 @ 10:23 AM

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


BBS Signature
LilFugitive
LilFugitive
  • Member since: Jun. 1, 2006
  • Offline.
Forum Stats
Member
Level 16
Blank Slate
Response to As3: Main Oct. 9th, 2007 @ 12:15 PM

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

Thanks :)


Ruining your life since 2006

BBS Signature
LilFugitive
LilFugitive
  • Member since: Jun. 1, 2006
  • Offline.
Forum Stats
Member
Level 16
Blank Slate
Response to As3: Main Oct. 10th, 2007 @ 01:52 PM

I have another problem, could somebody help me out?


Ruining your life since 2006

BBS Signature
Jindo
Jindo
  • Member since: Aug. 30, 2005
  • Offline.
Forum Stats
Member
Level 23
Game Developer
Response to As3: Main Oct. 10th, 2007 @ 03:10 PM

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


BBS Signature
LilFugitive
LilFugitive
  • Member since: Jun. 1, 2006
  • Offline.
Forum Stats
Member
Level 16
Blank Slate
Response to As3: Main Oct. 11th, 2007 @ 11:37 AM

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
LilFugitive
LilFugitive
  • Member since: Jun. 1, 2006
  • Offline.
Forum Stats
Member
Level 16
Blank Slate
Response to As3: Main Nov. 8th, 2007 @ 09:37 AM

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
LilFugitive
LilFugitive
  • Member since: Jun. 1, 2006
  • Offline.
Forum Stats
Member
Level 16
Blank Slate
Response to As3: Main Nov. 10th, 2007 @ 06:48 AM

Hey guys

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


Ruining your life since 2006

BBS Signature
LilFugitive
LilFugitive
  • Member since: Jun. 1, 2006
  • Offline.
Forum Stats
Member
Level 16
Blank Slate
Response to As3: Main Dec. 15th, 2007 @ 07:34 AM

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
Zielak
Zielak
  • Member since: Sep. 21, 2005
  • Offline.
Forum Stats
Member
Level 17
Game Developer
Response to As3: Main Dec. 18th, 2007 @ 05:19 PM

would someone try making a tutorial about creating classes?

Will
Will
  • Member since: Mar. 18, 2006
  • Offline.
Forum Stats
Member
Level 11
Blank Slate
Response to As3: Main Dec. 30th, 2007 @ 09:51 AM

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


BBS Signature
johnfn
johnfn
  • Member since: Aug. 16, 2003
  • Offline.
Forum Stats
Member
Level 20
Blank Slate
Response to As3: Main Dec. 30th, 2007 @ 10:57 AM

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


[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
Dizeaze
Dizeaze
  • Member since: Dec. 21, 2007
  • Offline.
Forum Stats
Member
Level 07
Blank Slate
Response to As3: Main Dec. 30th, 2007 @ 11:01 AM

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

Bookmarked! YAY! lol


YOU GOT RICK-ROLLED!

fuck

LilFugitive
LilFugitive
  • Member since: Jun. 1, 2006
  • Offline.
Forum Stats
Member
Level 16
Blank Slate
Response to As3: Main Jan. 1st, 2008 @ 03:44 PM

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
LilFugitive
LilFugitive
  • Member since: Jun. 1, 2006
  • Offline.
Forum Stats
Member
Level 16
Blank Slate
Response to As3: Main Jan. 3rd, 2008 @ 11:53 AM

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
XBigTK13X
XBigTK13X
  • Member since: Aug. 4, 2005
  • Offline.
Forum Stats
Member
Level 28
Blank Slate
Response to As3: Main Jan. 6th, 2008 @ 10:11 AM

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

:sorry if I counted incorrectly =p

XBigTK13X
XBigTK13X
  • Member since: Aug. 4, 2005
  • Offline.
Forum Stats
Member
Level 28
Blank Slate
Response to As3: Main Jan. 6th, 2008 @ 10:13 AM

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

Paranoia
Paranoia
  • Member since: Apr. 22, 2005
  • Offline.
Forum Stats
Member
Level 35
Game Developer
Response to As3: Main Jan. 6th, 2008 @ 12:46 PM

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
Zielak
Zielak
  • Member since: Sep. 21, 2005
  • Offline.
Forum Stats
Member
Level 17
Game Developer
Response to As3: Main Feb. 4th, 2008 @ 05:18 AM

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

XBigTK13X
XBigTK13X
  • Member since: Aug. 4, 2005
  • Offline.
Forum Stats
Member
Level 28
Blank Slate
Response to As3: Main Feb. 10th, 2008 @ 06:43 AM

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