ActionScript 2.0 :: Converting Certain Lines Of Text To Be Hyperlink

May 18, 2010

I have a project where I'm working in Flash CS4 on a presentation that runs in ActionScript 1.0. I need certain lines of text to be hyperlinks. I have two instances in which there is an e-mail link and a URL link which are part of a larger block of text, and one instance with just the URL alone. So far I used the method where I used the Properties window to make the box static text and the text fields I require have been made into links, as well as making other instance dynamic text. Thing is the HTML version of the file works all right, but the swf version doesn't hyperlink properly. If I click on the link, it accesses my browser but does nothing else. Let me know if there's anything else I need to elaborate on from my end.

View 2 Replies


Similar Posts:


ActionScript 3.0 :: Link Text Hyperlink In Dynamic Text Box To Label

Nov 3, 2010

I have an AS3 flash movie and each page is a new frame. On my pages are dynamic scrollable text boxes that I created with the text tool. I would like to be able to make a piece of text a link (ex. click here for prices) so that it will direct the view to another page (label). I cannot figure out how to do so.

View 2 Replies

Professional :: Add A Simple Hyperlink In My Xmlhtml Hyperlink In My Xml?

Jan 11, 2010

I want to do is add a simple hyperlink in my xmlhtml hyperlink in my xml.how to do a hyperlink in xml.This is what I do know,you can add the <a href="http:[url]...but that does not work for me,when i save and preview my fla, it takes away my scroll bar that i have.I have also seen somwhere you can use the <?[[DATA tag, but this aswell doesnt work for me in my FLA, is there somewhere i need to reference hyperlinks before I can modify my xml?

View 38 Replies

ActionScript 2.0 :: Hyperlink The Text From XML?

Jun 28, 2007

I created a table in flash that holds some informations in rows (something like: Date, Company, Article - per one row). All entries are made by one single XML file. My objective was to create a DOWNLOAD ARTICLE button, or at least hyperlink TEXT so one can download a file related to the information given.

I made an intelligent trick I've putted invisible buttons in every row and hyperlinked them (in Flash, not XML) with general names (01.doc, 02.doc, 03.doc...) as this table is meant to be updated.

If you don't understand what I'm talking about, enter here to see the table in function [URL]

View 5 Replies

Create A Hyperlink In Text Field?

Jul 14, 2010

I am trying to create a hyperlink in my text field that when clicked will take you a website target a _blank page.I have created a text field and input the website through xml - src, I put the text field inside a movieclip - link, i created a sprite and put that in the movieclip. However anytime that I try to click it, no matter the configuration I get one of two errors: Error #1069: Property loader not found on flash.text.TextField and there is no default value.^^Is the most common The other one is I believe Error #1010 Can not target and object of null reference?? Something along those lines.

My Code:

var link:MovieClip = new MovieClip();
var anchor:Sprite = new Sprite();
anchor.graphics.drawRect(265, 235, 690, 20);
anchor.graphics.beginFill(0x00ff00);

[code]....

View 4 Replies

Make An Element Other Than Text Contain A Hyperlink?

Sep 1, 2009

I'm creating a swf that will go on a web page. It involves a circle which is divided into several portions, each of which must link to a different site. I've created the circle and a simple animation that will serve as the hover state for each of the segments, now all I need to do is get the appropriate links implemented. I know how to add a link to text in Flash, but is there an easy way to add one to another element such as a movie clip?

View 6 Replies

ActionScript 3.0 :: Hyperlink Rollover - In Text?

Feb 3, 2009

This is killing me - I have looked everywhere and cannot find a truly actionscript solution to creating a hyperlink in text and to have the color of the text change on rollover. I am doing the following

ActionScript Code:
menu1TXT.htmlText = '<a href="event:featured">featured</a><br/>'

I am not really excited about doing css solutions so I was hoping for a different solution. In fact a better solution then htmlText would be even better. I really like the power of the "addEventListener".

View 1 Replies

Flash - Know When A Hyperlink Within A Text Field Is Clicked?

Jun 4, 2009

In Flash, is there any event when the user clicks a hyperlink in a TextField?

View 4 Replies

ActionScript 2.0 :: Hyperlink In Dynamically Loaded Text

Feb 18, 2004

Im currently doing a quiz, which, after the user completes all the questions, displays the users score and depending on that score, a certain message ie

if (score<=2) {
Score_Msg.text =" That was poor!":
} else if (score<=5) {
Score_Msg.text = "You know a bit but not much";
}

In the text, i want to include a hyperlink. Is there anyway of making certain parts of dynamically loaded txt into a hyperlink?

View 2 Replies

ActionScript 2.0 :: Create A Hyperlink In A Dynamic Text Box?

Apr 4, 2003

Ok, it is possible to create a hyperlink in a dynamic text box. But it is possible to load a Movieclip from this hyperlink, instead a web address?

View 5 Replies

CS3 Hyperlink Text Animation Navigation Change Color

Apr 7, 2009

