Home Tutorials Forums Articles Blogs Movies Library Employment Press Buy templates

Go Back   ActionScript.org Forums > ActionScript Forums Group > Simple Stuff (Newbies)

Reply
 
Thread Tools Rate Thread Display Modes
Old 02-17-2001, 02:03 PM   #1
bahrami
Senior Member
 
Join Date: Feb 2001
Location: sweden
Posts: 194
Default

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
bahrami is offline   Reply With Quote
Old 02-17-2001, 02:32 PM   #2
Jesse
Administrator
 
Jesse's Avatar
 
Join Date: Nov 2000
Location: Australia
Posts: 8,612
Talking

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.
Jesse is offline   Reply With Quote
Old 02-17-2001, 09:09 PM   #3
bahrami
Senior Member
 
Join Date: Feb 2001
Location: sweden
Posts: 194
Default wrong

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.
bahrami is offline   Reply With Quote
Old 02-18-2001, 12:28 AM   #4
Jesse
Administrator
 
Jesse's Avatar
 
Join Date: Nov 2000
Location: Australia
Posts: 8,612
Default

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.
Jesse is offline   Reply With Quote
Reply


Thread Tools
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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

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


All times are GMT. The time now is 04:24 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2009 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.