I am working on learning how to work with functions in flash. I ran into a bit of trouble. What I am trying to do is make a function that creates a random _x number. Then have another function that takes that _x number and adds some easing to it. Finally I have a movie clip that will read that last function and move the object to the random _x position and ease into it when clicked. I think I have the basics of it done but I just cant seem to get it to run! I included a file so you can see were I am at with this. If anyone has a more efficient solution to this I am all ears. My hope is that with using functions I will be able to add this script to other objects in the movie more easily. Let me know any thoughts you have I would really appreciate it.
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
[fmx2004] learning functions
|
0 | 34 | November 16, 2004 | |
New to actionscript needing some help | 0 | 65 | February 20, 2006 | |
Function(something)
|
0 | 33 | October 19, 2004 | |
Function(something)
|
0 | 36 | October 19, 2004 | |
[fmx2004] learning functions | 0 | 36 | November 16, 2004 |