Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash




URL Hyperlink - How Do You Do It?



hi – please help ...

I'm trying to add a URL link to a ladder advert swf. I tried the getURL action but I don't know how to make the whole swf click to the URL once I've loaded it into my page via a CMS (PHP Ads).

Here is my swf and flash file -

http://www.russellsteedman.pwp.bluey..._flashing.html

I can't add the link via Dreamweaver or HTML as the page isn't published that way.

Any ideas how I embed the link into the Flash file so it goes to the URL on a mouse click? I'm just ignorant about how to do it

many thanks

Russell



FlashKit > Flash Help > Flash General Help
Posted on: 11-29-2005, 08:33 AM


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

Problems Adding Hyperlink (using Creating A Hyperlink Tutorial) [renamed]
after following the instructions in the Creating a Hyperlink (link below) tutorial, I had trouble when it came to adding the actions. Eventually, I figured it out, but wasnt able to do it as instructed.

My question is how do I pull up the url field? It may be that Im using flash mx 2004, but you would think they would make things easier in 2004 instead of taking out usefull tools such as the url field..

http://www.kirupa.com/developer/mx/hyperlink.htm

also..how do I turn on html code for my posts?

Problems Adding Hyperlink (using Creating A Hyperlink Tutorial) [renamed]
after following the instructions in the Creating a Hyperlink (link below) tutorial, I had trouble when it came to adding the actions. Eventually, I figured it out, but wasnt able to do it as instructed.

My question is how do I pull up the url field? It may be that Im using flash mx 2004, but you would think they would make things easier in 2004 instead of taking out usefull tools such as the url field..

http://www.kirupa.com/developer/mx/hyperlink.htm

also..how do I turn on html code for my posts?

Datagrid > XML Connector > Hyperlink - How To Hyperlink In XML?
First off this is becoming a super headache and the next step is to start pulling out the hair... just kidding but really... And thank you to anybody who's taking the time to help!

Ok, so in Flash 8 I'm using the datagrid component (datagrid extension) and populating it via the XML Connector and Dataset.

QUESTION:
How do I hyperlink from the XML document and have the link work in the swf?

I've tried Xlink and that worked outside of flash but when I brought it in, it didn't work.

