Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 07-08-2003, 10:39 AM   #1
Registered User
Join Date: Jul 2003
Posts: 4
Default actionscript.org tutorials....

im starting from beginner and hoping to work my way through them...ive read about 4 so far, and the main thing i dont get, is where variables and getproperty's and all that code actually go/are used for?

I got the feeling this is an insanely stupid question, but if theres a nutshell answer or another tutorial i can be directed to...much MUCH appreciated.

and another thing...where the hell is the 'instane name' section in MX???

Last edited by sheldé; 07-08-2003 at 10:44 AM.
sheldé is offline   Reply With Quote
Old 07-08-2003, 10:54 AM   #2
mvhall's Avatar
Join Date: Aug 2002
Location: The Netherlands
Posts: 316

Hi René, welcome to AS.org

I don't know of any tut that explains this:
The properties are used for manipulating clips or objects in general. If you want to use script to do that you need access to the parameters, and you do this with setting values to the oject's properties. Let's say you have made a copy of the symbol (=instance) and you have placed it on position 10,10 but want to have it moved to 100,20 when you press a button. You would need access to its properties _x and _y .
There again nearly everything you can program you can do manually by using gotoAndPlay() . Just use tweening in the above sample, and jump to the start of the tween when pressing a button.

If you select an instance you will see in the property inspector a field <instance name> or something similar. That is the field where you name your instance.

have fun,
mvhall is offline   Reply With Quote
Old 07-12-2003, 08:04 PM   #3
yep, it's martini time!
subquark's Avatar
Join Date: Jun 2002
Location: Boston
Posts: 1,983

see if these help: http://www.absconditus.com/articles/oop1.htm

Retrotron is one of the sharpest coders out there. Oh, and no silly questions from you, that's my job!
mr. olive . . . hold on to your monkey!
subquark is offline   Reply With Quote

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

All times are GMT. The time now is 01:32 PM.

Follow actionscriptorg on Twitter


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.