English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

getURL in action script is not working. It's working with http:// links but not with the links to other pages in my website. my website is not yet online , but i need this to work .I've chkd the path.
flash version is 7.[2004]

2006-09-20 04:23:07 · 2 answers · asked by psychic being 2 in Computers & Internet Programming & Design

2 answers

it dependssay you have a flash menu...


home_btn.onRelease = function(){
getURL("web/index.htm")
};

this code is to link to other html pages...


but if you created your whole website with flash and there are certain pages in the flash project then the code should be

like gotoAndPlay ("scene2");

2006-09-20 04:33:33 · answer #1 · answered by Anonymous · 0 0

Hmmm... sounds a little odd. I have Flash 5. I will write the steps I do in order to do what you are doing.

First I make a button. Either by making it with a "New Symbol" or just a gif I converted to a ""New Symbol" and make it a button.

Next I click on the button and go to the Object Actions window.

I double-click on "On Mouse Event". "Release" is already checked.

Then I scroll up to Get URL. In the URL field I will type the name of the page.
Now I have a button that will bring up a page. As I am typing this, I am realizing you probably already know how to make a button, so what could the problem be? Well, Some servers, like Geocities/yahoo (which mine is hosted on http://myultimatespot.com ) is case sensitive. So make sure the name in the URL field matches the page on the server as far as upper and lower case characters.
Other than that, the only other suggestion I have is to type in the full URL "http://www.yoursite.com/PageINeed.html" .

Another question I would have for you is does it bring up the page when you run it locally on your computer???

Now all I have to do is figure out how to tell my buttons to load it link into the "main" frame of my webpage so the buttons don't have to load everytime they are clicked. I have them now loading into new windows but that is a pain in the @#$%!.

2006-09-20 12:05:54 · answer #2 · answered by 1loopyferretpsycho 3 · 0 0

fedest.com, questions and answers