Ive tried CDATA and I think this might be where I need to go... In flash (actionscript) I cant find the node that I need to use (if that's what I do)

Pretty much all I need to do it type the link in the XML and have it be "hot" in the swf.

The source code is here: http://www.goodwinimagination.com/Calendar.zip

What is the final product I'm aiming for? A Calendar that sorts by date and alphabetically with the click of a tab at the top. Similar to this one found on www.AFI.com but, with the added capability of sorting. If there is better way or a way you know of going about this I am definitely open for suggestions!



Thanks in advance,
Chris

SWF Hyperlink ?
How do I go about making my entire SWF file a clickable hyperlink ?

Hyperlink
how do i hyperlink from an editable .fla file to a normal html page , i want to do this when i press a menu button, or is it possible to make hyperlink text in flash

Hyperlink
I hyperlinked to a website using a button. But after it finishes playing the last frame, it automatically hyperlinks without needing to press the button, but i want to hperlink by pressing the button. how to troubleshoot?

How To Hyperlink?
I've downloaded the hydr0g3n 3D system menu, i'm a newbie.. tried to hyperlink the revoling cubes but can't seem to.. HELP!!

Hyperlink
does anyone know how to make a link (to website) from something that is not a text object??
like a symbol for instance? is this possible in mx??

cheers

Hyperlink
i am very near to finishing my matrix movie intro!!! but i dont know how to make some text, (ENTER) into a link to the main part of the site,

please help me!!!

James

Hyperlink
I just created my first flash movie, but the hyperlink is not opening in a new window Instead, it's opening in my mini-movie. Help!! I know how to insert the hyperlink but how do I make it open outside of the swf?

http://www.cutefamilypets.com/nuke/index.php

Any help is appreciated.

Hyperlink
hey all,

just need to know if we could actually do hyperlink in flash? for example, the buttons to hyperlink to external websites?
thanks!!

Hyperlink
Im making an advertisment banner and im trying to make the whole presentaion a link to http://www.deadrandom.tk/

Can any 1 hlp me pleaz

Hyperlink
in swish max were is it inserted

iam sure its a repeat question

thanks

Hyperlink In Xml
hey guys, i'm using mr10.net's excellent gallery component which calls this xml sheet
http://www.andrewpawleydesign.co.uk/ps/images_cb.xml
my problem is this:
im making a site for for a client how sells second hand watches online
http://www.andrewpawleydesign.co.uk/ps
(this is work in progress) i want to add a hyperlink in the comments section that will send ithe viewer to the clients shopping cart. How do you add hyperlinks in xml? is it easy or difficult? please help... thank for your time

Hyperlink
how do you create a button with a hyperlink?

Hyperlink
how do you crate a button with a hyperlinink?

Hyperlink Help
can anyone help with hyperlink

if i have the script to get url

on (press) {
getURL("http://www.hopies.co.uk/", "");
}

it pops up saying can not get site due to plugin settings how can i stop this without changing settings?

i need it to do this so others dont get the message saying cannot get site until they cange their settings but might not want to and ignore the link get my drift?

Hyperlink HELP [f8]
Hey everyone
I am totally new to flash and am trying to fix some flash hyperlinks on the company website. Sometimes the hyperlinks have to be clicked twice for them to work, it does this when using Internet Explorer, but in applications such as Firefox and Safari you only have to click once. Is there anyway to make is so in every internet browser you only have to click once? Please help!

Hyperlink AS 3.0
Hi,

I am using CS3. All I would like to know is how to insert a hyperlink onto a movie clip, I have 6 buttons I want to link to other pages.

If any one could help that would be great.

Thanks,

Paul

Hyperlink In Xml?
Hey everyone,

How would I go about applying a hyperlink to text I import from an xml file?

Here is a sample of my xml
[code]
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<images>
<pic>
<image>images/01.jpg</image>
<titleText>Golden Gate Bridge</titleText>
<caption>This is a picture of the Golden Gate Bridge.</caption>
<url>http://www.google.com</url>
<delay>5000</delay>
</pic>
</images> [/code}

I want the <titleText> to, when clicked, go to the defined <url> above.

Here is my import code in Flash

Code:
function loadXML(loaded) {
if (loaded) {
xmlNode = this.firstChild;
image = [];
titleText = [];
description = [];
url = [];
delay = [];
total = xmlNode.childNodes.length;
for (i=0; i<total; i++) {
image[i] = xmlNode.childNodes[i].childNodes[0].firstChild.nodeValue;
titleText[i] = xmlNode.childNodes[i].childNodes[1].firstChild.nodeValue;
description[i] = xmlNode.childNodes[i].childNodes[2].firstChild.nodeValue;
url[i] = xmlNode.childNodes[i].childNodes[3].firstChild.nodeValue;
delay[i] = xmlNode.childNodes[i].childNodes[4].firstChild.nodeValue;
}
firstImage();
} else {
content = "file not loaded!";
}
}


and then this is how I am referencing it in my function...

Code:
function nextImage() {
pause_btn._visible = 100;
play_btn._visible = 0;
previous_btn._visible = 100;
next_btn._visible = 100;
if (p<(total-1)) {
p++;
if (loaded == filesize) {
picture._alpha = 0;
picture.loadMovie(image[p], 1);
title_txt.text = titleText[p];
desc_txt.text = description[p];
url_btn = url[p];
go_btn = url[p];
picture_num();
clearInterval(myInterval);
slideshow();
}
}else{
p = 0;
if (loaded == filesize) {
picture._alpha = 0;
picture.loadMovie(image[p], 1);
title_txt.text = titleText[p];
desc_txt.text = description[p];
url_btn = url[p];
go_btn = url[p];
picture_num();
clearInterval(myInterval);
slideshow();
}
}
}


Thanks for any help

[CS3] Hyperlink From XML
Hi everyone,
I’m having a bit of trouble with my flash carousel. I’m pulling in the image source and descriptive text from an .XML file. This works just fine :-)
However, I want a button with a hyperlink that takes the user to another page, the URL must be specified in the .XML file, as I will be pulling in various URLs.

I've broken down my example to the basic problem:
Here's my AS code that pulls in the text - this is on frame 1 of the AS layer:


PHP Code:



function loadXML(loaded) {    if (loaded) {        _root.inventor = this.firstChild.childNodes[0].childNodes[0].firstChild.nodeValue;        _root.comments = this.firstChild.childNodes[0].childNodes[1].firstChild.nodeValue;        _root.link = this.firstChild.childNodes[0].childNodes[2].firstChild.nodeValue;        name_txt.text = _root.inventor;        comment_txt.text = _root.comments;        link_txt.text = _root.link;    } else {        content = "file not loaded!";    }}xmlData = new XML();xmlData.ignoreWhite = true;xmlData.onLoad = loadXML;xmlData.load("inventors.xml");url = _root.link;




I have a button on the stage with the following AS:

on (release) {

getURL(url,"_self");

}

As you can see on the final line of my button AS where the URL is usually declared as a string I have placed my variable url which is assigned to _root.link.

