A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: simple button problem

  1. #1
    Junior Member
    Join Date
    Apr 2004
    Posts
    8

    simple button problem

    What kind of actionscript do I need if we make a button in a movie symbol which has to lead to the next scene after releasing.

    on (release) {
    nextScene();
    }


    this doesn't work. (only without using symbols)
    Last edited by jasper303; 06-22-2006 at 02:40 PM.

  2. #2
    OOP is one letter from OOPS kortex's Avatar
    Join Date
    Aug 2005
    Location
    New Hope, PA
    Posts
    2,668
    According to the manual that seems correct:

    nextScene

    Availability
    Flash 2.

    Usage

    nextScene()

    Parameters
    None.

    Returns
    Nothing.

    Description
    Action; sends the playhead to Frame 1 of the next scene and stops it.

    Example
    In this example, when a user releases the button, the playhead is sent to Frame 1 of the next scene.

    on(release) {
    nextScene();
    }
    Jeremy Wischusen
    Flash - Flex - LAMP - Web Developer Purple Inc
    AS OOP FAQ-Best Practices Thread | Flashkit OOP Tutorials | Purple Inc (day job) | Blog


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