ActionScript 2.0 :: Html Text Link Not Working?
Sep 19, 2007
I had to do some maintenance on an older flash site I built (Flash MX, AS2.0). I have some href links in a html text. For some reason they are no longer working correctly. If you click on it, it will do nothing. If you right-click on it, a menu will open with options to Open, Open in new window, & Copy link.
View 3 Replies
Similar Posts:
Aug 20, 2009
We have a little app in use with a customer where html links are generated dynamically at run time. The link text and url are put together from a couple of txt files that the customer regularly goes in and edits. These links have recently stopped working.
Of course, you would think the immediate culprit is the customer who has made a mistake in the txt files. But the the same vars from the same files are used to generate a couple of buttons on the page that DO work. And everything works when I export it from flash. It stops working as soon as it gets to a web server.
Here is the output from the functions that piece together the input data:
[Code]....
And here is the link to the app: [URL]
Choose a category in any of the lists and then any of the subheaders that appear. Most have a link in them. It's in Swedish but I know you lot are smart enough to navigate a flash app without understanding what you're clicking on
View 8 Replies
Jan 14, 2012
quick question regarding the TextEvent:LINK.It stopped working recently when I switched my interface and I'm not quite sure why or how to fix it.I have a movie clip which contains a text area and a scroll handler. 3 of these are added to my interface, although only 1 at a time is active in the display, depending on which tab you click.
All of that works fine, but once I change the chat object (textfield and scrollbar) in the display, it seems to stop working, and I'm not quite sure why. I'm not creating new instances all together, just adding and removing from a parent clip upon clicking different tabs.
what would be or could be causing this? As far as I can tell nothing is over or obstructing the clip containing the text field and scroll bar. The scroll bar actions work fine, which is next to the text field, however there seems to be no action going on as far as clicking links in the text field.
Edit - Textfield is selectable, I know they need to be for the event to work.
View 1 Replies
Feb 26, 2012
I would like to make an input text field in flash as2. What I need is when the user write down an answer it will direct him to an html page I created. There are 3 answers and 3 pages, so they will write down one of the answer and when they will click "enter" they will be redirected. I understand you can do it with "if" statement but I don't know how!
View 1 Replies
Aug 10, 2009
I'm importing text from an XML file into a textField. It includes a couple of image links.I'd like the images to display next to each other, but Flash seems to be forcing a linebreak between them.Note I'm using (pound ampersand 10 semicolon - seem to get converted to linebreaks in this forum) to create linebreaks manually - not that it should have any bearing. Have tried separating image tags with nonbreaking space, regular space - also made sure textField was plenty wide enough. No luck.Is this just "the way it is" or is there some way to get my images to display inline?Sample XML:
Code:
<body><![CDATA[Please <a href="mailto:customerservice@domainname.com"><u>contact us</u></a> for any questions, comments or suggestions. We look forward to hearing from you.
[code]........
View 0 Replies
Jan 23, 2004
I am working on a press section of a site and was wondering if this was possible? I have a texfield that loads in html formatted text for a notepad file. I have done this lots of times and put <a href=blah> on certain words within notepad to make them links to other pages.
For this one i would like to have the textfield with links, but when the user clicks a link, i want it to trigger something in flash (i.e. click here for more info sending a variable to my main as script that will bring up some other text etc).
if so how would i go about writing the link inside notepad? I'm thinking that i just need to know the code for combining the text links with something in flash as.
View 4 Replies
Apr 25, 2007
I am doing a Flash header where button text and links has to be easily configured by the owner, so i'm thinking the smartest way is to load button text + link from an xml file.There will be 7 horizontal buttons. The name of the button will be loaded into a dynamic textfield i guess, but what about the link?Im fairly sure it's possible to make an animated button and load an html link into it's Actionscript... but how?My XML would look like this:
Code:
<?xml version="1.0" encoding="UTF-8" ?><buttonsDanish>
<forside name= "Forside" url= "http://www.whatever.biz" />
[code].....
View 1 Replies
Oct 30, 2009
My HTML tags are not working in a dynamic text box. Im guessing it is cause of the scrolling and maybe it dosn't see <br> so it dosn't allow them. This is the code i am using below.
TextField.prototype.maxviewable = function(){
if(this.maxscroll>1) return this.bottomScroll;
var b = (this.html) ? this.bottomScroll-1 : this.bottomScroll;
if (!this.length) this.text = ">>";
[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
Jul 13, 2009
i made a video player with the xml playlist , it's a video channel indeed, it's embed swf in html. but my boss would like me to put a link on the web, when user click the link, it would directly play the specific video inside the video channel. is it possible to do it without server side script but javascript?
View 1 Replies
Jul 25, 2010
I have a dynamic textfield on the stage which is rendered for HTML. Then I load the xml text in it, but the CDATA html tags are not working(it works on singleline, but not on multiline)
I tried setting wordWrap/html etc to true but nothing seem to work.
View 9 Replies
Apr 11, 2011
i am making an flash histroy the desc text shoud be accept the cadata Structures i tried to make this , i dont know where i am missing . i am getting the desc text in ( "filed") inside an mc called " nod" i am loading this mc from library plese check my code
stop();
left.useHandCursor = 0;
var gata:Boolean = true;
[code].....
View 1 Replies
Aug 18, 2009
I'm trying to load an XML file and place the content into a dynamic text field. The XML nodes contain content within CDATA sections that have basic <b> and <i> tags. Once I have the content loaded into a variable and trace it, I can see all my tags within.
I then place the content into a dynamic text field with html set to true but for some reason it doesn't show any formatting, the tags appear to have been rendered because they don't show up inline. I thought maybe this was due to embedded fonts but i have all of my bold, bold italic, italic and regular font's within a text field embedded so I wouldn't think thats an issue. Is there something I'm overlooking?
View 6 Replies
Feb 27, 2009
I have a 90% all flash-site and when u click news webpage splits up in HTML blended with flash in a page called news.asp
(buttons are in flash and content in asp bellow)When loceted on news.asp and you click... let's say service you go back to index.html with the flash main.swf, but the link has ALSO have to go to label (service) or frame 30 lets say...
View 1 Replies
Jul 1, 2011
I have a scenario that I get an string with html data, this is not just html data it's an email (outlook) saved as an html file and dropped in the string.Now this string needs to be formatted to an html document and should be a clickable link in a datagrid. So when I click on the link, the HTML document should pop-up and should gave me a nice HTML page that is readable for the normal users. I hope it's a bit clear what I want o_0. don't know where to start.
View 3 Replies
Apr 18, 2011
[URL]
The ad on the bottom right of the screen (the one with lightning flashing) has an invisible button in its Flash file (CS5) linking to [URL]. This file is imported as SWF in Dreamweaver CS5.
The hyperlink works in Firefox, but not in Safari. Maybe it is just my computer.
View 1 Replies
Mar 11, 2011
I want to set link of another html page on flash file.
View 1 Replies
Aug 4, 2011
I am designing a web application in Flex 4 and currently facing an issue rendering advanced HTML tags and entities in Flex 4. All I want to do is basically render an HTML text coming to me something like the one given below:-
[Code]....
View 3 Replies
Jan 12, 2009
I've got a few areas where I'm displaying XML driven content in Flash. I'd like then to be able to have links shown as well so the user can continue to navigate the page. How do I add an HTML link in the XML so that it displays properly in Flash? Does something need to be added to the ActionScript or is it all done in the XML?
HTML Code:
function loadXML(loaded) {
if (loaded) {
[code]....
View 7 Replies
Nov 13, 2009
I bought ready templete for flash website and have problem with creating code for link. You can see templete website on happyrobot.info/good and I want to place links behinde ABOUT US , SOLUTIONS , SERVICES so I can redirect to diferen sites. You can download fla file from happyrobot. info/ download it is index.fla
View 4 Replies
Jun 22, 2009
as we are using in html<a href="#one> abc </a>ref. to<a name=one></a>xyzso that when click on abc, goes to text - xyz.in flash (as2)if we have a button (linked with a html file)and on click - we want to open html and go to directly on text - xyzin which way we have to give link on that button.(whats the idea for this)
View 3 Replies
Apr 14, 2010
i made this cool nav bar in flash and i would like to put it into my dremweaver html file,
however that file is not uploaded to the web
View 2 Replies
May 21, 2010
I have a box and is assigned as a button. In AS2 would be something like this: getURL("urltoload", "target"); But I am doing it in AS3, so I can learn more. I just want to add a HTML link, so when someone clicks on the box, a different page will load in the same browser, no pop-ups.
View 9 Replies
Sep 20, 2006
I'm working on the drop down menu with xml (from this site - [URL]), and I need to link to specific frames in my flash file, but it seems to be in html, is this possible to do?Or if not, I am building this drop down menu by hand and my actionscript looks like this:
//when you initialize your buttons set them to invisible like this
stars._visible = false;
starsa._visible = false;
stars1._visible = false;
[code]....
and this is only from 3 buttons,I have 2 choices but I would like to know the better, more easier route.
View 2 Replies
Mar 10, 2007
what do I need to do if I'm using web_txt.text to load in xml.
but I want to have that be a link from the xml...?
I've been told: web_txt.text.htmlText but that seems like it messing things up and when I put the html tag into the xml file it wont load any of the code under it.
View 10 Replies
Feb 22, 2010
There this link in Flex that was working and now isnt... Flex is giving me a headache with this one because it is not throwing any errors either.
In the script part of the XML I have this:
private function onLinkClick( event:TextEvent ):void {
var url:URLRequest = new URLRequest( event.text );
navigateToURL( url , "_top");
}
[Code].....
It was working but now the link doesn't and the swf's not throwing any errors either. This is very strange behavior, would anyone know why the link won't work?
View 1 Replies
Nov 9, 2011
i have a menu fileon rollover it opens the menumy link is not going
View 2 Replies
Aug 26, 2009
I'll have an swf that I'd like to open up as a popup from an html link. I've been searching the forum, but most similar questions are to go from flash to html.
get a flash popup from an html link?
View 3 Replies
May 28, 2009
Is it it possible to receive FlashVars from an html link? How would that be done?
View 14 Replies
Feb 28, 2010
I have a swf file but I dont have the source. I need to add a link to the object swf but I dont know how. I need to do something like this:url...
View 1 Replies