| Home | Tutorials | Forums | Articles | Blogs | Movies | Library | Employment | Press | Buy templates |
|
|
#1 |
|
Senior Member
Join Date: Feb 2001
Location: sweden
Posts: 194
|
hello .I'm new on this forum. So excuse if I'm doing something wrog. But this's what I'm looking 4.
I have a movieclip with a button in it. and when I press the button I want it to take me to say frame 10 on the stage. I'm using flash5. I think I have to make a text variable on frame10. and then on the button add _root..... something. I read about this in the tutorial section on this forum; but I couldn't figure out how to make this |
|
|
|
|
|
#2 |
|
Administrator
Join Date: Nov 2000
Location: Australia
Posts: 8,612
|
on (press) {
_root.gotoAndPlay(10); } Our new tutorial covers these issues (Paths on buttons): http://www.actionscripts.org/tutoria...es/index.shtml Cheers Jesse
__________________
Cheers Jesse Stratford ActionScript.org Cofounder Email: presented in this way to stop spam-bots: My email is composed of my first name (jesse) followed by my last name (stratford) followed by @ followed by actionscript.org Please don't email or PM me Flash questions, that's what the Forums are for! ![]() Please don't rely on me reading my PMs either. Email me about important stuff. |
|
|
|
|
|
|
|
|
#3 |
|
Senior Member
Join Date: Feb 2001
Location: sweden
Posts: 194
|
when I type that.. the line gets yellow and it comments that my movie has to be exported as a flash 5 to use that action.. What am I have to do.
|
|
|
|
|
|
#4 |
|
Administrator
Join Date: Nov 2000
Location: Australia
Posts: 8,612
|
Well you said you were using FLash 5. Taht's a valid FLash 5 command. I would recommend you export your movies in FLash 5 format simple because it's better. To change export format use Ctrl Shift F12 in Flash (when you file is open) and check the flash tab.
Alternatively you can use the redundant tags: on (press) { tellTarget ("_level0") { gotoAndPlay(10); } } That should work for FLash 4 exports. Cheers Jesse
__________________
Cheers Jesse Stratford ActionScript.org Cofounder Email: presented in this way to stop spam-bots: My email is composed of my first name (jesse) followed by my last name (stratford) followed by @ followed by actionscript.org Please don't email or PM me Flash questions, that's what the Forums are for! ![]() Please don't rely on me reading my PMs either. Email me about important stuff. |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Confusing Paths | Tactical_Snake | Simple Stuff (Newbies) | 1 | 04-25-2006 01:34 AM |
| Managing Paths | pitu | ActionScript 2.0 | 4 | 03-12-2006 10:16 PM |
| Paths in external swf doesn't work | Kiri11 | ActionScript 1.0 (and below) | 3 | 02-24-2006 11:43 AM |
| Trouble with paths when calling a function | fx2ooo | ActionScript 2.0 | 1 | 06-13-2005 01:59 PM |
| dynamic paths | Ricod | ActionScript 1.0 (and below) | 2 | 11-16-2001 09:36 AM |