A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Interactivity question

  1. #1
    Guitar God
    Join Date
    Oct 2002
    Location
    Sunnyside, WA
    Posts
    101

    Interactivity question

    This is a pretty odd question so please just hear me out.

    I want to have a target (circle/hole) and allow it to have objects dragged into it. When the objects are let go into the target, I want either another scene to play or have a sprite appear in the movie. I'm sure there is some kind of scripting to be done here but I suck at script (I only know the basics).

    If you understood what I asked and have some scripting know-how, please respond. Your help will be greatly appreciated!

    Thanks!

  2. #2
    Flashkit historian Frets's Avatar
    Join Date
    Oct 2000
    Location
    flashkit
    Posts
    8,797
    Hi,


    The short answer On release If near You can use coordinates or object boundries.

    FYI as sprites can not pass across scenes You may wish to either initiate in a background scene or target your actions to other sprites.

    As well make sure you are keenly aware of what targets are and where the paths are in relation. As soon as you mark an object as a target swishmax wraps a sprite around the target. Sprites (Must be named) are automatically targets. When you drag you are dragging the sprite or level.

    See example
    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