Re: [Flashcoders] Weird auto format

2009-11-19 Thread Karl DeSaulniers
Oh and if I put code below, this is what it does.. for (var o in paypalObj) { sUrl += o + '=' + paypalObj[o] + ''; } trace(sUrl); if (paypalObj.quantity == 0) {

Re: [Flashcoders] Weird auto format

2009-11-17 Thread Ktu
I copy pasted that into CS4 stock and I could not reproduce the error. I tried it on the timeline and in a class file with no luck. Could there be any updates you've done to your version of flash that could cause this? Ktu On Tue, Nov 17, 2009 at 2:02 AM, Karl DeSaulniers

Re: [Flashcoders] Weird auto format

2009-11-17 Thread Karl DeSaulniers
Nope. Just CS3 Karl On Nov 17, 2009, at 2:03 AM, Ktu wrote: I copy pasted that into CS4 stock and I could not reproduce the error. I tried it on the timeline and in a class file with no luck. Could there be any updates you've done to your version of flash that could cause this? Ktu

Re: [Flashcoders] Weird auto format

2009-11-16 Thread Henrik Andersson
Karl DeSaulniers wrote: Hello Flash minds, Wrap your head around this one. I have this piece of code that every time I use auto format, flash moves it outside the brackets it was originally at. I can not reproduce with this limited sample. It just results in a syntax error due to too many

Re: [Flashcoders] Weird auto format

2009-11-16 Thread Karl DeSaulniers
On Nov 17, 2009, at 12:15 AM, Henrik Andersson wrote: I can not reproduce with this limited sample. It just results in a syntax error due to too many ending }, fixing that does not reproduce the bug. Hey Henrik, Kind of long code, thought twice about posting. I shortened it and it still

Re: [Flashcoders] Weird auto format

2009-11-16 Thread Henrik Andersson
Karl DeSaulniers wrote: On Nov 17, 2009, at 12:15 AM, Henrik Andersson wrote: I can not reproduce with this limited sample. It just results in a syntax error due to too many ending }, fixing that does not reproduce the bug. Hey Henrik, Kind of long code, thought twice about posting. I

Re: [Flashcoders] Weird auto format

2009-11-16 Thread Henrik Andersson
Karl DeSaulniers wrote: Hey Henrik, Kind of long code, thought twice about posting. I shortened it and it still does it with this much code. Let me know if you experience the same. Darn, I slipped and replied without saying anything. Anyway, I can now reproduce the bug.

Re: [Flashcoders] Weird auto format

2009-11-16 Thread Karl DeSaulniers
So it is a bug? Karl On Nov 17, 2009, at 12:44 AM, Henrik Andersson wrote: Karl DeSaulniers wrote: Hey Henrik, Kind of long code, thought twice about posting. I shortened it and it still does it with this much code. Let me know if you experience the same. Darn, I slipped and replied without

Re: [Flashcoders] Weird auto format

2009-11-16 Thread Henrik Andersson
Karl DeSaulniers wrote: So it is a bug? Karl To be blunt, yes, yes it is. I filed a bug report, maybe it will be fixed in CS 5. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Re: [Flashcoders] Weird auto format

2009-11-16 Thread Karl DeSaulniers
Interesting. Thanks. Any wild guesses as to why it happens?? Karl On Nov 17, 2009, at 12:55 AM, Henrik Andersson wrote: Karl DeSaulniers wrote: So it is a bug? Karl To be blunt, yes, yes it is. I filed a bug report, maybe it will be fixed in CS 5.