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








HtmlText + Hyperlinks


Hello,
I'm trying to highlight the hyperlinks in a htmlTextField in flash, when the user already visited this link. but I can't find a solution.
Does anyone here have an idea, or already did this.
I would realy appreciate it.

Kind regards




FlashKit > Flash Help > Flash MX
Posted on: 08-24-2003, 08:45 AM


View Complete Forum Thread with Replies

Sponsored Links:

HtmlText And Hyperlinks
Hey guys, maybe some of you can help with a question i have.

im loading information from a database, and displaying it in an htmlText text field...that in itself is fine, the thing is the hyperlinks which will bring up the more detailed information of the event opens up in a new window.

Ideally i want to call a function that tells a movie clip to play and load the required details, (and im sure i have seen some solution to this somewhere but cannot find it now) but i dont know if or how this is possible using the html formatting within this text field.

thanks in advance

View Replies !    View Related
HtmlText And Hyperlinks
It's simple to use a hyperlink in the text but is there a way to make the link change color on mouse over?

View Replies !    View Related
Typewriter HtmlText Hyperlinks
Quick question:

I am doing a standard typewriter effect (I can post the code if anyone needs to see it) and loading in html formatted text from an external file. My html has some hyperlinks--before they display, the typewriting shows the code for the link, then once the code has all been 'typed in,' it displays as a hyperlink:

example:


HTML Code:
<u><a href="page.htm" target="_blank">click here</a></u>
All the characters are shown including the a and u tags then once the whole tag is typed in, the link displays correctly, such as "click here."

Am I explaining this clearly?

Can anyone think of a way to make the typewriter just type in the link instead of the code? It doesn't have a problem with < br > tags!

Thanks.

View Replies !    View Related
Start_txt.htmlText = "<TAB>" How To Have Tags Written I HtmlText?
Hi!
start_txt.htmlText = "<TAB>";

How do I write so that the text <TAB> is written.
I have tried with in front of the tags, but nothing works.

View Replies !    View Related
Hyperlinks
say i made a movie right and there is a piece of text in there saying go to my homepage how can i hyperlink that to my hompage than you for the help mike

View Replies !    View Related
Hyperlinks
I use Frontpage 2000 to make my current website, it is a frames page with banner, contents and main frames.
Using Flash 5 I have made a navbar, consisting of several different buttons. I have put links to my other pages on the buttons using the 'get url' action on flash 5, but I cannot get them to open the link in the 'main' frame... only either as a new window, in the current 'contents' frame or in the whole window.
Could someone please help me with this problem?

Cheers,

Ant

View Replies !    View Related
Hyperlinks....HELP
Need to know how to make hyperlinks to other pages...I can get it to open in a new browser and all. But when it opens, for some reason, the address it goes to is my home page address followed by the links address. Kinda like this

http://members.cox.net/weedfest2003/...ianragweed.com

I don't understand why this is happening. Also like to set-up up a link to my email..does the same thing......


I'm using the lil hyperlink command in the properties box for text.

please help..email me at jdl535@yahoo.com

View Replies !    View Related
Hyperlinks
Is there an ActionScript to link my move to a URL, i dont want it to go to a URL at the end of the movie because the movie is looped but i want it to act as a hyperlink, that possible?

View Replies !    View Related
Hyperlinks
What coding do I use to produce a hyperlink in Flash 5?

View Replies !    View Related
.txt With Hyperlinks?
This I know is a challenging question that needs to be answered by guru.
My client wants to update his or her own text info; I have no problem setting up for that.
They want it scrollable; I have no problem setting up that.

The problem is that their text info has url addresses that they want active. Is it possible to have a .txt with active hyperlinks? I was thinking that the action script somehow would be able to call the http:// in the .txt

Any ideas or even maybe, answers or even a better idea?

View Replies !    View Related
Hyperlinks
can you please tell me how to:

when you release on my movie clip it takes you to another site

can you please tell me what the code is for this

View Replies !    View Related
Hyperlinks
Hi, I have designed an animated menu for my website with links on. I can get the links to work in the same frame, or in a new window, but how do i get the links to open in my main frame?

