Sorry, should have been

public var text1:String = "How are you?%0DI am fine."


--- In [email protected], "jovialrandor" <[EMAIL PROTECTED]>
wrote:
>
> does not work.
> 
> here is my code:
> 
> public var text1:String = "How are you?\nI am fine."
> 
> 
> private function openEmail(email:String, role:String):void{
>    var url:String = "mailto:"; + email;
>    var urlRequest : URLRequest = new URLRequest( url + "?subject=Role 
> Use Request&body="+text1);
>    navigateToURL(urlRequest,"_self");
>    
> }
> 
> 
> 
> it displays:  How are you?I am fine
> 
> 
> --- In [email protected], "valdhor" <stevedepp@> wrote:
> >
> > public var text:String = "How are you?\nI am fine."
> > 
> > 
> > --- In [email protected], "jovialrandor" <jovialrandor@>
> > wrote:
> > >
> > > I want to be able to display line breaks in an email template 
> that i am 
> > > seding out from flex.
> > > 
> > > I want to be able to assign a line break in a variable assignment.
> > > 
> > > for example:
> > > 
> > > public var text:String = "How are you?  I am fine."
> > > 
> > > 
> > > [display]
> > > 
> > > How are you?
> > > I am fine
> > >
> >
>


Reply via email to