Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash




Instructions For Creating A Textbox With Links In Mx2004



Can someone tell me how to create a textbox that scrolls in flash mx 2004, I also want links inside this scrolling textbox.



KirupaForum > Flash > Flash 8 (and earlier) > Flash MX
Posted on: 12-09-2003, 05:48 PM


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

Instructions For Creating A Textbox With Links In Mx2004
Can someone tell me how to create a textbox that scrolls in flash mx 2004, I also want links inside this scrolling textbox.

Links Within A Textbox?
I have never seen this done, that I know of, so it might not even be possible. But I have created a flash website with a dynamically loading textbox, which pulls text from a text file. Within that text file there are possibly at times going to be links. <a href="blah">Blah</a>. I've set up my dynamic textbox to read HTML. It works like a charm. If you click a link, bam opens up exactly what you wanted. However, some of the links within the text will be to other pages within the same site. I'm using one swf for the entire site and a movieclip for the navigation that when a button is clicked on a different text file loads. So how is it (if at all) possible to make a text/HTML link within Flash either A) go to another frame, B) go to another scene, C) load a movieclip or D) change the variable that represents which text file to read from.

For example, if I have Click Here to view the Calendar of Events as a text link within a body paragraph in my movie, where would I put the Calendar of Events (separate frame, separate scene, nowhere) and how would I call it by just clicking on the link.

Thanks in advance!

Links In Dynamic Textbox
Hi,
I did a scrolling textbox in Flash 5 and can't figure out how to integrate a link in the dynamic text in the actionscript window. Any suggestions?

Links Inside Textbox
hi,

something kinda bothers me about scrolling textbox..
is there a way to add link(s) to some of the text?
Thank you in advance,

shawn

Help Web Links In Textbox Not Working
I am loading a text file into my textbox, so my text is dynamic, now if I put a link into the text file like <a href="

Links In Dynamic Textbox
Hello,

I have a dynamic textbox of which render as html is selected.I am passing the link from php to flash.

Problems:

1. I have to pass a link which includes the char "&" and this causes problems.(Ex: index.php?go=1&show=3)

2. I wand the text to be alined at center but i couldn't figure it how,choosing aling center at flash does not work. Also i tried to pass the variable including the <center></center> tags but no use.

I will be glad if you can help me.

Thanks for taking your time

Flash Textbox With Links?
hi i am making a website in flash that is complete editable from txt files and i was just wondering is it possable to make links somehow? in the text file?

Links In Dynamic Textbox
Hello,

I have a dynamic textbox of which render as html is selected.I am passing the link from php to flash.

Problems:

1. I have to pass a link which includes the char "&" and this causes problems.(Ex: index.php?go=1&show=3)

2. I wand the text to be alined at center but i couldn't figure it how,choosing aling center at flash does not work. Also i tried to pass the variable including the <center></center> tags but no use.

I will be glad if you can help me.

Thanks for taking your time

Dynamic Textbox With Scriptable Links...
I'd like to create a dynamic textbox (with autoscrolling). The textbox will pull it's info from an external .txt file. The info it pulls will be a list of individual names... and each name will be a link in flash that will target an internal MC to load different content into it (i.e., another .swf.)

I'm guessing this may not be too difficult (?) - but I haven't done it before... anybody have any suggestions or perhaps template file for this?

Thanks,

- Brian

Dynamic Textbox Links Unstyled
Hello,

I have created a dynamic text box that is HTML enabled and I import text to it from a .TXT file. Everything displays correctly: <b> tags are bold, <i> tags are italic and <a> tags link to another webpage.

My problem is that when I use an <a href> the link looks like the rest of the text instead of being underlined or blue or some sort of link delimiter.

I would love to use CSS but alas, I only have FlashMX, not MX2004.

Does anone know how to make these links into obvious-looking links?

Thanks!

