Search tutorials
Setting variables to arrays
Setting variables to arrays couldn't be easier. Just use this:
Array1.push({clip:Instancename,x:Instancename._x,y:Instancename._y,somevariable:80*Math.random(),someothervariable:3})
| » Level Intermediate |
|
Added: 2006-05-09 Rating: 2 Votes: 8 |
| » Author |
| Cornyanimation is about to post his first major flash project, and is learning javascript. |
| » Download |
| Download the files used in this tutorial. |
| Download (0 kb) |
| » Forums |
| More help? Search our boards for quick answers! |
-
You must have javascript enabled in order to post comments.


Comments
There are no comments yet. Be the first to comment!