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




Mulicolor Multiline Labelled Button



Can anyone tell me how can I get a button in Flex with multicolor and muliline label?

Thanx in advance..



ActionScript.org Forums > ActionScript Forums Group > ActionScript 3.0
Posted on: 11-04-2008, 06:54 AM


View Complete Forum Thread with Replies

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

GotoAndPlay - One Button/code To Go To Previous Labelled Frame, Whatever It May Be?
Is it possible to do something similar to what you can do in Lingo, to go back to the previous frame label (or "marker" in Lingo) without specifying the actual label name?

Basically I'm trying to create a button that will send the movie back to different labels relevant to where the movie is.

Cheers
Dave

Multiline MX2004 Radio Button?
Ok, searched FK, Macromedia and nothing.

surely theres got to be a way to make Flash MX2004 radio button component multilined?

I've seen the hack for the MX componebt but MX2004 component is different as you are unable to open it and modify it, so does anyone know of another way?

Thanks in advance

Multiline Radio Button Label
Does anyone know how to make a radio button label multilined?

Multiline Radio Button Label
Does anyone know how to make a radio button label multilined?

Multiline Checkbox / Radio Button Component
We're now up to Flash version 8 and we still don't have a multiline checkbox / radio button component. Has anyone either:

a. Figured out how to add a multiline text label to the existing Flash components; or
b. Found a third party component that has multiline labels.

I'm a developer for an eLearning company, so we use these components all the time; so having this would be a huge plus. Frankly, it's simply beyond me why Macromedia...er...Adobe hasn't upgraded their components to have this feature. It seems like it wouldn't be a big thing.

Anyway, any help you can provide would be most welcome.

Cheers,
Adam

Multiline Labels In The Radio Button Component
How can I have multiline labels on my radio button components? I can't seem to find good documentation anywhere on how to do this. This is the best that I have found: http://board.flashkit.com/board/archive/index.php/t-299514.html but the process doesn't work for me with Flash CS3.

Thanks,
nixxxxx

Multiline Labels In The Radio Button Component
How can I have multiline labels on my radio button components? I can't seem to find good documentation anywhere on how to do this. This is the best that I have found: http://board.flashkit.com/board/archive/index.php/t-299514.html but the process doesn't work for me with Flash CS3.

Thanks,
nixxxxx

Multiline Labels In The Radio Button Component - <SOLVED>
I sincerely thank Becky Sowada on the Macromedia Forums for providing me with invaluable help to this post. Here is wht u have to do to make the text multiline in the radio button component.


You actually have to hack the RadioButtonComponent code. To do that:

1. Open your Library
2. Open the Flash UI Components folder.
3. Double-click the RadioButton to edit it (the RadioButton must be in your movie somewhere to appear in the library).
4. Go to the actions panel when edit.
5. Search for "FRadioButtonClass.prototype.txtFormat". (Ctrl + F will bring up a Find window for you to make this easier).
6. Add/modify the following code. Basically, pay attention to the lines between the 2 commented lines.


Code:
FRadioButtonClass.prototype.txtFormat = function( pos )
{
var txtS = this.textStyle;
var sTbl = this.styleTable;
txtS.align = (sTbl.textAlign.value == undefined) ? txtS.align = pos : undefined;
txtS.leftMargin = (sTbl.textLeftMargin.value == undefined) ? txtS.leftMargin = 0 : undefined;
txtS.rightMargin = (sTbl.textRightMargin.value == undefined) ? txtS.rightMargin = 0 : undefined
// ************************************************************
this.fLabel_mc.labelField.multiline = true;
this.fLabel_mc.labelField.wordWrap = true;
this.fLabel_mc.labelField.autoSize = true;
this.setHitArea(this._width,this.fLabel_mc._height);
if(this.flabel_mc._height > this.height){
super.setSize(this.width,this.flabel_mc._height);
}else{
super.setSize(this.width,this.height);
}
// ************************************************************
this.setEnabled(this.enable);
}
Note that this will only apply for the Radio Buttons in this particular movie. You can copy the RadioButton from this library to other libraries, if you want to have the same behavior in other movies.

Jumping To The Next Labelled Frame
If I have a button that advances an animation forward, how can I tell it to always go to the next labelled frame, for example labelled frames are spaced irregularly, and represent important parts of the animation to which I want the user to jump.

is it possible to do this?

(I want to avoid having to make a new instance of the button with a script explicitly telling it to go to the next labelled frame).

How To Get To Labelled Frame With LoadMovie
hi, i'm having problems getting to certain frames within a movie. here is an example of my script;

on(release){
this.createEmptyMovieClip("movie", 0);
movie.loadMovie("cars.swf");
movie._alpha = 100;
}


basically i need to load the movie (cars.swf) then get to a framelabel within that movie called "motornation" but however i script it it keeps going to the 1st frame. can anyone help?

thanks

Determine A Labelled Frame From A Swf?
Hi:

Let's say I have .swf A and B. Swf B is loaded into a mc in swf A through loadMovie. Both swf A and B have labelled frames in them.

Is there a way that swf A can determine if swf B is on a particular named (labelled) frame? For instance, when swf B (is loaded into swf A) and swf B reaches a certain labelled frame, I want swf A to be able to determine that and then do something.

Does that make sense?

Thanks,
Loren

How To Check If Labelled Frame Is Loaded From A Mc
hi

Does anybody know of a way to check, from within a movieclip, if a labelled frame on the '_parent' level is loaded?

As far as I know the only way to check if a labelled frame is loaded is to use ifFrameLoaded, but if I've understood previous posts here correctly that won't work from a mc. (Please tell me I'm wrong.)

What I'm trying to do is to make a movieclip that holds a 'skip-forward-button' become visible only when the frame the movie should skip to is loaded. So if anybody has any suggestions to another approach to this I'd be very grateful.

hc

Is There A Way To Call A Frame Labelled A Number?
Bascially I have a game the says a letter, word or symbol I have a mc with the sounds and labelled them appropritely "a", "b" etc and "0" "1" "2" etc


It worked great with letters but numbers flash obviously intreprets "1" as in the frame labelled 1 as frame number 1 - is there a get round to call it or can I just not lbel frames with numbers

thevar = 0;
Basically when I call gotoAndPlay(thevar);
can I put """ or something like that in front




thnks in advance

Buttons To Skip To Labelled Frames
Okay, so I have this annoying little problem. I can make a scene just fine, but I wanted to have a button that jumps to the next scene. I scoured forums and found that for MX, this is a bad idea, and it said to use something to jump to a labelled frame.

The button doesn't seem to work - and it's kinda frustrating. I don't know how to get the animation to stop, as the frames I have them jump to are in sequence with the others. (The next set of frames is 2 frames long, 4 layers, and involves using mouse direction to moe the panoramic picture to the left or right.)

The end problem is this - my opening loading bar works, my opening scene works, the music plays and the picture fades into view - then there's supposed to be a clickable button that would take it to the desired frame on the topmost layer, but instead of that, it just jumps right into the next part. I tried putting Stop code in the initial frames, it seems to lock up and won't advance to the labelled frame.

Any help is dearly appreciated.

ComboBox - Using Values To Go To Labelled Frames
Hi,

This is my first go with a comboBox. Unfortunately the actionscript dictionary and my books are not very explicit with their instrucitons.

I've created a changHandler function for my combo box and an array with all my frame labels. This is on frame 1, teh comboBox instance name is "quickLinks":

ActionScript Code:
quickLinks.setChangeHandler("quickLinksHandler", _root);function quickLinksHandler(){    //get the value of the selected line in the combo box list    var value = quickLinks.getValue();//use the value as a frame label in a go to and stop action    gotoAndStop("MainScene", value);    trace(value);}

I've also tried

ActionScript Code:
quickLinks.setChangeHandler("quickLinksHandler", _root);function quickLinksHandler(){    frameLabels = ["QUICK", "AEROART", "ALBUM", "BREAK", "CHAT", "CURRENT", "EMAIL", "FAQ", "FLICKS", "LINKS", "MESSAGE", "MOUTHWORX", "NEWS", "NEWBEATS", "OLDBEATS", "RADIO", "RECORD", "ROOTS", "SHOW", "SHOUTS"];//get a number from the combo list    var selIndex = quickLinks.getSelectedIndex();//use the number "selIndex" to get a string from the "frameLabels" array//go to and stop at a frame label    gotoAndStop("MainScene", frameLabels[selIndex]);    trace(selIndex);    trace(frameLabels[selIndex]);}


the trace actions work and give me the desired output, but when I make a selection from the combo box, it goes to the end of timeline in that scene rather than the frame label.

If I just use getSelectedIndex() to get a number and then go to that frame number it works, but for a list of 19 options, I want to be using frame labels rather than keep track of frame numbers.

So, the problem is going to a frame label instead of a frame number when making selections from the comboBox.

Thanks for your time.

ComboBox - Using Values To Go To Labelled Frames
Hi,

This is my first go with a comboBox. Unfortunately the actionscript dictionary and my books are not very explicit with their instrucitons.

I've created a changHandler function for my combo box and an array with all my frame labels. This is on frame 1, teh comboBox instance name is "quickLinks":

ActionScript Code:
quickLinks.setChangeHandler("quickLinksHandler", _root);function quickLinksHandler(){    //get the value of the selected line in the combo box list    var value = quickLinks.getValue();//use the value as a frame label in a go to and stop action    gotoAndStop("MainScene", value);    trace(value);}

I've also tried

ActionScript Code:
quickLinks.setChangeHandler("quickLinksHandler", _root);function quickLinksHandler(){    frameLabels = ["QUICK", "AEROART", "ALBUM", "BREAK", "CHAT", "CURRENT", "EMAIL", "FAQ", "FLICKS", "LINKS", "MESSAGE", "MOUTHWORX", "NEWS", "NEWBEATS", "OLDBEATS", "RADIO", "RECORD", "ROOTS", "SHOW", "SHOUTS"];//get a number from the combo list    var selIndex = quickLinks.getSelectedIndex();//use the number "selIndex" to get a string from the "frameLabels" array//go to and stop at a frame label    gotoAndStop("MainScene", frameLabels[selIndex]);    trace(selIndex);    trace(frameLabels[selIndex]);}


the trace actions work and give me the desired output, but when I make a selection from the combo box, it goes to the end of timeline in that scene rather than the frame label.

If I just use getSelectedIndex() to get a number and then go to that frame number it works, but for a list of 19 options, I want to be using frame labels rather than keep track of frame numbers.

So, the problem is going to a frame label instead of a frame number when making selections from the comboBox.

Thanks for your time.

Random Jump To A Labelled Frame
Hello

Could anyone help with this problem?

I want the playhead to run into a frame and randomly jump to a labelled frame further on in the timeline. There are 5 labelled frames to choose from(labels are travel, portrait, still life, food, lifestyle.)

I have tried using this on the timeline jump frame:

myArray = new Array("travel" , "portrait", "still life", "food", "lifestyle");
randomNumber = Math.ceil(Math.random()*myArray.length);
gotoAndStop (myArray[randomNumber]);

its kind of working but not too well - makes me think I'm doing somthing wrong.

Any help would be greatly appreciated.

Thanks.

LEVEL of FLASH: beginner/intermediateish


Play Until Labelled Frame - Different Frames For Dfferent Buttons
Hey chaps,

Just wondering if anyone has any idea how to make a movie clip play UNTIL a certain frame depending on which button is pressed. Logically it would be called playuntilandstop(); if that helps!

Cheers

Sam

Script For Control Buttons To "jump To And Back" The Previous Or Next Labelled Frame
Urgent Request please !!
I have created a movie within a main movie that has five sections. Each section is flagged with a labelled frame at the beginning. I want the user to be able to use the "step back and step forward " control buttons to move the playhead to the last played or next labelled frame.

I believe this is possible with the use of action scripting in Flash 5.

Thanks for your help.

Cheers,

Sunny_skye

'call'ed Frame Playing Before Jumping To Labelled Frame
hi,

I currently have 1 button with the following code


Code:
on (release) {
call("start");
play();
}
"start" being a labbelled frame plays a small movie clip sequence. What I want to happen is when the button is pushed, "start" is called and plays and then to jump to my frame labelled "david".

I have tried:


Code:
on (release) {
call("start");
play();
gotoAndStop("david");
}
...but all this does is jump almost straight away to the frame labelled "david"

I want the movie to wait until the frames labelled "start" have finished before it jumps.

Any ideas??

Multiline
How can I set multiline with a textfield by using AS?
I type below but it is sigle line as before.

Code:
_root.createEmptyMovieClip("newMC", 1);
with (_root.newMC) {
createTextField("character", 2, 0, 0, 100, 50);
character.multiline = true;
character.text = "djkfldlkdsflkdalfjdklshfjdalfjdklshfjdalfjdklshfjdalfjdklshfjdalfjdklshfjdalfjdklshfjdalfjdklshfjdalfjdklshfjdalfjdklshfjdalfjdklshfjdalfjdklshfjdalfjdklshfjdjfkl";
}

Multiline
Hi all,
Is there a way to restrict the text input multiline?
I would like to say that you can only use up to 15 lines.
Thanks for your help.

Multiline From Xml
here's an odd one
I want to add miltiline text from an xml tag but as soon as I put it to flash, the /n and /t just don't work, how can I go around this ?

Xml Multiline?
hi
i have dynamic text boxes that retrieve text information from an xml file. Everything works great except that it doesnt seem to understand that there are line breaks in the xml code:

<body><![CDATA[text <br>goes<br />here]]></body>

i have MULTILINE and RENDER AS HTML on on all text boxes and i have also embedded the fonts to enable masking of the text boxes

help please, im using AS2

Or Or Both For Multiline Textfield?
when using a variable to fill a multiline text field, I am using
or
for the line breaks.

I'm on a PC and it interprets them both as line breaks (so that you go down two lines if using both) but I seem to remember that a Mac needs both of these escape codes to create a single line break.

I don't have access to a Mac at the moment - could someone please try it out? Or does someone know how this works?

thanks in advance - n.

Multiline Var Loading
Is it possible to load multiline variables with LoadVariables; if yes, what's the form?

Thanks

Multiline Text
I would like to create text via actionScript, but if the text has more than one line, and I can't do it...

If I use the textTool to create text (an empty box) and name it myText, and choose multiline in the property inspector, I can do it...:
_root.myText.text = "how to create multiline text?"

works just fine...

but if I do this:
_root.createTextField("myText", xPos, yPos, w, h);
_root.myText.text = "how to create multiline text?"
_root.myText.multiline = true;

it doesn't work...
what am I doing wrong?

Multiline Listbox
is this possible. can you get more than one line per option in a listbox? if so how?

Multiline TextBox
I would like to know how to go the last line of a multiline textbox without using the SCROLL

Multiline Problem?
I have a dynamic text box and have set the following so the text written to it will break to a second line if need be.:

textBox_txt.multiline = true;
textBox_txt.wordWrap = true;

On the Mac it's fine however it doesn't break on a PC.

Any suggestions?

Multiline Array
I have created a group of buttons used in turn to create an array. It works fine, but what I can't figure out how to do is to get the items of the array to print on individual lines like:

Milk
Butter
Bread

rather than on one line separated by commas like:

Milk,Butter,Bread

How do I do this?

Also, is there a way to specify line spacing between each item once they've been placed on individual lines?

Here is the code that I have so far ...

var shopList:Array=new Array();
var i:Number=-1;

milk_btn.onRelease=function() {
++i;
shopList[i]="Milk";
}

butter_btn.onRelease=function() {
++i;
shopList[i]="Butter";
}

bread_btn.onRelease=function() {
++i;
shopList[i]="Bread";
}

enter_btn.onRelease=function() {
items_txt.text=shopList;

}

Thanks!

Multiline Concatenation
hi guys,
i was wondering if you can add on to a string in a new line, like in php it would be:

Code:
$a = "Hello ";
$a .= "World!";
i know i could do it in flash as


Code:
a="hello";
b="world";
c=a+b;
but i want to add to a string each time in a loop so it would ideally be something like:

Code:
a="blah blah blah"
for (i=0; i<=30; i++) {
a .="blah"+i
}
thanks guys,

[F8] WordWrap Vs MultiLine
Code:
function makeTxBox() {
holder = box._parent;
var txField:TextField = holder.createTextField("txField", 5, 0, 0, box._width,box._height);
txField._x = box._x;
txField._y = box._y;
txField._width = box._width;
txField._height = box._height;
txField.selectable = false;
txField.setNewTextFormat(txStyle);
txField.multiline = true;
txField.wordWrap = true;
txField.text = entryText;
init();
}
hopefully that is all you need to help. Essentially, each empty mc on my stage has a txField and a box (for background) inside. The txField rests above the box. The text is loading fine, positions look great...but the text is not wrapping....or multilining (if there is a diffrerence, that explanation could be icing)!

Multiline In Text Box?
hi guys!

i have a dynamic text box called "myTextBox"

in my button i have this:

_root.myTextBox.text = "this is a line";


what im wanting to be able to put new lines in like when you press enter when writing text.

so the result would be somthing like this:

-----------
this is line 1
this is line 2

this is line 4

etc
------------
how do i go about this?

thanks

Help With Multiline Tabstops
Hello all,

Is there a way to have multiline columns within a textfield? I have the following code:


Code:
// Create a new text field to hold text. NOTE the UI scrollbar must be on the second frame
// becasue the textfield created here must first be created before the uibar instance
this.createTextField("table_txt", 99, -26.1, -13, 345, 166.5);
table_txt.multiline = true;
table_txt.html = true;
table_txt.wordWrap = true;

// Creates column headers, formatted in bold, separated by tabs.
var rowHeaders:String = "";

// Creates rows with data.
var row_1:String = "<FONT FACE ='Verdana' SIZE ='12'><b>BSI </b> Gloves and eye protection</FONT>";
var row_2:String = "<FONT FACE ='Verdana' SIZE ='12'><b>Scene Saftey</b> Scene is safe</FONT>";
var row_3:String = "<FONT FACE ='Verdana' SIZE ='12'><b>Resources</b> 3 person aid crew, ALS crew added if needed</FONT>";
var row_4:String = "<b>-----------------------------------------------------------------------------</b> ";
var row_5:String = "<FONT FACE ='Verdana' SIZE ='12'><b>CC/MOI</b> MVA, decreased LOC</FONT>";
var row_6:String = "<FONT FACE ='Verdana' SIZE ='12'><b>Respirations</b> 20</FONT>";
var row_7:String = "<FONT FACE ='Verdana' SIZE ='12'><b>Pulse</b> Radial at 110, strong</FONT>";
var row_8:String = "<FONT FACE ='Verdana' SIZE ='12'><b>Mental Status</b> Awake, but has difficulty with attention</FONT>";
var row_9:String = "<FONT FACE ='Verdana' SIZE ='12'><b>Skin Signs</b> Cool, moist, pale</FONT>";
var row_10:String = "<FONT FACE ='Verdana' SIZE ='12'><b>Obvious Trauma</b> None</FONT>";
var row_11:String = "<FONT FACE ='Verdana' SIZE ='12'><b>Blood Pressure</b> 112/palp (later 120/74)</FONT>";

// Sets two tabstops, at 25 and 100 points.
table_txt.htmlText = "<textformat tabstops='[25,120]'>";
table_txt.htmlText += rowHeaders;
table_txt.htmlText += row_1;
table_txt.htmlText += row_2 ;
table_txt.htmlText += row_3 ;
table_txt.htmlText += row_4 ;
table_txt.htmlText += row_5 ;
table_txt.htmlText += row_6 ;
table_txt.htmlText += row_7 ;
table_txt.htmlText += row_8 ;
table_txt.htmlText += row_9 ;
table_txt.htmlText += row_10 ;
table_txt.htmlText += row_11 ;
table_txt.htmlText += "</textformat>";


This works great with the text populating two columns. But the 2nd column in row_3 and row_8 drops down to the next line, but does so in column 1.

Is there a way to have it drop a line but align with the 2nd column tabstop?

Thanks for any help

Greg

<--- Multiline Textfields --->
This i wat i do:
I have a multiline text field - I record the contents using asp. I pass the contents of the field thru the Query String to the page.

This is the problem
When the contents get copied thru the query string it loses all return carriages. This is a big problem as it is an address i am recording

What i need?
Is the replace the return cariages with <br>'s and then pass it thru the query string?

What is the character code for return cariages?

Thanks in advance.

Returns In Multiline Being Sent To XML
ok....dumb question here.

i have a multiline text box for users to enter a short message into.

when they hit <enter> as they are typing what character are they creating? would this be a "/n" or a "/r" ?

its my xml file ends up looking like this:

Code:
<message> blah blah bla

blalbhal

blah
</message>
....i would ideally like these invisible returns to be replaced....any ideas?

robocop

Multiline Graph
anyone knows how to create a multiline graph with the 12 months on the x axis nd value from$20,00 to $40,000 on the y axis?? ?

HTML Multiline?
Hello, I have a question..... again.. jaj. Its just that Iam frustrated with this work I am doing..

Ok, the question is if its possible for a textField to be multiline when it works as html, because I have the property for multiline enabled, but with no results.

This was added: I forgot to mention something important. The text in the textField is being loaded from an external file, all the html code is there. There are parts in the code that use bullets, and if I use a <br>, a new bullet is created, and the message will not make sense separated by unecessary bullets.

CreateTextField And Multiline
I'm trying to make a dynamic text field multiline, and for some reason, it won't work. I can see the text, but it doesn't multiline.

I'm creating a text box inside an empty movie clip. TextClip1 is the empty movie clip.


ActionScript Code:
with(TextClip1)
    {
    createTextField("TitleBox", 1, 0, 0, 300, 100);
    with(TitleBox)
        {
        text = recArray[0].Title;
        selectable = true;
        multiline = true;
        setTextFormat(TitleFormat);
        }
    }

When I review my variables, nothing appears to be wrong. the multiline is set to true... so I have no idea what is going wrong.

Multiline Problem?
I have a dynamic text box and have set the following so the text written to it will break to a second line if need be.:

textBox_txt.multiline = true;
textBox_txt.wordWrap = true;

On the Mac it's fine however it doesn't break on a PC.

Any suggestions?

Detect Multiline
Hi, I've created a search device and some of the results shown have more than one line (or more than one result). From the following function, how can I tell if more than one item has been added to the results field?









Attach Code

function fChkInput():Void {
if (_root.searchPanel_mc.result_txt.text == "") {
for (i=0; i<aAllNames.length; i++) {
if (aAllNames[i] == sSearch || aAllNames[i].toLowerCase() == sSearch) {
searchPanel_mc.result_txt.htmlText += aAllListings[i].attributes.extension+" "+aAllListings[i].attributes.cell+" "+aAllListings[i].attributes.email;
} else {
//searchPanel_mc.result_txt.text = "Not found";
}
}
}
}

Problem With The Multiline
I have problem with the multiline. The problem is that I have put multiline to true, but the text is still on one line?
Please help me!!!


Code:
_root.createTextField("start_txt",300,300,50,400,200);
start_txt.text = start_info;
start_txt.border = true;
myStart = new TextFormat();
myStart.color = 0xFFFFFF;
myStart.font = "arial";
myStart.multiline = true;
myStart.type = "dynamic";
start_txt.setTextFormat(myStart);

Damned Multiline
Code:
this.bg.attachMovie("vidbg_mc", "vidbg_mc", this.getNextHighestDepth());
this.createEmptyMovieClip("holder", this.getNextHighestDepth());
// text field
var whichfile:String = vidfileArr[i];
var whichlabel:String = vidlabelArr[i];
var whichthumb:String = vidthumbArr[i];
var whichdesc:String = viddescArr[i];

this.holder.createTextField("label_txt", this.holder.getNextHighestDepth(), 68, 5, 160, 60);
this.holder.label_txt.multiline = true;
this.holder.label_txt.text = whichlabel+"
"+whichdesc;
var myTextFormat:TextFormat = new TextFormat();
myTextFormat.font = "Arial";
myTextFormat.size = 11;
myTextFormat.bold = false;
myTextFormat.color = 0xFFFFFF;
this.holder.label_txt.selectable = false;
this.holder.label_txt.setTextFormat(myTextFormat);

//*/

// Preload thumbnail
this.holder.createEmptyMovieClip("vidthumb_mc", this.holder.getNextHighestDepth());
mcloader.loadClip("newsite/kaleo/video/thumbs/"+whichthumb, this.holder.vidthumb_mc);
// button functions
this.holder.onRelease = function(){
// load video
//_root.vids_mc.vidnav_mc.header_txt.text = whichlabel;
trace(this);
ns.play("newsite/kaleo/video/flv/"+whichfile);
}

for some messed up reason I can't get the text boxes to display multiline... this bit of code is from a movie clip prototype function. syntax seems to be alright, anybody know what would cause this not to work?

Multiline Alert
Hi, i was wondering how you display multilines in the alert component.

e.g.

The following errors occurred:

- You didnt fill in a username
- You didnt fill in a password
- etc
- etc

Any ideas??

Regards,

Martin

Computing Help And Info:
http://www.webrevolt.biz

Multiline Textbox
I am trying to create a multiline text box but am only getting the first line of text

     textStr = str1 + "
" + str2;

         txt.setNewTextFormat(nameTextFormat);
     txt.selectable = false;
     txt.embedFonts = true;   //necessary for next line
     txt.multiline = true;
     txt.wordWrap = true;
     txt.text = textStr;

RadioButton Multiline
Can a radioButton have a multiline setting for the label. I'm using Flash Pro MX 2004.  I can't find a way to do it, so i was just wondering if that is possible.  Thanks.  

MultiLine TextField
Hello!
i have a small but very strange problem .
i would like to create an autosize textField..

ActionScript Code:
var my_txt:TextField=path.createTextField("my_txt", depth, __x, __y, __width, __height);
        my_txt.autoSize = "justify";
        my_txt.selectable=isSelectable;
        my_txt.wordWrap = true;
        my_txt.multiline = true;
        my_txt.text = textToDisplay;

wich is still impossible is that my text field could be multiline without giving it the max height for the estimated number of linees.
else flash shows a single line !!

Multiline Textfield With Newlines
Hi all,

I am currently working on some little things in Flash in connection with PHP like sending e-mail etc.

My problem is the multiline textfield. When I have carriage/returns in my text and send this text to the PHP file I get the text without the carriage/returns... I tried nl2br($text) in PHP but it stays the same.

Does anybody know how to solve this?

Thanks,
Stefan

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