Solved

Tell Target in Flash 8?

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

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…
Recently, I was asked to recommend a tracking system to be implemented on a clients website. As the entire site was built on flash, my first thought was to suggest custom built tracking system. However, our company at that point of time didn't h…
The goal of the tutorial is to teach the user how to live broadcast using Flash Media Live Encoder and connecting it to YouTube to broadcast. Log into your Youtube account, choose live stream settings, start live stream from Flash Media Live Enc…
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.

744 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

9 Experts available now in Live!

Get 1:1 Help Now