A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: Tell Target Problems

  1. #1
    Hey Again,

    I am using 'tell target' to load clips....everything works fine until:

    1. The user clicks on another target, causing another movie clip to load. The previous movie clip doesn't clear. I'm not stuck with a bunch of clips on top of each other (making no sense)

    http://www.insidewebdesign.com/contents.html

    This should be easy, but my brain is numb right now

    Thanks

  2. #2
    Senior Member
    Join Date
    Aug 2000
    Posts
    170
    Hi

    numb brain is my second name so don't worry :-)

    Make the first farme of your movie clips an empty keyframe and use tell target to do and stop at that frame before loading the second movie clip.

    hope this help

    Naz

  3. #3
    All my movie clips have a blank keyframe at 1

    I have 5 or so buttons on my page. How am I supposed to know which MC's are up. I can see using a 'goto and stop - 1' command in the last keyframe of the MC but then the MC will disappear. Most of my MC's are 15 frames, and I want them to stay displayed until the user clicks another button; even if its for 1 minute.

    Maybe I don't understand your advice


  4. #4
    Senior Member
    Join Date
    Aug 2000
    Posts
    170
    Hi

    What I had in mind was something along this line

    Button_A (will "Hide" movie_B and will "show" Movie_A)
    On (Release)
    Begin Tell Target ("/Movie_B")
    Go to and Stop (1)
    End Tell Target
    Begin Tell Target ("/Movie_A")
    Go to and Play (2)
    End Tell Target
    End On

    Button_B
    On (Release)(will "Hide" movie_A and will "show" Movie_B)
    Begin Tell Target ("/Movie_A")
    Go to and Stop (1)
    End Tell Target
    Begin Tell Target ("/Movie_B")
    Go to and Play (2)
    End Tell Target
    End On


    Naz

  5. #5
    Junior Member
    Join Date
    Jul 2000
    Posts
    29

    Use separate SWF's

    This may not be the advice you want to hear...but with your requirements, I would recommend putting each of the button movies into separate Flash files.

    For example:

    1) Mouseover button A loads buttona.swf to level 1.
    2) buttona movie has stop action in last keyframe.
    3) Mouseover button B loads buttonb.swf to level 1.
    4) buttonb movie has stop action in last keyframe.
    5) ...

    Do you see where I am going with this? If you load them as separate movies on the same level, whenever you load another movie on that level, the previous one disppears. Also, by loading the movie on the roll-over effect, it will remain there forever, until another button is pressed.

    Hope this helps!

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