Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Tell Target

Posted on 2000-05-01
3
Medium Priority
?
171 Views
Last Modified: 2010-04-03
How do you use the tell target on a button in a movie clip that you want to initiate another movie in another clip? In other words, I have a menu that is in a movie clip. it has all my buttons in it.  How do I get those buttons to use the tell target to retrieve other movie clips.  The damn instance name does not show up in the target for tell target.  BUT, if i create a button outside the main menu (which is a movie clip) it works.
0
Comment
Question by:ctannery
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 7

Accepted Solution

by:
ssdesign earned 400 total points
ID: 2765365
Create a movie clip and give it a instance name.

Then create a button inside this movie clip (which are your menu buttons)

Give one of these buttond this action

On (Press)
  Begin Tell Target ("_level0/")
    Go to and Play ("action")
  End Tell Target
End On

Then in the main timeline. Give the frame you want to taget a label called 'action'.

Now when a button in the menu with the above action script is pressed it goes to the label 'action' in the main time line and play's.

If you want to target a movie clip in the main time line then change the button action to

On (Press)
  Begin Tell Target ("_level0/movie")
    End Tell Target
End On

Where movie is the instance name of the movie you want to target.

That's it.

If youface any problem then do let me know.
0
 

Author Comment

by:ctannery
ID: 2765378
Thanks, but how do I get the _level0 in the tell target? do you have any small examples you could share?
0
 

Author Comment

by:ctannery
ID: 2766378
Ok, I need help in a hurry. I have a main timeline that has two movie clips in the same frame.  One of the movie clips is my menu with button in the clip.  I have assigned a
on (press)
Begin Tell Target ("_level0")
 go to and play ("middle movie")

"this is the instance name (middle movie) of the second movie clip that I want to play in the middle of the screen.

End tell target
End on

It will not work - what am I doing wrong???


0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This is a very simple example to help those of you who are still migrating from AS2 to AS3 understand the redesigned event model in AS3. In AS2.0, event functions (that is, the function to be performed when an event is fired) were stored as a pro…
Sometimes you know that one object has a specific child in it, but you can't find the child. This happened to me when I was trying to code some actionScript to make a toolbar work with its embedded buttons.  My partner had created the toolbar usi…
In this tutorial viewers will learn how to create a basic shape tween animation in Flash including shape hints for smooth animation Open a new document in Flash: Draw a shape: Select another frame (how long you want the tween to be): Right click and…
This Micro Tutorial will teach to how to utilize bit rate in Adobe Flash Media Live Encoder.

636 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question