Everybody! This is important. In a few days, these forums will be moving over to using the totally sweet Discourse platform. To ensure this migration happens smoothly with no loss of content, these forums are currently in a read-only mode. I do apologize for the inconvenience.

There is never a good time to turn the forums off for an extended period of time, but I promise the new forums will be a billion times better. I'm pretty sure of it.

See you all on the other side in a few days, and if you have any (non-technical) questions, please e-mail me at kirupa@kirupa.com. For technical questions, try to find a tutorial that corresponds to what you are looking for and post in the comments section of that page.

Cheers,
Kirupa

Results 1 to 3 of 3

Thread: Collision in Flash 4

  1. #1
    transfer
    n/a
    posts
    Guest

    Collision in Flash 4

    I have a problem. I can only do this project in Flash 4 and I need to make a movie clip go to another frame label if it is in collision with another movie clip ( a ball and a cube). Is this possible in Flash 4 ?

  2. #2
    kirupa
    n/a
    posts
    Guest

    Re: Collision in Flash 4

    Hello,
    I looked around for an answer, but I couldn't find any that would answer your question. Try posting on Flashkit's Flash 4 forum: board.flashkit.com/board/...?forumid=3 I know they will be able to help you out!

  3. #3
    thoriphes
    n/a
    posts
    Guest

    Re: Collision in Flash 4

    well, what you can actually do is use the "Set Variable" action and find the x and y coordinates of the ball, use two variables for the x and y coords of the ball, then do the same for the cube. now, kirupa maybe you'll want to help me on this.
    now with four variables, you can do an "if [ball-x-y-coord] = [cube-x-y-coord], goto [this frame]"
    this is just a guess, cause i've never done something like this and i haven't used flash 4 in a while.
    play around with it a bit, experiment!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

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

Home About kirupa.com Meet the Moderators Advertise

 Link to Us

 Credits

Copyright 1999 - 2012