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 | |
---|---|---|---|---|
Functions
|
0 | 81 | October 14, 2005 | |
[FMX]Function random movement | 0 | 51 | April 23, 2004 | |
[FMX]Function random movement
|
0 | 33 | April 23, 2004 | |
[fmx2004] learning functions | 0 | 38 | November 16, 2004 | |
Useful Functions and Procedures | 0 | 61 | April 6, 2005 |