Search:
Type: Posts; User: Suthers
Search:
Search took 0.02 seconds.

var dial=element ("dial2");
var windowScroller=element ("window
scroller");
stage.addEventListener(Event.ENTER_FRAME,rot)
function rot(evt:Event):void
{

Does the movieClip scroll relative to the mouse position? Is there a slider bar that, when you drag it, scrolls throught the frames of the movie clip, based on the mouse being down and the user...

That is neat. Either they used some math formulas, or a plugin for 3d in flash. I don't use AdobeFlash but rather 3dfa (don't have the money). The last flas I used was Cs3.
I have a site where you...

You can try out my Variables&Functions tutorial here:
http://board.flashkit.com/board/showthread.php?p=4241856#post4241856
If you want a better explanation of Functions and Variables.

There are two things you should know about:
Mouse.hide();
AND
.startDrag(true);
Mouse.hide() makes the mouse cursor invisible when the movie starts (hide is a method of the Mouse class).

How do I get a function that is triggered by an event to take arguments, as well as the event:
stage.addEventListener(Event.ENTER_FRAME, theFunction)
function...

tan(angle CAB)=CB/AB
so, CB= AB*tan(angle CAB)
sin(angle CAB)=CB/(AC)
so, AC= CB/sin(angle CAB)
This gives you the length of all sides of the triangle ACB. With this you can find the...

This is a calculus problem. Calculus helps find the slope of a line for its whole domain
If you want the points to be perpendicular to the sides, you will need to know the slope of each section...

I don't think I know exactly what you want, and I don't know how to use text fields, yet, but I want to give it a go. I will use simple shapes that you can replace with your text filed. I will try...

I promise, I have made the best and most solid attempt at simplifying the core concepts of ActionScript, but there is always something else that comes up, which requires more indepth study. For...

a=0
b=4
between 'a' and 'b' there are three numbers, and all the numbers are spaced 1 apart.
So a simple formula would be
spacing=x+1
x is whatever we place there.

I just uploaded my "class tutorial":
http://board.flashkit.com/board/showthread.php?p=4246054#post4246054
Also watch this:
http://www.gotoandlearn.com/play?id=30

You could use ActionScript to scale the video. I wonder if the same thing will happen if the video is a child of something else, and you scale the othet thing.This info might help:
...

You can work out the bugs of this. I did it quickly:
var p=element ("dot");
var p1=element ("point1");
var p2=element ("point2");
//y=mx+b (equation of a line)
//slope = rise/run

you want the ball to change as the mouse's x position changes.
ball_mc.x=mouse.x;
but you want it inbetween a1 and a2 which are have pixel locations, that you can find.
a1.x=pixel location#...

The formula for a circle:
(xh)^2+(yk)^2=r^2
(h,k) is the center
r is the radius
You want the equation for both circles, and you want to subtract the x and y values of each

I think tangent would be better to use. and use ATAN2() to get degrees

Math.pow() works like this:
Math.pow(y,x);
y is raised to the x power
Math.pow((),3)
is your setup

I think you may use a natural log or the interest rate formula. I will look it up and make a tutorial. I have made one on logarithms.

You need to go back to SECANTS TANGENTS and ARCS, CHORDS:
http://regentsprep.org/regents/mathb/5A1/CircleAngles.htm
http://www.mathwarehouse.com/geometry/circle/tangentssecantsarcsangles.php

It would be better if you made two other varibles:
dy=y2y1
dx=x2x1
Your y's and x's are backwards. also. instead of having to do the 180/Math.PI you could use:
object.rotation= ATAN2(x,y)...

This is really a Calculus problem, more specifically a study called INTEGRATION.

The formula for a circle:
(xh)^2+(yk)^2=r^2
(h,k) is the center
r is the radius
dmschenk. I can help you get a grip:

The vector is still in the same direction, up. However there are many other vectors. I would suggest a program called PHUN. It is a free program to help you visualize physical phenomena

hmmm, it is strange to picture this. But I can give you a way I might achieve what I think you want. of course you know you need an EventListener. And you want the clock hand's rotation to be the...

Click Here to Expand Forum to Full Width
