A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: ::::: control MC scenes over levels :::::

  1. #1
    Member
    Join Date
    Dec 2000
    Posts
    45
    Hallo all...
    After (almost) all my previous questions were not answered i still won't lose hope... i know there are LOTS of guys out there that can help.. it's just a question of luck if they see your question before it goes to the buttom of the page in the forum.... :-))

    This time it's easy (and urgent as well..)
    I have a Main MC.
    Loaded on launch a second one on level 4.
    The mc on level 4 is the menu for the root level.
    How do i send a command (simple one like goto.scene ) from the level 4 MC to the main one ?
    I tried
    _root.gotoAndPlay("Scene 2","MyFrame")
    and also the regular one
    goto _root.scene2.myframe

    But it does not work
    Apperantly the player goes to the root of the fourth level MC and not the absolut root of the clip.
    Am i doing a syntex error ?
    is it possiable to control MC in diffrent levels OVER SCENES ????
    I want to control the scenes in level root from the one in level 4. (and frames ofcourse..)

    Any bright ideas ????

    K99


  2. #2
    Member
    Join Date
    Jul 2001
    Posts
    88
    Originally posted by k99
    Hallo all...
    After (almost) all my previous questions were not answered i still won't lose hope... i know there are LOTS of guys out there that can help.. it's just a question of luck if they see your question before it goes to the buttom of the page in the forum.... :-))

    This time it's easy (and urgent as well..)
    I have a Main MC.
    Loaded on launch a second one on level 4.
    The mc on level 4 is the menu for the root level.
    How do i send a command (simple one like goto.scene ) from the level 4 MC to the main one ?
    I tried
    _root.gotoAndPlay("Scene 2","MyFrame")
    and also the regular one
    goto _root.scene2.myframe

    But it does not work
    Apperantly the player goes to the root of the fourth level MC and not the absolut root of the clip.
    Am i doing a syntex error ?
    is it possiable to control MC in diffrent levels OVER SCENES ????
    I want to control the scenes in level root from the one in level 4. (and frames ofcourse..)

    Any bright ideas ????

    K99


    its possible to control mc in difft levels
    in ur case it would be
    _level0.gotoAndPlay(("Scene 2","MyFrame");


    B-)

  3. #3
    Member
    Join Date
    Dec 2000
    Posts
    45

    ::: Thanks man, but no work....

    Thanks for the quick answer,
    but the same thing occurs.
    It's looking for _level0 inside the clip that is in level 4 and not the root's level0
    It's seems that changing _root with _level0 does nothing..is that possiable ?

    Any other ideas ?

  4. #4
    Member
    Join Date
    Jul 2001
    Posts
    88

    Re: ::: Thanks man, but no work....

    Originally posted by k99
    Thanks for the quick answer,
    but the same thing occurs.
    It's looking for _level0 inside the clip that is in level 4 and not the root's level0
    It's seems that changing _root with _level0 does nothing..is that possiable ?

    Any other ideas ?
    I am not sure why its not working but u can try telltarget ie

    tellTarget(_level0) {
    gotoAndPlay(SCENE1,2);
    }
    or _root._level0.gotoAndPlay(1);

    this should work man

  5. #5
    Member
    Join Date
    Dec 2000
    Posts
    45

    ::::Now WORKING:::::

    Thanks man, that worked,

    Ive used

    on (release) {
    tellTarget (_level0) {
    gotoAndPlay ("general", "start");
    }
    }

    And it worked .. but it's still not clear why the other methods did not function...
    If someone can explain me, i could save some nerves next time ...

    :-)))

    Thanks again...

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