[Flashcoders] Re: error msg
Jason, Is that considered bad practice in lieu of code readability or is there another pitfall I just don't see? I'm only asking because in my short past of writing AS3 I called Event Handlers with an argument of 'null' sometimes to save on function single-liners like doIt(); Best Thomas -- Message: 9 Date: Thu, 16 Dec 2010 19:48:16 -0500 From: Merrill, Jason jason.merr...@bankofamerica.com Subject: RE: [Flashcoders] error mesg To: Flash Coders List flashcoders@chattyfig.figleaf.com Message-ID: 01420bdc257faa4f862f3776a27dc28e3d2e9...@ex2k.bankofamerica.com Content-Type: text/plain; CHARSET=US-ASCII You shouldn't be manually calling an event handler in your code. If you want multiple event handler functions to run the same set of code, then create a third function that they all call. function onSomething(event:Event):void { doIt(); } function onSomethingElse(event:Event) { doIt(); } function doIt():void { //doStuff. } Jason Merrill Instructional Technology Architect Bank of America Global Learning ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] massive problems with cs5 not compiling/ corrupt fla/xfl files...
Hi, i'm getting really close to a deadline and a very big project fla went corrupt on saturday, i googled the issues with cs5 and rolled back a version or two in svn and then saved only as xfl but today i made a few changes to the xfl to export a new swc with assets to use with the flashdevelop project and it won't export at all, it won't save to a diff version and crashes on opening... more googling hasn't got me anywhere, has anyone resolved these issues? i've updated flash to 11.0.2 on saturday when i first started havign probs. really desperately need some help here as it's getting far to close to launch time to be remaking assets only to arrive at the same situation... thanks in advance, tom. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] massive problems with cs5 not compiling/ corrupt fla/xfl files...
yeah i think the probs started from power going off and on on friday afternoon. nothing i can do? On 20 December 2010 14:21, ZaoNews zaon...@bol.com.br wrote: Here we had to remake after power outage... 2010/12/20 tom rhodes tom.rho...@gmail.com: Hi, i'm getting really close to a deadline and a very big project fla went corrupt on saturday, i googled the issues with cs5 and rolled back a version or two in svn and then saved only as xfl but today i made a few changes to the xfl to export a new swc with assets to use with the flashdevelop project and it won't export at all, it won't save to a diff version and crashes on opening... more googling hasn't got me anywhere, has anyone resolved these issues? i've updated flash to 11.0.2 on saturday when i first started havign probs. really desperately need some help here as it's getting far to close to launch time to be remaking assets only to arrive at the same situation... thanks in advance, tom. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- Atenciosamente, Isaías J. Campos www.zaonamidia.com www.flickr.com/zaonamidia ___ 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] massive problems with cs5 not compiling/ corrupt fla/xfl files...
On 20/12/2010 13:30, Mendelsohn, Michael wrote: I've been going through the exact same horrible situation, and I feel your pain, Tom. My issue seems to have worked itself out as of late. For some insight, check my thread swf not compiling, originating on December 10th. Ultimately, I kept recreating the fla file. Converting it to an xfl file didn't do anything to help. It wasn't an issue with the as files, the issue is in the fla file. Fortunately, I don't have very many library items in my fla, so I could fairly easily recreate the file. Good luck. - Michael M. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders It might be an idea to create a new fla, then copy items from the library. It may be that you can do it in stages to try and find out if any are corrupted in stages. Paul ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] massive problems with cs5 not compiling/ corrupt fla/xfl files...
Sorry, I don´t know 2010/12/20 tom rhodes tom.rho...@gmail.com: yeah i think the probs started from power going off and on on friday afternoon. nothing i can do? On 20 December 2010 14:21, ZaoNews zaon...@bol.com.br wrote: Here we had to remake after power outage... 2010/12/20 tom rhodes tom.rho...@gmail.com: Hi, i'm getting really close to a deadline and a very big project fla went corrupt on saturday, i googled the issues with cs5 and rolled back a version or two in svn and then saved only as xfl but today i made a few changes to the xfl to export a new swc with assets to use with the flashdevelop project and it won't export at all, it won't save to a diff version and crashes on opening... more googling hasn't got me anywhere, has anyone resolved these issues? i've updated flash to 11.0.2 on saturday when i first started havign probs. really desperately need some help here as it's getting far to close to launch time to be remaking assets only to arrive at the same situation... thanks in advance, tom. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- Atenciosamente, Isaías J. Campos www.zaonamidia.com www.flickr.com/zaonamidia ___ 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 -- Atenciosamente, Isaías J. Campos www.zaonamidia.com www.flickr.com/zaonamidia ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Automagically create an interface from a given AS3 class?
So this is me being extremely lazy - is there a tool or a feature of a tool that'll automatically create an interface from a class file? I'm learning DI and implementing it in a framework that I have and to properly follow DI principals, I need to make heavy use of interfaces as types rather than the classes. I have a good list of interfaces to create. Thanks! Matt Perkins - http://www.nudoru.com http://udon.nudoru.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] massive problems with cs5 not compiling/ corrupt fla/xfl files...
I've been going through the exact same horrible situation, and I feel your pain, Tom. My issue seems to have worked itself out as of late. For some insight, check my thread swf not compiling, originating on December 10th. Ultimately, I kept recreating the fla file. Converting it to an xfl file didn't do anything to help. It wasn't an issue with the as files, the issue is in the fla file. Fortunately, I don't have very many library items in my fla, so I could fairly easily recreate the file. Good luck. - Michael M. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] massive problems with cs5 not compiling/ corrupt fla/xfl files...
Here we had to remake after power outage... 2010/12/20 tom rhodes tom.rho...@gmail.com: Hi, i'm getting really close to a deadline and a very big project fla went corrupt on saturday, i googled the issues with cs5 and rolled back a version or two in svn and then saved only as xfl but today i made a few changes to the xfl to export a new swc with assets to use with the flashdevelop project and it won't export at all, it won't save to a diff version and crashes on opening... more googling hasn't got me anywhere, has anyone resolved these issues? i've updated flash to 11.0.2 on saturday when i first started havign probs. really desperately need some help here as it's getting far to close to launch time to be remaking assets only to arrive at the same situation... thanks in advance, tom. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- Atenciosamente, Isaías J. Campos www.zaonamidia.com www.flickr.com/zaonamidia ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] massive problems with cs5 not compiling/ corrupt fla/xfl files...
no code in the fla at all, nearly 1000 library items, i recreated a fla on sat to create a xfl file which worked for a whole day now when trying to copy library items from old versions from my svn or newer elements from the file which won't compile flash just crashes. this project is very big and starting from scratch just isn't an option... On 20 December 2010 15:08, ZaoNews zaon...@bol.com.br wrote: Sorry, I don´t know 2010/12/20 tom rhodes tom.rho...@gmail.com: yeah i think the probs started from power going off and on on friday afternoon. nothing i can do? On 20 December 2010 14:21, ZaoNews zaon...@bol.com.br wrote: Here we had to remake after power outage... 2010/12/20 tom rhodes tom.rho...@gmail.com: Hi, i'm getting really close to a deadline and a very big project fla went corrupt on saturday, i googled the issues with cs5 and rolled back a version or two in svn and then saved only as xfl but today i made a few changes to the xfl to export a new swc with assets to use with the flashdevelop project and it won't export at all, it won't save to a diff version and crashes on opening... more googling hasn't got me anywhere, has anyone resolved these issues? i've updated flash to 11.0.2 on saturday when i first started havign probs. really desperately need some help here as it's getting far to close to launch time to be remaking assets only to arrive at the same situation... thanks in advance, tom. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- Atenciosamente, Isaías J. Campos www.zaonamidia.com www.flickr.com/zaonamidia ___ 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 -- Atenciosamente, Isaías J. Campos www.zaonamidia.com www.flickr.com/zaonamidia ___ 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
[Flashcoders] RE: error msg
I think directly calling an event handler (meaning, you also have code call it, it doesn't just fire automatically from an event) and passing it a null argument is bad architecture. I think the preferred way would be to create a separate function to handle logic as per my examples, and keep event handlers as event handlers. Otherwise, you're making an event handler also a normal function. You certainly can have, and often should have, logic within the event handler, but if you also want that logic to be run from a non-event (like calling it with code), then you should have a separate function for that logic. Jason Merrill Instructional Technology Architect Bank of America Global Learning ___ -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Wenzler, Thomas Sent: Monday, December 20, 2010 4:27 AM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] Re: error msg Jason, Is that considered bad practice in lieu of code readability or is there another pitfall I just don't see? I'm only asking because in my short past of writing AS3 I called Event Handlers with an argument of 'null' sometimes to save on function single-liners like doIt(); Best Thomas -- Message: 9 Date: Thu, 16 Dec 2010 19:48:16 -0500 From: Merrill, Jason jason.merr...@bankofamerica.com Subject: RE: [Flashcoders] error mesg To: Flash Coders List flashcoders@chattyfig.figleaf.com Message-ID: 01420bdc257faa4f862f3776a27dc28e3d2e9...@ex2k.bankofamerica.com Content-Type: text/plain; CHARSET=US-ASCII You shouldn't be manually calling an event handler in your code. If you want multiple event handler functions to run the same set of code, then create a third function that they all call. function onSomething(event:Event):void { doIt(); } function onSomethingElse(event:Event) { doIt(); } function doIt():void { //doStuff. } Jason Merrill Instructional Technology Architect Bank of America Global Learning ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- This message w/attachments (message) is intended solely for the use of the intended recipient(s) and may contain information that is privileged, confidential or proprietary. If you are not an intended recipient, please notify the sender, and then please delete and destroy all copies and attachments, and be advised that any review or dissemination of, or the taking of any action in reliance on, the information contained in or attached to this message is prohibited. Unless specifically indicated, this message is not an offer to sell or a solicitation of any investment products or other financial product or service, an official confirmation of any transaction, or an official statement of Sender. Subject to applicable law, Sender may intercept, monitor, review and retain e-communications (EC) traveling through its networks/systems and may produce any such EC to regulators, law enforcement, in litigation and as required by law. The laws of the country of each sender/recipient may impact the handling of EC, and EC may be archived, supervised and produced in countries other than the country in which you are located. This message cannot be guaranteed to be secure or free of errors or viruses. References to Sender are references to any subsidiary of Bank of America Corporation. Securities and Insurance Products: * Are Not FDIC Insured * Are Not Bank Guaranteed * May Lose Value * Are Not a Bank Deposit * Are Not a Condition to Any Banking Service or Activity * Are Not Insured by Any Federal Government Agency. Attachments that are part of this EC may have additional important disclosures and disclaimers, which you should read. This message is subject to terms available at the following link: http://www.bankofamerica.com/emaildisclaimer. By messaging with Sender you consent to the foregoing. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] massive problems with cs5 not compiling/ corrupt fla/xfl files...
i'll give it a go! sounds similar to what i did on sat to make it work for a day... On 20 December 2010 17:06, Mendelsohn, Michael michael.mendels...@fmglobal.com wrote: One thing I tried which seemed to work, temporarily anyway, was to save the xfl file from the seemingly corrupt fla file, then open the xfl file and save it as the same name as the fla file. Just make sure to save a copy of that original fla file. Then it seems like you're saving a new fla spawned out of pure xml code. I had been thinking that the corruption came from something in the artwork. But if it's resaved by means of describing the vectors in the art, that could solve it. Worth a try, - MM ___ 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] Poptropica
LOL. I can't help, but this made me chuckle. I have a kid who loves it too. Thanks for the laugh. Kurt On Mon, Dec 20, 2010 at 12:06 PM, Gregory Boudreaux gjboudre...@fedex.comwrote: Isn't there a Poptropica programmer on the list? My daughter is addicted... but she needs help. She said she lost her her ship on Earth and cannot locate it. Is there a way she can easily find it? Sorry for the slightly off topic question... but I am in crisis mode here. gregb ___ 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] massive problems with cs5 not compiling/ corrupt fla/xfl files...
One thing I tried which seemed to work, temporarily anyway, was to save the xfl file from the seemingly corrupt fla file, then open the xfl file and save it as the same name as the fla file. Just make sure to save a copy of that original fla file. Then it seems like you're saving a new fla spawned out of pure xml code. I had been thinking that the corruption came from something in the artwork. But if it's resaved by means of describing the vectors in the art, that could solve it. Worth a try, - MM ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] RE: Poptropica
Yes, that would be quite ironic and funny. gregb -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Merrill, Jason Sent: Monday, December 20, 2010 11:38 AM To: Flash Coders List Subject: [Flashcoders] RE: Poptropica Irony of ironies would be if that developer introduced that bug into the game because of something you suggested to him in response to a question here. :) Jason Merrill Instructional Technology Architect Bank of America Global Learning ___ -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Gregory Boudreaux Sent: Monday, December 20, 2010 12:07 PM To: Flash Coders List Subject: [Flashcoders] Poptropica Isn't there a Poptropica programmer on the list? My daughter is addicted... but she needs help. She said she lost her her ship on Earth and cannot locate it. Is there a way she can easily find it? Sorry for the slightly off topic question... but I am in crisis mode here. gregb ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- This message w/attachments (message) is intended solely for the use of the intended recipient(s) and may contain information that is privileged, confidential or proprietary. If you are not an intended recipient, please notify the sender, and then please delete and destroy all copies and attachments, and be advised that any review or dissemination of, or the taking of any action in reliance on, the information contained in or attached to this message is prohibited. Unless specifically indicated, this message is not an offer to sell or a solicitation of any investment products or other financial product or service, an official confirmation of any transaction, or an official statement of Sender. Subject to applicable law, Sender may intercept, monitor, review and retain e-communications (EC) traveling through its networks/systems and may produce any such EC to regulators, law enforcement, in litigation and as required by law. The laws of the country of each sender/recipient may impact the handling of EC, and EC may be archived, supervised and produced in countries other than the country in which you are located. This message cannot be guaranteed to be secure or free of errors or viruses. References to Sender are references to any subsidiary of Bank of America Corporation. Securities and Insurance Products: * Are Not FDIC Insured * Are Not Bank Guaranteed * May Lose Value * Are Not a Bank Deposit * Are Not a Condition to Any Banking Service or Activity * Are Not Insured by Any Federal Government Agency. Attachments that are part of this EC may have additional important disclosures and disclaimers, which you should read. This message is subject to terms available at the following link: http://www.bankofamerica.com/emaildisclaimer. By messaging with Sender you consent to the foregoing. ___ 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
[Flashcoders] Poptropica
Isn't there a Poptropica programmer on the list? My daughter is addicted... but she needs help. She said she lost her her ship on Earth and cannot locate it. Is there a way she can easily find it? Sorry for the slightly off topic question... but I am in crisis mode here. gregb ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Automagically create an interface from a given AS3 class?
This is usually called extract interface. In some languages like Java, there are a number of tools that let you do this; Eclipse comes with this refactor, for instance. http://www.javalobby.org/java/forums/t19062.html I know this isn't the answer to your question because you obviously need it for Actiosncript code, but maybe knowing the common name can help you narrowing you search (for what is worth, I'm not aware of any tool that offers this feature for AS). Cheers Juan Pablo Califano 2010/12/20 Matt Perkins nudoru.m...@gmail.com So this is me being extremely lazy - is there a tool or a feature of a tool that'll automatically create an interface from a class file? I'm learning DI and implementing it in a framework that I have and to properly follow DI principals, I need to make heavy use of interfaces as types rather than the classes. I have a good list of interfaces to create. Thanks! Matt Perkins - http://www.nudoru.com http://udon.nudoru.com ___ 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
[Flashcoders] RE: Poptropica
Irony of ironies would be if that developer introduced that bug into the game because of something you suggested to him in response to a question here. :) Jason Merrill Instructional Technology Architect Bank of America Global Learning ___ -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Gregory Boudreaux Sent: Monday, December 20, 2010 12:07 PM To: Flash Coders List Subject: [Flashcoders] Poptropica Isn't there a Poptropica programmer on the list? My daughter is addicted... but she needs help. She said she lost her her ship on Earth and cannot locate it. Is there a way she can easily find it? Sorry for the slightly off topic question... but I am in crisis mode here. gregb ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- This message w/attachments (message) is intended solely for the use of the intended recipient(s) and may contain information that is privileged, confidential or proprietary. If you are not an intended recipient, please notify the sender, and then please delete and destroy all copies and attachments, and be advised that any review or dissemination of, or the taking of any action in reliance on, the information contained in or attached to this message is prohibited. Unless specifically indicated, this message is not an offer to sell or a solicitation of any investment products or other financial product or service, an official confirmation of any transaction, or an official statement of Sender. Subject to applicable law, Sender may intercept, monitor, review and retain e-communications (EC) traveling through its networks/systems and may produce any such EC to regulators, law enforcement, in litigation and as required by law. The laws of the country of each sender/recipient may impact the handling of EC, and EC may be archived, supervised and produced in countries other than the country in which you are located. This message cannot be guaranteed to be secure or free of errors or viruses. References to Sender are references to any subsidiary of Bank of America Corporation. Securities and Insurance Products: * Are Not FDIC Insured * Are Not Bank Guaranteed * May Lose Value * Are Not a Bank Deposit * Are Not a Condition to Any Banking Service or Activity * Are Not Insured by Any Federal Government Agency. Attachments that are part of this EC may have additional important disclosures and disclaimers, which you should read. This message is subject to terms available at the following link: http://www.bankofamerica.com/emaildisclaimer. By messaging with Sender you consent to the foregoing. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] Automagically create an interface from a given AS3 class?
Intellij IDEA has a Generate Implement Methods for AS3, but I haven't quite figured out how it works yet. Jason Merrill Instructional Technology Architect Bank of America Global Learning ___ -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Juan Pablo Califano Sent: Monday, December 20, 2010 1:24 PM To: Flash Coders List Subject: Re: [Flashcoders] Automagically create an interface from a given AS3 class? This is usually called extract interface. In some languages like Java, there are a number of tools that let you do this; Eclipse comes with this refactor, for instance. http://www.javalobby.org/java/forums/t19062.html I know this isn't the answer to your question because you obviously need it for Actiosncript code, but maybe knowing the common name can help you narrowing you search (for what is worth, I'm not aware of any tool that offers this feature for AS). Cheers Juan Pablo Califano 2010/12/20 Matt Perkins nudoru.m...@gmail.com So this is me being extremely lazy - is there a tool or a feature of a tool that'll automatically create an interface from a class file? I'm learning DI and implementing it in a framework that I have and to properly follow DI principals, I need to make heavy use of interfaces as types rather than the classes. I have a good list of interfaces to create. Thanks! Matt Perkins - http://www.nudoru.com http://udon.nudoru.com ___ 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 -- This message w/attachments (message) is intended solely for the use of the intended recipient(s) and may contain information that is privileged, confidential or proprietary. If you are not an intended recipient, please notify the sender, and then please delete and destroy all copies and attachments, and be advised that any review or dissemination of, or the taking of any action in reliance on, the information contained in or attached to this message is prohibited. Unless specifically indicated, this message is not an offer to sell or a solicitation of any investment products or other financial product or service, an official confirmation of any transaction, or an official statement of Sender. Subject to applicable law, Sender may intercept, monitor, review and retain e-communications (EC) traveling through its networks/systems and may produce any such EC to regulators, law enforcement, in litigation and as required by law. The laws of the country of each sender/recipient may impact the handling of EC, and EC may be archived, supervised and produced in countries other than the country in which you are located. This message cannot be guaranteed to be secure or free of errors or viruses. References to Sender are references to any subsidiary of Bank of America Corporation. Securities and Insurance Products: * Are Not FDIC Insured * Are Not Bank Guaranteed * May Lose Value * Are Not a Bank Deposit * Are Not a Condition to Any Banking Service or Activity * Are Not Insured by Any Federal Government Agency. Attachments that are part of this EC may have additional important disclosures and disclaimers, which you should read. This message is subject to terms available at the following link: http://www.bankofamerica.com/emaildisclaimer. By messaging with Sender you consent to the foregoing. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Automagically create an interface from a given AS3class?
Just did a quick google and this turned up: http://flashfocus.nl/forum/showthread.php?t=38705 It's a Dutch forum, but you should be able to get the tool here: http://flashfocus.nl/forum/attachment.php?attachmentid=6488d=1196363980 Haven't tried/tested it, just a quick google search. regards; Muzak - Original Message - From: Matt Perkins nudoru.m...@gmail.com To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Monday, December 20, 2010 3:12 PM Subject: [Flashcoders] Automagically create an interface from a given AS3class? So this is me being extremely lazy - is there a tool or a feature of a tool that'll automatically create an interface from a class file? I'm learning DI and implementing it in a framework that I have and to properly follow DI principals, I need to make heavy use of interfaces as types rather than the classes. I have a good list of interfaces to create. Thanks! Matt Perkins - http://www.nudoru.com http://udon.nudoru.com ___ 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] Automagically create an interface from a given AS3 class?
Thanks Jaun! I'll goolge around. Matt Perkins - http://www.nudoru.com http://udon.nudoru.com On Mon, Dec 20, 2010 at 1:23 PM, Juan Pablo Califano califa010.flashcod...@gmail.com wrote: This is usually called extract interface. In some languages like Java, there are a number of tools that let you do this; Eclipse comes with this refactor, for instance. http://www.javalobby.org/java/forums/t19062.html I know this isn't the answer to your question because you obviously need it for Actiosncript code, but maybe knowing the common name can help you narrowing you search (for what is worth, I'm not aware of any tool that offers this feature for AS). Cheers Juan Pablo Califano 2010/12/20 Matt Perkins nudoru.m...@gmail.com So this is me being extremely lazy - is there a tool or a feature of a tool that'll automatically create an interface from a class file? I'm learning DI and implementing it in a framework that I have and to properly follow DI principals, I need to make heavy use of interfaces as types rather than the classes. I have a good list of interfaces to create. Thanks! Matt Perkins - http://www.nudoru.com http://udon.nudoru.com ___ 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 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Automagically create an interface from a given AS3class?
Thanks, I'll try that out. Found Soucemate for Flash Builder can do this also - http://www.elementriver.com/sourcemate/features/extract-interface But free beats $80! :) Matt Perkins - http://www.nudoru.com http://udon.nudoru.com On Mon, Dec 20, 2010 at 2:39 PM, Peter Ginneberge p.ginnebe...@telenet.bewrote: Just did a quick google and this turned up: http://flashfocus.nl/forum/showthread.php?t=38705 It's a Dutch forum, but you should be able to get the tool here: http://flashfocus.nl/forum/attachment.php?attachmentid=6488d=1196363980 Haven't tried/tested it, just a quick google search. regards; Muzak - Original Message - From: Matt Perkins nudoru.m...@gmail.com To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Monday, December 20, 2010 3:12 PM Subject: [Flashcoders] Automagically create an interface from a given AS3class? So this is me being extremely lazy - is there a tool or a feature of a tool that'll automatically create an interface from a class file? I'm learning DI and implementing it in a framework that I have and to properly follow DI principals, I need to make heavy use of interfaces as types rather than the classes. I have a good list of interfaces to create. Thanks! Matt Perkins - http://www.nudoru.com http://udon.nudoru.com ___ 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 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Automagically create an interface from a given AS3class?
That's an awesome find! That little utility works great! The output file needs little bit of tweaking but it's well worth it. SourceMate for Flash Builder does this too, but free beats $80! Matt Perkins - http://www.nudoru.com http://udon.nudoru.com On Mon, Dec 20, 2010 at 2:39 PM, Peter Ginneberge p.ginnebe...@telenet.bewrote: Just did a quick google and this turned up: http://flashfocus.nl/forum/showthread.php?t=38705 It's a Dutch forum, but you should be able to get the tool here: http://flashfocus.nl/forum/attachment.php?attachmentid=6488d=1196363980 Haven't tried/tested it, just a quick google search. regards; Muzak - Original Message - From: Matt Perkins nudoru.m...@gmail.com To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Monday, December 20, 2010 3:12 PM Subject: [Flashcoders] Automagically create an interface from a given AS3class? So this is me being extremely lazy - is there a tool or a feature of a tool that'll automatically create an interface from a class file? I'm learning DI and implementing it in a framework that I have and to properly follow DI principals, I need to make heavy use of interfaces as types rather than the classes. I have a good list of interfaces to create. Thanks! Matt Perkins - http://www.nudoru.com http://udon.nudoru.com ___ 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 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] My first code.
Thank you both. i can see where I know parts but not the big picture. Unfortunately, right now Im strapped for cash. Here is how I made and used the class. I didnt know to link it as a base class. I linked it as a Class. But, it works as far as I can tell!!! : ) It is going to need to do turn something on and off at some point, but I think you will get the general idea. Thanks everyone!! :D I tried to mail it and it was too big. 0.89mb I think http://rapidshare.com/files/438465414/firstToggleButton.zip ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders