A Flash Developer Resource Site

Results 1 to 6 of 6

Thread: Is there a major problem in ActionScript or am I being an idiot?

Threaded View

  1. #1
    Always needs help marinebro0306's Avatar
    Join Date
    Jul 2005
    Location
    Philadelphia
    Posts
    166

    Is there a major problem in ActionScript or am I being an idiot?

    I was experimeting with gravity in KM, and I cannot make a ball fall faster and faster using ActionScript.

    My code:
    onClipEvent(load){
    speedX = 5;}

    onClipEvent(enterFrame){
    this._x += speedX;}

    The code is inside a MC of a ball.

    Any ideas???
    From what I can see, nothing is wrong.
    Attached Files Attached Files

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center