all groups > macromedia flash sitedesign > september 2003 >
You're in the

macromedia flash sitedesign

group:

Hypertext jumps


Hypertext jumps Tom
9/30/2003 6:49:15 PM
macromedia flash sitedesign:
Hi all,

I'm a new user of Flash. My question is how do I attach the URL of another
page to a button?

Many thanks.

Tom.

Re: Hypertext jumps thegreenhead
10/1/2003 12:31:39 AM
Hi Tom

This very easy to do.

First make sure your "Actions" window is open. If not, it can be opened from
the "Window" drop down list at the top of your screen or from your right
click selection. Next select your button and look at your "Actions" window.
There will be drop down list of actionscript commands on the left hand side.
Click "Browser/Network" and then "Get URL". Now enter your link in the URL
space and your all set.

Hope this helped. :)

Michael Kiely
Green Head Interactive Design
http://www.thegreenhead.com



[quoted text, click to view]

Re: Hypertext jumps Tom
10/1/2003 10:00:08 AM
Hi Michael

Thanks for your help, I really appreciate it. However, this threw up more
questions! When I put the code in, the tip text showed the following:

getURL(url, window, method); From the Help file, the nearest I can get is
'getUrl ("http://"+index_sp.html);'

What is my url? My web page is 'index_sp.html' and resides in the same
folder as the calling web page. As for window and method?

Thanks again.

Tom.


[quoted text, click to view]

Re: Hypertext jumps thegreenhead
10/2/2003 12:49:48 AM
Tom

This is how the actionscript should look when you type in your URL.

on (release) {
getURL(http://www.example.com);
}

Your URL is your domain name, eg: example.com

so assuming example.com is your domain name and you have a page called
index_sp.html (no spaces or strange characters - + - in your file name).

on (release) {
getURL(http://www.example.com/index_sp.html);
}

What is your domain name and what is the directory where sp_index.html is
located?
I'll put it together for you if you cannot get it.

Thanks
Michael Kiely
Green Head Interactive Design
http://www.thegreenhead.com




[quoted text, click to view]

AddThis Social Bookmark Button