Josh, can you highlight how I can use this for line break?

Thanks

--- In [email protected], "Josh McDonald" <[EMAIL PROTECTED]> wrote:
>
> 
http://livedocs.adobe.com/flex/3/langref/package.html#encodeURICompone
nt()
> 
> On Wed, Jun 25, 2008 at 6:33 AM, 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
> > > >
> > >
> >
> >
> >
> > ------------------------------------
> >
> > --
> > Flexcoders Mailing List
> > FAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> > Search Archives:
> > http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! 
Groups
> > Links
> >
> >
> >
> >
> 
> 
> -- 
> "Therefore, send not to know For whom the bell tolls. It tolls for 
thee."
> 
> :: Josh 'G-Funk' McDonald
> :: 0437 221 380 :: [EMAIL PROTECTED]
>


Reply via email to