[Flashcoders] Stop flashdevelop exploding xml in AS3

2010-05-12 Thread Glen Pike

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 = 
eventformathex/formattime{event.time}/timeoutput{event.output}/outputvalue{event.value}/value 
/event


FD then changes the formatting to this:

var tmp:XML =  event   format  hex 
/formattime{event.time}/time   output  {event.output} 
/outputvalue{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
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Stop flashdevelop exploding xml in AS3

2010-05-12 Thread Eric E. Dolecki
Why not post a question to the FlashDevelop forum? I've even fetched the
link for you.

http://www.flashdevelop.org/community/index.php

- Eric


On Wed, May 12, 2010 at 9:30 AM, Glen Pike g...@engineeredarts.co.ukwrote:

 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 =
 eventformathex/formattime{event.time}/timeoutput{event.output}/outputvalue{event.value}/value
 /event

FD then changes the formatting to this:

var tmp:XML =  event   format  hex /formattime{event.time}/time
   output  {event.output} /outputvalue{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
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders




-- 
http://ericd.net
Interactive design and development
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Stop flashdevelop exploding xml in AS3

2010-05-12 Thread Glen Pike

Better still, upgrade to latest version which seems to have fixed it...

Cheers :)

On 12/05/2010 16:35, Eric E. Dolecki wrote:

Why not post a question to the FlashDevelop forum? I've even fetched the
link for you.

http://www.flashdevelop.org/community/index.php

- Eric


On Wed, May 12, 2010 at 9:30 AM, Glen Pikeg...@engineeredarts.co.ukwrote:

   

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 =
eventformathex/formattime{event.time}/timeoutput{event.output}/outputvalue{event.value}/value
 

/event
   

FD then changes the formatting to this:

var tmp:XML =  eventformat  hex/formattime{event.time}/time
 

  output  {event.output}/outputvalue{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
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 



   


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] Stop flashdevelop exploding xml in AS3

2010-05-12 Thread Merrill, Jason
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: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Glen
Pike
Sent: Wednesday, May 12, 2010 9:30 AM
To: Flashcoders@chattyfig.figleaf.com
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 =
eventformathex/formattime{event.time}/timeoutput{event.outpu
t}/outputvalue{event.value}/value
 /event

 FD then changes the formatting to this:

 var tmp:XML =  event   format  hex
/formattime{event.time}/time   output  {event.output}
/outputvalue{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
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders