Weird - I have 3.1 - doesn't do that to me.

Jason Merrill 

Bank of  America  Global Learning 
Learning & Performance Solutions

Join the Bank of America Flash Platform Community  and visit our
Instructional Technology Design Blog
(note: these are for Bank of America employees only)





-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Glen
Pike
Sent: Wednesday, May 12, 2010 9:30 AM
To: [email protected]
Subject: [Flashcoders] Stop flashdevelop "exploding" xml in AS3

Hi,

     I am having problems with my "hardcoded" XML when typing in
FlashDevelop in AS3 code.

     Does anyone know how I stop FD "exploding" my XML when I press
return.

     If I type this:

     var tmp:XML =
<event><format>hex</format><time>{event.time}</time><output>{event.outpu
t}</output><value>{event.value}</value
 ></event>

     FD then changes the formatting to this:

     var tmp:XML = < event > < format > hex
</format><time>{event.time}</time > < output > {event.output}
</output><value>{event.value}</value ></event>

     e.g. adds extraneous whitespace to the XML which breaks it as far
as the compiler is concerned...

     Glen
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to