My mind blew up. x(
hello!
Age 39, Male
stupids
Penn State
San Diego
Joined on 2/24/00
My mind blew up. x(
is this basically an easier process in flash then or. . . .?
...Has anyone ever told you that you should become a math teacher?
I have NO idea what you just said, but i'm gonna try and figure it out. Or, my brain'll shrivel up and die in the process. That was a useless comment, wasn't it?
thats pretty smart how flash does that, how did you find that out?
What do you think I am, a freakin' rocket surgeon?
wow... that actually made sense to me, though ive never dealt with the scenario. thanks for that, ill keep it in mind. (you might want to explain the matrices and trig a little more for the typical newgroundser)
*pop*
Yeah I understood that
...and that's why I only make drawings. x_X
I understand the mathematical lingo but you lost me in the ActionScript...
I think my brain broke
what
Flash is smart sometimes, but sometime not so helpful. You can see exactly how it stores the transform if you have the transform window open - type in -100% for width, then reselect the clip, you'll see it actually counts as a skew of 180 degrees
Try this one! Its a problem with AS3, I'm not sure if it used to do it in AS2. Bear in mind that height and width of a movieclip are always relative to its parent's x/y axis, not the clips own internal axis (unlike xScale and yScale)
Add a 100x100 square MovieClip to the timeline, call it mc and add this to the stage timeline:
mc.rotation = 90;
mc.width = 50;
trace(mc.width);
trace(mc.height);
You'll see that it completely scews up which way it scales! then try this:
mc.rotation = 90;
mc.width = 50;
mc.width = 50;
trace(mc.width);
trace(mc.height);
It seems like the first time it uses width (same goes for height) it hasn't updated the rotation on the clip, but the second time it has! Crazy Flash...
Tom-
I understood the main message, but I've never used a flash program. It'd be freaking awesome to have the skills of Adam Phillips, Michael Swain or Jeff Bandelin, but sadly I know not one thing about it and I'm afraid of these mathematical bullshit you seem to have to go through. I hate math. :|
Any advice?
xx Martin xx
i understand the maths
but i fell swamped out by actionscript
I have more problems with _height and _width acting as positive when I try making them negative than I have with _xscale and _yscale.
I think my brain just popped... Painfully...
I think the point of this is:
Flash uses a square root function to flip things horizontally or vertically
the square root of any number is allways positive
so flipping something will allways give you a positive _xscale
I could be wrong there. Well done for finding out though.
KupaMan
Whoa, that just melted my mind.