Flash Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignFlash Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old April 10th, 2004, 02:44 AM
postscript_err postscript_err is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2004
Posts: 1 postscript_err User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Question Trying to use telltarget in MX...

Hey people,
Am trying to use telltarget to open a movieclip from a button, but i get the following error msg:
Target not found: Target="File_stuff" Base="_level0.instance2"
(File_stuff is the clip im trying to target, and is also on the main stage with an empty first frame, and stop action assigned to it). Here is the action ive assigned to the button (which is actually a movieclip with a button embedded into it - if this makes any diff):
on (release) {
tellTarget ("File_stuff") {
gotoAndPlay(2);
}
}
Also dont know what or how to set the Base, and what the level bit refers to (is it the layer it's on?). As u can see im a 'newbie' who's kinda stumbling their way through. Any help would be much appreciated. Thanx

Last edited by postscript_err : April 10th, 2004 at 02:50 AM.

Reply With Quote
  #2  
Old April 10th, 2004, 10:42 AM
Tann San Tann San is offline
Gotta get to the next screen..
Dev Shed Demi-God (4500 - 4999 posts)
 
Join Date: Nov 2003
Location: Legion of Dynamic Discord
Posts: 4,826 Tann San User rank is Brigadier General (60000 - 70000 Reputation Level)Tann San User rank is Brigadier General (60000 - 70000 Reputation Level)Tann San User rank is Brigadier General (60000 - 70000 Reputation Level)Tann San User rank is Brigadier General (60000 - 70000 Reputation Level)Tann San User rank is Brigadier General (60000 - 70000 Reputation Level)Tann San User rank is Brigadier General (60000 - 70000 Reputation Level)Tann San User rank is Brigadier General (60000 - 70000 Reputation Level)Tann San User rank is Brigadier General (60000 - 70000 Reputation Level)Tann San User rank is Brigadier General (60000 - 70000 Reputation Level)Tann San User rank is Brigadier General (60000 - 70000 Reputation Level)Tann San User rank is Brigadier General (60000 - 70000 Reputation Level)Tann San User rank is Brigadier General (60000 - 70000 Reputation Level)Tann San User rank is Brigadier General (60000 - 70000 Reputation Level)  Folding Points: 11326 Folding Title: Novice Folder
Time spent in forums: 3 Weeks 2 Days 9 h 48 m 7 sec
Reputation Power: 632
Facebook MySpace
Hi, is File_stuff the instance name on stage or the name of it in the library? It can be the same thing but if you havent given it the instance name it wont work. You can do that via the properties panel.

tellTarget is depreciated now anyways though. Once you've given the movie an instance name try this on the button:
Code:
on(release)
   {
      File_stuff.gotoAndPlay(2);
   }
__________________
-Tann

-Vote for your favorite ActionScript editor here.

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignFlash Help > Trying to use telltarget in MX...


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway
Stay green...Green IT