• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

Turning Actions Off

When your visitors have dragged the puzzle pieces to the correct targets, you don't want them to mess things up by dragging the pieces off again, so you need to find a way to turn off the drag action in each of the puzzle pieces. You can do this by using conditions. You can use conditions to limit the number of times a piece of ActionScript is performed.

In the next exercise, you will use a condition to turn off the drag action for a puzzle piece when it has been dropped on the correct target.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint