Script on API help
- El-Presidente
-
El-Presidente
- Member since: Jun. 2, 2005
- Offline.
-
- Forum Stats
- Member
- Level 27
- Blank Slate
I hope that this is the right place to post this, because it is about scripting. I am needing some help with this script, because everytime I do this, it only takes the last part of the script but skips the beginning:
_root.onEnterFrame = function() {
createEmptyMovieClip("line", 1);
with (line) {
moveTo(275, 200);
lineStyle(2, 0xFF0000, 80);
lineTo(_root._xmouse, _root._ymouse);
}
createEmptyMovieClip("square", 1);
with(square){
lineStyle(2, 0x000000, 100);
beginFill(0xFFFFFF,100);
lineTo(50,0);
lineTo(50,50);
lineTo(0,50);
lineTo(0,0);
}
}
Alright, so if I did this, it would only take the square. When i make two pieces with _root.onEnterFrame = function(){ it will still only take the square. Lastly, I tried making two totally different layers, but it still doesn't work and will only take the line one. How am I able to change this script to make it have both of these work at the same time?
MY E-PENIS IS BIGGER THAN YOURS
8=================================>
...and this is my fag...
- authorblues
-
authorblues
- Member since: Jun. 21, 2005
- Offline.
-
- Forum Stats
- Member
- Level 12
- Blank Slate
dont even care enough to be clever
- harryjarry
-
harryjarry
- Member since: May. 15, 2005
- Offline.
-
- Forum Stats
- Member
- Level 57
- Blank Slate
This actually belongs in the flash forum since this is actionscript.
It is a common mistake though, you should be able to get a lot more help in the flash forum as well ;).
- authorblues
-
authorblues
- Member since: Jun. 21, 2005
- Offline.
-
- Forum Stats
- Member
- Level 12
- Blank Slate
At 11/3/06 04:06 PM, authorblues wrote: flash forum
goddamn, im dumb. i copied and pasted the link for the prog forum, but i forgot to change the seven to a two :( flash forum, yo


