|
-
[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 file c:\graphics\banner\www.thenameoftheurl.com Does not exist!
Why does it look for a file in that directory? How do I tell it to just open up a new webpage?
-
up to my .as in code
-
Thanks a bunch! Thats was quick!
It does still not seems to fix my noob problem.
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?
This is the versions I´m using:
Program Version 7.0.2
Library Version 6.9.0
-
up to my .as in code
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):
http://krazyaboutpizza.co.uk/examples/spline.html
Again, I'm sure Bob can better explain what the GUI is listing and why. Thanks for pointing this out to me...I hadn't noticed till now
Last edited by Chris_Seahorn; 02-09-2009 at 07:43 PM.
-
KoolMoves Moderator
-
Thanks! Now it works.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|