Solved

Tell Target in Flash 8?

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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

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…
While working over numerous projects I often had the requirement for doing a screen capture in AS3.0. Unfortunately I found no "ready made" solutions in google search that suited my requirements. But I did come across some great resources which help…
The goal of the tutorial is to teach the user how to set there setting in Adobe Flash Media Live Encoder and YouTube for optimal video and audio quality.
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.
Suggested Courses

734 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