A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: GotoAndPlay ... And Stop?

  1. #1
    Senior Member
    Join Date
    Jun 2001
    Posts
    219

    GotoAndPlay ... And Stop?

    Hi guys,

    I've got a timeline and four buttons which each gotoandplay from the first frame on the same timeline. But I want each button to Stop() at different frames on the same timeline.

    So is it possible to do a GotoAndPlay ... And Stop function on a button in flash?

  2. #2
    Flash/Flex Developer samac1068's Avatar
    Join Date
    Apr 2007
    Location
    Here, no there
    Posts
    1,813
    Yes, why don't you use gotoAndStop() instead.
    Some people are like Slinkies, not really good for anything, but they bring a smile to your face when pushed down the stairs.

  3. #3
    Senior Member Steven FN's Avatar
    Join Date
    Mar 2010
    Location
    CA, USA
    Posts
    276
    If for some reason, you need to use gotoAndPlay, then just put stop() at each keyframe.

  4. #4
    Senior Member
    Join Date
    Jan 2010
    Location
    England
    Posts
    268
    yeah just use gotoAndPlay with a stop on each frame..failing that try gotoAndStop.
    might be addicted to flash...
    _______________________________________

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