dcsimg
A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: jump to next scene

  1. #1
    Junior Member
    Join Date
    Sep 2000
    Posts
    25
    Hi all,
    I've loaded a swf into an empty movieclip. In my main timeline I have created a forward and back button to control the imported movie. I want them to tell the imported movie to goto and play the next or previous scene.

    the empty movie clip into which the swf is imported is called 'import' and this resides in the root timeline.

    I have tried:

    on (release) {
    tellTarget ("import") {
    nextScene ();
    play ();
    }
    }

    But all this seems to do is go back to the beginning of the current scene. The prevScene() version on the back button does the same thing. Anyone have any ideas what I'm doing wrong???

    thanx in advance,

  2. #2
    9th Grade WC
    Join Date
    Sep 2000
    Posts
    1,192
    try it in expert mode
    and try
    on(release)
    {
    _root.import.gotoAndPlay(nextScene());
    }

  3. #3
    Junior Member
    Join Date
    Sep 2000
    Posts
    25

    didn't work at all..

    Hi,
    Thanks, but that code didn't work at all, I have no idea what I'm doing wrong... any other ideas?

    thanks in advance.

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