[flexcoders] Re: Error(s) not shown as error(s)
Hi Prakaz, I had not come across this problem before, but I can reproduce it. Don't have any idea why. Rui --- In flexcoders@yahoogroups.com, Prakaz [EMAIL PROTECTED] wrote: Hi Everybody, I just came across this strange problem where errors in Flex code are not shown as errors! Let me explain: 1. *Create a simple class [dummyClass.as]* package com.some.package.path { public class dummyClass { private var str:String; public function dummyClass():void{ // Constructor str=test string; trace(str); // trace the text } } } *This works fine, lets go to the next step* 2. *Add some errors to the class* package com.some.package.path { public class dummyClass { private var str:String; public function dummyClass():void{ // Constructor error_variable1=test string; // Access of undefined property error_variable1 error_variable2=test string; // Access of undefined property error_variable2 error_variable3=test string; // 1 more error str=test string; trace(str); // trace the text } } } *Flex Builder shows a red cross sign x preceding the three indicating that there is something wrong there * 3. *Now add a variable declaration ouside the scope of the class *package com.some.package.path { * public var foo:Boolean; // Some declaration added outside the scope of the class (by mistake) * public class dummyClass { private var str:String; public function dummyClass():void{ // Constructor error_variable1=test string; // This line is no more displayed as an error by Flex Builder error_variable2=test string; // Neither is this one error_variable3=test string; // Nor this str=test string; trace(str); // trace the text } } } Now, here is where the problem starts Those three lines of code are no more shown as errors. The red cross just disappears as soon as you add the variable declaration outside the scope of the class dummyClass. I happened to add that variable by mistake and everytime I ran the application it would say that there are error(s). I ran through every class and there was no indication(the red cross) whatsoever that there was a problem anywhere. After losing some hair i managed to find that variable declaration. And as soon as i commented that line, all red crosses re-appeared again! walla!! I dont know if its only me or if someone else has has come across this issue. Could you guys let me know if the same thing happens at your end? Thanks P -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: Error(s) not shown as error(s)
Hi Prakaz, I had not come across this problem before, but I can reproduce it. Don't have any idea why. Rui --- In flexcoders@yahoogroups.com, Prakaz [EMAIL PROTECTED] wrote: Hi Everybody, I just came across this strange problem where errors in Flex code are not shown as errors! Let me explain: 1. *Create a simple class [dummyClass.as]* package com.some.package.path { public class dummyClass { private var str:String; public function dummyClass():void{ // Constructor str=test string; trace(str); // trace the text } } } *This works fine, lets go to the next step* 2. *Add some errors to the class* package com.some.package.path { public class dummyClass { private var str:String; public function dummyClass():void{ // Constructor error_variable1=test string; // Access of undefined property error_variable1 error_variable2=test string; // Access of undefined property error_variable2 error_variable3=test string; // 1 more error str=test string; trace(str); // trace the text } } } *Flex Builder shows a red cross sign x preceding the three indicating that there is something wrong there * 3. *Now add a variable declaration ouside the scope of the class *package com.some.package.path { * public var foo:Boolean; // Some declaration added outside the scope of the class (by mistake) * public class dummyClass { private var str:String; public function dummyClass():void{ // Constructor error_variable1=test string; // This line is no more displayed as an error by Flex Builder error_variable2=test string; // Neither is this one error_variable3=test string; // Nor this str=test string; trace(str); // trace the text } } } Now, here is where the problem starts Those three lines of code are no more shown as errors. The red cross just disappears as soon as you add the variable declaration outside the scope of the class dummyClass. I happened to add that variable by mistake and everytime I ran the application it would say that there are error(s). I ran through every class and there was no indication(the red cross) whatsoever that there was a problem anywhere. After losing some hair i managed to find that variable declaration. And as soon as i commented that line, all red crosses re-appeared again! walla!! I dont know if its only me or if someone else has has come across this issue. Could you guys let me know if the same thing happens at your end? Thanks P -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: Bookmarks?
Click in the code where you want to bookmark it. Then, rigth-click in the left-margin (grey one) and select Bookmark... Give a name, and off you go. To use your bookmarks: open the Bookmarks view (windowother views ...Bookmarks) In the Boolmark-view you will see your bookmarks arranged in alfabetical order. Click on a bookmark to go to the right place in your code. Rui --- In flexcoders@yahoogroups.com, Steve Kellogg @ Project SOC [EMAIL PROTECTED] wrote: Hello, Is there any special trick to getting bookmarks to work? I'm selecting a place in a source (mxml) file, and looking for Edit - Add Bookmark as indicated in the dox, but there's no such item in the menu. Is there a preference that I'm missing? Thanks in advance, Steve Steve Kellogg Peak8 Solutions 1401 14th Street Boulder, Colorado 80302, USA Fax: 303.415.2597 E-Mail: [EMAIL PROTECTED] -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/