[Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Tell Target in Flash 8?

Posted on 2006-07-11
1
Medium Priority
?
462 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 2000 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

There are times in your Flash CS4 application when you want more than a simple pointer or a hand, and it's hard to find an ideal walk-through to tell you what to do.  I spent a few days recently learning my way around making custom cursors in Flash,…
I have found that much of my time doing support ends up being a constant repetition of the same steps to different people.  Early on I stated using web pages with Frequently Asked Questions (FAQs) to alleviate most of the burden.  Sometimes this jus…
The goal of the tutorial is to teach the user how to how to record live broadcast.
This Micro Tutorial will teach to how to utilize bit rate in Adobe Flash Media Live Encoder.
Suggested Courses
Course of the Month20 days, 14 hours left to enroll

810 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