A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: control MC on level(x) v.2

  1. #1
    Junior Member
    Join Date
    Mar 2001
    Posts
    5
    I just was reading a thread posted by gnuwine94 titled "control movie on level (x)?"

    It stated that you can control a movie into the level (lets say level 8) you want like this:

    Loadmovie (moviename.swf,8)

    if frame to play has the label "start", in the main movie

    TellTarget (_level8)
    GoTo and play ("start")
    =======================
    my problem is that the frame I'm trying to reach to is not in the main movie but a in a sub movie.
    This is what I tried but to no avail.

    Loadmovie (moviename.swf,8)
    Tell Target (level_8)
    GoTo and play (sub_movie/"frame")

    I have also tried this:

    Loadmovie (moviename.swf,8)
    Tell Target (level_8/sub_movie)
    GoTo and play ("frame")

    ========================
    I understand all the aspects in gnuwine94's posts but I can't seem to take that information to the next level. Any help on this would be great!!!

  2. #2
    Code:
    Load Movie ("yourMovie.swf", 8)
    Begin Tell Target ("_level8/mcOnLevel8")
          Go to and Play ("yourLabel")
    End Tell Target
    This is the correct syntax, but it would not work because you got to load that frame completely before you can manipulate it.
    So load your move first and then target it, i.e. do this bit first
    Code:
    Load Movie ("yourMovie.swf", 8)
    And do this bit later on
    Code:
    Begin Tell Target ("_level8/mcOnLevel8")
          Go to and Play ("yourLabel")
    End Tell Target

  3. #3
    Junior Member
    Join Date
    Mar 2001
    Posts
    5
    In the tell target what name would I use after _level8?
    The instance or the name of the movie clip?
    Would it look like this:
    ("_level8/"name_of_movie_or_instance"OnLevel8")
    or
    ("_level8/name_of_movie_or_instance")

    Would it be string literal or an expression?


    I'm trying it but it's not working.

  4. #4
    plz copy and paste your actual code.

  5. #5
    Junior Member
    Join Date
    Mar 2001
    Posts
    5
    This is the code:
    ====================

    On (Release)

    Unload Movie (2)

    Load Movie ("company_movie.swf", 2)

    Begin Tell Target ("_level2/company_pagesOnLevel2")

    Go to and Stop ("process")

    End Tell Target

    End On

    ============================
    Muhammad thanks for putting up with me this means a lot.

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