Solved

Tell Target in Flash 8?

Posted on 2006-07-11
1
439 Views
Last Modified: 2010-08-05
I'm new to Flash 8. I'm getting ready to use a button to tell a movie clip where to stop and I go looking for the "Tell Target" command and I'm running into some stuff that has me confused.

How do you script out the "Tell Target" function in Flash 8. I'm seeing the "Tell Target" command in the index but I get the impression from the fact that it says "deprecated" that it's considered archaic.

How do you tell a movie clip on your timeline what to do? What's the Flash 8 equivalent to "Tell Target?"

Thanks!
0
Comment
Question by:brucegust
[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
1 Comment
 
LVL 23

Accepted Solution

by:
Zeffer earned 500 total points
ID: 17086427
with .. and since flash 5 .. dot notation replaces tellTarget .. you can still use tell target ..in fact if the target is an object not a movieclip you have to use either tellTarget or dot notation.

on(release){
tellTarget("movieOne"){
gotoAndStop(5);
}
}

or

on(release){
with(movieOne){
gotoAndStop(5);
}
}

and dot notation..this is most commonly used as.. with.. is better suited to accessing multiple items in scopes..and it's less code

on(release){
_root.movieOne.gotoAndStop(5);
}

Z
0

Featured Post

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

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…
The last time I worked with Flash and Socket connections was in AS1. A recent project required flash connecting to a Socket, and sending receiving information - we figured it would be easy enough - we all know about the socket policy documents and c…
In this tutorial viewers will learn how to create a basic motion tween animation in Flash Open a new document in Flash: Draw/import an image: Press CTRL + F8 to convert it into a graphic symbol: Select a frame (how long you want the tween to last): …
The goal of the tutorial is to teach the user how to select which audio input to use. Once you have an audio input plugged into the laptop or computer, you will go into the audio input settings and choose which audio input you want to use.

696 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