Similar Threads:
1.Set TextField.selecable = false For all dynamically created textField
I have created more than 100 textfields throughout my project. And it'll be
very time comsuming to go through all my AS files and located all the
textfields and set this property (selectable = false).
Any idea on how I could do this faster or easier?
2.Create and dynamically load into textField problem!
I seem to have the exact same problem along with other problems with created dynamic text fields. I been working with flash for years and I never seen flash code act so wierd. I am building an App and it really seems that createTextField is buggy and unreliable.
mytext.embedFonts = false; text shows up fine
mytext.embedFonts = true; text dissapears yet sometimes works, how i have yet to figure that out.
From what I can tell, its a run-time error in flash. As like you said, you have to space the code through a couple frames. This makes it a nightmare for parent actionscript calls or functions.
3.Alpha when creating textfields dynamically?
Hi
I want to create my textboxes on my stage dynamically and give them a sort
of alpha tint. However, the following line doesn't seem to work (although it
comes straight from the library). Is there anyone who could give me some
more info about setting the alpha property of your textfield?
Message_txt._alpha = 20;
Thanks
4.Dynamically attaching scrollbars to actionscript created textfields located inside movieclips
Here's the problem...Im creating a textfield with AS and loading in the content
from a txt file...I want to attach scrollbars to the textfield when
neccessary... Below is a copy of the script im using to create the txt field.
This script is located inside a movieclip....Any help you can offer would be
appreciated. I can be reached best through email at XXXX@XXXXX.COM
here's the script
//create a blank text box and set its parameters
createTextField("theTypeBox",100,0,0,498,200);
theTextBox.background=true;
//theTextBox.border=true;
//theTextBox.backgroundColor=0xFFFFFF;//white
//theTextBox.borderColor=0x000000;//black
theTypeBox.multiline=true;
theTypeBox.wordWrap=true;
theTypeBox.variable="myAbout";
//create some formatting for our text box
myTextFormat = new TextFormat();
myTextFormat.font = "Arial";
myTextFormat.size = 12;
myTextFormat.color=0xFFFFFF;//white
//format our text box
theTypeBox.setNewTextFormat(myTextFormat);
// load our text
loadVariables("aboutbloc_001.txt", this);
stop();
5.Dynamically create textfield in a Movieclip subcl
I am trying to programmatically create a textfield in a movieclip subclass. It
will not let me compile the following:
class Bouncer extends MovieClip {
//constructor
public function Bouncer() {
this.createTextField("text_txt", this.getNextHighestDepth(), 0, 0, 60,
20);
text_txt.text = "hello world"; ***** This line gives a
compiler error. property text_txt does not exist??? *****
}
}
Would someone know how to put a textfield in a subclassed movieclip and be
able to change the text programmatically?
Thanks in advance.
Nicholas Crosby
BTW: I did try it the other way .... adding a textfield to the movieclip on
the timeline. I could not access the text_txt.text property at in the Bouncer
class (where I subclassed the movieclip) at run-time though. If anyone knows
how to do it this way, that would be perfect too.
6. Netscape problems whith dynamically loading ASP into a textfield
7. problem with TextFields created dynamicly
8. Problems with addListener to a danamic created textfield