This does not work! The URL is undeclared. Any help would be much appreciated!

Ryan


edit: please wrap your code around code or php tags, especially if your asking for help..

PLEASE HELP How To Add A Hyperlink At The End Of An Flv.
Does anyone know how to add a hyperlink button at the end of a progressively streaming flv video? What I want to do is have the movie play then, at the end where the movie ends have a button that can take you to another page on the site.

Xml Hyperlink Help Please Help
hey guys, need a bit of help,
I got some xml being read into a dynamic html text feild,
this text creates a hyper link,

however, while the up, over, and press states all work,
it wont actually link to a document,

anyone have any ideas?

the xml follows bellow
<text>
<whiteHeadLine>WHITE HEAD LINE!!</whiteHeadLine>
<newsTxt>this is body copy this is body copythis is body copythis is body copythis is body copythis is body copy
this is body copythis is body copythis is body copy
this is body copythis is body copythis is body copythis is body copythis is body copy</newsTxt>
<blueHeadLine>BLUE HEAD LINE!!!</blueHeadLine>
<a href="http://www.lebaxxx.com" target="_blank">link like this</a>
</text>
</news>


Check the web page here, the link appears at the bottom, and has rollover, down and hit states, dictated via css, however, it wont actually link anywhere,

http://www.lebaxxx.com/aho/

thanks in advance
-L

Hyperlink Help
I have a hyperlink in my swf-file that links to a pdf-doc. The pdf opens in a new window, but I would like it to download to the computer instead. Is this possible just by leftclicking on the hyperlink? if not, I would like it to be possible to right-click and choose "save target as". As it is now, I don´t have that option, only "copy adress".

Hyperlink In Mc
Im trying to get a simple hyperlink inside a movie clip. (3 links actually) The animation and links both work but when you rollover the links the animation loses focus and goes to its closing frames. I've tried this several different ways but the attached fla sample is the closest I've come yet. Can someone take a look and tell me what the correct way of doing this is?

Hyperlink Help Please
I'm trying to get new text to display in a given textfield from a link displayed in the same textfield.

Any suggestions? Thanks

Hyperlink To ZIP
Hello,

I want to hyperlink to a zip file using a button in flash. Is there anyway i can do this? the GetURL bit doesnt work. (at least not in mozilla). The final file will be a projector so it has to work from there. When a person clicks on a image, it links to a high-rez tiff in a zip file.

Please let me know,

Thank you,
Gopaldass

Hyperlink...
Ok this is a bit of a 'N00b' question but... how do you put a hyperlink on a button in Flash MX 2004 PRO? I've tried it just comes up with errors when I go to view it in control.

Hyperlink Help
When I am assigning a webpage for my hyperlink I don't ge the top three fields that kirupa says I should get to insert the address of my hyperlink (ie, I don't get URL, Window and variable fields). Anybody know what I'm doing wrong?

Hyperlink
Hi,

How can I do a hyperlink in Flash (with the hyperlink underlined)? And how can I hyperlink a email add to Outlook Express?

And how can I load images together with an external .txt file in a dynamic box which is also a scrollbox?

Anyone knows?

Hyperlink In XML?
I'm new to XML, so please bear with me.

I've set up a test page in Flash:-


function loadXML(loaded) {
if (loaded) {
_root.resource = this.firstChild.childNodes[2].childNodes[0].firstChild.nodeValue;
resource_txt.text = _root.resource;
} else {
content = "file not loaded!";
}
}
xmlData = new XML();
xmlData.ignoreWhite = true;
xmlData.onLoad = loadXML;
xmlData.load("MBAtestXML.xml");


which should read in a hyperlink from an XML file. This is as far as I have got:-



<?xml version="1.0"?>

<laboratory>
<question>
<first>This is the first question</first>
</question>

<option>
<first>This is the first option</first>
</option>
<resource>
<<linkItem url="http://adobe.com/">link</linkItem>
</resource>
</laboratory>


The problem is, how do I make 'link' clickable in the flash file?
Thank's in advance.
Philippa

Hyperlink
How can you make a picture or text a hyperlink in flash so when you click on it it takes you somewhere like a website?

I Can't Hyperlink This XML
Hi,

I'm starting with XML and Flash. I made a dynamic text field that reads my XML file but I need to hyperlink the description in the file and I can't make it work. Here is the xml code I'm using:

<photo filename="publicidade01.jpg" thumbnail="publicidade01p.jpg" description="abcdefgh 123" />

Can anyone help me make a hyperlink on the 123 part of the XML?

Thanks

Mc Hyperlink As3.0
can someone explain how to hyperlink a mc in as 3.0?

