Linking In Dynamic Field Question.
I want to link a word in a Dynamic Text box....
Code:
tex = "this is the text that gets called in from the text box. click here would be the text i want to link to a webpage.";
I keep getting errors. The text box is set to accept HTML, but i can get a link to open in a blank window.
Thank A MILLION for your help in advance, manny
FlashKit > Flash Help > Flash ActionScript
Posted on: 07-25-2005, 07:00 PM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Linking A Combo Box To A Dynamic TXT Field?
Hey All.
I am trying to link a combo box to a dynamic txt field that pulls in txt files and has the ability to scroll... I dosen't have to be dynamic of anything.. I just need it to work PLEASE GOD HELP!!!
Linking Form Field To Dynamic Text Box?
Hi,
I was wondering if it's possible to link a form field to a dynamic textbox in such a way so that when text is entered into the form field, it shows in the dynamic text box? I need it to handle backspace as well as just highlighting the chars and deleting them from the form field as well.
No Right-click, And Dynamic Text-field Linking.
Hi! I'm new here, and need a smidge of help.
I've made my site, ready for upload, but I don't want that crazy right-click menu-thing to appear. I hate it! So, is there a way to get it to not appear?
Secondly, I've made a dynamic text-field, and a .txt file. The text-field loads the .txt as it should, except for links. How do I get these links to appear?
One more thing! I have this nifty custom-cursor icon. But, when I move it over dynamically-loaded text, I see the I shape thing as well. Can I change the "I" shape-thing?
Thanks!
Linking Inside The Dynamic Text Field
Hello,
Does anyone know if this scenario is possible?
i load text inside the dynamic text field, I have links in the text that I want to load new text files inside the same text field ( and of course I want my scroller to work with the new text)
Anyone know if this is possible, and if there is a tutorial for this?
Thanks so much in advance
Diana
No Right-click, And Dynamic Text-field Linking.
Hi! I'm new here, and need a smidge of help.
I've made my site, ready for upload, but I don't want that crazy right-click menu-thing to appear. I hate it! So, is there a way to get it to not appear?
Secondly, I've made a dynamic text-field, and a .txt file. The text-field loads the .txt as it should, except for links. How do I get these links to appear?
One more thing! I have this nifty custom-cursor icon. But, when I move it over dynamically-loaded text, I see the I shape thing as well. Can I change the "I" shape-thing?
Thanks!
Linking External .txt File To Dynamic Text Field
I learned this once, just can't seem to put it together though.
I have a dynamic text field in my .fla and an external .txt file I want loaded in it. The field has a variable name and instance name set, how do I make the text document readout in the field?
Thanx in advance...
Calculating Input Text Field To Dynamic Field (easy Action Script)
hi. i'm trying to learn action script and i need help with this bit. i'm trying to use action script to calculate my brothers ages based on my own.
using flash MX. i have an input field called "my_age" and two dynamic fields called "eli_age" and "jacob_age". eli is 4 years younger and jacob is 6 years younger. i want to be able to enter my age in the "my_age" input field and then click a button that will calculate their respective ages.
here's the fla if i haven't been clear.
thanks for any/all help,
josh
Input Field Multiline> When Dynamic Multil Field Shows That Data From Mysql But No Wr
Hi,
A form with an input field that is multiline and called "description" send data to a MySql database (PHP).
Another Flash page contains a dynamic field that is also multiline and that displays the content entered in the form.
This dynamic field has a vertical scrollbar.
The problem is that the content displayed in the dynamic field DOESN'T wrap at all (the dynamic field is but on MULTILINE) and so you miss all the text that is larger than the dynamic field.
How can I fix this?
Thanks in advance.
Asp Database Field Loaded Into Dynamic Text Field -HELP
Hi all,
after much trial and error and still having troubles i thought i would ask people that maybe know what there doing.
Im using Flash 8 pro, and have placed textarea component on stage and gave it an instantce name, need to pull a single record from a record database using asp.
This is my approach but if there is an even easier way let me know.
I have created the following pages.
webpage.asp (end result web page that shows the text field to user)
script.asp( asp script that sends data back/forth to flash
i used the FlashVars param to pass a variable into the flash movie.
variable is named auto_num. im using this to then pass it back out of flash to filter the recordset.
then on the flash movie.swf. all on root level. i have the following code
var text_value; //(this is the value sent back from asp page string)
//not sure if i needed to declare it but did anyways.
var_sender = new LoadVars();
myData = new LoadVars();
var_sender.auto_number = auto_num //(auto_num is loaded flashvars param)
myData.onLoad = function() {
my_text_1.text = this.text_value
};
myData.sendAndLoad("http://www.********.com/script.asp", myData ,"POST");
on the script page i have a record set that filters for form variable named auto_number. all of code is in asp. I call a response.write to write the text_value back to the flash movie.
here is the heart of the script.asp code. not showing the record set filtering stuff.
<% Dim text_value
text_value = "text_value="&(Recordset1.Fields.Item("long_des"). Value)
response.write(text_value)
%>
but i get undefined and can never get the variables to load into the flash movie. i want to export as flash player 6 or 7. what am i doing wrong here?
So in a nutshell, i have an asp page that shows a record and would like to display the long description field of that record in a flash dynamic text box.
I can make it work by passing the entire long description from record set within the flashvars param but that seems like a real clunky way to do it pasing that much text within the flashvars param.
Does anyone know of simple database connectivity kits that extend flash for the semi-programmer guys?
Text Input Field Not Linking To Scene?
I have a text input that will link to a given basic frame, but I want it to link to a specific frame inside a Movie Clip. Code for going to basic frame is below:
ActionScript Code:
stop();
if (Key.isDown(Key.ENTER)){
if (textinput.text == "word"){
gotoAndStop(2);
}
}
Linking A Flash Username & Password Field To An Html Variable
Hi everyone....i am working on a website in flash and would like to have a username and password field on it for logging into my webmail feature. Now, i dont know if this is possible, but i would really appreciate any info on how i could possibly do this! thanks in advance!
Dynamic Text Field And Dynamic Xml Field
Good evening,
After days of debugging, I find myself cornered by identifying the absence of content in a dynamic xml field.
I am trying to build a function that will move the playhead to a new frame "waiting" when the field is undefined. When the field is populated, the playhead will move to an active frame "vote".
I have attempted several variations on the following code and nothing has worked as of yet.
if (_root.mc_xml.b1v.text=="") {
trace("waiting");
} else if {
trace("vote");
}
// never got it to print anything but vote
There are five possible strings that can dynamically populate b1v from the xml: "Aye", "Nay", "Abstain", "Absent", "NP".
When the vote is complete the xml nodes and their children disappear and flash sees the xml text field as undefined.
What is the correct AS to target or check for null or undefined?
is null
=null
!=null
=undefined
is undefined
!=undefined
I just need a boolean answer. Please someone release me from this loop.
Thanks
Dynamic Text Field Receiving Dynamic Variables...
or something like that . . .
This is my problem: I'm generating _global variables via XML. Each variable represents different types of copy, of varying lengths. For Example:
_global.introduction = xmlDoc_xml.firstChild.firstChild.nodeValue;
_global.body = xmlDoc_xml.firstChild.firstChild.firstChild.nodeVa lue;
_global.summary = xmlDoc_xml.firstChild.firstChild.firstChild.firstC hild.nodeValue;
I want to create ONE text field, with scrolling, that will act as a template to house all types of content. I've assigned a variable that equals "content" to this text field. . . My problem is, I can't get the text field variable (content) to dynamically swap for the global variable (_global.introduction) in order to display the proper content.
This seems simple, but something's not working for me. Any thoughts? . . . BIG thanks in advance!
Dynamic Length Of Dynamic Of Text Field?
is it possible to set the length of a dynamic text field so that the text flowed into it fits perfectly.
I need this so that I can get the _width of the movie clip it sits in.
help appreciated guys.
Dynamic Text Field - Dynamic Size
Hi all
I am trying to do a tooltip that loads a var from database into
a dynamic text field
This I want to customize with a backgrund movie
pls see my illustration!
Because I dont want to have a static size of the background movie
I hope there is a way to make it scale to the textfield
All Ideas welcome
Have a Nice day
Flemming
Calling Dynamic Content From Another Dynamic Field
Hi ppl
I am new 2 this forum and i am quite week in Action Script !!!!!! I have been posting this 2 almost all forums possible but failed 2 get the apt reply !!!! If any 1 here Knows the sollution plz tell me in a bit lucid way so that i can grasp !!!!!
My question is :
How can v load data into a variable from a text file by clicking on a hyperlink created in HTML!!! In fact my intention is 2 load a text file containing the hyper link, first and then after pressing the link another text file gets loaded !!!! in its place !!!!!! Hope u get me !!!!
Hopefully
JIkku Jose
Jiks
Linking External Text Files To Load Into A Text Field
hmmz.. i followed this tutorial.. http://www.flashkit.com/tutorials/In...40/index.shtml
Actionscript for Flash 5 dummies: Scrolling a text box II
so i manage to get everything to work so far minus the scroll bar which i omitted..
now i would like to be able to have different buttons to load different text files externally into the same text field..
what code shld i put for this buttons??
the movie clip of the textfield+scroller is called textbox
the textfield is called textbox2
the var of the textfield is called welcome
hope someone understands me..
Trying To Pass Text From Form Text Field To A Flash Dynamic Text Field
Hi, I was hoping someone might enlighten me as to how/if I can do this...
Currently I'm using javascript which works fine to pass text from textfield A to textfield B:
Code:
window.onload=function()
{
document.forms.form1.shirtText.value=document.forms.form1.KitGroupID_16_TextOption_38.value
}
Is there a way to pass the textfield A text to a dynamic text input (flash) as I'd like to use the font embedding flash offers. I can make it work when loading a value from a txt file but I'm not sure how to access the value identified above as KitGroupID_16_TextOption_38 and make it appear in a dynamic input box. Eventually I might want to have 3 font choices for the user but I'd like to just see if I can get this working properly first.
Your help/advice would be greatly appreciated,
-Scott
Dynamic XML URL Linking
hey all,
h'm having a few problems with getting URLs form an XML file to attach to the images that are fed into flash through XML. one part if the problem is taht i can't seem to convert the images into a button, the next would be linking the URLs that each one has those buttons.
XML code:
<?xml version="1.0" ?>
<links>
<link image = "3dbuzz.jpg" URL = "www.3dbuzz.com"/>
<link image = "hotlinks.jpg" URL = "www.hotlinks.com"/>
<link image = "kirupa.jpg" URL = "www.kirupa.com"/>
<link image = "tutorialized.jpg" URL = "www.tutorialized.com"/>
<link image = "gotoandlearn.jpg" URL = "www.gotoandlearn.com"/>
<link image = "dreamhost.jpg" URL = "www.dreamhost.com"/>
<link image = "flashkit.jpg" URL = "www.flashkit.com"/>
<link image = "raph.jpg" URL = "www.raph.com"/>
<link image = "cgtalk.jpg" URL = "www.cgtalk.com"/>
<link image = "3dtotal.jpg" URL = "www.3dtotal.com"/>
</links>
A.S. 2.0 code:
xmlLinks = new XML();
xmlLinks.ignoreWhite = true;
xmlLinks.onLoad = function(success) {
link = this.firstChild;
linklength = link.childNodes.length;
for (i=0; i<linklength; i++) {
linkImage = this.firstChild.childNodes[i].attributes.image;
linkURL = this.firstChild.childNodes[i].attributes.URL;
newPiece = sliderholder_mc.attachMovie("template", "piece"+i, i);
newPiece._y = i*25;
newPiece.holder_mc.loadMovie("images/links/"+linkImage);
}
};
xmlLinks.load("links.xml");
Input Text Field To Dynamic Text Field
Ok, I have an input text field with a variable name of "enter", and a dynamic text field with a variable name of "display". I also have a button on the stage. I want it so that when you press the button, it checks what the user has put into the input text field, and if it is valid it will display a certain message in the dynamic text field.
For example:
If the user types in "hydrogen" and then clicks the button, I want the dynamic text field to display the letter H. Likewise, if the user types in "oxygen" and then clicks the button, I want the dynamic text field to display the letter O. And finally, if the user types in something that is not specified in the code, it will just display "Not Valid".
I tried doing this with an on(release) action and then some if statements, but nomatter what I typed in it would always display H. I'm probably overlooking something simple, but nonetheless, I need help. Thanks
Input Text Field Into Dynamic Text Field
Hey guys,
I'm really new to AS 3.0. I would like to transmit information from an input text field into a dynamic text field once a submit button is clicked.
Any help would be greatly appreciated.
I'm using CS3 AS 3.0. Thanks!
Linking In Dynamic Text
Hello,
Is there a way that i can link in scrollableText? If so how can i open pop up window with a fixed width and height, ya know like javascript pop up windows.
If you can help me i would be very gratefull
-DraculaS
Linking From Dynamic Textfields
I have a textfield containing various names that i wish to convert into links:
textfield="link1
link2
link3";
I want these fields to be regular text links, like in HTML, but loading seperate MC's into a given target.
Is this even possible? would i need to use different scripting to acheive this?
help!!!!!!
Dynamic Text Box, LINKING
I have a dynamic text box in which text is loaded into it from a txt file. Is it possible to have, say, three separate text boxes, linked together somehow, so that the document(txt) flows through them all?
Linking Dynamic Text
We're working with Flash 5 (yeah, I know MX can do this, but for a variety of reasons, we've chosen to implement using 5) and are seeking to link dynamic text to a mailto: link.
Essentially, someone comes to the site, when they login their email address is passed to the final flash file, fill in some other text to create dynamic text within the flash animation and 'voila' a dynamic flash-based movie is created (similar to Blue Mountain Arts).
What we're trying to do is lik the email address (passed during login) as a mailto: link so that when the receiver 'clicks' on the link, their email program opens and they can send an email.
Thoughts, suggestions, ideas?
Thanks.
Linking Dynamic Buttons
I have buttons that are made dynamically, that is, the number of buttons displayed is decided upon a global variable that is changed when you select a certain button from the main navigation. now my problem is, how do make it so when you click on this sub navigation i made dynamically, have it choose from an array I've made earlier...
for(y = 0; y < yMax; ++y){
for(x = 0; x < xMax; ++x){
clip = attachMovie('boxMC', 'box' + x, x);
clip._y = yCenter;
clip._x = (x -(xMax - 1)/2) * dist + xCenter;
clip._xscale = clip._yscale = 50;
clip._alpha = 0;
clip.onEnterFrame = move;
}
}
that makes my sub nav. eace of the 'boxMC' movie clips have a 'button' button inside them. I though I would just be able to say...
clip.button.onRelease = function(){
trace(partsArray[x];
}
but that only gives me x being the last number (xMax).
does this make any sense?
Dynamic Deep Linking?
I really really wanna know how this is done...the site records each section of the flash interface to the url.....which makes it possible to access each section of the site via URL directly! I WAANNNA KNOW HOW IT'S DONE!!!!
Linky!
Linking From Dynamic Text
Okay, I don't think you can do this, but I hope I'm wrong. I have a dynamic html text box that is loading in text from an XML string. I can get a link to a website to work using an <a href=...> tag. However, I also need to be able to link to another location in my site.
Basically, I need a dynamic text link to call some actionscript. Anybody know how to do that or if it is even possible? Thanks!
How Do I Go About Linking From One Dynamic Text To Another
when the page loads I have a dynamic text box with content.txt loaded already in the dynamic text box. I want to have a button next to the area so when you click on it...it loads aboutus.txt into that same dynamic text area. Can that be done? Im sort of new to actionscript, so go easy on me!
Linking Dynamic Text
Hey
I'm using dynamic text in a Flash project... I want to be able to link certain chunks of text to various URLs. I was hoping I could just link text like I would with HTML. I have no idea how to do this in Flash.... I messed with getURL a bit, but it did nothing specific to the text I selected.
Thanks in advance for your help.
Dynamic Deep Linking?
Are there any tutorials out there for dynamic deep linking in flash?
(The technology that 2A applied in their v5. Attractor, which makes browser operations such as bookmarking and back buttoning possible)
Linking Dynamic Text
Hi there, i was wondering if you could help.
I'm having trouble using hyperlinks in my dynamically loaded text.
I have selected the 'render text as HTML' button, to no avail.
I'm a bit of a noob.
Here are the files, thanks in advance!
Linking In Dynamic Text Box
Hi,
I am currently working on a piece which has numerous links inside scrolling dynamic text boxes and need help urgently.
Some of these links are to external webpages, and for those I have rendered the text as html and linked them that way. However, I was wondering if anyone knew if there was a way to link internally to another frame within the flash file in this same manner.
Because they are in a scrolling text box and (please correct if i'm wrong) i cannot group buttons so that they move with the scrolling text, I need away to do this similar to the external links.
If anyone can help....I will be eternally grateful!!!!
Linking Dynamic Buttons
this is in Flash 8
If I make buttons using....
Code:
duplicateMovieClip(_root.newsBox.newsCount.allNumbers.newsNumber, "newsNumber"+(i+1), 5+i);
_root.newsBox.newsCount.allNumbers["newsNumber"+(i+1)].digit = (i+1);
how do i make the deployed buttons hold a link...?
on release;..... i want to change the loaded content - image and text.
at the moment i have previous and next working - but cant make the jump buttons function.
?
I have the button tracing "this.digit" which is the number assigned to each button, can't make it link to the content. Do i need to "push" the number to an array...or similar?
Dynamic Deep Linking Help With AS2 Please?
I was referred to the SWFAddress script, but I have been unsuccessful getting it to work with AS2. Does anyone have experience with this or have another suggestion on how to setup and use Dynamic Deep Linking with AS2 for flash CS3?
Thanks a million!
Rich
Dynamic Linking Between Servers
I've had a search around the forum but I can't find exactly what I'm looking or and am unsure of the terminology to narrow my search.
Basically, my client has a master server with some flash files on it with three access points to that master server:
•The local Intranet for staff ( http://localhost )
•The Internet ( http:// )
•Secure Internet for transactions etc ( https:// )
What I need is some code that will find which access point they are in, get that url and then insert it in front of a loadMovie command on a button or movieclip.
An example of what I mean:
Staff on the Local Intranet click on a button, the code reads they are on the http://localhost access point and then directs them to a file in a folder http://localhost/content/images/ .
I only have a basic understanding of actionscripting so any help/ information would be greatly appreciated as this is quite an urgent project.
Linking Dynamic Text
We're working with Flash 5 (yeah, I know MX can do this, but for a variety of reasons, we've chosen to implement using 5) and are seeking to link dynamic text to a mailto: link.
Essentially, someone comes to the site, when they login their email address is passed to the final flash file, fill in some other text to create dynamic text within the flash animation and 'voila' a dynamic flash-based movie is created (similar to Blue Mountain Arts).
What we're trying to do is lik the email address (passed during login) as a mailto: link so that when the receiver 'clicks' on the link, their email program opens and they can send an email.
Thoughts, suggestions, ideas?
Thanks.
Linking From Dynamic Text
Hey
I am useing createTextField() to dynamicly create 12 text fields. I need to be able to link from these fields. I know there is a url option for the text field using TextFormat.url. But i dont want to link to a external soure. i want to move to a frame in the current swf. is there any way of doing that, if so could you point me in the right direction?
Thanks
Linking Dynamic Text
Hello,
Really new to Flash - using Flash MX 6.0.
I am able to read in variables from an external file to display in a Dynamic Text Field. Can I also read in a link variable to make this dynamic Text field a link?
Have been searching, but no luck in finding an answer.
Thanks in advance,
Andrew
|