getURL script error

  • suzie
  • Guru
  • Guru
  • User avatar
  • Joined: Feb 07, 2004
  • Posts: 1127
  • Loc: England
  • Status: Offline

Post October 30th, 2004, 10:35 pm

Can I jump in here please with a question...?
I moved my board now I need to do a re-direct for the members how do I get the new link to point to the new board address...?
I have an index. htm with a text link inside which does go to the board took out the old index.htm and put in the new one but it still goes to the old board - not the new one.
To all intents and purposes the board is now at the new address its been transferred by a friend, can I now delete old board (folder named forum)at old host now I have seen the board at a new address..?
This is all new to me so I am unsure what can be deleted.
Also I need to add this code how do I do this atno explained before but I would never find his instructions now lol

Code: [ Select ]
<html>
<head>
<META HTTP-EQUIV=Refresh CONTENT="0; URL=http://www.swishmagic.com/forum/index.php?act=portal">
<title>You shouldn't be here</title>
</head>
<body>
You are in the wrong place. The webpage is <a href="http://www.swishmagic.com/forum/index.php?act=portal">HERE</a> . If you are not automatically redirected click the link.
</body>
</html>
  1. <html>
  2. <head>
  3. <META HTTP-EQUIV=Refresh CONTENT="0; URL=http://www.swishmagic.com/forum/index.php?act=portal">
  4. <title>You shouldn't be here</title>
  5. </head>
  6. <body>
  7. You are in the wrong place. The webpage is <a href="http://www.swishmagic.com/forum/index.php?act=portal">HERE</a> . If you are not automatically redirected click the link.
  8. </body>
  9. </html>


Thanks for any help!
:)
http://jungaling.com/katecorner/
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post October 30th, 2004, 10:35 pm

  • liltman
  • Graduate
  • Graduate
  • No Avatar
  • Joined: Sep 03, 2004
  • Posts: 178
  • Loc: England, Hartlepool, UK
  • Status: Offline

Post November 2nd, 2004, 2:59 am

ok that was weird, at home i used flash mx 2004 to make a button with a link and it got the error further up the page, but i made a button using flash mx (unsure what version, probs 2002 or 2003) and it worked fine, i didnt use a tutorial in college as its all in my head now after repeatingly trying to do the button at home in my version of flash mx, grrr i was really peed off at how easy it is to do but it wouldnt let me in flash mx 2004, was something wrong with the code lol but i know how to do it now :D
  • Dmoto
  • Born
  • Born
  • No Avatar
  • Joined: Nov 07, 2004
  • Posts: 1
  • Status: Offline

Post November 7th, 2004, 4:04 am

Quick one for you guys hopefully. Trying to get code to open link in new window. here is code:

on (press) {getURL ("http://www.website.com/somethin.pdf", "_blank");}

this is on a movieclip symbol.

as far as I can tell this is the correct syntax. It does link to the page but uses current window.

How can I force it to open in new window?

....some much time for such an simple piece of code... blaaaahhh!!

Thanks in advance.
  • wegener
  • Born
  • Born
  • No Avatar
  • Joined: May 22, 2005
  • Posts: 1
  • Status: Offline

Post May 22nd, 2005, 12:19 pm

take off the " " around _blank

should be
on (release) {

getURL("site", _blank);

}
  • lostinbeta
  • Guru
  • Guru
  • User avatar
  • Joined: Jun 26, 2003
  • Posts: 1402
  • Loc: Philadelphia, PA
  • Status: Offline

Post May 22nd, 2005, 2:20 pm

No it shouldn't. The quotes define a string value to be passed, without strings it's looking for the value of a variable.

http://www.macromedia.com/support/flash ... ry377.html


And now that I see this again... I believe the issue is the fact that it's a PDF. It's an issue with Flash with opening file extensions with their default application... and file extensions that require this don't properly use the _blank attribute. I'm guessing Macromedia did this to prevent blank windows from opening up when such file extensions that require special applications are launched.
  • kidscrface
  • Born
  • Born
  • No Avatar
  • Joined: Aug 07, 2005
  • Posts: 1
  • Status: Offline

Post August 7th, 2005, 1:28 pm

Hello

Just like everyone else I am new To Flash Mx I have been trying to get my main page buttons to link to the other flash pages i have for my site. The site has a flash navigation header with the site as well. Everytime you click on a button and it has to load a different page the naviagation header is suppose to load as well but I have no idea how to do this. I know that on a button you can link it to the other pages with this command, on (release) {geturl("http://www.domain.com/whatever.html", "_Parent");} , but I do not know how to get the main header to load along with it. Can someone help me with this. Thanks any help is appreciated
  • cyprian
  • Born
  • Born
  • No Avatar
  • Joined: Feb 18, 2009
  • Posts: 1
  • Status: Offline

Post February 18th, 2009, 1:59 pm

Hi Guys, I have a button/script issue:
I have a button with a basic on(release)getURL script in the button layer. main layers stop (done that by stop(); in the last keyframe in a layer under the button layer) after appearing to create the background and other movieclips loop. However the stop frame in the main timeline makes this button stop/inactive when it reaches the stop frame (the button has to be the first layer in timeline; webhost requirements:/).

could you help me to make it work so that the movie will stop however the button will remain active infinitive while the movieclips loop?

there is probably easy solution however I'm struggling to accomplish this and I suspect it's due to I'm an AS noob therefore any help would be appreciated!

Post Information

  • Total Posts in this topic: 22 posts
  • Users browsing this forum: No registered users and 69 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
cron
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.