Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

opening external link

Status
Not open for further replies.

3Y3

Programmer
Sep 18, 2001
45
CA
Hi,

I am using a dynamic text field in my flash movie to load in an external text file (html) that contains a list of links, unfortunatly there are issues when the flash is loaded in Firefox browsers (all files loaded or linked to are in the same server/folder).

I used a tutorial, , (minus the UIScroll Bar part) and so far clicking on the links it displays works (opens up link in a new window _blank) but only in IE browsers.
The Problem comes up in firefox. Where the text box loads in the external text file correctly, I can even mouse over the links, but clicking on them has no effect (sometimes at random, like 1 in 25 clicks, it would work)\




My Current text file contains the following:

news=<a href="releases/1.html" TARGET="_blank"><b>March 5, 2007</b><br>Test Link 1</a><br><br>

<a href="releases/2.html" TARGET="_blank"><b>February 15, 2007</b><br>Test Link 2</a><br><br>


The other action script code is the same as in the tutorial (except it has my variable name of 'news') and my flash text box is named 'myText_txt'.

myData = new LoadVars();
myData.onLoad = function() {
myText_txt.html=true;
myText_txt.htmlText = this.news;
};
myData.load("news.txt");



Can anyone offer a solution to get this working smoothly in Firefox browsers. I am aware there are bugs in Firefox that relate to flash's 'getURL' use but I'm not sure how those solutions can be used in this case (if there are any solutions)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top