HELP-creating Links To .doc's And Creating Forms In Flash 5
right, how do i create a button in flash 5 that when pressed downloads a .doc file onto their desktop?(and how do i link to the .doc file?)

also how do i create a form in flash 5?

hope someone can help!!

mavis

Re: Can I Add HTML Links/data To Buttons In Flash 5 Or MX2004?
'best free porn clip'
(http://debemersv.bravepages.com/p/best-free-porn-clip.html) ,
jxws'anime free pornography'
(http://auahtauauryn.angelcities.com/p/anime-free-pornography.html) ,
gyqq'all american barrell'
(http://giainmeiitl.bravepages.com/k/all-american-barrell.html) ,
cyvj'black pumps'
(http://inaatiabilie.bravepages.com/d/black-pumps.html) , boyb

Re: Can I Add HTML Links/data To Buttons In Flash 5 Or MX2004?
ïðèâåòïèçäó âïåðâûå, 'íàéòè ïèçäó'
(http://pizda.rufreeporno.ru/map.html) , ïèçäà âèäåîðîëèêèãîë õóé
îçåðîâ, 'òåëêè ñîñóò õóè' (http://chlen-video.rufreeporno.ru/map.html)
, çàñóíóòü õóéñèñüêà íþ, 'ñèñüêè àíôèñà ÷åõîâà'
(http://siski-zdes.rufreeporno.ru/map.html) , ñèñüêè ôîòî
ëþáèòåëüñêîåâîíþ÷àÿ ïèçäà, 'âûëèæó ïèçäó'
(http://pizda-video.rufreeporno.ru/map.html) , äîáàâèòü åáóò ïèçäó ôîòî

Rollover Effect On Dynamic Textbox Links
I have a dynamic textbox that scrolls. inside is a list of different websites (much like the one shown on a kirupa tutorial). I need the hand to show up when it goes over certain links, or get a roll over effect (much like css). how do i do this?

Displaying External Links In Dynamic Textbox
Is there a way for Flash to read a list of hyperlinks from an external website into a dynamix textbox?

I understand how to read an external text file into a text box, but what if the text is hyperlinks within an external website?

Any help much appreciated..

Dynamic Textbox With Active Links That Have Actionscript...
I'd like to create a dynamic textbox (with autoscrolling). The textbox will pull it's info from an external .txt file. The info it pulls will be a list of individual names... and each name will be a link in flash that will target an internal MC to load different content into it (i.e., another .swf.)

I'm guessing this may not be too difficult (?) - but I haven't done it before... anybody have any suggestions or perhaps template file for this?

Thanks,
- Brian

PHP Links As Result In Flash8 Dynamic Textbox
Hi to all. I'm user that is able to make some good things using PHP 4 (version 5 is not interesting for me yet). After some time I saw many nice Flash based web site and I got idea to make Flash menu which is able to show results from PHP code. I wrote PHP code that read active directory and show files (PDF) as links in order to be selected and opened. I tested it and working fine but when I each link transfered by variable to Flash there it presented together with HTML formatting codes, without any presence that they are links! I made this textbox like dynamics, put code, activate option HTML and multi line but result is completely different! I tried and tried... and gave up. As last destination in my research I decided to try to find out here possible question. Thanks in advance to everyone. If someone need PHP code for better understanding I could show it and other things from Flash.

Using Multiple Html Links In A Dynamic Textbox
I cannot get the 2nd html link to show up when I publish my movie with this code of html in notepad:

&textfield=
<FONT FACE="Arial" SIZE="11" COLOR="#CFB685"><u><a href='http://www.yahoo.com' TARGET='blank'>Yahoo</a></u></FONT>
<P></P>
<FONT FACE="Arial" SIZE="11" COLOR="#CFB685"><u><a href='http://www.google.com' TARGET='blank'>Google</a></u></FONT>

http://www.prismaartist.com

Not Opening Links In Dynamic Textbox Pulled From LoadVars()
I have a collection of text files that I am pulling out of to generate text for a dynamic text box. It reads the files and the formatting properly. When there is an html link (<a href......) it won't let the link work. The cursor turns into a hand and acts as if there is a link. If I right click on the link it gives me the options to Open, Open in a new window, or copy link. If I copy and paste the link, it works. Whenever I just single left click on the link, nothing whatsoever happens.

Below is a segment of the text file that I am trying to pull. Reminder, it prints the text fine (it does not print the html code)
<a href="http://www.microsoft.com/athome/security/spyware/default.mspx" target="_blank">Microsoft Windows Defender</a>

I have tried with and without the 'target="_blank"' with the same results.

I am at a total loss, and facing a deadline. Any ideas?

Creating Textbox In Actionscript
Hi,

I have the following code to create a textbox in actionscript on the main timeline, but need to create it within a mclip:

_root.createTextField("theTextBox",20,50,50,200,300);
theTextBox.background=true;
theTextBox.border=true;
theTextBox.backgroundColor=0xFFFFFF;
theTextBox.borderColor=0x000000;
theTextBox.multiline=true;
theTextBox.wordWrap=true;
theTextBox.variable="myText";
myTextFormat = new TextFormat();
myTextFormat.font = "Arial";
myTextFormat.size = 12;
myTextFormat.color=0x000000;
theTextBox.setNewTextFormat(myTextFormat);

I'm sure that I need to change the '_root ' in the first line and replace with something like the instance name of the mclip,
ie. _mclip1.createTextField("theTextBox",20,50,50,200,300);

but I've tried this and it dosen't work.

Any ideas will be much appreciated.

Cheers

Creating Scrollers Outside Of A Textbox
Hello, hi I want to create a sample page for my portfolio, how do I create a scroller on something that isnt text? like another swf? Does this make any sense? To clarify a bit what I want is to be able to scroll another SWF or mc.
Thanks
Fidelity88

Creating Scrollers Outside Of A Textbox
Hello, hi I want to create a sample page for my portfolio, how do I create a scroller on something that isnt text? like another swf? Does this make any sense? To clarify a bit what I want is to be able to scroll another SWF or mc.
Thanks
Fidelity88

Error Creating Textbox With Scrollbar
I have followed a tutorial on this site to try and make a scrollable window of text and I now get an error at the point where the text should be visible on stage. Here is the error:

Symbol=window, Layer=actions, Frame=4: Line 1: ';' expected
Set Variable: "balkheight" = "200"

Could somebody please help me out here, or even better tell me an easier/better way to make a scrollable textbox. Is there a better way than this: (http://www.flashkit.com/tutorials/In...-532/index.php) to get the same/similar effect? Any better tutorials? I dont care, I just need this to work.

[MX2004] Creating Multiple Empty Movie Clips.
At the same time.
Can you do that?
I tried it and it just doesnt work, it creates the first one but the other five dont work and createTextField wont work after the first createmovieclip.
Why? lol

Dynamically Loading Url Text Into Textbox And Creating A Link From It
Dear all, I am trying to program in flash and as a bit of an amateur I have little idea of how to achieve my goal.

I want to load text into a textfield in flash, break it into substrings separated by white spaces and then retrieve substrings which have the character ~ in front if them to create links with. Any idea how i can achieve this?

thanx

Creating Links
I am new to flash MX. I want to know how to create a simple "link" from a test word
Like if I typed in "HOME" I want it to be a link . I know its simple but I cant find out how,

Creating Links
Hey how do i create a link to a website from my website?

Creating Some Links
Hello,

I need to create some links after the application has started taking data from arrays. For example, I have an array with titles:

title = ["one", "two", "three", "four"];

And another with IDs:

id = ["222","234","524","645"];

What I want is to create four links, with the data at "title" as text, and this code:

on(release) {
point = [Here it should go the id from the array];
gotoAndPlay(4);
}


I don't know how can I do this, how to create the texts once the application is running and assign them the code.

Please if you could help me...

PS: If I haven't explained something well, please let me know and I will try to explain it better.

Creating Links
Hello

When I use html in MX for making links I noticed that some of my links do not show when I am viewing the stopped movie. Then I click where it was supposed to show, then it appears.

Also, when I try to use mailto: links it runs automatically.

Any help?

thnx
dave

Creating Text Links
I am new, obviously, and I would like to know how you make a link in Flash without using a button...I know it has to do with dynamic text but I am lost after that....thanks ~Amy

Creating Links To Pages
Help... I've been trying to find any way to get this to work and nothing has worked so far...

I have a flash website template I am modifying. I want to have text on my page with a button or a link that will take the viewer to another page (within the website) using the same background, etc as all the other pages. Like when you hit a button at the top of the page on the navigation bar and it takes you to another page internal to the website. How do I do this?? Where do I create the new page I want it to go to and how do I actionscript it to read it correctly? I've tried everything I've found in tutorials and nothing is working. I have a lot of these buttons in my website and I'm hosed if I can't get it to work...

Thanks!!!

Creating Links To Different Sites
i cant seem to find how to link something to another site. it keeps trying to link to it with my site as its prefix. can i have some help?

Creating Links Dynamically
Does anyone know how to create links dynamically in Flash? I am building a site for a local band and they want to have a picture section so people can view photos from particular shows. Once the site is done they are going to maintain and add photos from different show dates. However they don't know flash so they won't know how to create a button and tell it what photos from what show to load.

I can do what I want it to do using php but they would like it to be done in Flash. Basically, I need to pull the show dates from a database or text file and then display the links for each show dynamically using an array. Once the user clicks a link, it will load the thumbnails into an empty movie clip that will also be added to the stage dynamically depending on how many images there are in the array. Then of course, once they click on a thumbnail it will display the larger image by loading it into an empty mc. How can I do this using Flash? Can it be done using Flash? Like I said, I know how to do this using php but don't know how to accomplish this sort of thing with Flash.

Thanks for your help.

Creating Email Links
I would like to create an email link in block of text
Can anyone advise?

Thank You
Kevin

Creating Xml Lists With Links
I was able to create a list component in Flash 8 and load the items from an
xml file, but I can't figure out how to make each line clickable in order to
work as a link. The code used to populate the list is:

form = new Object();
form.load=xmlConn.trigger();

The xml file is something like:

<?xml version="1.0" encoding="ISO-8859-1"?>
<articles>
<articles_items>
<title>Link text 2
</title>
<urlstring>article2.htm
</urlstring>
</articles_items>
<articles_items>
<title>Link text 1
</title>
<urlstring>article1.htm
</urlstring>
</articles_items>
</articles>

I intended to use the second field of each "articles_items", the "urlstring"
field, to associate with each "title" listing on the list component, so that
when "Link text 1" gets clicked it takes to "article1.htm". The instances
created are named articlesList, xmlConn, articles_ds.

Creating Links To Websites
I am trying to make a menu list with a button that when you select an option and click on the button it goes to a specific link...different for each menu option...
the add.item part of the button was me just playing around
how would i do this?
thanks

here is what i got so far:







Attach Code

import fl.events.*;
import flash.events.*;
import fl.data.DataProvider;

var dp1:DataProvider = new DataProvider();
dp1.addItem( { label: "Home Page" } );
dp1.addItem( { label: "page 1" } );
dp1.addItem( { label: "page 2" } );
dp1.addItem( { label: "page 3" } );
dp1.addItem( { label: "page 4" } );

List.dataProvider = dp1;

List.addEventListener(Event.CHANGE, Selected);
Button.addEventListener(MouseEvent.CLICK, Pressed);

function Selected(EVENT) :void {
trace("You have selected: " + List.selectedItem.label);
}
function Pressed(MouseEvent) :void {
trace("You have pressed: " + List.selectedItem.label);
dp1.addItem(List.selectedItem);
}

























Edited: 03/08/2008 at 12:38:15 PM by kool_kat_ac3

Creating Links With Random URL's
Hello... need some help with some basic actionscript 3...

I have multiple links on a page, kindof a treasure map, and want them each to open a random URL (from a list), so every time the swf loads, links will be in different places. What is the correct way to do this?.... Thank You!!

Creating HTML Links In AS3
Hi

I have this example here:
http://www.qwertypcs.co.uk/as3test2.html

This is using Thickbox, and this the code I am using in Flash:


Code:
eg1Mc.addEventListener(MouseEvent.CLICK, onClick);



import flash.external.ExternalInterface;

function onClick(event:MouseEvent):void
{
ExternalInterface.call("tb_show" , "Elizabeth Martin Website" , "images/slidec.jpg?cid=6&height=450&width=560" , false);
}


eg1Mc.buttonMode = true;
Where I have Elizabeth Martin Website as a caption how would I change this so I could have:

Elizabeth Martin Website
Click to see this site

Where click to see would obviously be a link to the site?

Can this be done in AS3 or would it be done via the javascript file that this code calls?

Creating Links Dynamically
hi again!

so, a friend of mine wants to create a newsroom on his flash web site that i've designed for him. he is currently able to create html press releases via a php admin that someone designed for him.

we want to display the dates and titles of the press releases in the flash website. clicking on a title will launch an html popup. how is it possible to control the dates and titles using the php admin?

I know how to create text in movie clips using an external txt file. I don't know how to make them links. The other problem is that titles would need to list in chronological order from most recent on down. I guess this would require something that pushes titles down as new ones are published.

Any suggestions? I'm not a programmer...

cheers,
;) jen


Creating Links To Swf Pages?
ok, sorry for being a n00b with all of this. i've got experience with creating websites, just never with flash. i've searched through countless tutorials, sample source files and such, and yet i cannot find the answer to what i'm sure is a very simple organization problem. i'm attempting to create an all flash site (first time with flash) and have figured out the basics of the timeline, ie. creating buttons with actions that will move you throughout the timeline (gotoandplay). in other languages, i'm used to creating buttons that will put you straight to another page, say a picture page. with flash, my main page loads, and i want to have a button that takes you to another page, with pictures on it. however, i'd like to avoid making the link to another swf file, thus making the user have to wait while this new page loads. i guess what i'm asking is: is there a way to have flash load several "subpages" that will be linked to througout the site? any sourcefiles or keywords would be greatly appreciated. thanks

CREATING LINKS In News Scroller?
I am creating a news scroller in flash and wanting to know the HTML/ACTIONscripting for creating links in a text box

eg.. 26/6/01
If you want the lowdown in actionscripting
go check out FLASHKIT.

..FLASHKIT is what i need to be the link

.................................................. ..........

In HTML it looks like this:

<br>
26/06/01<br>
If you want the lowdown in actionscripting go check out <a href="http://www.flashkit.com/" target="_blank">FLASHKIT</a><br>

i have tried this in the flash scroller(text box) but it dos'nt understand it...

any help would be GREAT!!

CHEERS
Mdesign....

Creating Links From Within Scrolling Text
Can anyone advise me on how to create dynamic links within scrolling text? It is my thesis and I would like to link to images and movies from within the scrolling text based content.

If possible to return to the same point the user left?

Thank you

Problem Creating Download Links
I have done a fair bit of searching for this, but not getting anywhere.

I am working on a Flash site where there is a section for downloading files.
2 of these are MP3 and one is a video file [wmv in this instance].
When the user clicks on the link, however, they all start to play in the browser or Windows Media Player, whatever the default media-player happens to be.
What I want is a direct download.
Is there a way that I can just have the files download to the users desktop without playing?

Please halp if you can. It's driving me nuts!!!

many thanks

MArl

p.s. I am using Flash MX...

Creating Links In Flash Via A Php Admin?
hello

a friend of mine wants to create a newsroom on his flash web site that i made for him. he is currently able to create html press releases via a php admin that someone else created for him.

we want to display the dates and titles of the press releases in the flash website. clicking on a title will launch an html popup containing the news story. how is it possible to control the dates and titles using the php admin and have it display in the flash?

I know how to create text in movie clips using an external txt file. I don't know how to make them links. The other problem is that titles would need to list in chronological order from most recent on down. I guess this would require something that pushes titles down as new ones are published.

Any suggestions? I'm not a programmer...

cheers,
jen

Creating Links From Text Boxes
Hi, Iwas wondering f anyone has any help/solutions to the following problem?

I have a page of text in a dynamic text box, and have added a simple up/down scroller to it.

At certain points of this text I would like to place a link that would either jump to a new scene or load a movie onto the existing canvas.

The problem I am having is creating the button to do this and making it scroll up and down with the text.

For example here is a chunk of text:

Chemoprophylaxis for malaria is a continuing challenge for us, claimed Dr Zuckerman.ref1 There is universal resistance to and loss of confidence in antimalarials, which means we have to look carefully at important new developments to find out what might help protect travellers. these developments include the use of combination treatments, particularly in view of the widespread, ref2 multi-drug-resistant P.falciparum.

Where i have ref1 I would like to create a link (either txt or graphically) which would scroll up/down with the text.

Any help will be greatly appreciated.

thanks

Creating Links Within A TextArea Without HtmlText
I've searched and haven't found info on this, so forgive me if it's been touched on before.

I'm creating a website that loads different content into a single TextArea depending on which button you press. The TextArea's appearance is controlled using the SetStyle method. However, to for this to work, it looks like the TextArea's "html" parameter needs to be set to "false."

No big deal, except for one button's contents, I need to include hyperlinks, which don't work with "html" turned off. Is there another way to create hyperlinks that would work with this setup? Or is there a better way to control the TextArea's appearance that doesn't require turning off the "html" parameter?

Any info on this would be greatly appreciated. Thanks!

Trouble Creating Links In Flash 8
I just started using Flash 8 and i am having an issue making links for some reason.

i have the button all setup and i put in the script

on (release) {
getURL(www.thepeoplemusic.net/news);
}

and for some reaon when i try and test out the link in my browser it gives an error message and the address bar reads

http://www.thepeoplemusic.net/NaN

i tried putting in http:// and that didn't work either.

and help solving this problem would be very helpful! Thanks!

Creating Links (I Know This Will Sound Stupid...)
Hello.
I know this might sound stupid and newbie but...
how to create links in Flash? I am working on a website and
working on a text in which I'd like to link some external URL's that
should be opened in another window.
Thanks!!

Problem In Creating Dynamic Links
Hi,

I am trying to create dynamic links for dynamically created labels.But the link is not working.pls help me to do this.The following is my code

var linkName:Array = ["contactus", "feedback", "faq", "help"];
var linkURL:Array=["http:\contactus.jsp","http:\feedback.jsp","faq. jsp","he.jsp"];
public function createmnu():void
{
var i:int = 0;

for (i = 0; i < linkName.length; i++)
{
var label:Label;
label = new Label();
label.height = 15;
label.htmlText =<a href='event:{linkURL[i]}'>{linkName[i]}</a>;
//label.htmlText= "<a href='" + linkURL[i] + "'>" + linkName[i] + "</a>";
//label.addEventListener(., links);
label.addEventListener("link", linkHandler);
label.setStyle("fontSize", "10");
label.setStyle("color", "navy");
hh.addChild(label);
}
}

public function linkHandler(event:TextEvent):void
{

Alert.show("sss");
// Open the link in a new browser window.
navigateToURL(new URLRequest(event.text), '_blank')
}

Copyright © 2005-08 www.BigResource.com, All rights reserved