Link to home
Start Free TrialLog in
Avatar of stracqan
stracqan

asked on

Is there a way to have a line break in an Alert in Flex 3?

Hello!

I was wondering if there is a way in the Actionscript Alert Code to have the message line break / have a carriage return.  In other words, If I have two paragraphs that I would like to display in an Alert, how can I distinguish between the two similar to the <br/> tag in HTML.

Thank you very much in advance!!!!!!!!!!!!!!!

<!--a non working basic example in Actionscript-->

import mx.controls.Alert;

private function AlertTest():void{

Alert.show("Testing! (I would like it to break here) Testing!!","Line Break Example..");

}

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of vindys80
vindys80
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of stracqan
stracqan

ASKER

Pefect!! Thank you!!