ActionScript 2.0 :: Links In Dynamic Text
Jan 18, 2004
I have a dynamic text box which loads variables from a PHP file (which in turn loads everything from a mySQL database) and there are links in it. When loaded, the links look like links, but they do not act like links. They are not clickable at all. I don't understand what's wrong because I used the same exact technique on another site (actually the predecessor of what I'm working on) and it worked perfectly. If you'd like to see the site in (beta) action, go here. Here is the code I am using to load up the stuff...
[Code]...
View 8 Replies
Similar Posts:
Jul 23, 2009
How do I make my email address and URL linkable
This is the copy on my actions layer[code]...
View 3 Replies
Oct 26, 2009
I'm trying to make a twitter application for an assignment I have for uni. It's going to basically be a word association game of sorts, where a user enters a word to search for, and the latest tweet with that word gets displayed; this is where I'm up to: I want to make it so that the user then clicks on one of the other words in that tweet, and then the application searches for that word. I can't figure out how to get the text to refer back to itself so that it, for example, returns a string that I can pass back into the code and re-search for it.
View 1 Replies
Aug 3, 2005
i'm bringing text in from an xml file into a dyn text box. is there anyway to incorporate a hyperlink in that dynamic text? i want to have a paragraph and then have links in it.
the dyn text box text will change depending on user interaction and different links from the xml will appear.
View 7 Replies
Oct 21, 2002
[URL] thats the actionscript i have for a button. It makes the text appear... but, they don't work as links :S the dynamic text box (info) is set to use html, but all it does is display: Links... Click a link to get to the website! <a href="[URL]">.
View 1 Replies
Sep 10, 2008
I have created a RSS feed viewer, parsing the RSS feed with actionscript 3.0 and viewed on the stage in dynamic text boxes. The text in these dynamic boxes is scripted to link to web addresses contained in the RSS feeds in the same node as the text being displayed. So far so good. Now I need the text in these boxes to act as if they were HTML links and show an underline and color change when rolled over and clicked on.
View 3 Replies
Apr 7, 2011
Hi, basically I want to load a website address from a txt file as a variable into flash and then when a user clicks i on that button in flash the website loads automatically
I now how to already get variables in from the txt file but the problem is the getURL method
ActionScript Code:
Here is my txt file contents:
&&link1="http: //www . google . co . uk/"&&
[B]Ps im using google just as a test for now and i have put spaces on purpose because Im not aloud too post links yet[/B]
In flash here is the script to load the variables in:
stop();
//Create new LoadVars
linkData = new LoadVars();
// Load text into dynamic text boxes
[Code]....
View 4 Replies
Feb 21, 2008
I'm building an app where pretty much all the text is pulled in from XML, including the nav. It's linked to a MySQL database which throws XML into the app via PHP...I want the nav to be a dynamic menu made via the number of nodes in the XML file, and it'll end up looking like the 'related videos' menu on you tube. I've got this working by making a movie clip with a text field in it... the app loops through the XML, gets the number of nodes, then dynamically creates the nav via instances of my movie clip with a text field in it...
So say I've got 3 nodes, all of which are going to be nav items... The app then dynamically creates 3 movie clips, positions them onstage, populates the text field inside each movie clip with the name of the link (taken from the XML), and adds an onRelease action to each movieclip. The problem is, because of the nature of the app, the nav could grow to about 50 items over time, so I was gonna make it sit in a box with a scroll bar, like the side menu of related video clips on you tube.
I want to know if I can ditch the movieclips and just use a dynamic text field, and then make use of the scroll bar component so that, when the nav is generated, a scroll bar appears if there are too many items for the nav box to hold. In order to do this I need to know if I can launch action script via a link assigned to some dynamically created text... If not I guess I'll just have to make my own little scroll bar that affects the dynamically created movieclips but I thought I'd ask anyway!
View 4 Replies
Jan 9, 2005
I'm wondering if it is feesible to create a dynamic text box with like a contents sections at the beginning of the box that once you click a link it will scroll down to the appropriate info withing that dynamic text.
I created an image to help further explain my situation.[URL]..
View 3 Replies
Jul 18, 2006
i've recently been trying to think of a way to create dynamic color changing txt links.For example, say you have a list of static txt boxes in flash, each one being a link to a website, im trying to make it so that when you rollover a link, the txt would change colour. is it possible to achieve this effect using actionscript? As making each link a movie clip and tweening it would be very tiresome and time consuming.
View 1 Replies
Oct 13, 2004
I am doing a dynamical menu they are scroll, with links, I am using as function. If I call an external swf:
function cargaranimacion(animacion){
loadMovieNum(animacion,0)
}
In the text:
<a href='asfunction:cargaranimacion, "proceso_novolen.swf">PROCESO NOVOLEN</a>
<a href='asfunction:cargaranimacion, "polimerizacion_estructura.swf">POLIMERIZACION Y ESTRUCTURA</a>
And if I am inside a swf, call a label:
function cargaranimacion(animacion) {
gotoAndPlay(animacion);
}
That is ok... But, How I do to accede to a specific label of an external swf?? I want that it loads the animation and begin to it turns from the label that I indicate.
View 2 Replies
Jan 9, 2005
I'm wondering if it is feesible to create a dynamic text box with like a contents sections at the beginning of the box that once you click a link it will scroll down to the appropriate info withing that dynamic text.
I created an image.
[URL]
View 3 Replies
Jun 9, 2010
I just made a flash news scroller where the news headlines are dynamic text and have different urls provided in the link section. But when I click on any of them, they all go to the first link only.
View 1 Replies
Mar 9, 2011
Anyone know of any good classes or functions that will do this? I've found some regexes but what I need is to pass the string to a method and have it return the same string, but with urls turned blue and turned into hyperlinks. Seems like a fairly common task, but I can't find anything.
[Code].....
View 1 Replies
Aug 1, 2010
I am wrtiting a code which later on will read from XML and display text with links. Below is my code.
[Code]....
my problem is with the mouse events. When I test the movie, only the last link change on mouseover and on mouseout event, not every movieclip.
View 0 Replies
Dec 5, 2011
I have a scrolling dynamic text box that has a list of links in it. They all have a different link added for each line in the list but I have been asked to make them change colour on rollover. Normally I would just create a button and rollover but I can't as the text is scrolling. Is there a way of adding AS2 or even css that means I can make each link change colour on RollOver?
View 2 Replies
Sep 25, 2002
I am wondering how to make a movie clip that contains automatic vertical scrolling dynamic text(from an external .txt file) I dont want to press buttons to scroll text, I need it to be constantly scrolling, then loop once the text has been read from the external txt file.
I also require each line of the dynamic text to be clickable links that will take each line of text to a specific link. Ive uploaded a zip file containing fla and swf i found which shows vertical scrolling text. However if i move any of the graphics and text field clips around the stage the text cannot be seen anymore. why is this? can you put all of the items on the main stage in a movie clip so i can resize and move the scroller around the stage?? I tried this but again the text disapeared when i exported the movie? Is this due to the x + y co ordinates in the scripting?
How can you adjust the size of this scroller without this happening? Can the scrolling text be taken from an external file and each line of text be a seperate hyperlink? Follow this link (copy and paste it into your browser window, DONT click on it): [URL]..
View 9 Replies
Mar 1, 2010
I don't mind if any answers are AS2 or AS3 solutions, just curious really - seems weird that I couldn't find out how to do this really quickly.
View 2 Replies
Oct 13, 2004
I am doing a dynamical menu they are scroll, with links, I am using asfunction. If I call an external swf:
[Code]....
But, How I do to accede to a specific label of an external swf?? I want that it loads the animation and begin to it turns from the label that I indicate.
View 2 Replies
Oct 14, 2009
I have built a 3dcarousel off a tutorial from this great site [URL]...There are some things I just cant work out after many hours of Googling and scratching my head I thought I would ask some more experienced peeps.
Firstly I need to add some links to the dynamic text field. Secondly I need to add a simple preloader as the carousel takes a while to load especially when all the text is in Japanese which it all will be eventually.
I am actually looking for skilled flash programmers to be able to use on a freelance bases as I run a small website business.
View 2 Replies
Jun 12, 2009
Anyone know of a good program such as:WYSIWYG text editor for hyperlinks and text formatting that exports to swf.
View 2 Replies
Oct 8, 2007
Can anyone point me in the right direction of any tutorials that th creating a body of text that is from XML, that is scrollable (scroll bars and arrows), and will alllow for HTML links in the text?
View 7 Replies
Sep 16, 2008
i am desiging a news form that read the news from an external text file. I made it ok and with a typewriter effect and it worked great...my only problem is that i want the text that will be loaded from the text file to be links to other pages.
View 8 Replies
Aug 18, 2009
Okay I'm trying to make a navbar which is dynamically created when the flash movie starts, and the number of buttons and their links are defined by XML.So far, I've got the navbar making itself correctly and taking button names and number from the XML page.What I cant seem to figure out is how to have actionscript 3.0 take the link address for a button from the XML and use it to make the appropriate button navigate there when clicked.My XML is layed out like this;
buttons spacing="2"
button label="MOTION" path="www.google.com"
path="www.google.com"[code].......
Using this returns this error message; ReferenceError: Error #1065: Variable navigateToURL is not defined.at app.gui::MenuButtonMain/golink()
View 1 Replies
Aug 25, 2009
Here is what I'm trying to do: recreate the news ticker from [url]...
HEre is the trick: The client wants to be able to change the news themselves via an external .txt file, the also want each piece of news to link and the link will change..
I've got the text loading into the .swf just fine, but I have no idea how I can make the news pieces hot to a dynamically changing link that will be changed by them
View 6 Replies
Dec 16, 2009
I am working on an e-commerce site at work. The html pages are dynamic and created by a server. When a visitor logs into the site a session number is created for them and it becomes part of every link in the html page. This happens so the visitor doesn't have to keep re-logging in every time they hit a link. I have a Flash movie on one of these pages.This movie has button links that I want to lead to the dynamic html pages of the siteIs there anyway the actionscript for the buttons that link to the dynamic html pages of the site be updated within the .swf to include this dynamically created session number when a user logs in to the site? Can this happen automatically? In other words can links in a swf be created dynamically by a server?
View 0 Replies
May 8, 2011
I'm currently working on a flash website. On the homepage I'd like to incorporate a dynamic list of links similar to the one found in the main content area of URL.. (you will need to visit this site for my post to make any sense)Due to my low level of experience, I do not expect myself to accomplish this in the near future, however I would like to work towards it. What i'm looking for are pointers of what areas of AS3 I should begin researching to achieve this?
- The links are taken from an XML file, and the site is updated through this.
- When a new link item is added to said XML file, they're pushed into an Array.
- The position of the object in this array is somehow referenced in the XML file, and this provides the appropriate link.
- There is some sort of conditional statement that sees if the link added is text or an image, and based on this a different tween is used for the rollovers/outs etc of each link.
- There is a maximum character limit set to each page of links, and when it is exceeded the links are pushed to the next page, and the dynamic text is updated accordingly, specifying # of links etc.
Is there a more efficient way to go about creating a list similar to the one found on ogilvy.com?just pointers on where I should start in building this sort of application.
View 1 Replies
Feb 23, 2009
I have a site that has multiple pages of similarly sized buttons. These are magazine covers. I'd like for the mag covers and links they point to (loaded swfs) to be dynamically loaded via a text file, if possible. The client always has new magazines she's been in and to manually load the newest buttons first is a pain and time consuming.
View 3 Replies
Aug 6, 2009
joining this forum may be an awesome resource for future continued use. So, I have an as2 language selection front door in development utilizing xml influenced dynamic buttons being retrofitted for a global front door language toggle.
In production, it looks somewhat like this:
I have two main buttons that the 'for-loops' add. mainTabs and subTabs. On release on the subTabs, the are supposed to getURL defined by the link attribute in the xml file. However, I cant seem to have the getURL command target the proper address.
[Code]...
View 2 Replies
Dec 17, 2009
I'm building a website which includes a news section that is updated via a CMS by my client.Each news article basically consists of a textfield made up of several paragraphs. was wondering if anyone knows of a way of "auto-detecting" any links within the textfield. Basically what I want to do is whenever the client enters a string within the textfield that starts with "http://" I want to dynamically add an eventlistener to that string and make it function as a hyperlink.I have tried several ways but as far as my knowledge goes one can only add a listener to a display object and a string within a textfield is not a display object, and even if I would change the url string to display object of its own, aligning it within the original textfield will be a nightmare.
View 4 Replies