How to insert complex strings into Actionscript?

Posted by Ole Jak on Stack Overflow See other posts from Stack Overflow or by Ole Jak
Published on 2010-05-21T20:33:17Z Indexed on 2010/05/21 20:40 UTC
Read the original article Hit count: 202

Filed under:
|
|
|
|

How to insert complex strings into Actionscript?

So I have a string

    -vvv -I rc w:// v dv s="60x40" --ut="#scode{vcode=FV1,acode=p3,ab=128,ch=2,rate=4400}:dup{dt=st{ac=http{mime=v/x-flv},mux=mpeg{v},dt=:80/sm.fv}}"

How to insert it into code like

public var SuperPuperComplexString:String = new String();
SuperPuperComplexString =  TO_THAT_COMPLEX_STRING;

That string has so many problems like some cart of it can happen to be like regexp BUTI DO NOT want it to be parsed as any kind of reg exp - I need It AS IT IS!)

How to put that strange string into variable (put it not inputing it thru UI - hardcode it into AS code)?

© Stack Overflow or respective owner

Related posts about actionscript-3

Related posts about flash