View Replies !    View Related
Hyperlinks?
Hey guys.
I am new to flash and i recently bought a template so that I could have a flash website, I have managed to add everything I needed on the template using Flash MX 2004. When I tested the hyperlinks which I had added to external websites in Flash they worked fine however when I try clicking the links when I have the actual HTML file open, they dont work at all?
Does anybody know what the problem could be? Any help would be greatly appreciated.
Thanks in advance.

Tanya

View Replies !    View Related
Hyperlinks
I'm trying to create a button that will open a seperate html file in a _blank window. Right now it works fine but I want the new window to open up the same size as the photo so there isn't a ton of dead space around the photo. I know that in dreamweaver you can specify the size of the window that you're opening into. Is this possible in Flash? I imagine it is, but I can't remember how to do it in dreamweaver so I'm totally stuck. Anybody have any ideas?

View Replies !    View Related
Hyperlinks
how do i get a hyperlink to open up in the same window? at the moment im using

on (release) {
getURL("http://www.mypage.com","_blank")
}

which makes it load a new window, thanks.

View Replies !    View Related
[CS3] Hyperlinks And AS3
Hi there,
really basic question,
how do I set a hyperlink on a button in AS3?
I tried getURL but it didn't seem to work...

basically this is what I've tried so far:


aboutPage.addEventListener(MouseEvent.CLICK, navigate, false, 0, true);

function navigate(evt:MouseEvent):void {
getURL("http://www.adobe.com","_self");
}


Only I got an error

I'm sure this is a really basic question,
thanks in advance

Wilbo

View Replies !    View Related
Hyperlinks In XML?
Hi,

So I've learned how to bring in XML data in to FLash after going over a few tutorials such as Kirupa's.
http://www.kirupa.com/developer/acti...ldataflash.htm

But I'm wondering how I can have a link in Flash that is specified in XML. I've deduced from what I've read that I should probably do this with CDATA like shown below but am having a hard time getting this to display properly in Flash. Right now it all comes in, HTML and everything.

This is what displays in swf:
<a href="<A href="http://www.example.com"><font color="#FF0000">click</font> here</a>

And I did click on the button, "render text as HTML."

Help Please. Thanks

Here's my actionscript.

Code:
function loadXML(loaded) {
if (loaded) {
_root.date = this.firstChild.childNodes[0].childNodes[0].firstChild.nodeValue;
_root.headline = this.firstChild.childNodes[0].childNodes[1].firstChild.nodeValue;
_root.link = this.firstChild.childNodes[0].childNodes[2].firstChild.nodeValue;
_root.content = this.firstChild.childNodes[0].childNodes[3].firstChild.nodeValue;

date_txt.text = _root.date;
headline_txt.text = _root.headline;
link_txt.text = _root.link;
content_txt.text = _root.content;
} else {
trace("file not loaded!");
}
}
xmlData = new XML();
xmlData.ignoreWhite = true;
xmlData.onLoad = loadXML;
xmlData.load("news.xml");

Here's my XML

Code:
<?xml version="1.0"?>