I have CS4 and have (it has taken over a month) created a banner with moving clouds (912 x 74). To the left is our company name and all I want to do is have a navigation menu across the bottom. I did not want buttons, but text with a dignified mouse over effect or color change. The links would be to .php pages and the would read Requirements, Samples, Pricing, FAQs and Contact. The dev site is at [URL] where you can see what I have already done.

View 5 Replies

ActionScript 3.0 :: Showing RSS Feed In Dynamic Text Box (with Hyperlink)

Mar 16, 2010

I am currently trying to pull RSS data into a project for my first time and am trying to get 3 (potentially 4) boxes filled with rss data that will be updated. So far, I am going with Actionscript 3. So far I have the code below, but it puts data in a listbox. What is the easiest way to put the data in three dynamic text boxes inside a movie clip, so I have one for the title, one for description and one for link (shown as 'read more' text but a link using the url from the rss value)?I am really banging my head against the wall on this one and want to get it sorted asap,I have also attached an image to show what I am trying to do:I also want to know if it's possible to show rss values only if they exist. For example, my xml feed currently only has 3 items that change, and i will be assigning these to boxes, but is it possible to display a fourth if it exists, and if it doesn't it just shows the first?[code]

View 3 Replies

ActionScript 3.0 :: Hyperlink Text - File To Open Up In The Same Window?

Jan 13, 2011

I have attempted to have a hyperlink text using actionscript:

[Code]...

when I run the code it always creates a new window to open up the file in. I have even attempted to switch out _self with _top, _parent, and _blank, always with the same result. I simply want the file to open up in the same window.

View 2 Replies

Professional :: ClickTag On Dynamic Hyperlink Text In Scroll Box

Aug 15, 2011

Is it possible to add a ClickTag for tracking purposes to dynamic text (hyperlink) in a scrollbar box in Flash CS5?  I have ever only added a ClickTag to a button and/or banner before.

View 1 Replies

ActionScript 2.0 :: Hyperlink In Dynamic Text Field From Xml File

Mar 25, 2009

I'm pulling data from an XML file into dynamic text fields in Flash. I have a field where I want to pull in a different url for each node, but display the same text and I'm not sure how to set that up.

View 4 Replies

ActionScript 3.0 :: Converting Style Code From Classic Text To TLF Text?

Jan 10, 2011

I've got a project that currently uses classic dynamic text fields that pull in information from an XML file. The text contains a 'keyword' that's referenced in the XML, that can be situated anywhere in the complete sentence. This keyword needs to be a different colour and font size... but as I said, it can appear anywhere.

Currently this works by getting the keyword from the XML, finding its length, finding the index of where it starts, splicing the main string, and then setting TextFormat to the number of chars in keyword, which changes the font size and colour for just that keyword in the sentence.

This works great for the classic dynamic text boxes. It doesn't however work with TLF text, it just applies the new format to the entire text field. I don't have any experience with TLF text as I've just upgraded to CS5 and now need to make this work in Hebrew.The code snippet for the keyword colour change looks like this:Where screen01Norm & screen01Key are things pulled from XML & screen_01.txt_box_combined is the text field.

var newFormat:TextFormat = new TextFormat();
newFormat.color = 0x319aca;
newFormat.size = 50;

[code]....

View 1 Replies

ActionScript 1/2 :: Hyperlink Button With Variable From Text Input Field?

Jun 24, 2009

I have a text input field called 'phone' and a button with the GetUrl function. Button script looks like this:

on (release){getURL("http://url/sendlink.page?country=160&phone=phone&keyword=33&msgtype=26", "", "POST");}

First of all when I press the button nothing happens. When I paste the link directly into my browser everythinbg works as it should. But not from flash file.

adding the 'phone' variable into the hyperlink. What do I write? Something like this: [URL]

View 13 Replies

ActionScript 3.0 :: Hyperlink Text Will Not Work With _self, Only As Self And Then Creates Window?

Jan 14, 2011

I understand that the code below should work but it doesn't, I have to take the underline before self out, for the hyperlink to work at all, and then it creates another window for the file. There may some sort of glitch that I am not aware of. But the code below does not work as is in my app. 
 
var t:TextField = new TextField();
t.htmlText = "hello world"+ "<a href='weeTestPage.html' target='_self'><u>click here</u></a>";
t.autoSize=TextFieldAutoSize.LEFT;
addChild(t);

View 1 Replies

Professional :: *EMERGENCY* Convert Broken Text Into Single Hyperlink?

Nov 17, 2011

I have been handed a clients project that goes live tomorrow from the boss who just fired the guy who was working on it. I AM NOT A FLASH EXPERT! If you can walk me through step by step how to do this,I have a Flash (AS3) intro homepage, the index page is already written and setup. A Mask and fill approach was used to create the animated effect in which the text gradually appears. In order to do the fill, the text 'Home' 'About' 'Works' 'Contacts' are all broken apart text (i.e. (H)(O)(M)(E)) Here's what I need to do and would not even know where to start. How do I convert each of the words which are made up of broken text, into navagation buttons as hyperlinks to the other documents in the page (i.e. convert (H)(O)(M)(E) into HOME which you can click on and be taken to index.htm)

View 7 Replies

ActionScript 2.0 :: Dynamic HTML Text... Hyperlink Triggers Function?

Jul 22, 2004

I have a flash movie with a dynamic loading textfield formatted in html. What I'm looking to do is format (using a tag?) the loaded html code to have a hyperlink (<a href?>) gotoAndPlay(2) or perform other functions.

View 3 Replies

ActionScript 2.0 :: Give The Hyperlink To Dynamically Loaded Xml Text In Flash

Sep 1, 2005

my question is how to give the hyperlink for the dynamically loading xml text in Flashmx.

View 1 Replies

Actionscript 3.0 :: Blitting Lines - Draw Approximately 50000 Lines And Performance Is Poor?

Aug 17, 2011

I have been working on a map viewer based blitting technique. As part of the map I need to draw approximately 50000 lines and performance is currently really poor.

Code: Select allvar movie:Shape = new Shape();
for( ... )
{
movie.graphics.clear();[code].....

View 2 Replies

ActionScript 3.0 :: Drawing Lines Between Mc's, Getting Lines In Stage Co-ords, Not Mc's?

Nov 15, 2009

My code is on the main timeline.I call a function loop to draw lines between them.The lines are drawing between the right x, y values BUT between those values on the main stage, not those values within the kite.For example, dot1_mc is at x100, y0 inside kite. the line that should go from its center, draws from stage x100, 0.How do I draw the lines inside kite so that they draw between the dots?Heres my code that draws the linesPHP Code:

function loop():void{ lineDrawing.graphics.clear(); var a:Point = new Point(kite_mc.dot1_mc.x, kite_mc.dot1_mc.y); var b:Point = new Point(kite_mc.dot2_mc.x, kite_mc.dot2_mc.y); var c:Point = new

[code].....

View 4 Replies

Flex :: How To Split Text By Lines

Jun 3, 2009

I created a TextArea object. Then I typed some text in it. Then i got this text useing TextArea.text property.How can I split text I got by lines and convert it to the array of strings?

View 3 Replies

ActionScript 3.0 :: Copy Lines From Text?

Jan 13, 2012

I have a text field with a dynamic amount of text. Now I would like to take the lines 1 to 10 and put them in one variable. And then the lines 11 to 20 and put them in another variable.

View 2 Replies

ActionScript 3.0 :: EventListener On Lines Of Text?

Mar 15, 2009

I have a function which cycles through an array and adds lines of text to a textField.

[Code]...

Is it possible to add an event listener to each line of text? Or is there a better way of doing this?

View 1 Replies

ActionScript 3.0 :: Converting Text To XML?

Jan 18, 2010

I need to convert a text document into XML where each paragraph is its own node. Example:

speech_xml=<speech>
<paragraph>I was born and raised in a small town... </paragraph>
<paragraph>In the late 80s I was elected to the state Senate.... </paragraph>

[code].....

View 3 Replies

ActionScript 3.0 :: TileList: Multiple Lines Of Text?

Jun 23, 2008

I am playing around with the Lisa Larson tutorial on creating a flash video player with dynamic playlist (XML). I want to add another text field, but am running into trouble with the TileList.How can I create two different labels with TileList and call to them?I want "Title" and "Desc". I can work around it by putting it all into one label, but then I cannot style the title seperate from the description.

Code:
tileList.addItem({label:item.attribute("title").toXMLString() + "
" + item.attribute("desc").toXMLString(),

[code].....

View 4 Replies

ActionScript 2.0 :: Dynamic Text Box - Add Multiple Lines?

Sep 22, 2009

I am trying to get a dynamic text box to add text to it when I press a button, How do I get it to add multiple lines? I tried <br>, but how do I get line breaks? Is there a better code that what I am using?
..I am using...

on (release) {
dir_box.text="From South";
}

View 8 Replies

ActionScript 2.0 :: Animating TriggerMC Along With Lines Of Text

Jan 9, 2010

Basically, I just want to do ye old text fade on as if being typed on to the screen. Letter by letter, and in some cases word by word. digi-poetry. I've made a BlackerMC which starts as a black square, then flickerfades away leaving some faded lines (like old school crappy green monitor style), and then the lines fade away. I've placed copies of this BlackerMC over each of the characters/words I want to 'type' on.

What I would like to do is animate a TriggerMC along the lines of text, and whenever it rollsOver a BlackerMC it triggers the Blacker to fade away. I know how to set up BlackerMC to look at its distance to TriggerMC, but then there will be like 500 BlackerMCs enterframing away. Is there a way I can make TriggerMC just look at 'whatever?' MC is under it, and then trigger whatever?MC to play? How to do this the smart way, entirely with action script and Dynamic Text?

View 2 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved