GFXVoid Graphic Design Forum

Remove Text Formatting
Loading...

» Online Users: 7,223

0 members and 7,223 guests
No Members online

» Site Navigation

 > FAQ

» Stats

Members: 35,442
Threads: 103,075
Posts: 826,688
Top Poster: cc.RadillacVIII (7,429)
Welcome to our newest member, Lekelindids
Page 1 of 2 12 LastLast
Results 1 to 10 of 19
  1. #1
    Join Date
    May 2005
    Location
    Sweden
    Posts
    345

    Default

    In this tutorial you need:
    Flash MX

    Well this is about making an object moving through the scene!
    Not with Motion Tween - With Actionscript(AS).
    So let's begin!

    Step I
    Make a new Flash Document.
    Create a ball with the ellipse tool.

    Step II
    Now this is where the fun begins!
    Select you ball and make it a Movieclip(MC) by pressing F8 on your keyboard.
    Name it like "Ball" or "Circle" or something(doesn't really matter).

    Step III
    In the bottom on your workspace it should be a tab called "Actions - Objects".
    Click it.
    Now the tab should "pop" up(not like a internet pop-up).
    Click on your ball and write:
    Code:
    onClipEvent(enterFrame){
     * * * this._y --;
    }
    So time for some explanation!
    Code:
    onClipEvent(enterFrame)
    What this does is that it enters a frame at the frame rate that the user specified(you can see it under your timeline ).
    Double click it to change it(i recommend 30FPS).

    Code:
    this._y --;
    The code above says to the object to move to the direction Y-, and that is Up.
    I'll show you how it works in Flash.
    ---------------------------------------------
    |

    As you can see, the Flash way, Y Directions is Mirrored.
    I don't really get that myself, but i can live with it. :lol:
    So test your movies out and have fun!
    I hoped you learned something!
    Til' next time! B)

    Result:

    (Click here if you want to see my result)
    Noooooo! My old signature is gone! Gone forever!!!
    *sniff*
    New one!

  2. #2

    Default

    good job, i think i got enough in my brain to figure out how to use flash mx on my thanks alot for your help.

  3. #3
    Join Date
    Jun 2005
    Location
    Iowa
    Posts
    1,321

    Default

    lol i had a tut on how to make realistic gravity, but it's been so long since i've used flash i can't remember...lol ill work on it tho



  4. #4
    Join Date
    May 2005
    Location
    Sweden
    Posts
    345

    Default

    The thing you need to know is math..
    I know how to make a Physics engine.
    Noooooo! My old signature is gone! Gone forever!!!
    *sniff*
    New one!

  5. #5
    Join Date
    Jun 2005
    Location
    Iowa
    Posts
    1,321

    Default

    so do i...i just can't remember at the moment lol...anywayz i have to leave for a concert right meyaw so c ya



  6. #6
    Join Date
    May 2005
    Location
    Sweden
    Posts
    345

    Default

    cya
    [kinda empty so i'll add this]
    Noooooo! My old signature is gone! Gone forever!!!
    *sniff*
    New one!

  7. #7
    Join Date
    Mar 2005
    Location
    Insanity Sq.
    Posts
    3,811

    Default

    Hmm, good tutorial for beginners, though it is very simple. I'd be interested in seeing that physics engine. Also, you were wrong on the x & y axis. Flash doesn't mirror it, it just mirrors the Y axis. You are wrong on the x axis normally. The x axis always goes from left to right, ascending.
    If you want help...
    Screw you
    If you make sigs...
    Screw you

  8. #8
    Join Date
    May 2005
    Location
    Sweden
    Posts
    345

    Default

    The flash(i like calling it like that) mirrors it. In visual Basic(in my understanding) X- Is left. In flash it is X+.

    And as the title says; Simple Actionscripting.
    Noooooo! My old signature is gone! Gone forever!!!
    *sniff*
    New one!

  9. #9
    Join Date
    Mar 2005
    Location
    Insanity Sq.
    Posts
    3,811

    Default

    I wasn't bagging on you for it being simple, thats fine, you don't have to defend yourself. And i don't know about visual basic, but in normal, real life, X+ is going to the right. Think about algebra 1, remember plotting graphs and stuff? Heres some links

    http://srmwww.gov.bc.ca/risc/pubs/teecolo/...ssets/hmgf6.gif
    http://members.jcom.home.ne.jp/maegawa/pub...s-d/xy2ps-3.png
    http://www.pen.k12.va.us/Div/Winchester/jh...ebra/grapha.jpg

    If you still dont believe me, just go to google and search "X and Y axis".
    If you want help...
    Screw you
    If you make sigs...
    Screw you

  10. #10
    Join Date
    May 2005
    Location
    Sweden
    Posts
    345

    Default

    um.. test it for youself.. if you write :
    Code:
    onClipEvent(enterFrame){
    	this._y --;
    }
    It's going up... and those algebra graphs show that y- is down... test it and you'll see...

    We misunderstood eachother.. hehe and i wrote wrong above your post... hehe...
    Sorry.. :unsure:
    Noooooo! My old signature is gone! Gone forever!!!
    *sniff*
    New one!

Similar Threads

  1. Simple sig
    By Tyson in forum Sigs & Manips
    Replies: 8
    Last Post: 08-26-2005, 10:16 AM
  2. Simple Sig
    By *Peng* in forum Sigs & Manips
    Replies: 5
    Last Post: 07-15-2005, 02:38 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Powered by vBadvanced CMPS v4.1.1