dcsimg
A Flash Developer Resource Site

Search:

Type: Posts; User: Suthers

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. Replies
    0
    Views
    870

    myPod "your personal Ipod"

    var dial=element ("dial2");
    var windowScroller=element ("window

    scroller");

    stage.addEventListener(Event.ENTER_FRAME,rot)


    function rot(evt:Event):void
    {
  2. Replies
    9
    Views
    4,397

    Does the movieClip scroll relative to the mouse...

    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...
  3. Replies
    2
    Views
    477

    That is neat. Either they used some math...

    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...
  4. Replies
    2
    Views
    443

    You can try out my Variables&Functions tutorial...

    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.
  5. Replies
    2
    Views
    443

    There are two things you should know about: ...

    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).
  6. Replies
    1
    Views
    382

    A function with an Event & argument?

    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...
  7. Replies
    3
    Views
    4,055

    tan(angle CAB)=CB/AB so, CB= AB*tan(angle CAB)...

    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...
  8. Replies
    1
    Views
    2,476

    This is a calculus problem. Calculus helps find...

    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...
  9. Replies
    5
    Views
    4,762

    I don't think I know exactly what you want, and I...

    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...
  10. Replies
    0
    Views
    482

    AHHHHH! ActionScript is Annoying!

    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 in-depth study. For...
  11. a=0 b=4 between 'a' and 'b' there are three...

    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.
  12. Thread: stage class

    by Suthers
    Replies
    2
    Views
    493

    I just uploaded my "class tutorial": ...

    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
  13. You could use ActionScript to scale the video. I...

    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:
    ...
  14. Replies
    11
    Views
    5,491

    You can work out the bugs of this. I did it...

    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
  15. Replies
    11
    Views
    5,491

    you want the ball to change as the mouse's x...

    you want the ball to change as the mouse's x position changes.

    ball_mc.x=mouse.x;

    but you want it in-between a1 and a2 which are have pixel locations, that you can find.

    a1.x=pixel location#...
  16. Replies
    4
    Views
    4,822

    The formula for a circle: (x-h)^2+(y-k)^2=r^2...

    The formula for a circle:

    (x-h)^2+(y-k)^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
  17. Replies
    5
    Views
    3,480

    I think tangent would be better to use. and use...

    I think tangent would be better to use. and use ATAN2() to get degrees
  18. Thread: Math.pow ?

    by Suthers
    Replies
    2
    Views
    5,276

    Math.pow() works like this: Math.pow(y,x); ...

    Math.pow() works like this:

    Math.pow(y,x);

    y is raised to the x power

    Math.pow((),3)

    is your setup
  19. Replies
    3
    Views
    5,649

    I think you may use a natural log or the interest...

    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.
  20. Replies
    12
    Views
    9,908

    You need to go back to SECANTS TANGENTS and ARCS,...

    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/tangents-secants-arcs-angles.php
  21. It would be better if you made two other...

    It would be better if you made two other varibles:

    dy=y2-y1
    dx=x2-x1

    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)...
  22. This is really a Calculus problem, more...

    This is really a Calculus problem, more specifically a study called INTEGRATION.
  23. The formula for a circle: (x-h)^2+(y-k)^2=r^2...

    The formula for a circle:

    (x-h)^2+(y-k)^2=r^2

    (h,k) is the center

    r is the radius

    dmschenk. I can help you get a grip:
  24. Replies
    2
    Views
    2,862

    The vector is still in the same direction, up....

    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
  25. Replies
    2
    Views
    3,174

    hmmm, it is strange to picture this. But I can...

    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...
Results 1 to 25 of 59
Page 1 of 3 1 2 3




Click Here to Expand Forum to Full Width

HTML5 Development Center