<news>
<item>
<date>September 6, 2006</date>
<headline>Gallery Show at Blah Blah Gallery</headline>
<link><![CDATA[<a href="<A href="http://www.something.com"><font color="#FF0000">click</font> here</a>]]></link>
<content>Lorem ipsum dolor sit amet.</content>
</item>
</news>

View Replies !    View Related
XML Hyperlinks
I'm hoping someone can help me with this. I am trying to learn how XML works, and I found this tutorial: http://www.kirupa.com/web/xml/examples/mx04ASclasses.htm I am looking at the xml file that came with the tutorial, and I don't know what I need to do to create a hyperlink with this code. What I would like to do once I get this figured out is figure out how to create these hyperlinks to open up an excel, word, powerpoint etc. type of document.Any help or guidance would be much appreciated. Here is the code from the xml file:








Attach Code

<?xml version="1.0" ?>
<directory name="Classes" type="directory">
<file name="Accessibility.as" type="actionscript"/>
<file name="Array.as" type="actionscript" />
<file name="AsBroadcaster.as" type="actionscript" />
</directory>
</directory>

























Edited: 10/28/2008 at 09:31:42 AM by gsheppar

View Replies !    View Related
Hyperlinks
I made a banner for a artist on myspace in which it has two buttons that need to be clicked. I uploaded it onto my website and it works perfectly but once on myspace it wont click or work at all. I know it has to do with something with

param name="allownetworking" value="internal"
param name="allowScriptAccess" value="never"



You can't change this setting on myspace. Is there a way around this?

Here is my code







Attach Code

myButton3.addEventListener(MouseEvent.CLICK, goWhere2)
function goWhere2 (evt) {
var url = "http://www.myxer.com/perfektandchance"
navigateToURL(new URLRequest(url))
}
myButton2.addEventListener(MouseEvent.CLICK, goWhere3)
function goWhere3 (evt) {
var url = "http://www.youtube.com/perfektnchance"
navigateToURL(new URLRequest(url))

View Replies !    View Related
Xml Hyperlinks?
I have a script that downloads xml into a dynamic text field!.... but how can I set up some hyperlinks?.... so the user can clink on them and take them to a another web site?



HELP, PLEASE!

THANKS

View Replies !    View Related
Hyperlinks...
i've got a long static text, how can i make an hyperlink (to another frame, not an url) with two or three words inside that text?

thanks

View Replies !    View Related
Hyperlinks In XML
Does anyone know how to include a hyperlink in xml data to be displayed in flash?

this obvioulsy doesnt work, just displays blank after the a href tag:


<bio>
<image>photo1.jpg</image>
<artist>Arist Name</artist>
<caption>blah blah blah <a href="http://www.google.com"/>
click here </a></caption>
</bio>



cheers for years
doug

View Replies !    View Related
Hyperlinks
Hi,



I'm sort of new to flash so please be patient , I wanted to add hyperlinks to the flash movie on my website so I used the tutorial on kirupa.com, this method works fine for me offline in its exported .fla format but for some strange reason not when I publish to the file to html, when I click the buttons the link just won't open.



I have no idea as to how to fix this, can anyone help me?

View Replies !    View Related
Hyperlinks To Swf
I need some help getting html links to talk to flash. I've got a Flash site that has some html footer for search engines' sake. What I want is for the footer nav to be able to speak to the flash part of the site. I know there are ways to get data into flash, I'm just having trouble finding a good method. Any ideas?

View Replies !    View Related
Xml Hyperlinks?
I have a script that downloads xml into a dynamic text field!.... but how can I set up some hyperlinks?.... so the user can clink on them and take them to a another web site?



HELP, PLEASE!

THANKS

View Replies !    View Related
Hyperlinks...
i've got a long static text, how can i make an hyperlink (to another frame, not an url) with two or three words inside that text?

thanks

View Replies !    View Related
Hyperlinks
hi

i have multiple buttons with this code attached to it:

on(release)
{
getURL("index.html#entry");
}

and instead of jumping to the section of the page that they are supposed to go to, they just go to index.html.

do jump links not work in flash or is there something i can do to fix this?

the link works fine when i publish preview it, but the actual .swf file links don't work properly.

thanks in advance and happy new year!

View Replies !    View Related
Hyperlinks In Flash 5....HOW
Can anyone tell me how to make hyperlinks inside a dynamic text box?, and/or does anyone know how many HTML tags I can use in flash 5 or a website that has all the HTML tags for flash 5?

What I'm trying to do is make text a hyperlink inside a flash 5 movie like this:
<a href//'http:www.mylink.com">link</a>

Anyone know how I would write the action script for something like this?

View Replies !    View Related
How Do I Make Hyperlinks?
if theres no such thing as a stupid question, how do i make the text in my flash homepage connect to other html pages?? plz help

View Replies !    View Related
Buttons And Hyperlinks
I figured out how to make buttons, how do i make it to where when u click on it it opens a link.... or even loads a link in a certain frame of the page.

View Replies !    View Related
TextFormat And Hyperlinks
I I was expecting that the following code would have 2 hyperlinks linking to 2 different URLs.

jazzyStyle = new TextFormat();
jazzyStyle.color = 0xFF9977;
jazzyStyle.url = "jazz.html";

bluzyStyle = new TextFormat();
bluzyStyle.color = 0x881122;
jazzyStyle.url = "blues.html";

TF.html = 1;
TF.setNewTextFormat(jazzyStyle);
TF.replaceSel("Jazz
");
TF.setNewTextFormat(bluzyStyle);
TF.replaceSel("Blues");

But it's not the case. they both point to the second URL (Blues.html) although they have a different color. That is not cool I think.

View Replies !    View Related
A Question About Hyperlinks
Ok this is a rather stupid question but I'm using flash to design a complete site so people can download mp3s of my music. Problem is I want to put links on there so they can right click on the link and select save as. I can't figure out a way of doing this in flash.

Can anyone explain it to me, in stupid persons language?

thanks

View Replies !    View Related
Swish Hyperlinks
Can someone please tell me why my hyperlinks are not active after publishing my Swish movie? My website is built using Front Page 2002. Are they incompatible with Swish? Everything else works but the hyperlink -- making my SWISH intro useless if i can't get this door into my site unlocked. HELP?!

View Replies !    View Related
Hyperlinks Without Underlines?
Is there a way to do this? I thought I remembered doing it before but I can't figure it out.

View Replies !    View Related
Hyperlinks In Textfield?
I am loading a textfile into my flash project, how can i make my hyperlinks active?

View Replies !    View Related
Hyperlinks And Functions
Hey now..

I have gotten a nice XML parsing Routine all set up that works (much praise to Catbert on the Flashkit) and so on. It works well, but I have a couple of other questions though.

1.) Picture this - I want to have a story, which includes the names of several people. When you click the persons name I want to send this info as a parameter to my function. --------Can I send parameters to outside functions? Are there any special arrangements (like timeline placement) that I need to facilitate this?

-------- Can I imbed links like that in flash? (If yes, please furnish a keyword or method name which I can refer to to do this.

-------- Can I user the "Goto" frame call with a parameter to pass? I would like to essentially be able to do something like this

------- Can I successfully hold the name of a photo file in the external XML to load onto the page? What if the photo files are different sizes? Is this going to be a formatting problem?


SuperWickedAwesome

View Replies !    View Related
Hyperlinks, Loops?
i need help! i just got the program like 2 days ago, and i'm still trying to figure out how to use it.

I made a header for my website with flash, and the text flies in from the side, but i want the text to be links... I looked at it and stuff, but i can't figure out how to link them.

i also can't figure out how to get the flash to stop looping. i know your probably laughing at me but i haven't figured it out yet. if someone can help me out with that that'd help a lot. thanks

View Replies !    View Related
Mouseover/ Hyperlinks... Etc
i would like to be able to either have links instead of just text or an effect with a mouseover... if anybody can help let me know-- thanks

View Replies !    View Related
Hyperlinks From A Txt File
Hi,
I am working on a data base using flash and external txt files to store the data - What I need to figure out is how to load up hyperlinks so that when people click on the website name they are linked to it - but the site name is stored in an external txt file.
Or failing this getting hyperlinks wokining within scrollable text.
Thankyou

View Replies !    View Related
Hyperlinks Not Working
Im VERY new to flash but have built simple site and am having some hyperlink issues. In the published form the links which I create to direct off-site all start w/ the web address of the site from which it originates initally which messes up the direction to other sites. Example: www.mysite.com --> on the page say is link to www.yahoo.com, but when clicked the address points to www.mysite.com/www.yahoo.com. Im not sure how to change this....please help....THANKS.

View Replies !    View Related
Hyperlinks Not Working
Im VERY new to flash but have built simple site and am having some hyperlink issues. In the published form the links which I create to direct off-site all start w/ the web address of the site from which it originates initally which messes up the direction to other sites. Example: www.mysite.com --> on the page say is link to www.yahoo.com, but when clicked the address points to www.mysite.com/www.yahoo.com. Im not sure how to change this....please help....THANKS.

View Replies !    View Related
Using External Hyperlinks
Does anyone know if it's possible to use actionscript to import a list of external hyperlinks from google, then randomly select one?

View Replies !    View Related
Hyperlinks And Flash.
Hokay. I have been to many sites and they all say the same things about URLs and the getURL function. I have been trying to get buttons in my flash banner to open URLs in the same window.

I have tried the getURL("URL","_self","GET/POST");

I have also tried the above without the method parameter and without quotes on the target location parameter.

I am working in ASP and I wish to have a flash button open a URL in the current frame. Assistance would be appreciated.

The site I am working on:
http://68.149.79.210/TCC-XeN/WebLayo...02/default.asp

View Replies !    View Related
Navigation Hyperlinks?
I have created a Navigational fla. in flash 8 for a wedding website that is made of about 10 movieclips that will link the different pages of the website. The main site is created in Microsoft Frontpage and i will be importing the Navigation.fla into the site. I need to write code within the Navigation fla. to link the different mc's to the different pages.

My question is how do i target the other pages of the website in frontpage with a flash file. Meaning have the individual "welcome" mc have code that hyperlinks to the "Welcome.htm" file? Do i include the whole targert path on my pc? (ex: Documents and Setting/MyDocuments/WeddingWebsite/........)

Any help would be appreciated. Attached is a copy of the Navigation Fla. file

Thanks
Matt

View Replies !    View Related
Hyperlinks In Flash
Right, I'm using Flash MX 2004 Pro and have made several little .swf files that drop into place on my HTML site.

Within these .swf are hyperlinks: both to other websites and to .zip and .exe files that i want to make downloadable. All links use the getURL command. eg.

on(release){
getURL("http://www.jackhartley.com", "_blank");
}

This has never been a problem before, but now the links don't seem to work. When tested in Internet Explorer nothing at all happens. When tested in Firefox, I get a message telling me that the Flash player itself has stopped the link because it is potentially harmful.

Anybody know why this is happening? Its certainly got me beat!

Cheers,

Jack.

View Replies !    View Related
Menubar Hyperlinks
I've created a menubar via xml and wanted to know how can I send the user to a url when they click on the menu. I know i can have a listener and use case statements for hardcoding but i'm wanting to really make this dynamic because the menu can change from time to time. Is there a way to do this?

thanks in advance.

View Replies !    View Related
Must Be Missing Something (Hyperlinks)
Alright, to start off I'm Using Flash MX 2004, I've got a banner going for a website with 3 Buttons on it (Linking to the main page, portfolio, and contacts)

I add the action script to the first button (Home):

on (release) {
getURL("URL HERE");
}

And for some reason whenever I go to publish preview, the link works. But when I export it, and put it on my site, the links don't work at all.

I'm fairly new to Flash, so maybe it's something small I missed?

View Replies !    View Related
Accessibility: Hyperlinks
I have come across the issue of hyperlinks in dynamic text fields being unavailable to screen readers. Is there a fix for this at all?

I'm developing for Flash Player 7 and using JAWS 7.0 to test.

Thanks in advance.

View Replies !    View Related
XML, Combobox's And Hyperlinks
Ok, I produced a small 'widget' a while back which achieved the following:

You selected an item from a combobox which populated a list. When you clicked on an item within the list you where re-directed to an associated URL. The file worked via a central XML file reading as folllows..


Code:
<xmlPath>
<myPath albumName="Choose..." xmlFile="Choose.xml">
</myPath>
<myPath albumName="System" xmlFile="System.xml">
</myPath>
<myPath albumName="Department Overviews" xmlFile="DepartmentOverviews.xml">
</myPath>
</xmlPath>
The System.xml file reads like the following...


Code:
<database>
<Index mydata="6675" mylabel="RA Department Overview" ></Index>
<Index mydata="6676" mylabel=" Sales Department Overview" ></Index>
</database>
The FLA file has now been 'misplaced' and I am completely lost at where to start again with this!

Any help or pointers would be greatly appreciated.

View Replies !    View Related
Mozilla And Hyperlinks
Hi all,

I have few text boxes with hyperlinked text in them. The links work in IE but when I open the site in Firefox I get the hand cursor but no action after clicking.
Any idea why?


Thanx

View Replies !    View Related
XML Hyperlinks In Flash
Searched a bit, and a few posts didnt work for me and were unorganized.

I have a photo slideshow that is loaded from XML. Here is my structure from my XML:

<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<images>
<pic>
<image>images/tiger.gif</image>
<headline>Tiger Kills Man</headline>
<thumbnail>images/tiger_thumbnail.gif</thumbnail>
<caption>Tiger killed man at 9:00pm.. </caption>
<preview>Crazy tiger killed man at 9:00pm. No witnesses. Click here for more.</preview>
</pic>

I want the "click here for more" to be a hyperlink. I want it to be it's own dynamic textfield in flash.

Here is my as code (pretty much from tutorials here).


function loadXML(loaded) {
if (loaded) {
xmlNode = this.firstChild;
image = [];
description = [];
thumbnails = [];
caption = [];
preview = [];
total = xmlNode.childNodes.length;
for (i=0; i<total; i++) {
image[i] = xmlNode.childNodes[i].childNodes[0].firstChild.nodeValue;
description[i] = xmlNode.childNodes[i].childNodes[1].firstChild.nodeValue;
thumbnails[i] = xmlNode.childNodes[i].childNodes[2].firstChild.nodeValue;
caption[i] = xmlNode.childNodes[i].childNodes[3].firstChild.nodeValue;
preview[i] = xmlNode.childNodes[i].childNodes[4].firstChild.nodeValue;
thumbnails_fn(i);
}
firstImage();
} else {
content = "file not loaded!";
}
}
xmlData = new XML();
xmlData.ignoreWhite = true;
xmlData.onLoad = loadXML;
xmlData.load("pics.xml");
/////////////////////////////////////
listen = new Object();
listen.onKeyDown = function() {
if (Key.getCode() == Key.LEFT) {
prevImage();
} else if (Key.getCode() == Key.RIGHT) {
nextImage();
}
};
Key.addListener(listen);
previous_btn.onRelease = function() {
prevImage();
};
next_btn.onRelease = function() {
nextImage();
};
/////////////////////////////////////
p = 0;
this.onEnterFrame = function() {
filesize = picture.getBytesTotal();
loaded = picture.getBytesLoaded();
preloader._visible = true;
if (loaded != filesize) {
preloader.preload_bar._xscale = 100*loaded/filesize;
} else {
preloader._visible = false;
if (picture._alpha<100) {
picture._alpha += 10;
}
}
};
function nextImage() {
if (p<(total-1)) {
p++;
if (loaded == filesize) {
picture._alpha = 0;
picture.loadMovie(image[p], 1);
desc_txt.text = description[p];
caption_txt.text = caption[p];
preview_txt.text = preview[p];
picture_num();
}
}
}
function prevImage() {
if (p>0) {
p--;
picture._alpha = 0;
picture.loadMovie(image[p], 1);
desc_txt.text = description[p];
caption_txt.text = caption[p];
preview_txt.text = preview[p];
picture_num();
}
}
function firstImage() {
if (loaded == filesize) {
picture._alpha = 0;
picture.loadMovie(image[0], 1);
desc_txt.text = description[0];
caption_txt.text = caption[0];
preview_txt.text = preview[0];
picture_num();
}
}
function picture_num() {
current_pos = p+1;
pos_txt.text = current_pos+" / "+total;
}
function thumbNailScroller() {
// thumbnail code!
this.createEmptyMovieClip("tscroller", 1000);
scroll_speed = 10;
tscroller.onEnterFrame = function() {
if ((_root._ymouse>=thumbnail_mc._y) && (_root._ymouse<=thumbnail_mc._y+thumbnail_mc._heig ht)) {
if ((_root._xmouse>=(hit_right._x-40)) && (thumbnail_mc.hitTest(hit_right))) {
thumbnail_mc._x -= scroll_speed;
} else if ((_root._xmouse<=40) && (thumbnail_mc.hitTest(hit_left))) {
thumbnail_mc._x += scroll_speed;
}
} else {
delete tscroller.onEnterFrame;
}
};
}

function thumbnails_fn(k) {
thumbnail_mc.createEmptyMovieClip("t"+k, thumbnail_mc.getNextHighestDepth());
tlistener = new Object();
tlistener.onLoadInit = function(target_mc) {
target_mc._x = hit_left._x+(eval("thumbnail_mc.t"+k)._width+5)*k;
target_mc.pictureValue = k;
target_mc.onRelease = function() {
p = this.pictureValue-1;
nextImage();
};
target_mc.onRollOver = function() {
this._alpha = 50;
thumbNailScroller();
};
target_mc.onRollOut = function() {
this._alpha = 100;
};
};
image_mcl = new MovieClipLoader();
image_mcl.addListener(tlistener);
image_mcl.loadClip(thumbnails[k], "thumbnail_mc.t"+k);
}

View Replies !    View Related
Copyright © 2005-08 www.BigResource.com, All rights reserved