Hyperlink In Mc
Im trying to get a simple hyperlink inside a movie clip. (3 links actually) The animation and links both work but when you rollover the links the animation loses focus and goes to its closing frames. I've tried this several different ways but the attached fla sample is the closest I've come yet. Can someone take a look and tell me what the correct way of doing this is?

Hyperlink Help Please
I'm trying to get new text to display in a given textfield from a link displayed in the same textfield.

Any suggestions? Thanks

Hyperlink To ZIP
Hello,

I want to hyperlink to a zip file using a button in flash. Is there anyway i can do this? the GetURL bit doesnt work. (at least not in mozilla). The final file will be a projector so it has to work from there. When a person clicks on a image, it links to a high-rez tiff in a zip file.

Please let me know,

Thank you,
Gopaldass

How Do I Add A Hyperlink
i want to edit the iso bar how can i add a hyperlink where it says name1 etc?

XML Hyperlink
How does one create a text based hyperlink in XML?

I am attempting to create an updatable doc that will have a link to a shopping cart page through the text in my XML document.

Hyperlink In XML
I'm new to XML, so please bear with me.

I've set up a test page in Flash:-

Code:


function loadXML(loaded) {
   if (loaded) {
      _root.resource = this.firstChild.childNodes[2].childNodes[0].firstChild.nodeValue;
      resource_txt.text = _root.resource;
   } else {
      content = "file not loaded!";
   }
}
xmlData = new XML();
xmlData.ignoreWhite = true;
xmlData.onLoad = loadXML;
xmlData.load("MBAtestXML.xml");


which should read in a hyperlink from an XML file:-

Code:

<?xml version="1.0"?>

<laboratory>
   <question>
      <first>This is the first question</first>
   </question>
   
   <option>
      <first>This is the first option</first>
   </option>
   <resource>
         <<linkItem url="http://adobe.com/">link</linkItem>
   </resource>
</laboratory>


The problem is, how do I make it clickable?
Thank's in advance.
Philippa

Hyperlink Help
No matter where i put a hyperlink it opens automatically. here is a example on a movie clip
onClipEvent (load) {
getURL("www.google.ie");
}

when the page loads its automatically tries to find google. i want to be able to click on it to open. i read somewhere if you add a hyperlink to the timeline it will auto open( I dont even know how to do this). all im doing is clicking the image and pressing f9 and adding it from there. could someone please give me a hand with this as i am new to flash??

The Hyperlink Dun Work
I'm currently facing some problems with the hyperlinks.
I've got 2 movies and loaded 1 after the other.
and it is actually the second movie which have the hyperlinks in it..
but i have published the first movie into html which will call the second movie upon completion .
I have a gut feeling that this what that's causing the problem cos my hyperlinking is in the second movie?

So what do u suggest MASTERS??

really at wits end..
Pls help me out here..

thanks mates...

Hyperlink To Swish
I know that I can set up a hyperlink to a new page and have a swish movie play. What I would like to do is set a hyperlink to words or a button and have it play within a table on the same page and also have a stop button as well. Can this be done?

I am a newbie so forgive me if this an elemtary question.

Doug

File HyperLink Help
I think this question is pretty basic- but I can't figure it out, I'm new to Flash.
I am able to make a button be a link to a html site. What I need to do is make the button a link to a .txt file or pdf file stored in the same directory as the .swf file. The completed Flash site will NOT be in html or posted, its going to be burned on a CD. The file that I want to link to will be on the CD also.

Using .swf File As Hyperlink
How do you use the .swf as an HTML hyperlink? I have an animated graphic on the index page of my website that I would like to be able to link to the main page of the site. Any help is appreciated.

Add A Hyperlink For Text
I am the newest newbie I just created a slideshow for a tuna trip I took and would like to have viewers click on a hyperlink at the end of the slideshow that will take them to the website of the charterboat I went out on. I looked thru the help but I am totally lost. Any help would be appreciated.

Brian

Hyperlink To Frame
I want to add a simple hyperlink to and an external text file that will take me to a frame on the main timeline. Is there a simple <a href> for this?

thanks.

Hyperlink To A Frame
I have created a navigation bar in flash mx. I am able to get basic hyperlinks to go where they are suppose to go. But I need to be able to get these links to go to a specific frame on a website. I am creating the website in dreameweaver - html, and the navigation in flash. So far I have been able to get the hyperlink to go to the specific page, but it opens in a new window and I need to get the page to open in a specific frame of the webpage. Any ideas?

How To Hyperlink Buttons
I've downloaded the hydr0g3n 3D system menu, tried to add an action to the button but can't seem to do it... help!!

Copyright © 2005-08 www.BigResource.com, All rights reserved