Variable Text Fields
Hi,
I have tried to work this out for quite a while now.
I have some dynamic text fields in my movie.
if (language == "danish") {
myVar = "TEXT IN DANISH";
}
if (language == "english") {
myVar = "TEXT IN ENGLISH";
}
now once i start my movie the text field is set to danish.
I have a button which Ive called english and its actions are
on (Release) {
language = "english";
}
but the thing is that the text doesn't change into english once I've clicked the button?
I would be gratefull for any help?
FlashKit > Flash Help > Flash ActionScript
Posted on: 11-03-2004, 12:57 PM
View Complete Forum Thread with Replies
Sponsored Links:
Variable In Text Fields? Plz Help
I have made a movie and used duplicateMovieClip and made 6 instances name pie1 through pie6, I have 2 text fields in them and I want the textfields to display different variables out of the root. for example:-
in root:
clientName1 = "Client1 Example";
clientIngress1 ="Example Text";
clientName2 = "Client2 Example";
clientIngress2 ="Example Text";
How would I make it so in pie1 the 2 text fields show clientName1 and ClientIngress1 and pie2 showed clientName2 and clientIngress2
Please help
Many thanks
m00p
View Replies !
View Related
'get Variable' Text Fields Made Transparent?
Y'know when you make a text field or text box editable for
use with 'get variables from a .txt file' and the box
becomes white as opposed to transparent?
There must be a way around this so it can fit seemlesly into
your site of a different colour? no?
Version 4 that is.
If not, can other versions of Flash support this??
thanks
View Replies !
View Related
Variable Instance Names For Text Fields?
I am wondering if it possible to create a unknown number of objects and give them instance names using variables and then refer to them using other variables. For example, create n text fields named field_1 through field_n and then assign text to them somehow using field_var. I'm trying to make a calendar that displays the current month based on system time, though I can think of a great many other uses for this kind of thing. I'm just not at all sure how to go about doing this or if it is even possible. It seems as though it should be. If this isn't clear enough let me know and I shall try to explain myself a bit better. I was able to do the following but there were issues:
Code:
for (i=1;i<31;i++)
{
this.createTextField("date"+i+"_txt",1,thisX,thisY, 50, 50);
}
The first problem I have with this is that later on I cannot do this:
Code:
datei_txt.text="whatever";
and to boot, when I ran the debugger it turns out it doesn't create 30 instances, it just keeps destroying the previous one and replaceing it with the new so that at the end I only have one field with an instance name of date30_txt.
So how can I create this effect in a different manner?
Thanks in advance,
~NH
[edit] I had another though aswell, createing an array of text fields, but I can't figure out how to create a text field within one element of an array object so that I can refference them through the array's index.
View Replies !
View Related
Targeting Variable Text Fields In Movie Level 1...
How do I target a dynamic text field called 'box_text' sat in a movie clip called 'mouse' that is in a movie 'mouse.swf' I have loaded into level 1?
I need to be able to update the text within a mouse tool-tip / help box as it rolls over a diagram. The loaded movie clip is loaded in level 1 and all of the dynamic text box and surrounding graphics is within a movie clip called 'mouse' that is dragged around the screen by the user.
At the moment I am using:
with (_level1) {
mouse.box_text = "Welcome";
}
View Replies !
View Related
Only 1(of 2) Text Fields In Custom Component Defined By Variable Is Always Blank-why?
Hi,
I have made a custom component in Flash MX 2004, and all it has right now is two dynamic text fields whose content is defined by a variable, and a link whose url is defined by a variable also.
I enter the values for these variables in the parameters area of the properties window, but when i preview my movie, the only thing that shows correctly (i.e. has text in it) is one of the two text fields...the other is blank.
I have uploaded my fla at this address:
http://www.lucid-life.com/my_component.fla.zip
Is anyone able to see what I'm doing wrong?
It's weird...that one works and the other doesn't.
Thanks..
Cheska
View Replies !
View Related
Using Loop Variable To Target A Series Of Text Fields On The Stage
I have a series of text fields that I manually put on the stage and I'm using them to show answers in a quiz. Their instance names are answer1, answer2, answer3, and answer4. I want to use a loop to push different text strings to each answer text field, and I'm trying to figure out the best way to do this in AS 3.0. Here's how I would have done it in AS 2.0.
for (i=0; i < 4; i++) {
this["answer"+i].text = arrayOfText[i];
}
Someone was kind enough to tell me in my last post that this type of variable concatenation in a path does not work in AS 3.0. He suggested I store the text fields in an array using some code like this:
var myAnswerFields = new Array();
for (i=0; i < 4; i++) {myAnswerFields.push(new TextField());
myAnswerFields[i].text = arrayOfText[i];}
So, I have two problems with this suggestion.
#1: What if I don't want to create the text fields dynamically? What if I don't want to use addChild to put them on the stage and I just want myAnswerFields to store the instance names of my text fields that I've already put on the stage "by hand?" I tried pushing string values to the myAnswerFields array with something like push("answer" + i), but then Flash thinks I'm trying to modify the nonexistent .text property of a string inside the array, not modify text in an existing text field of with the same name as that string.
#2: If I was willing to add the text fields dynamically, how do I give them instance names when they're created? The example above just creates some new text fields and puts them in an array, but they're never given instance names as far as I can tell.
View Replies !
View Related
Dividing Number X (30, 25, 13, Etc..) Amongst Text Fields (1-100 Fields)
Sorry about the title of this post, but I didn't find it easy to make a descriptive title.
What I'm trying to do, isn't a huge project, and I don't believe it's infinitely complicated. I just can't seem to wrap my head around it at the moment.
Hard enough to explain what I want...
Try to picture this:
Flash file opens up.
There are 6 text fields on the screen.
You enter the number 30 into a text field located near the top and press a button.
The 5 remaining text fields suddenly have numbers in them:Field 1: 30
Field 2:8
Field 3:9
Field 4:3
Field 5:5
Field 6:5
The idea is that I need a piece of code that will divide a variable amount of 'points' between a variable number of text fields. But not only does it have to be divided it has to be randomly and often unevenly divided.
So X = Number of text fields X / 30
Won't bring about the desired results.
I think I can (but haven't tried) divide 30 evenly easy enough, but since thats not what I'm after...
Any suggestions?
Seems to me that the final code will be one of those 'Wonder why I didn't see that' sort of things. But I can't get it.
Thanks for your help.
-Lem
View Replies !
View Related
Mailing Variable Fields
i have a problem in that i need to send the contents of a variable field to my mail agent.
the crunch is that the feild in question (with the variable set as "email") is contained within an mc, and needs to pull it's content from another field (also named email) which is on the parent timeline and on a previious scene.
Now, i can't prefix the variable with; "_root" or" _parent" the variable must be set as "email" for the mail system to work.
i thought there may be some script i could use to pass the content from one box to the other.
View Replies !
View Related
Variable, Multiple Fields
So far I am able to bring up variables from a .txt file, make them appear in text fields, use buttons to display visually 2 choices from 2 buttons ".mp3", or ".wav". However, when I add a third button and make a new field for the choice to appear I just get "_level0.extension" and not the value of the variable EXTENSION
What am I doing wrong?
In the file mp3 and wav buttons are noted, result will appear above center from the buttons. The other field and button is what I am trying to get to display the EXTENSION value.
View Replies !
View Related
Grassy Fields - Variable RXN
onClipEvent (enterFrame) {
x = (_root._xmouse+5)/rxn;
this._xscale = -x;
this._x -= x/50;
pos = this._x;
if (pos<-50) {
this._x += Math.round(550+Math.random()*100);
}
}
Can someone please explain the line:
x = (_root._xmouse+5)/rxn;
what is RXN?
Thanks
Sam.
View Replies !
View Related
Grassy Fields - Variable RXN
onClipEvent (enterFrame) {
x = (_root._xmouse+5)/rxn;
this._xscale = -x;
this._x -= x/50;
pos = this._x;
if (pos<-50) {
this._x += Math.round(550+Math.random()*100);
}
}
Can someone please explain the line:
x = (_root._xmouse+5)/rxn;
what is RXN?
Thanks
Sam.
View Replies !
View Related
Help With Text Fields And Inputting Text From External Text Files
help with text files and paths
i need some help with input text field and text files.
i have a 'presentation' movie that has three buttons. these buttons influence a sliding menu that has three sections to it. the sliding menu is a movie clip made up of 3 separate graphic elements and is placed on the main stage. the code on the movie clip is:
onClipEvent (load) {
var a = 5;
var d = 3;
var newX = _x;
var oXPos = _x;
var myXspeed = 0;
}
onClipEvent (enterFrame) {
myXspeed = ((_x-newX)/a+myXspeed)/d;
_x -= myXspeed;
}
and the code on the frame action is:
fscommand ("allowscale", false);
var xPositions = new Array(0, 205, -190, -580);
function jumpTo (number) {
slider.newX = xPositions[number];
}
stop ();
i now want to be able to have an input text field on each separate element of the sliding menu that pulls text from 3 sepaprate external text files and i can't get it to work. i'm ok if i put the text field on the main stage and can pull the info in from a text file using
loadVariablesNum ("text.txt", 0);
placed on a frame action. how do i adapt this so that it works for a text field put on the sliding menu. and how do i work it if i have three separate text files and three different text fields? i'm not very good at understand the paths needed to reach certain elements within a movie and where to put these actions.
should the load variable be on a frame actions or on a button action and whats the path to my input text field???
any help appreciated - as its driving me mad.
thanks
eskymo
View Replies !
View Related
Changing Font And Size Of Text Added To Dynamically Created Text Fields
Whew.. That long-winded subject line pretty much covers it.
Link
In the galleries, I have text I am adding to a movieClip. I have been able to add the description text, change it's colour, but the font and size are not responding. I'm using FlashMX2004. Can anyone show me what I'm doing wrong? Here's the pertinent code:
_parent.Gallery.createTextField(["Txt_" + CVar], _parent.LevelCount + 1000, 175, _parent.EntryY, 325, 110);
_parent.Gallery["Txt_" + CVar].font = "Arial";
_parent.Gallery["Txt_" + CVar].text = _parent.Description[AVar];
_parent.Gallery["Txt_" + CVar].textColor = 0xFFFFFF;
_parent.Gallery["Txt_" + CVar].textSize = 25;
Thanks so much!
View Replies !
View Related
Dynamic HTML Text Fields Do Not Display Formatted Text?
Flashkit.com,
In Flash MX I am developing a lot of movies using dynamically populated html text fields. When the user does not have a font I used on their machine swapping happens on all dynamic and input fields. Only static fields display the corrent font. I make sure the text field properties are embedding the fonts. Still all of the dynamic html text fields do not display the formatted text. I have .fla samples I can email to anyone.
I have tried these macromedia solutions with NO success:
http://www.macromedia.com/support/fl...t_outlines.htm
http://www.macromedia.com/support/fl...namic_text.htm
http://www.macromedia.com/support/fl...haredfonts.htm
Does anyone have a working sample .fla they can send me?
-Jimmy
View Replies !
View Related
Dynamic HTML Text Fields Do Not Display Formatted Text?
Flashkit.com,
In Flash MX I am developing a lot of movies using dynamically populated html text fields. When the user does not have a font I used on their machine swapping happens on all dynamic and input fields. Only static fields display the corrent font. I make sure the text field properties are embedding the fonts. Still all of the dynamic html text fields do not display the formatted text. I have .fla samples I can email to anyone.
I have tried these macromedia solutions with NO success:
http://www.macromedia.com/support/fl...t_outlines.htm
http://www.macromedia.com/support/fl...namic_text.htm
http://www.macromedia.com/support/fl...haredfonts.htm
Does anyone have a working sample .fla they can send me?
-Jimmy
View Replies !
View Related
Input Text Fields Colours To Fade In And Out On Entering Text?
I am uploading a file with input text field that changes colour when you click in it - this is great, but what if i wanted the following:
in the initial state, the text box is grey as you can see, but when i click inside it, it fades to pink instead of suddenly just changing to pink. And likewise, when i click outside the box it fades back to grey.
You will see what i mean if you view the file.
it's mx not mx2004
Thanks.
View Replies !
View Related
Loading Text Into Mulitple Fields From A Single Text File
Hi there. I am trying, and failing(so no soucre) to make text load dynamically into multiple fields.
I am trying essentially to load text using only one text document- into several fields. This is so I can run a very primitive cms system in flash. (all the fields need to call different portions of the text.
If anyone understands what I mean and how it could be done, it would be great
View Replies !
View Related
Assigning Text In Dynamically Created Text Fields; Flash 8
I'm having trouble with dynamically assigning text to a dynamically created text field.
This works:
ActionScript Code:
//set font with TextFormat
myFormat=new TextFormat();
myFormat.align="left";
myFormat.color="0xFF3300";
myFormat.font="MyriadProBoldCon";
myFormat.size=25;
//create text field
this.createTextField("timText", 1, 10, 10, Stage.width,40);
timText.text="I declare a truce for robot juice";
timText.embedFonts=true;
timText.setTextFormat(myFormat);
but this doesn't:
ActionScript Code:
//set font with TextFormat
myFormat = new TextFormat();
myFormat.align = "center";
myFormat.color = "0xFF3300";
myFormat.font = "MyriadProBoldCon";
myFormat.size = 25;
//create text field; text shows up right now
this.createTextField("timText", 1, 0, 10, Stage.width, 40);
timText.text = "I declare a truce for robot juice.";
timText.embedFonts = true;
timText.setTextFormat(myFormat);
//but click a button, and the text disappears and is not replaced!!!
btn1.onRelease = function() {
timText.text="Breakfast is served all day in Hell!"
};
btn2.onRelease = function() {
timText.text="We prefer to be called Buccaneer-Americans."
};
btn3.onRelease = function() {
timText.text="It's fun to use learning for evil!"
};
I've tried setting up the TextFormat and createTextField as a function that's called on the onRelease handler. I've tried dropping the whole frackin' code in the onRelease function for each button. Neither approach works.
I've been digging around on the web, looking for answers, and nothing seems to solve my problem. Does anyone have any ideas?
thanks in advance!
View Replies !
View Related
Mixing Vars And Text In Dynamic Text Fields..
Hi,
My preloader has a little percentage feature/dynamic textfield so it will show say 10%, 25% etc.
My code:
_root.loadedpercentage.text = Math.round((sofar/total)*100)+"%";
does not work. Doh!
It just shows the value of the percentage eg 10, 25 but the % character does not appear.
I really dont like dynamic textfields cos they dont like me. Can someone tell me whats wrong?
Cheers.
Steven.
View Replies !
View Related
Highlighting Text In Input Text Fields Automatically...
hi
i've searched the forums on this topic and attempted the solutions that i found but i can't get them to work the way i need to.. so here's what i need help with..
i have created a study planner that allows students to input the amount of hours they spend on particular activities during a day.. the total hours of the day remaining updates dynamically as does the amount of time remaining in a week.. to keep it all working nicely (and avoid a 'NaN' error) i force the value of the input box to always be 0..
what i would like to have happen is when the students click in the input box the 0 is automatically highlighted so they can just type over the top of it.. at the moment i just have an instruction telling them they need to highlight the 0 before they type but this just seems clumsy..
i got automatic highlighting working with textfield.onChanged but that only highlighted the text that the user has put in, ie after the textbox changed!.. i would like to avoid having to use a button as well.. any ideas would be greatly appreciated!.. i'm going round in circles.. i have attached the .fla
i'm using flash MX2004 professional...
thanks in advance,
sars
View Replies !
View Related
Modifying Text In Dynamically Created Text Fields
Is it possible to modifying text in dynamically created text fields? I've been searching on Google for hours and nothing came up. What I'm try to do is have an empty dynamic textfield (which would get a variable from an external file) duplicated serveral times (depending on the number needed). Though I'm pretty sure I can duplicate the dynamic textfield without a problem, it's the part where I'm trying to pass different variables into those duplicated textfields that I'm not sure how to do properly. Does anyone have any ideas?
View Replies !
View Related
[F8] Dynamic Text, Text Fields And <a Href> Tags.
I have been trying to figure this out for a very long time. My company's web designer went MIA and left us with a Flash site that is very hard to update (and no original FLA's).I have resorted to decompiling his SWF's with pretty impressive success. Only thing I can't figure out how to do is get dynamic text displayed in a text field to accurately display funtional links. If I select the text field and click the "render text as HTML" button and export the SWF, no text appears at all. If I select use device fonts, the links work, but the text looks funny. I am using Flash 8, but saving as a flash MX 2004 document because I think that's what the designer used and... I guess I don't have a very good reason, it just seemed like the right thing to do... Also I'm exporting it as a Flash 6 movie because our web stats say that almost 10% of visitors have that installed. If it helps the code looks like this:
loadVariables("blahblahblah.txt", "_root.mcData");
stop ();
Any help would be hugely appreciated.
View Replies !
View Related
Text Input Fields, Under Masking, Text Not Visible
I'm not sure if this is true..
but that's what I've come to the conclusion.?
when I use a text input field, for an email submit form..
if I put a masking layer on top of the text input layer..
the input field is visible, but when you type in it, the text is not..
Is there any way to prevent this from happening?
View Replies !
View Related
Comparing Dynamic Text And Input Text Fields
I am hoping this is simple but I need some help on checking to see if a users input text in to a Input Text matches the text in a Dynamic Text that has be input from a text file.
I have the attached the fla and a single .txt file for evaluation.
I believe it is on the submitt button code where the if statement occurs I am stuck in seeing the actual problem.
Any help is appreciated.
Thanks
View Replies !
View Related
Modifying Text In Dynamically Created Text Fields
Is it possible to modifying text in dynamically created text fields? I've been searching on Google for hours and nothing came up. What I'm try to do is have an empty dynamic textfield (which would get a variable from an external file) duplicated serveral times (depending on the number needed). Though I'm pretty sure I can duplicate the dynamic textfield without a problem, it's the part where I'm trying to pass different variables into those duplicated textfields that I'm not sure how to do properly. Does anyone have any ideas?
View Replies !
View Related
Loading Text Into Text Fields From An External File…
I have a file supplied to me with a couple of text boxes in it.
My friends would like to easily update the content of these boxes by using an external text file.
I have tryed tests with the "loadVariables" property, but can't seem to get any text to load at all. I have a text file called "Content.txt" and the dynamic text box has an instance name of text1 (original I know) and a variable name of myText.
The beginning of my text document starts of with "myText = "…
The line of code I was using was
loadVariables("Content.txt", text1);
this produced no result… does anyone have any suggestions for this problem?
Cheers.
Joel
View Replies !
View Related
Changing Text Spacing On Input Text Fields
It appears to me that the text spacing tool ( AV ) in the properties inspector does not work on input text fields. All other tools do seem to work though.
I'm creating a form to be used by a classroom instructor to show students how each of the 200+ input text fields should be filled in. The months, days and years are individual cells. Currently, for the date cells, you must click on each cell, type in the number, click on the next cell, type in the number, etc. It would be nice to avoud the mouse click between theses inputs.
What I would like to do is spread out an input text field that will accept 4 characters (for the year). The character spacing is needed to align the characters up with the graphical input blocks.
Any ideas?
Thanks for helping.
View Replies !
View Related
Loading Text Files Info Text Fields On AS3
Hey guys, I am following some examples from Flash CS3 Help files and some portions of the ActionScript 3.0 Cookbook on TextFields. Here's the code I currently have on my first frame of the timeline. When I test the file, I get "TypeError: Error #2007: Parameter text must be non-null. at flash.text::TextField/set htmlText() at textFields_fla::MainTimeline/textFields_fla::frame1()"
What's wrong?
Attach Code
import flash.display.Sprite;
import flash.events.*;
import flash.net.*;
var source:String = "html.txt";
var dataFormat:String = URLLoaderDataFormat.TEXT;
var loader:URLLoader = new URLLoader();
loader.dataFormat = dataFormat;
var request:URLRequest = new URLRequest(source);
loader.load(request);
var myT:TextField = new TextField();
myT.autoSize = TextFieldAutoSize.LEFT;
myT.width = 300;
myT.wordWrap = true;
myT.htmlText = loader.data;
addChild(myT);
View Replies !
View Related
HTML Text In Dynamically Created Text Fields?
Hi,
I am creating a series of text fields to display data from an xml file.
eventClips[i].createTextField("url_txt",9,0,0,250,30);
eventClips[i].url_txt.htmlText = "<a href=""+child.attributes.url+""></a>";
I can't get the text fields that I am creating dynamically to accept html, why????
I have tried .html = true;
Am I really going to have to create my own button and use getURL?
what's the secret?
I am using flash 8, as2.
View Replies !
View Related
Text Fields - Distorting Dynamic Text
Hi there,
Can anyone tell me why text almost always deforms (shrinks or streches etc...) when it is dynamic?
I have a text field that is ARIAL BOLD, 18pt, black.
It looks fine, but when I make the text field dynamic and I do EMBED the font, the text looks terrible. The problems that occurr are never consistent.
Sometimes the text looks like it's 12pt, sometimes it is stretched out horizontaly, sometimes it's squished verticaly.....
The most common problem is that the text appears STRETCHED out horizontaly. if I make the text box an appropriate height for 18pt type, and say... 300 px long (wide) the text sometimes stretches (each letter looks very wide).
What can I do to solve this? I tried everything, and it seems like such a rediculous problem!!!!
I know several people who have the same issue, an no one has solved it yet.
Anh ideas?
Thanks in adnvance!!!!!!
View Replies !
View Related
Loading Text In Dynamic Text Fields
Using Flash MX.
In FlashMX I created a dynamic text box and typed my variable name in the variable field.
I created a text document...tried in Word and SimpleText...and in the first line typed the variable name followed by an = sign. It looked like this
about =
I guess after that I should type the text I want to be displayed.
On the first frame of the movie I added an action. LoadVariables and I typed the name of the text document in the URL field. It is living in the same place as my flash file.
I guess this is supposed to load the text document which loads a value for a variable which I have used to label my dynamic text element.
I did this following steps in a book called FlashMX Action Script for Designers by Doug Sahlin.
It's not working and I've tried it several times.
Anybody know of an easy way to load a text document into a dynamic text box?
<
-643
View Replies !
View Related
Scrolling Text Inside Text Fields?
Hi, i work in a technology company and require if it possible to have scrolling text animate within a text field. So you would'nt actualy animate the field itself only the text would scroll up like movie credits then repeat itself on a loop inside. Also the text that will be going in will be external and is dynamic, so you could get 1 result going in, but then 4 at another time depending on the results.
So idealy it would all be in one frame and be much like a component?
Thanks
View Replies !
View Related
Always Reads Text Fields As HTML Text
I have an input field in my movie that I want to be able to type in a number, and use the number in actionscript.
If I set the variable with actionscript (count=60;) it works, but if I type a number into the textbox and trace the variable it will trace as
<p align="left"><font face="Arial_14pt_st" size="14" color="#000000" letterSpacing="0.000000" kerning="1">60</font></p>
HTML is OFF in the properties panel - also tried setting it to false in actionscript which made no difference.
View Replies !
View Related
[AS1][text Fields]text Changing The Size Of A MC
If you have a text field created in a MC (with the createTextField) method will it change the _height and _width parameters of the MC?
I am trying to create and position several pieces of text with the following code but they are overlapping one another.
ActionScript Code:
message_mc.title_mc.createTextField("title_txt",1,0,0,300,0);
message_mc.title_mc.title_txt.border = false;
message_mc.title_mc.title_txt.autoSize = "left";
message_mc.title_mc.title_txt.multiline = true;
message_mc.title_mc.title_txt.wordWrap = true;
message_mc.title_mc.title_txt.text = "XXXXXXXXXXXXXXXXXXXXXXXXXXXXX";
message_mc.body_mc.createTextField("body_txt",1,0,0,300,0);
message_mc.body_mc.body_txt.border = false;
message_mc.body_mc.body_txt.autoSize = "left";
message_mc.body_mc.body_txt.multiline = true;
message_mc.body_mc.body_txt.wordWrap = true;
message_mc.body_mc.body_txt.text = "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX";
message_mc.detail_mc.createTextField("detail_txt",1,0,0,300,0);
message_mc.detail_mc.detail_txt.border = false;
message_mc.detail_mc.detail_txt.autoSize = "left";
message_mc.detail_mc.detail_txt.multiline = true;
message_mc.detail_mc.detail_txt.wordWrap = true;
message_mc.detail_mc.detail_txt.text = "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXX";
message_mc.title_mc._x = 10;
message_mc.title_mc._y = 5;
message_mc.detail_mc._x = 10;
message_mc.body_mc._y = message_mc.title_mc._y + (message_mc.title_mc._height + 10);
message_mc.body_mc._x = 10;
message_mc.detail_mc._y = message_mc.body_mc._y + (message_mc.body_mc._height + 10);
I'm doing some effects to the text after it is loaded and formed, that is why everything is embedded into 'message_mc'.
Any thoughts as to what is wrong here?
--xenite
View Replies !
View Related
Text Fields
hi, i just wondering, ive got a movie that works fine but the input text fields wont accept text being pasted into them, some people that have tried the movie say that on thier machines it will let them paste most characters, but not strange ascii chars.
is there a way to set an input field to accept the full ascii range ?
(i tried embedding entire font outline, and all it did was make the text fuzzy)
Karo
View Replies !
View Related
Text Fields
i had this problem initially... where i wanted to input something in an input box and withour pressing a button i wanted to make some calculations and send the result to another dynamic field.... but i solved that problem.. i made a movie with 3 frames and three textboxes and it worked but now when i m working on my actual movie this isnt working where i have many layers and frames..
can ne one help me so i can get the result on the textboxvalue change event, rather than pressing a button e.g if i input my monthly salary in one box .. it hud automatically calculate my yearly salary and show me without my pressing a button
View Replies !
View Related
Text Fields
Hey there boardies,
Here's the situation:
I've created an input text field, and would like to have the user enter one of a few given words that would take him/her to another scene once they press a button.
ex:
1) The user enters "Home".
2) The user presses the button.
3) The user is taken to the appropriate scene.
So, how should I go about doing this?
Any help on here would be greatly appreciated.
Thanks in advance.
View Replies !
View Related
Text Fields
hello kind reader :
I made a chat window, & it minimizes(frame2) & maximizes(frame1). Both of these chat windows are different movie clips but they share the same multi-line dynamic text fields. The issue is that when the size of the window changes i have to resize the text fields to suite the appropreit window & the fields of course squishes/streches the text. ok so i'm using the same text field but i want it to have different settings(as in size)depending if it's on frame 1 or 2, can i achieve this through code? if so pls point the direction, thnx
M.
View Replies !
View Related
Text Fields
Does anyone know if it's possible to access the text on a particular line in a text field.
Any pointers would be much appreciated.
thanks in advance.
View Replies !
View Related
Text Fields
I have two text fields in 2 different swf files on 2 different levels.
What would the correct code be for using the getTextFormat function from moviea.textfield and applying it to movieb.textfield. Including the actual text.
View Replies !
View Related
Text Fields
hey,
i have a page were i want to load text into a box when the user clicks on the buttons. i got it to load, but then i changed the size of the box it loads into. now the images are all magnified and blured. i went back and resized the images to the box size and that didn't work. when it loads it also shifts to the left. i need a way to control the box so if the image is to big the user could scroll. also need to get the image to stay in the box. this is the code i have right now
on (press, release) {
loadMovie("../_notes/image2.jpg", "square");
}
how do i control this.
Thanks Doug
View Replies !
View Related
Tab Through Text Fields?
I have made a form of sorts in Flash with variable text boxes (for name, address, etc.). Is there a way I can make it (Actionscript?) so that the user could tab through the forms (i.e. tab would take them to the next text box)?
Thanks.
View Replies !
View Related
|