Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Feb 20th, 2005, 8:18 PM   #1
TerraNerd
Programmer
 
TerraNerd's Avatar
 
Join Date: Jul 2004
Location: Vermont, USA
Posts: 65
Rep Power: 5 TerraNerd is on a distinguished road
Send a message via AIM to TerraNerd
Correct forum for flash's 'actionscript'

where would i post something related to actionscript with flash?

Could it be so that actionscript is actually called something else, prehaps C++ as an example. I need help, and im not sure where to post it!

for those who can detect which language the code is written in by looking at it, here's a bit of code from a little dicking around project.

on(release){
	_root.targX = random(500);
	_root.targY = random(400);
	_root.targA = random(100);
	_root.targXs = random(200);
	_root.targYs = random(200);
	_root.targR = random(100);
}

onClipEvent(enterFrame){
	cX = this._x;
	cY = this._y;
	cA = this._alpha;
	cXs = this._xscale;
	cYs = this._yscale;
	cR = this._rotation;
	diffX = cX-_root.targX;
	diffY = cY-_root.targY;
	diffA = cA-_root.targA;
	diffXs = cXs-_root.targXs;
	diffYx = cYs-_root.targYx;
	diffR = cR-_root.targR;
	setProperty(this, _x, cX-(diffX/5));
	setProperty(this, _y, cY-(diffY/5));
	setProperty(this, _alpha, cA-(diffA/5));
	setProperty(this, _xscale, cXs-(diffXs/5));
	setProperty(this, _yscale, cYs-(diffYs/5));
	setProperty(this, _rotation, cR-(diffR/5));
}
__________________
[See a gallery of my Graphic art Here.][Visit my website Here]
TerraNerd is offline   Reply With Quote
Old Feb 21st, 2005, 2:28 AM   #2
kilgayne
Newbie
 
kilgayne's Avatar
 
Join Date: Oct 2004
Location: Quebec
Posts: 10
Rep Power: 0 kilgayne is on a distinguished road
Send a message via MSN to kilgayne
ok... and whats the problem if there's one?
__________________
yeah, i suck ^^;

Quote from Bill Gates : "If you can't make it good, make it looks good."
kilgayne is offline   Reply With Quote
Old Feb 21st, 2005, 6:01 PM   #3
Ooble
I eat cake for breakfast.
 
Ooble's Avatar
 
Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 9 Ooble is on a distinguished road
I suggest the "Misc" forum.
__________________
Me :: You :: Them
Ooble is offline   Reply With Quote
Old Feb 21st, 2005, 7:52 PM   #4
thechristelegacy
Expert Programmer
 
thechristelegacy's Avatar
 
Join Date: Jul 2004
Location: Somerset, Pa
Posts: 708
Rep Power: 5 thechristelegacy is on a distinguished road
Send a message via AIM to thechristelegacy Send a message via MSN to thechristelegacy
ActionScript is ActionScript, but looking at it, I'd say it's related to C, but it's its own programming language developed specificly for flash.
thechristelegacy is offline   Reply With Quote
Old Feb 22nd, 2005, 12:01 AM   #5
Lance
Programmer
 
Lance's Avatar
 
Join Date: Oct 2004
Location: Chicago, IL USA
Posts: 74
Rep Power: 5 Lance is on a distinguished road
Send a message via AIM to Lance
Actually, ActionScript is based on JavaScript. I read it in the book written by the Masters of Flash:

http://2advanced.com
__________________
/* LANCE */
C++;  /* this makes C bigger but returns the old value */
char *site = "slackwise.net",
     *home = "lance.slackwise.net",
     *pics = "flickr.com/photos/slackwise";
Lance is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 12:32 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC