Go Back   CodingForums.com > :: Client side development > Flash & ActionScript

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 03-28-2011, 11:11 PM   PM User | #1
loowho
New to the CF scene

 
Join Date: Mar 2011
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
loowho is an unknown quantity at this point
Question Please help with basic actionscripting!

Been looking on-line for the correct code in action scripting 1.0 and 2.0 in Flash CS3.

What is the correct action scripting to make a flash movie stop and then go to an html page titled - home.html?

What is the correct action scripting to make a button when clicked go to an html page titled - home.html?

I would appreciate the help! Been searching on-line for hours and can't find the answer!

Thanks!!!
loowho is offline   Reply With Quote
Old 03-29-2011, 03:16 AM   PM User | #2
Labrar
New Coder

 
Join Date: Jun 2008
Posts: 61
Thanks: 0
Thanked 12 Times in 12 Posts
Labrar is an unknown quantity at this point
Quote:
Originally Posted by loowho View Post
Been looking on-line for the correct code in action scripting 1.0 and 2.0 in Flash CS3.

What is the correct action scripting to make a flash movie stop and then go to an html page titled - home.html?
PHP Code:
stop();
getURL('home.html'); 
Quote:
Originally Posted by loowho View Post
What is the correct action scripting to make a button when clicked go to an html page titled - home.html?

I would appreciate the help! Been searching on-line for hours and can't find the answer!
Depends on what yore using. A Movieclip (Not a Button) or a Button.

Case MovieClip:
PHP Code:
myMovieClipInstantName.onRelease=function(){
 
getURL('home.html');

Case Button:

PHP Code:
on(Release){
 
getURL('home.html');

Labrar is offline   Reply With Quote
Reply

Bookmarks

Tags
action scripting, buttons, flash, flash cs3, flash movies

Jump To Top of Thread


Thread Tools
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 On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 06:00 PM.


Advertisement
Log in to turn off these ads.