A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: target from a swf to another swf scene

  1. #1
    Member
    Join Date
    Jul 2000
    Posts
    32
    Hi i'm always in trouble with targetin':
    how do i target a "go to" action from a swf on level2, to scene 3 of another swf on level1?
    Tanx and bye

  2. #2
    Senior Moderator
    Join Date
    Apr 2000
    Location
    Sheffield, UK
    Posts
    3,881
    Put A Label on the first frame of scene 3 the movie in level1(this example ill label it "movehere")

    Then from level2 to target that frame you use:

    begin tell target("_level1")
    Go To And Play("movehere")
    End tell target

    Hope that helps!!
    Regards FlashGuru

  3. #3
    Member
    Join Date
    Jul 2000
    Posts
    32

    forget

    Thanks Flashguru for fast answer, i forgot to say that the tell target in level2 came from a movieclip not from main timeline, so your advice didn't work. Any other advice?
    Tanx a lot

  4. #4
    Senior Moderator
    Join Date
    Apr 2000
    Location
    Sheffield, UK
    Posts
    3,881
    that syntax will work from anywhereso i suggest you try it again.It will still work if the code was embedded inisde nested movieclips.

    Thanks Regards FlashGuru

  5. #5
    Member
    Join Date
    Jul 2000
    Posts
    32

    i'm cooked

    It will work even if my swf in level2 has 3 scenes?
    Sorry but here is 1 at night and my brain became to be cooked as a apple pie!
    Tanx for help

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