ActionScript 2.0 :: HTML Links From An XML Document - Links Not Working
Apr 21, 2011
I've got a PHP script that searches for links in a block of text and converts them to HTML values. The $message variable is then entered into my database using a simple INSERT. So far, so good. Then I have Flash parse the message using XML:
ActionScript Code:
function messStyling() {
messCSS = new TextField.StyleSheet();
var messCSSURL = "include/links.css";
[Code].....
The problem, however, is that my links don't work. The rollover works from the CSS styling, but the links don't actually go anywhere. When I rollover the links, the hand cursor doesn't appear, and clicking only serves to change the color back to the non-hover value.
View 9 Replies
Similar Posts:
Apr 14, 2011
I want to add links to 3 different external html pages in the place of th 3 my trial links(which are on the timeline) Here is code, this creates the three buttons listed in var catBtmmenu_label Array:
Code: Select all// Catalogue Bottom Button
//stop();
//hide button on the stage[code]..........
I dont know how to assign links to dynamic created buttons.
View 1 Replies
Aug 28, 2010
I am building a website through flash. For the past couple of weeks all of the links have been working fine up until now. I have no idea what I could have possibly done to make this happen. In HTML none of the links work. They are all linked up fine, I even re-linked some of them. Nothing happens. The buttons do nothing.
View 7 Replies
Apr 9, 2009
I am calling one flash with transparent bg in an HTML page.. Now the HTML links which are below the flash area are not working. So how can I make them work. I knw though I am calling flash with transparent bg but still the object�s area is same.. n all the links which are there on the HTML page that comes under that area stops working as they no longer remain selectable. To have a clear picture of what I am tryin to do have a look at the following url : [URL]
this is just a sample file you can consider..Have a look at the register now button..It will be in HTML how can I make it work..as flash comes above it.
View 2 Replies
Jul 1, 2009
I have a presentation that I created for a client. The presentation is supposed to work locally on anyone's computer. It works perfect on mine. On the client's three computers, 2 pc and 1 mac the links inside flash do not work. I have a text field with text and a simple link inside like [URL] and it's going to a blank window. These won't even pop up a window for my client on any computer, why? He has the lastest Flash players and we created an html link below the flash movie in the html page just to make sure he could launch a popup that way and the html link below the flash movie worked fine.
View 3 Replies
Feb 22, 2010
I created a mailto link and a hyperlink in my Flash CS4 file. They both work when I test the SWF file. When I test the html file (in any browser) niether work.I get an error saying something about security for the mailto linksHere's the code for both
//MAILTO AND LINKS var contact1_link:String = "mailto:xxx@xxx";var contact2_link:String = "mailto:xxx@xxx"
//ADD EVENT LISTENER FOR EMAIL AND
[code].....
View 1 Replies
Feb 8, 2010
I'm writing HTML text into a dynamically created text field - the text and links appear perfectly, the css styling works and they change colour when you rollover them just as they should.However suddenly they've stopped actually launching the link, I don't get the mouse pointer when I rollover, I just get the select tool and when I click, nothing happens.
View 3 Replies
Mar 23, 2004
I have a menu once clicked it animates out a menu that holds a couple of links, but with my code I can't select the links.
[code]...
View 9 Replies
Nov 15, 2011
I am trying to add an html link inside a parapgraph of text that is loaded through an xml document. I have done some research and it appears I need to set my actionscript to read the html. When I add the href in the text it reads literally as the code instead of creating a hyperlink in the paragraph. My problem is I did not set up the original flash document and I anot sure where to add the htmlText=true; and so on.
Here is the link. The problem is in the "press" section. last line in the paragraph of text. You can see the aref code not working.
[Code].....
View 6 Replies
Aug 17, 2011
i created a flash slideshow with pictures of events and link each picture with its own event (ie. each pictures has its own links to the website). I created the fade in and fade out effect using the class motion tween. With the link, I created a layer with a button that has alpha= 0 (so the user don't see it) and then I used code snippet to make another layer with the action script "click to go to url."
When the slideshow goes to the last picture I made it fade out and the first picture of the slideshow would show up and then the slideshow would replay itself (by default?). My goal is to make a continuous slideshow.
When I tested the swf file, the first time it runs, everything is right. The urls and the pictures are in correct order. However when the slideshow replays itself automatically, I notice that the links are incorrect. In the first play, when I click the picture of the event it would open the url of that event.However when the sldieshow replays, clicking the pictures would only open the url of the first event picture. When I click on the 2nd, 3rd, 4th, etc.pictures the browser opens only the link of the first picture of the slideshow.
View 11 Replies
Oct 30, 2009
code for disabling and redirecting links in the HTMLLoader:
Code:
import flash.html.*;
import flash.net.URLRequest;
[code]....
View 0 Replies
Apr 8, 2003
I'm trying to pull a list of links from an xml document. However, when i get it to print out in flash, it doesn't have them as links. How would I go about correcting this problem?
View 1 Replies
Sep 14, 2009
I'm writing some code in Flash MX 2004 and everything works fine except for the last button (4DSystemsProducts).According to the coding if none of the drop down buttons work it should go to products.php, but for some reason it goes to 4DSystemsProducts.php. All of the other menus are coded the same way and work fine, if I take out that button it works fine,or if I take out button 7 and switch 4DSystems to button 7 everything works.Here is the code to clear up this explanation. [code]....
View 5 Replies
Dec 31, 2003
About to pull out my hair...I've loaded an external text document into the dynamic text field fine, but am unable to make any html tags within that document work once it's up on the web. I'm trying to add links within the document.
loadText = new loadVars();
loadText.load("firm_overview.txt");
// creating the loadVarsText function
loadText.onLoad = function() {
scroller.text = this.overview;
};
Should i add something to this to enable the html tags to work??
View 3 Replies
Jun 30, 2010
I have a piece of Flash on an HTML page that when you hover over it, it expands out to reveal more information.There are text links that it expands over, however in everything but IE, when it's not expanded those links are still covered by the Flash making them unclickable.I have the Flash piece in a separate DIV wmode set to transparent.
View 1 Replies
Nov 7, 2011
I need to parse an html source in order to obtain some links...Let's assume we have:
<html>
<head>....</head>
<body>[code]...
I only want the link1 which is a child of a div with class class1
View 3 Replies
Jul 14, 2009
I have an <mx:HTML/> component in my flex air app that shows a web page. The problem is, if the web page has a link on it and they click it, it does not take them to that page. Is there a way to allow this, or a work around? is there a way for the loaded webpage to send Flex info about events that occur in it?Here is my code:
<mx:HTML
id="html"
width="100%"
[code].......
View 1 Replies
Aug 28, 2009
I opened my flash movie in CS4 that was created in CS3, added additional scene, andrepublished but all links failed to work.
View 2 Replies
Apr 18, 2010
I am using flash CS4, i have created a small flash presentation , it has some hyper links to external web site . All the links are perfectly working in my system but the links are not working when i tried into other system(system does not have flash installed ).
View 1 Replies
Apr 22, 2010
I've been building a website in flash for the first time and I'm struggling how to get the links working, this is how I've been doing, putting the whole file name into the link under options then link, the links when i open the swf files don't work at all. But the htmp pages work on my computer but on an other computer the links don't work cos I have linked the html pages to my folder on the computer I'm working on.
View 11 Replies
Aug 22, 2011
I can't figure out how to get an html link to show up in Flash. I know that I need to use a CDATA function but It will not show up as a link in my Flash file. I have selected the dynamic text field called "d_desc" and clicked the box "render text as html".[code]
View 1 Replies
Jul 12, 2009
Where is it that I have to add the link to have the e-mail work? Is it in the action script or the up over down hit?
View 6 Replies
Aug 3, 2002
For some reason the links from my home page are not working on some computers (could be a PC thing). This is the basic layout of the action script used on each section's button.
I created this site on a Mac G3 with Flash 4.
[URL]
On (Release)
Get URL ("javascript:Websites=window.open('RezWebsites.swf ','Websites','height=421,width=650,toolbar=no,loca tion=no,scrollbars=no,status=no,resizable=no,fulls creen=no'); Websites.focus(); ")
[Code]....
View 14 Replies
Jun 7, 2007
I am a newbie to Flash. I am working on a template website with a deadline. I was able to change the text, remove items I did not need and add some additional text.....but I cannot get any of the links in either of the two top flash animations (the menu and the header) to work. I am using Flash CS4 (and Dreamweaver CS4). I have tried to add a link to the text, and in the AS. But then they do not seem to be working at all
View 1 Replies
Jul 11, 2008
I have a main file,which loads some external swf files.These external swf files load some html text in dynamic textfields.These html texts also contain links.Is it possible, to link in one of the external swfs,using html?
View 4 Replies
Aug 20, 2009
i have created some flash banners with a url embedded in them, so when they are placed on a web page the banner links through to my website when clicked. Fairly simple.But, i tested them on a website on my server to link to another website on the server and they worked fine. When i gave them to a client to embed on their own website (the flash files are hosted on my server still), the links no longer work.
Is this a security issue to stop the links working? i also checked it in linux and the banners worked, but in windows they do not. I dont want the client to have their own local copy of the flash file, as i may update it in the future and dont want to chase up lots of different copies everywhere.
View 3 Replies
Feb 22, 2010
I am a newbie to Flash. I am working on a template website with a deadline. I was able to change the text, remove items I did not need and add some additional text.....but I cannot get any of the links in either of the two top flash animations (the menu and the header) to work. I am using Flash CS4 (and Dreamweaver CS4). I have tried to add a link to the text, and in the AS. But then they do not seem to be working at all.
Here is a link for a zip'ed file with the index.html webpage, the swf files, and the fla files. Webpage_and_Flash_Files.zip/ I am on a deadline to get this up,
View 6 Replies
Aug 10, 2010
I have CS3 movie that opens links to other sites.It works fine when publshed to the web server but when I test it locally (opening it from my own files) the links don't work - is this a security settings issue? I tried opening settings manager and "allowing" files for that file location but it didn't fix it.
View 2 Replies
Dec 29, 2010
My website links and 2 out of 6 pdf's don't load when I test the movie in Dreamweaver.As far as I can tell everything is correct and all of the names are correct.Each button has an instance name and has been modified.Are there any other possibilities? Here is a sample of the script
menventures.addEventListener(MouseEvent.CLICK, menventuresurl)
function menventuresurl (evtObj:Event):void {var menventures:URLRequest = new URLRequest("http://menventures.com/");flash.net.navigateToURL(menventures, "_blank");trace("The menventures button was clicked");}
View 1 Replies
Sep 14, 2011
I have 6 buttons, for some reason only the first button(my_home) works
my_home.addEventListener(MouseEvent.CLICK, myBtnClicked1);
function myBtnClicked1(e:MouseEvent):void {var url:String = "http://www.weedwarriors.co.uk/";var request:URLRequest = new URLRequest(url);
[Code].....
View 5 Replies