ActionScript 2.0 :: Create A URL Link For The Description Text?

May 26, 2010

I want to create a URL link for the description text. Everything works fine until I get to the actual link - it's displaying the HTML. I've clicked on the HTML button in the properties inspector for the text field (see the attached photo); I've also added the following in the AS:

Code:
desc_txt.html = true;
desc_txt.multiline = true;

No luck; it's still displaying the HTML.

Code:
function nextImage() {
if (p<(total-1)) {
p++;

[code]....

View 2 Replies


Similar Posts:


ActionScript 2.0 :: Create A Rollover Description?

Jan 6, 2006

how to create a rollover description whereby when i rollover a button a description box pops up at the bottom which either scrolls information or shows shows some text.

I've created my buttons and have used "hover captions" which have worked perfectly, however i would like a description box at the bottom of my button so when i rollover the button some text scrolls or just displays a box where i could put a lot of text.

View 4 Replies

Professional :: Embed HTML In Flash - When I Click ,opens The Correct Description Text File In The Second Text Box?

Apr 17, 2011

Is there any way I can embed HTML in flash? I know I can do this with text boxes but is there any other way I can do it? If not I know theres is the load feature where I can load text from a text file. With the html text box editing, Can i link that to the text file?. As in when you edit the text box with html could i have the textbox's instance name equal to the text file? With this my issue is with the <a href> in one textbox, I would like when i click those it open another text file in a different text box.

Clarification: I have two text boxes in my flash file.One has current products. And the other is the description of the product they select. I would like a way to edit and change the products in the first text box without having to keep using the FLA file. Which is why i am using this code

var myTextLoader:URLLoader = new URLLoader(); myTextLoader.addEventListener(Event.COMPLETE, onLoaded);
function onLoaded(e:Event):void {trace(e.target.data);} 
myTextLoader.load(new URLRequest("myText.txt"));

The contents of myText.txt are <a href=(not sure what to put here)> Product 1 </a> But all that does is put it in the text output section in flash.It does not show it in flash. I need help getting it to show up in a text box.That is the first part But the main problem is im not sure how to code the a href correctly so that when i click it, another text file opens in the second text box.So that when a user clicks on a product ,like "Product 1" It opens the correct description text file in the second text box.

View 2 Replies

ActionScript 3.0 :: Create A Button With Text For Link?

Apr 8, 2009

I need to take this code

Code:
_myButton.addEventListener(MouseEvent.CLICK, onMouseClick);
function onMouseClick(e:MouseEvent):void
{

[Code].....

and create in AS3 a button for it (_myButton) with the text 'click me'

View 1 Replies

IDE :: Add A Description For Each Picture In A Text Field?

Apr 22, 2009

in the if statement below ? I'm looking to add a description for each picture in a text field... something like: if picture1 selected, text="", else if picture2 selected, text="", else text="";

[Code]...

View 2 Replies

ActionScript 2.0 :: Load Description Text With Images?

Mar 19, 2003

im making somekind of an imageloader flash files, with a next and previous button, and a square to load the *.jpg file, and another square to put a description text. how if i want to give a description text using a *.txt file who has the same name as the image file? how to tell flash to display texts inside a textfile in a square?

View 7 Replies

Flex :: How To Create Link Buttons With Data-Driven Text

Jan 23, 2011

I've made a component based on a mx:TitleWindow that contains linkbuttons that I'm using as a context-menu. The TitleWindow component contains link buttons like this:

[Bindable]
private var _showEmailThis:Boolean = false;
[Bindable]
private var _showApproveThis:Boolean = false;
[Bindable]
private var _showReviewThis:Boolean = false
[Code] .....

This component contains a large number of links and is re-used by multiple modules in the same application. Within each module, this component is used when a user clicks on a row in a datagrid. The code looks like this:

In "Requests" module:
private function dgRequests_click(event:MouseEvent):void {
menu.showApproveThis = true;
menu.showReviewThis = true;
}

In "Performance" module:
private function dgPerformance_click(event:MouseEvent):void {
menu.showEmailThis = true;
menu.showReviewThis = true;
}

As you can see, the visibility of individual linkbuttons is controlled within each module by setting boolean properties. If I alter this component to use a renderer, how can I control the visibility of the linkbuttons from the code in each module (there are over a hundred links with different functionality - not every link will be used in each module)? Note: it is not known from the back-end which grid within which module uses which link. This is set in the front end within each module's actionscript file. E.g., if the XML looks like this:
[Code] .....

And I set the Email link to show in the module like this:
private function dgPerformance_click(event:MouseEvent):void {
menu.showEmailThis = true;
}

How do I make it take effect? Is there a way to control the visibility of a linkbutton within an item renderer in a component from the module that uses that component?

View 2 Replies

ActionScript 2.0 :: Fetch 'description' From Xml And Display In Text Field?

Jan 21, 2009

I'm making a media player which has a playlist of 8 or 9 flv's, I'm using 'videosourcepro' as my basis.

What I need to do, is when a user selects from the playlist (populated dynamically from an xml file), the title of the selected track is displayed in the title_txt dynamic text field.

which I could perform the afore mentioned task?

I've uploaded my source files and you can download them here

View 4 Replies

Actionscript 3 :: Create Simplest Text Link To Open Visitors Email Client?

Feb 13, 2010

I would like to know the simplest way to use a text link and open a visitors email client.

View 1 Replies

ActionScript 2.0 :: Change The "description" Dynamic Text Field Text?

Jun 30, 2008

i have two button on the stage and a dynamic text field with instance name "description" in my movie.

i want to change the text of the dynamic text field on click of every button.

i dont want to use xml.

View 1 Replies

ActionScript 3.0 :: Mc Into Tooltip - Text Fields On The Stage That Display The Title And Description Of The Thumbnail Item?

Feb 11, 2009

bit stuck on something here and hoping that someone will be able to answer this question. i have a gallery generated via xml - i have three text fields on the stage that display the title and description of the thumbnail item.

[Code]...

not quite sure of the best/easiest way is to do it - call from the library and attach to mouse or something along those lines?

View 2 Replies

Actionscript 3.0 :: Create Html Link And Click The Link To Play Video?

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

How To Create An Email Link

Oct 13, 2001

How do you create an email link so that they click on the link and their send email (outlook or netscape) box pops up with the email addy specified in the send to box.

View 5 Replies

How To Create A Link In Flash

Jan 22, 2011

I've created an eye candy. When it's finished, i'd like it to be programmed to automatically time out (after 6 seconds) and go directly to another url without the user having to click on anything.

Currently i have a button that clicks to another url:
on (release) {
getURL("http://www.alteregostyle.com/company.html","SELF");
}

View 1 Replies

IDE :: Create A Downloadable Link From PDF?

Jun 6, 2009

How would you insert a pdf file into a flash website and have it become a downloadable link?

View 2 Replies

ActionScript 2.0 :: Create A Link From Xml?

Mar 8, 2004

I'm trying to create a link in a html enabled textfield, using an xml file.

However somehow this doesn't work:

Code:
main["item"+i].title.html = true;
trace(my_XML.firstChild.childNodes[i].attributes.action); // traces the attribute containing the url correctly

[Code].....

View 3 Replies

ActionScript 1/2 :: How To Add Description Tag

May 24, 2009

How to add description tag.I have an xml file that loads the pictures, but I want to add a description tag for each picture. Below is the xml file for this.add a description tag that would work?

<?xml version="1.0" encoding="UTF-8"?> <galleries> <!-- **&#160;&#160;&#160; Please read this information to learn how to add more galleries to your website. **&#160;&#160;&#160; **&#160;&#160;&#160; Here are all the galleries that you can use for the website pages. Each gallery has **&#160;&#160;&#160; an index or ID. With the help of index the gallery can be connected with the definite

[code]....

View 13 Replies

ActionScript 2.0 :: Add Description Tag?

May 24, 2009

I have an xml file that loads the pictures, but I want to add a description tag for each picture. Below is the xml file for this.

<?xml version="1.0" encoding="UTF-8"?>
<galleries>
<!--

** how to add more galleries to your website.

** Here are all the galleries that you can use for the website pages. Each gallery has

** an index or ID. With the help of index the gallery can be connected with the definite

** website page with gallery type.Also this page must have galleryID which should be equal

** Each gallery consists of the list of images. Each image has and url parameter and also

** width and height parameters that define dimensions of the box for the image.**

** It is recommended to use an XML editor to make changes to this file because it�s less

** possible to make an error in the markup which can cause a not working website.

** The recommended size for image_icon=333x333 px.
-->
<gallery id="1" name="nature">
<image image_icon="22598_nature_icon_15.jpg" image="22598_nature_b_15.jpg"/>[code]....

View 5 Replies

ActionScript 2.0 :: Text Scroller - Input The Text To Show As A Link

Nov 17, 2003

I dowloaded and played with the following scroller on this site... [URL] I see where the text is under Actions but I'm wondering if I can input hyperlinks and email links as well or will I only be able to use this with plain text. If formatting and links are allowed, how can I input the text to show as a link. Sorry, I don't know much about flash and just trying to make a simple text box with scrolling capability that will allow hyperlinks, bold, etc...

View 3 Replies

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

ActionScript 3.0 :: Create A Url Link With The Xml File?

Oct 19, 2009

I have been trying to understand how to create a url link with the xml file that my menu is driven by. what I have is a menu with text amd images reading from an xml file, I have created a third text field which I would like to use as a button/link that when click it goes to a url.this is what I have for my XML:

Code:
<?xml version="1.0" encoding="utf-8"?>
<data>
<image name="image 1" path="img/img1.jpg" [code].....

but this doesn't seem to work, am I missing something within the flash movie.

View 17 Replies

ActionScript 3.0 :: Create Link In Video?

Feb 7, 2009

I'm sort of new to flash. I've created a pretty nifty intro video for a website and I want to have an 'enter site' link appear at the end of the video.

View 2 Replies

ActionScript 3.0 :: How To Artificially Create A URL Link

Oct 5, 2011

for instance I have such a request;
(among 0.swf -1.swf - 2.swf -3.swf - 4.swf 5.swf)...
var req:URLRequest=new URLRequest("1.swf");

[code].......

View 5 Replies

IDE :: Add A Title/description To The Image?

Jan 19, 2009

I have the 3dwall feature - but i don't know how to add a title/description to the image. I have followed the instructions, - I don't understand what it is asking me to do.

View 3 Replies

Professional :: Text Disappears At Runtime When URL Link Used In Text

Jun 2, 2010

I'm having a little trouble using URL links in text. If I select a part of the text and give it a URL link (I'm using mailto: links here), strange things are happening to all the text in that text box at runtime in some cases the leading changes, other times some or all of the text disappears. But it only happens at runtime, so I have no way of knowing if or how to compensate. And simply removing the offending link or linked text doesn't fix the problem once the link has been created the only way to fix it is to create a new text box with no links.

View 4 Replies

ActionScript 3.0 :: Create A Link To A Movieclip Not Loaded Yet

Jul 2, 2009

Im making a website and in frame 1 on the main timeline I have mouse down code for a button in a movie clip not yet on the stage (it appears when a mouse_over event is triggered).[code]How do I create links for menus that arent yet being shown on the stage?

View 1 Replies

Create A Button To Link To Dreamweaver Page?

Oct 16, 2009

I'm making a website in dreamweaver with flash in it, I want to link an image that I have in flash to another page (.html) that I have in dreamweaver. When I first used flash and dreamweaver I had done it, but honestly now I completely forgot and can't figure it out. I know I didn't use any action scripts. I just put the page name (???.html) somewhere and it worked.

View 5 Replies

Flash :: Create More Than One URL Link In A Single (SWF) File?

Jul 19, 2010

I created a simple SWF slideshow in Flash with 5 slides. I was able to link one URL to the whole file by adding an alpha button.What I can't figure out is how to add a URL link to each slide. The SWF file i sused on a website and I would like to be able to click on a particular slide as it is playing to go the a site or page that applies to that slide.[code]...

View 3 Replies

ActionScript 1/2 :: Create Link To A Frame Label In AS2?

May 20, 2011

I need to create a link to a particular frame that uses a frame label in AS2, so the AS code would be within the time line on another frame. I can either do this with a hyperlink if that is possible or I can create a button and convert to a MC. Whichever way is easier.

View 4 Replies

ActionScript 3.0 :: How To Create A Blur Effect On Link

Jan 28, 2009

how to create a blur effect like on this link? [URL]

View 7 Replies







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