Link Within Dynamic Text...
i load my text from external txt files, but they're quite big. When loaded, is there a possibility to use buttons that link to specific point of the loaded text so that the user doesn't have to scroll all the way down to the point they want...
FlashKit > Flash Help > Flash MX
Posted on: 06-04-2004, 07:09 PM
View Complete Forum Thread with Replies
Sponsored Links:
Can Dynamic Text Have An Embedded Link? Or HTTP Link?
I'm using the Flash scroll bar componet, which uses dynamic text, and I want to link part of my dynamic text to a specific frame in my moive. - Is it possible?
- I've tried and it doesn't allow the 'Go TO' funcion.
so,
I created another HTML page and SWF to display the specific SWF screen that I want to show up - now I'm trying to link my dynamic text to '_self' so that when the link is clicked it will look like it is in the same site.
When I use the dynamic text and create the link, it appears to be ok/workable in the Properites panel, but when published, it doesn't work.
View Replies !
View Related
Loading External Text File Into Flash Using Links From Dynamic Text Field Link?
I am using a dynamic text field to load in .txt files with html tags. I have a couple "click here" type links that I would like to use to load a different .txt document into the same dynamic text field instead of a url link like it does default. Is this possible? I'm sure I could put a button over the text since its not long enough to need a scrollbar but I would like a more dynamic and flexible way to do this if its possible.
Thanks
View Replies !
View Related
Dynamic Text Link Problems (text Shifting)
Hello Forum
I'm struggeling with dynamic text fields containing html text from XML data. The data contains <a href="..."> tags that display not correctly. When the user rolls over the link the spaces left and right of the link shift to the left or the right. This appears to be the problem only when I set the antiAliasType property to "advanced". The problem doesn't happen with "normal."
Anyone else experienced this problem? Any workarounds? Am I missing something else when setting all the properties? Perhaps the order of setting the properties?
Any leads or thought much appreciated.
thank you
Stephank
Attach Code
Textfield creation class:
///////////////////////////////////////////
_movieClip.createTextField("txtMC", 1, 0,0, 1, 1);
_movieClip.txtMC.autoSize = "left";
_movieClip.txtMC.type = "dynamic";
_movieClip.txtMC.border = false;
_movieClip.txtMC.background = false;
_movieClip.txtMC.backgroundColor = 0xFFFFFF;
_movieClip.txtMC.borderColor = 0xFFFFFF;
_movieClip.txtMC.password = false;
_movieClip.txtMC.multiline = false;
_movieClip.txtMC.html = false;
_movieClip.txtMC.embedFonts = true;
_movieClip.txtMC.selectable = false;
_movieClip.txtMC.wordWrap = false;
_movieClip.txtMC.mouseWheelEnabled = false;
_movieClip.txtMC.condenseWhite = false;
_movieClip.txtMC.restrict = null;
_movieClip.txtMC.variable = null;
_movieClip.txtMC.maxChars = null;
_movieClip.txtMC.tabIndex = undefined;
_movieClip.txtMC.antiAliasType = "advanced";
_movieClip.txtMC.multiline = true;
_movieClip.txtMC._width = ConfigData.FAQS_ANSWER_TEXT_WIDTH;
_movieClip.txtMC.wordWrap = true;
fmt.font = "Verdana";
fmt.size = 10;
fmt.color = 0x222222;
_movieClip.txtMC.styleSheet = InstanceManager.STYLESHEETS;
_movieClip.txtMC.html = true;
_movieClip.txtMC.multiline = true;
_movieClip.txtMC.htmlText = _str;
_movieClip.txtMC.setTextFormat(fmt);
fmt.kerning = true;
STYLESHEETS:
/////////////////////////////
a:active,
a:link {
font-family:Verdana;
font-style:normal;
font-weight:normal;
text-align:left;
leading:10;
font-size:10;
letter-spacing:0;
color: #666666;
}
a:hover {
font-family:Verdana;
font-style:normal;
font-weight:normal;
text-align:left;
leading:10;
font-size:10;
letter-spacing:0;
color: #333333;
}
View Replies !
View Related
URL Link In Dynamic Text?
I need help with putting a URL link inside a dynamic text field. I tried to check the HTML box in the dynamic text tab and then I set the variable I was using for the text to have the html in it and then nothing came up. All I want to do is have a varible capable of setting itself to a different link according to a variable definition earlier. Help!!!! I don't know much about putting HTML in dynamic text boxes with variables.
View Replies !
View Related
Link In Dynamic Text
Hello, is that possible to make a variable contain a link and then load it into a text field?
I've tried the following :
VarText = "<a href="http://www.site.com>Site</a>"";
But that didn't work because of the second " that end the variable.
Is that possible to have a variable containning a "? Maybe theres a character that I can put in front of the " to tell that it's not the end of the declaration and that I want the " in my variable?
What I want to do is insert a dynamic link into a text field, anybody knows how to do it?
View Replies !
View Related
Dynamic Text Box Link?
ok i've data coming from a data base onto this page:
http://ijsr32.infj.ulst.ac.uk/~10214.../dj_names.html
some names have links to mixes ont hem, e.g DJ Ryan
What im wondering is can i make the data in the text box a link? automatcially,
E.g : when u click on DjRyan his mix is a link, but when you click on JamesL his mix becomes a link
u get me? any help will be great!
thanks!
View Replies !
View Related
Dynamic Text Link
hi,
I'm try to make a link inside a dynamic text box, box have the option render as html and i use this code:
... funcionamento em <A HREF="situação"></A HREF> de rotina, ocasional ... (not english, sorry), but the word "situação" must be a link (open a external movie), why this dont work?
help me pls
View Replies !
View Related
Dynamic Text With Link
i have a dynamic text box and i want to add a link to just a few words...i want the link to open a new window with pixel height and width that i determine...i know thats javascript but i can never really figure out how to do it right and this time i have no idea how to add that sort of script to a peice of dynamic text...i hope thats clear..please help
View Replies !
View Related
How To Link Dynamic Text
Hi. Very new to Flash - using Flash 8 Pro. I have a meeting this afternoon to throw around some ideas for using Flash on a website, and I'm in a crunch to figure out something that's probably pretty basic.
If you take a look at the .swf, my country map currently serves two functions:
1. rollover button displays some text information in a dynamic text box, when you mouseout it disappears.
2. clicking on the button takes you to the corresponding website.
My idea is to keep the mouseover/out as it is, but when you click on the button, it will keep the text visible in the dynamic text box, and the name of the school (text) will be the link instead. So once you click on the button, you can mouse over the text link and go to the website. (the button will also stay in it's green clicked state until you click on another button.)
My main question is how to make the text I'm sending to the text box in action script a link. I'll keep searching on here (just found out why my HTML pages don't load locally with Player 8), but if anyone can point me in the right direction I would appreciate it.
Thanks!
View Replies !
View Related
[CS3] Dynamic Text URL Link
Thank you for your interest in my post!
My problem is trying to create a url link within my .txt file that loads dynamically into my Flash movie. Is there some html coding involved? If this is possible, will it be possible to do dynamic e-mail link too?
Thanks!
View Replies !
View Related
[F9] Dynamic Text URL Link
Thank you for your interest in my post!
My problem is trying to create a url link within my .txt file that loads dynamically into my Flash movie. Is there some html coding involved? If this is possible, will it be possible to do dynamic e-mail link too?
Thanks!
View Replies !
View Related
Dynamic Text Link
I have this text file:
&gallery=There are three sets available to view in this section.
I am going on an expedition in Central America and will be bringing back more prints to be displayed, these images
are expected at the end of 2004.
<br>
Meanwhile please enjoy the sets available.
Set 3 is available to view in <a href="http://www.telfordswarehouse.com"><font color="#006699">Telfords
Warehouse</font></a>, in Chester.
The thing is I want this page to load up in a new window, how do I work the code, I know its _blank, but i'm not sure of the correct syntax.
View Replies !
View Related
Link For The Dynamic Text
Hi buddies...
Here i got stuck with a prob... i think it's simple, but still im not clear...
I need to link my dynamic text...
That data is comming from an array...
Is that possible to do...
Thanks in advance.......
View Replies !
View Related
Link In Dynamic Text
I am using Flash MX 2004 7.2 and the text I want to link is inside of a dynamic text box that has the scroller on it.
My problem is that I need to know how to make a link in a box of text that will go to another part of the flash movie. You can see the scolling box of text on the home page of this website: http://www.meridiantulsa.com/meridian.htm
As you will find, I've been able to make an external link, but what I want to do is make the "contact us" later in the same scrollable text link to jump to the contact us area of the flash movie.
Any help would be greatly appreciated!
Thank you!
- Mike
View Replies !
View Related
Dynamic Xml Text With Link?
Hello everyone.
I have a very simple xml file.
Code:
<article>
<link>
<site>Click for transfering to: <a href="http://www.google.com">Google</a>.</site>
</link>
</article>
I successfully load the xml into the stage,although the part <url= "http://www.google.com">Google</url> doesn't appear.Do I have to create a unique script in order that part of dynamic text to become a link?
Thanks in advance.
View Replies !
View Related
Dynamic Text Link, Via Xml
Hi All,
I have searched and searched, with no joy; I want to create a dynamic text link, where the URL is specified with a XML file. I am using Flash CS3 AS3.
Just a simple click on this text will send to user to the specified location defined via the XML file.
Anyone acheived this?
Any help would be very much appreciated.
Kind Regards,
Boxing Boom
View Replies !
View Related
Link Into A Dynamic Text
I would like to put a link inside a dynamic text that will call a frame label.
Ex:
dynamic text name : news.txt (loaded on timeframe inside a mc)
code:
loadText = new loadVars();
loadText.load("textes/news.txt", "_root.news");
frame label name : special
link inside my dynamic text to call special???
I tried: a href="home.swf" target="special"
but didn't work.
Does somebody can help me with that one. Thank's, CK
View Replies !
View Related
Link Within Dynamic Text
I have a dynamic text box that I made scrollable. I wish to add a link; however, when I make a text link, the entire context of the text box becomes a link. Is there a way around this?
If it helps, here is my code:
stop();
//ABOUT US SCROLL BUTTONS\
this.scrollDown.onPress = function() {
scrollDirection = "down";
scrollText();
}
this.scrollUp.onPress = function() {
scrollDirection = "up";
scrollText();
}
this.scrollUp.onRelease = function() {
delete _root.onEnterFrame;
}
this.scrollDown.onRelease = function() {
delete _root.onEnterFrame;
}
function scrollText() {
_root.onEnterFrame = function() {
if (scrollDirection == "up") {
newsInfo.scroll -= 1;
} else if (scrollDirection == "down") {
newsInfo.scroll += 1;
}
}
}
View Replies !
View Related
Dynamic Text Then Using Javascript On Text Link
I have looked for this in the search but may not be naming it correctly.
My problem is that I can load dynamic text into my flash movie using notepad. Can I then have a text link in notepad that uses Javascript to open a sized window?
I have tried but cannot figure this one out.
Thanks for the help.
viner1
View Replies !
View Related
Link Inside Dynamic Text Box
I've got a dynamic text box and i wish to put some links inside here.. but when i put the link with the html tag it just shows up as typed not with the actual link. I've go HTML ticked in the text options. So what am i dooing wrong?
View Replies !
View Related
Dynamic Text Email Link
hi everyone,
I have a dynamic text box on my stage in _level1, named "textcontent" that scrolls.
I have this code for its content:
_level1.textcontent = "blablalbablalabalbaablablablab
balbalbablablablablablablaaalablabl
AUBREY@AOL.COM ";
on _level3.
I don't know how to make the part of the code that says, "Aubrey@aol.com" actually mailto:Aubrey@aol.com.
Also I would like to make all the text white except "Aubrey@aol.com" which I would like to be blue.
How is this possible? thanks
View Replies !
View Related
GotoAndPlay Link From Dynamic Text
I am building a site for a client and I am using dynamic text boxes for the main body of text in each scene. There is a menu system at the top of each scene, but in one particular text box (loaded dynamically from a simple *.txt file with "Render text as HTML" turned on) I need to create a "link" from a few words in the text to another scene in the movie.
I know how to create an HTML link (using A HREF) in the text file, but in this case I am actually trying to use actionscript (namely a simple on release gotoAndPlay two liner).
Any help would be awesome. I'll go see if I can find anything on Macromedia's Flash TechNotes now, but if you have a solution, I may not find one on the Macromedia site.
View Replies !
View Related
E-mail Link In Dynamic Text
I'm using a pop-up window to display a static text (.txt) file. Is there any way to insert an e-mail link into the static text and have it show in the pop-up window??? Any help with this issue would be greatly appreciated.
FlashGuy
View Replies !
View Related
Controlling A MC From A Dynamic Text Link?
I tried searching for this, but the search keeps timing out. huh.
Anyway, I have a music bed going on a page, and then I have a link in a dynamic text box that opens a new pop-up that also plays music. I'd like to be able to stop the music bed on the page when that link is clicked. In order to do that, I need to tell on of my movie clips to go to a certain frame. Can I do all of that from a dynamic text field link?
http://www.tcurranmusic.com/work
(check the music page)
Thanks!
View Replies !
View Related
Link Properties In Dynamic Text
forgive me, gurus, if this is self evident.
is there a way to apply styles to link properties in dynamic text loaded from external text files?
i want the links to correspond to user choices: active link, visited link, etc.
tia
View Replies !
View Related
Dynamic Text Link Pop-up Stopallsounds?
Is there a way I can perform a StopAllSounds from a link within a dynamic text that ALSO launches a pop-up? You can see my problem if you go to the music page (click on the 2nd icon dwon on the right) at this site:
http://www.tcurranmusic.com/
The problem is that once thepop-up launches, I'd like to be able to play a sample of music, but the loop is still playing on the page that launched the pop-up.
Any help is much appreciated, this is really the last thing to do before we launch the site to the public.
Thanks!
View Replies !
View Related
Email Link On Dynamic Text
Hope some one have done this. I did search through this board but couldn't find an answer.
I need to add an email link to a selected text on a dynamic text box. (scrollable)
Appreciate if some one can give me an answer.
Thanks!
View Replies !
View Related
Dynamic Text And Link Problem
Hi ~ if anyone has any ideas on this problem it would help me out a lot!
I currently am using a text file with text and links that are read into flash with the appropriate variables. Everything works fine technically...I can see the text and when i click on my text it goes to the appropriate link. However, when using the dynamic links, it is very hard to "catch" the text. I have a rollover effect on my text box (that i turned into a button) that changes colors on the 'over' state. However, when i run my mouse over the text, its very hard to find where the mouse has to go to "catch" the rollover text. This only happens when I define the link dynamically in the text file. It works fine when i use the get_url action script and attach it to the button, but I can't use that function because i need to be able to update the links in the text file dynamically. Any idea why it does this? I hope I explained the problem okay...PLEASE HELP! any suggestions would be great
thanks!!!!!
View Replies !
View Related
Can Dynamic Text ... Link To E-mail?
I have a movie with a dynamic text field loading the VAR text and HTML rendering on.
I can link to a website just fine using <a href='http://www.blah.com'>Link Text</a>
But I get no responce from using Mailto:blah@blah.com as the href link..
I know Mailto: can be used in GETurl
How can I get a line of text in my Dynamic Text field to link to an e-mail address..
Any help would be appreciated.
View Replies !
View Related
Email Link Using Dynamic Text
How do you make a email link using dynamic text.
Currently I have...
_root.information.htmlText = "Visit <font color = "#3399CC"><u><i><a href="info@thirdtuesday.org">info@thirdtuesday.o rg</a></i></u></font> today!";
But, that does not bring up the email. Can you help?
Thanks.
View Replies !
View Related
Need To Add URL Link To Dynamic Scrolling Text
Hi everyone
Happy Friday! First, I would like to thank OldNewbie and Hum for their on-going help with this large project I have been working on. I have learned so much!!
Okay, so now I have this new dilemma...
I would like to add a hyperlink to a few diffetent set of words which are located in a Dynamic Scrolling Text Box. For instance, I list various universities where this dentist attended. He would like
View Replies !
View Related
Dynamic Text Link Question
I'm new to Flash and have probably a simple question, that might not be possible, I'm not sure.
I want to be able to have a scroll box that is populated dynamically by a html text file. I want the text to be links that will jump to a certain frame, to start another movie clip.
I want it to act like a flash button that has the action
on (press) {
gotoAndPlay(frame);
}
Is it possible to have the dynamic text links to act in this function, maybe using CF?
Thanks,
Brian
View Replies !
View Related
Dynamic Text - Hyper Link
Hi,
I tried this and I am just wondering why it fails to appear in my web page. I have the RENDER AS HTML property setting checked.
PHP Code:
<b><a href="www.yourlink.com" target="_blank">Your link text</a></b>
any clues?
Thanks,
_sf
View Replies !
View Related
Dynamic Text As HTML Link
Hi,
I have a simple Dynamic Text and i would like to make it ack like a button (so over, out, hit, and so on).
however, the text (as it is dynamic text) will change during the process.
i've setup a dynamic text that i converted to button.
however, i'm not anymore able to setup the text displayed by this button sinc it is as Button.
how is it possible ?
thanks a lot,
A.
View Replies !
View Related
Asfunction Link And Dynamic Text
Hi Guys,
Ive done a lot of searching and experimenting today and feel Ive got close, but I just cant seem to work this one out. Any help is appreciated
I am trying to have javascript popup windows open up using a function called by a dynamic text link. The function has 3 parameters:
ActionScript Code:
function loadurl(url, popupwidth, popupheight){
getURL("javascript:window.open('"+url+"','imagepopup','width="+popupwidth+",height="+popupheight+",top='+((screen.height/2)-("+popupheight+"/2))+',left='+((screen.width/2)-("+popupwidth+"/2))+',toolbar=no,scrollbars=no,resizable=no,menubar=no,status=no,directories=no,location=no'); void(0);");
}
I have defined my dynamic text using an array.
The array contains a asfunction link. But it is wrong somehow...when i test the movie using the width and height parameters after the link it trys to link to the url and then the rest of the script rather than passing the width and height values to the function. This is the link code:
ActionScript Code:
<a href='asfunction:loadurl,3dworkimages/image11anim.swf',400,200>Animation</a>
Any help is really appreciated. Thanks
View Replies !
View Related
Dynamic Text As HTML Link
Hi,
I have a simple Dynamic Text and i would like to make it ack like a button (so over, out, hit, and so on).
however, the text (as it is dynamic text) will change during the process.
i've setup a dynamic text that i converted to button.
however, i'm not anymore able to setup the text displayed by this button sinc it is as Button.
how is it possible ?
thanks a lot,
A.
View Replies !
View Related
Link To Another Movie In Dynamic Text
Hey guys,
Just joined! I have a Flash MX question that's been bugging me for the longest time, hopefully one of you can help. I have a dynamic text box in which I load text from an external text file. I want to have a particular word linked to another .swf file and have it load on the same _level (_level5 in my case) when the user clicks on the word. Is this possible?
For instance, I have "Hello this is some random text. Please click on here to go to some more random text." When the user clicks on the words "on here", I want it to unload randomtext1.swf from _level5 and load randomtext2.swf into _level 5. And ofcourse I need the text box to be dynamic.
Hope you guys can help!
View Replies !
View Related
Dynamic Text Link Color
ok, I have a mc that loads a list from an external file. The list is made up of links, which trigger AS scripts, that part works fine, what I want is for each of the links to change colors when you mouse over them. I don't care if they remember the links were visited, I just want them to change when you mouse over them.
Any idea's??
Tnks in advanced
Kelsey
View Replies !
View Related
|