Re: [Flashcoders] My first code.

2010-12-20 Thread spyder spyders
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 d

Re: [Flashcoders] Automagically create an interface from a given AS3class?

2010-12-20 Thread Matt Perkins
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 2

Re: [Flashcoders] Automagically create an interface from a given AS3class?

2010-12-20 Thread Matt Perkins
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, P

Re: [Flashcoders] Automagically create an interface from a given AS3 class?

2010-12-20 Thread Matt Perkins
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,

Re: [Flashcoders] Automagically create an interface from a given AS3class?

2010-12-20 Thread Peter Ginneberge
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=6488&d=1196363980 Haven't tried/tested it, just a quick google search. regards; M

RE: [Flashcoders] Automagically create an interface from a given AS3 class?

2010-12-20 Thread Merrill, Jason
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.c

[Flashcoders] RE: Poptropica

2010-12-20 Thread Merrill, Jason
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---

Re: [Flashcoders] Automagically create an interface from a given AS3 class?

2010-12-20 Thread Juan Pablo Califano
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 f

[Flashcoders] Poptropica

2010-12-20 Thread Gregory Boudreaux
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 ___

RE: [Flashcoders] RE: Poptropica

2010-12-20 Thread Gregory Boudreaux
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: Popt

RE: [Flashcoders] massive problems with cs5 not compiling/ corrupt fla/xfl files...

2010-12-20 Thread Mendelsohn, Michael
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 spa

Re: [Flashcoders] Poptropica

2010-12-20 Thread Kurt Dommermuth
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 wrote: > Isn't there a Poptropica programmer on the list? > > My daughter is addicted... but she needs help. She said she lost her > her

Re: [Flashcoders] massive problems with cs5 not compiling/ corrupt fla/xfl files...

2010-12-20 Thread tom rhodes
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

[Flashcoders] RE: error msg

2010-12-20 Thread Merrill, Jason
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 eve

Re: [Flashcoders] massive problems with cs5 not compiling/ corrupt fla/xfl files...

2010-12-20 Thread tom rhodes
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

Re: [Flashcoders] massive problems with cs5 not compiling/ corrupt fla/xfl files...

2010-12-20 Thread ZaoNews
Here we had to remake after power outage... 2010/12/20 tom rhodes : > 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 chan

RE: [Flashcoders] massive problems with cs5 not compiling/ corrupt fla/xfl files...

2010-12-20 Thread Mendelsohn, Michael
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 f

[Flashcoders] Automagically create an interface from a given AS3 class?

2010-12-20 Thread Matt Perkins
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 tha

Re: [Flashcoders] massive problems with cs5 not compiling/ corrupt fla/xfl files...

2010-12-20 Thread ZaoNews
Sorry, I donĀ“t know 2010/12/20 tom rhodes : > 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 wrote: > >> Here we had to remake after power outage... >> >> 2010/12/20 tom rhodes : >> > Hi, >> > >> > i

Re: [Flashcoders] massive problems with cs5 not compiling/ corrupt fla/xfl files...

2010-12-20 Thread Paul Andrews
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 r

Re: [Flashcoders] massive problems with cs5 not compiling/ corrupt fla/xfl files...

2010-12-20 Thread tom rhodes
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 wrote: > Here we had to remake after power outage... > > 2010/12/20 tom rhodes : > > Hi, > > > > i'm getting really close to a deadline and a very big project fl

[Flashcoders] massive problems with cs5 not compiling/ corrupt fla/xfl files...

2010-12-20 Thread tom rhodes
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 pr

[Flashcoders] Re: error msg

2010-12-20 Thread Wenzler, Thomas
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 ---