[KM7-AS3]Urgent :) How to create a link to an external webpage?
I added a button that is supposed to open a link to another website in a new window so I added the action: Go to url/get url
I write the url, www.thenameoftheurl.com, but when I test the button I get an error message.
The community has to get in the habit now of specifying what Koolmoves version they are using. Here is a good example of why...I'm not sure you can even open my source code below as it was saved with version 7.0.2. If we know the version you are using it helps us all decide how to help you best (either posting detailed instructions or source we know you can open). In any event...this source is version 7.0.2 and even though it's using older methods (AS1) I don't think it will open in version 6.X
Try this attachment. A pic of the export settings is below
Last edited by Chris_Seahorn; 02-09-2009 at 05:48 PM.
when I chose, Export as SWF and HTML
is says in the bottom window:
File that need to be uploaded to server by ftp:
AC_RunActiveContent.js [for explanation, see Context Help -- upper, right icon ]
html/htm file
banner.swf [ftp as binary] www.linktoanotherwebsite.se
I think its weird that it asks for the file www.linktoanotherwebsite.se, which is the
url I put into the button action, get url.
I solved it by making the button ask for a .html file. Created such a html file and made a redirect in it.
However it does not feel like it should need to be done that way.
I have only tested the files locally but do you really have to upload the files in order to make the external links works?
I believe Bob could better explain why it lists the url in that last window pane.
It does on mine too:
swfobject.js [for explanation, see Context Help -- upper, right icon ]
spline.html
spline.swf [ftp as binary] http://www.koolmoves.com
Even so, all I would need to upload is: swfobject.js
spline.swf
spline.html
to the same directory on my server and I would IGNORE the last line (http:/www.koolmoves.com).
To prove I need no special redirect and that that last line is being output erroneously (for some reason) I have exported the files I just listed above (same as you are), uploaded all three to the same dir on server and here it is running (without need for redirect...view source and you will see the html was created with koolmoves):