I was wondering if someone might be willing to take a look at my project files for this image scaler that I've been working on. I have most of the functionality there, but I think that I probably haven't created them in the best format/structure possible. Basically I just need some direction moreso than anything.
As of now, I have it working to the point where if you click the "scale" button, the scale handles will show up around the image - and if you roll your mouse over any of those handles, a different cursor will show up - and if you click on any of the handles, it differentiates between which point you click on. The place that I am getting stuck at now is this:
My main .
fla file has a movie clip (the one that I am trying to scale). It has an instance name of prop1. I've even managed to pass the instance name into the scale controller classes main function. My problem is passing it into other functions that are called by event listeners, as you cannot pass parameters into functions this way (to my knowledge). So in a nut shell, I am having trouble controlling elements in my main .
fla from code in the ScaleController class (does this make sense?).
That is the extent of my current problem now - and my current thoughts are this. A) I either have to rewrite the program from scratch, because I'm completely off track with the way I am approaching the problem. B) It's fixable, I just need to rework a few things.
I would appreciate any feedback or suggestions that anybody could give me. The attached .txt files are actually supposed to have an .as file extension, but you cant upload those types of files here.. so just convert em as needed. Thanks!