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 | |
---|---|---|---|---|
New to actionscript needing some help | 0 | 65 | February 20, 2006 | |
Functions
|
0 | 79 | October 14, 2005 | |
Selecting and comparing numbers | 0 | 55 | November 7, 2005 | |
Flash8 Random function help me please! | 0 | 68 | March 5, 2007 | |
[any] Newbie question, calling functions from vars | 0 | 90 | February 7, 2006 |