A Flash Developer Resource Site

Results 1 to 6 of 6

Thread: bassic submovie passing a button action

  1. #1
    Junior Member
    Join Date
    Jan 2001
    Location
    new Zealand
    Posts
    3

    bassic submovie passing a button action

    Simple question but i am stuck so please help.

    i have a basic movie in MX with a movie clip. In the clip i have 5 buttons. I require thes butons to be in all scenes so i place the sub movie into the various scense.

    I scrip each button with the following sort of script but the action is not recognised. What an i doing Wrong?

    on (release) {
    _level0.gotoandplay ("scene6",1)

    }

    I assume to go from the submovie you have to go back to the main movie which i believe is __level0. Alternatively i have tried _parent with no effect either.

    Help!


    Simple but learning

    moose

  2. #2
    Moderator enpstudios's Avatar
    Join Date
    Jun 2001
    Location
    Tampa, Fl.
    Posts
    11,282
    Code:
    on (release) {
    _root.gotoandplay ("frameLabel");
    
    }

  3. #3
    Junior Member
    Join Date
    Jan 2001
    Location
    new Zealand
    Posts
    3
    Thanks

    i was obviusly barking up the wrong tree. Do you know why _level0 doesnt work?

    Cheers

    moose

  4. #4
    Moderator enpstudios's Avatar
    Join Date
    Jun 2001
    Location
    Tampa, Fl.
    Posts
    11,282
    It should as long as you use a framelabel

  5. #5
    Junior Member
    Join Date
    Jan 2001
    Location
    new Zealand
    Posts
    3
    Thanks

    what time is it there in Tampa? it is late afternoon here in new Zealand, is it not the middle of the night there?

  6. #6
    Moderator enpstudios's Avatar
    Join Date
    Jun 2001
    Location
    Tampa, Fl.
    Posts
    11,282
    9:55pm Friday

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