![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Programmer
|
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));
} |
|
|
|
|
|
#2 |
|
Newbie
|
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." |
|
|
|
|
|
#3 |
|
I eat cake for breakfast.
![]() ![]() ![]() ![]() Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 9
![]() |
I suggest the "Misc" forum.
|
|
|
|
|
|
#4 |
|
Expert Programmer
|
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.
|
|
|
|
|
|
#5 |
|
Programmer
|
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"; |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|