Groups | Blog | Home
all groups > flash actionscript > april 2004 >

flash actionscript : getUrl gets me off


owanomono
4/17/2004 10:41:54 PM
I have a problem with the getUrl thingy.

1. I have this FRAME which has the following AS code assigned:

stop();
getURL("http://www.kampsportsguiden.com/perry/perry.html","_self","post");

This works just dandy, going to the right url with no problems.


2. Then I got this BUTTON with the following AS assigned:

on(press) {
getURL("http://www.kampsportsguiden.com/perry/perry.html","_self","post");
}

Now, this gives me a "page not found" error!


What is wrong here? Checking syntax in Flash returns that the code is ok.
Please enlight me.


Regards

Ninjaman
rlc5611
4/18/2004 2:00:06 AM
owanomono
4/18/2004 4:17:38 PM
Thanks for taking time to help!

Hmm, would you care to go check the live file at:
www.trevanner.se/johan/animation.html
The problem persists. Click on button "Skip intro" i lower right corner and
you get a "page not found" error. If you leave the animation to play it will
redirect itself to the right url.

And oh, please don?t mind the somewhat tacky animation. They wanted a "heavy
metal" feeling to their kickboxing club. :-)

Ninjaman
rlc5611
4/19/2004 4:17:13 AM
The HTTP error I get is 405 "resource not allowed"

check out the link below:


http://support.microsoft.com/default.aspx?scid=http://support.microsoft.com:80/s
upport/kb/articles/Q206/0/46.asp&NoWebContent=1
owanomono
4/19/2004 11:13:36 AM
The plot thickens - it might be some sort of server screwup or something. I
tried to remove the "post" command from the code, but it didn?t help. I really
have no more ideas - it?s really strange. But as I seem to have coded right and
it?s not a Flash bug, I can?t do anything more. Weird.

Thanks for the help!

Johan Gr?nwall
AddThis Social Bookmark Button