Solved

Tell Target in Flash 8?

Posted on 2006-07-11
1
412 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
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

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…
Introduction This article is primarily concerned with ActionScript 3 and generally specific to AVM2.  Most suggestions would apply to ActionScript 2 as well, and I've noted those tips that differ between AS2 and AS3. With the advent of ActionS…
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…
The goal of the tutorial is to teach the user how to select the video input device. Make sure you have an input device that in connected and work and recognized by Adobe Flash Media Live Encoder and select it in the “video input” menu.

867 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now