[Flashcoders] [RE:] flash game source code
quotefound this in 0.25 seconds, but didn't download to check it:/quote Yes, Eric, I also found that link in 0.25 seconds, and the download stopped at 31% each of the 3 times I tried to download it. Your response was rude and condescending. Maybe you should consider that some of the people that post here do search on Google before posting. In fact, I spent a significant amount of time on several search engines looking for this, and I was unable to find what I was looking for. As I indicated in my original post, I found lots of emulators, but that's not what I want to do. I also found several references to the PushButton engine version, but that won't work for me either. Anyway, thanks to everyone else who responded. I finally found what I was looking for. Foundry Designs Inc. Professional Website Design and Online Marketing Mike Stocke msto...@foundrydesigns.com 248.787.1306 _ The New Busy think 9 to 5 is a cute idea. Combine multiple calendars with Hotmail. http://www.windowslive.com/campaign/thenewbusy?tile=multicalendarocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_5___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] flash game source code
Good evening everyone. I would like to make a space invaders clone using AS3. I don't have alot of time, so developing from scratch isn't really an option. Does anyone have any suggestions for places to find source code? Flashkit is too old, and I haven't been able to find anything at kirupa.com. I've seen a number of emulators, but I want something that I can customize with my own assets and animations if possible. Any suggestions anyone can give would be appreciated. Thanks. Foundry Designs Inc. Professional Website Design and Online Marketing Mike Stocke msto...@foundrydesigns.com 248.787.1306 _ Hotmail is redefining busy with tools for the New Busy. Get more from your inbox. http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_2___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] display trace() in text field
Good morning everyone. Is it possible to display trace actions in a text field? I realize there are numerous other troubleshooting tools similar to trace, but I specifically want to display trace actions without any additional coding required in the target file. I want to create a debugging tool in AIR that will allow me to display trace actions from currently running swfs. I suspect this isn't feasible, but any tips or ideas would be appreciated, Thanks. Mike Stocke Interface Engineer Organic, Inc. | Detroit 2600 S. Telegraph Road -- Suite 100, Bloomfield Hills, MI 48302 t: 248.454.4015 | f: 248.454.3370 Email: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] Blog: http://Threeminds.Organic.com http://threeminds.organic.com/ Website: www.Organic.com http://www.organic.com/ This email is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential or otherwise protected from disclosure. Dissemination, distribution or copying of this email or the information herein by anyone other than the intended recipient, or an employee or agent responsible for delivering the message to the intended recipient, is prohibited. If you have received this email in error, please immediately notify us by calling our Help Desk at (415) 581-5552 or by e-mailing us at [EMAIL PROTECTED] ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] display trace() in text field
Maybe I should have been a little more clear: I already know how to display text in a text field. I specifically want to use the trace command. My vision is to create a tool that will display trace commands from existing .swfs. However, based on Jason's remarks, I guess I can't do this. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of allandt bik-elliott (thefieldcomic.com) Sent: Thursday, December 04, 2008 11:04 AM To: Flash Coders List Subject: Re: [Flashcoders] display trace() in text field function debug(s:String):Void { _root.pathToTextField.myText.text += /n+s; } then instead of trace(someString); you use debug(someString); a On Thu, Dec 4, 2008 at 3:42 PM, Merrill, Jason [EMAIL PROTECTED] wrote: Trace only sends strings to the Flash or Flexbuilder output window, so no. However, all you have to do is set the variable you want to see to the text property of the textfield: myTextField.text = myVariableIdLikeToSee Jason Merrill Bank of America Instructional Technology Media * GCIB Staff Support LLD Interested in Flash Platform technologies? Join the Bank of America Flash Platform Developer Community Interested in innovative ideas in Learning? Check out the Innovative Learning Blog and subscribe. -Original Message- From: [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED] On Behalf Of Michael Stocke Sent: Thursday, December 04, 2008 9:44 AM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] display trace() in text field Good morning everyone. Is it possible to display trace actions in a text field? I realize there are numerous other troubleshooting tools similar to trace, but I specifically want to display trace actions without any additional coding required in the target file. I want to create a debugging tool in AIR that will allow me to display trace actions from currently running swfs. I suspect this isn't feasible, but any tips or ideas would be appreciated, Thanks. Mike Stocke Interface Engineer Organic, Inc. | Detroit 2600 S. Telegraph Road -- Suite 100, Bloomfield Hills, MI 48302 t: 248.454.4015 | f: 248.454.3370 Email: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] Blog: http://Threeminds.Organic.com http://threeminds.organic.com/ Website: www.Organic.com http://www.organic.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 This email is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential or otherwise protected from disclosure. Dissemination, distribution or copying of this email or the information herein by anyone other than the intended recipient, or an employee or agent responsible for delivering the message to the intended recipient, is prohibited. If you have received this email in error, please immediately notify us by calling our Help Desk at (415) 581-5552 or by e-mailing us at [EMAIL PROTECTED] ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] display trace() in text field
I was really hoping to just use the trace command, but I guess I can't. Thanks for your response. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sidney de Koning Sent: Thursday, December 04, 2008 10:55 AM To: Flash Coders List Subject: Re: [Flashcoders] display trace() in text field Hi Mike, I'm working on a similair project, check it out here: http://www.funky-monkey.nl/blog/2008/05/13/air-logger-v100/ Right now i'm working on a version that from any swf traces to my air app, traces to the debug panel in Flex and traces out to FireBug plugin in Firefox, (will be online after the weekend) Is this what you are looking for? Sidney On Dec 4, 2008, at 3:44 PM, Michael Stocke wrote: Good morning everyone. Is it possible to display trace actions in a text field? I realize there are numerous other troubleshooting tools similar to trace, but I specifically want to display trace actions without any additional coding required in the target file. I want to create a debugging tool in AIR that will allow me to display trace actions from currently running swfs. I suspect this isn't feasible, but any tips or ideas would be appreciated, Thanks. Mike Stocke Interface Engineer Organic, Inc. | Detroit 2600 S. Telegraph Road -- Suite 100, Bloomfield Hills, MI 48302 t: 248.454.4015 | f: 248.454.3370 Email: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] Blog: http://Threeminds.Organic.com http://threeminds.organic.com/ Website: www.Organic.com http://www.organic.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 email is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential or otherwise protected from disclosure. Dissemination, distribution or copying of this email or the information herein by anyone other than the intended recipient, or an employee or agent responsible for delivering the message to the intended recipient, is prohibited. If you have received this email in error, please immediately notify us by calling our Help Desk at (415) 581-5552 or by e-mailing us at [EMAIL PROTECTED] ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] display trace() in text field
That is what I'm trying to do. Unfortunately I tried something like this yesterday and it only worked when I used this.trace, rather than just trace. Thank you for the response, though. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sidney de Koning Sent: Thursday, December 04, 2008 11:48 AM To: Flash Coders List Subject: Re: [Flashcoders] display trace() in text field Michael, When you override the exsisting trace function, you can do this. Just include your own functionality in the overwritten trace function. Its all because you want to have the same function call to trace() i presume? Sid On Dec 4, 2008, at 5:10 PM, Sidney de Koning wrote: or you can override trace like so: override public function trace(...args) : void { super(); textFieldYouWantToTraceIn.appendText(args.toString()); } This is from the top of my head, so the code could have errors in it. Test it to see. Cheers, Sid PS. You can ony do this from a class file. I don't think the Flash IDE lets you override functions directly. On Dec 4, 2008, at 5:03 PM, allandt bik-elliott (thefieldcomic.com) wrote: function debug(s:String):Void { _root.pathToTextField.myText.text += /n+s; } then instead of trace(someString); you use debug(someString); a On Thu, Dec 4, 2008 at 3:42 PM, Merrill, Jason [EMAIL PROTECTED] wrote: Trace only sends strings to the Flash or Flexbuilder output window, so no. However, all you have to do is set the variable you want to see to the text property of the textfield: myTextField.text = myVariableIdLikeToSee Jason Merrill Bank of America Instructional Technology Media * GCIB Staff Support LLD Interested in Flash Platform technologies? Join the Bank of America Flash Platform Developer Community Interested in innovative ideas in Learning? Check out the Innovative Learning Blog and subscribe. -Original Message- From: [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED] On Behalf Of Michael Stocke Sent: Thursday, December 04, 2008 9:44 AM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] display trace() in text field Good morning everyone. Is it possible to display trace actions in a text field? I realize there are numerous other troubleshooting tools similar to trace, but I specifically want to display trace actions without any additional coding required in the target file. I want to create a debugging tool in AIR that will allow me to display trace actions from currently running swfs. I suspect this isn't feasible, but any tips or ideas would be appreciated, Thanks. Mike Stocke Interface Engineer Organic, Inc. | Detroit 2600 S. Telegraph Road -- Suite 100, Bloomfield Hills, MI 48302 t: 248.454.4015 | f: 248.454.3370 Email: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] Blog: http://Threeminds.Organic.com http://threeminds.organic.com/ Website: www.Organic.com http://www.organic.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 ___ 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 email is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential or otherwise protected from disclosure. Dissemination, distribution or copying of this email or the information herein by anyone other than the intended recipient, or an employee or agent responsible for delivering the message to the intended recipient, is prohibited. If you have received this email in error, please immediately notify us by calling our Help Desk at (415) 581-5552 or by e-mailing us at [EMAIL PROTECTED] ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] online .swf generator
Good morning group. I am looking for an online .swf generation tool. Specifically, a user designs a .swf online through a tool that I create, then they submit their work which generates a .swf output. The tool will allow the user to choose from several templates, then customize them by selecting various assets from pre-determined lists and adding some free-form text. From my research so far I'm mainly seeing tools based on Java and C++, both of which aren't really options for me. I have some very limited knowledge of Ming (PHP), but this option is too programming intensive for this scenario. I think JSFL would be my best bet, but I can't find any information about using it for an online server-side implementation. My experience has been for local batching purposes only. Does anyone have any suggestions? The client is open to purchasing an application depending on the cost. Mike Stocke Interface Engineer Organic, Inc. | Detroit 2600 S. Telegraph Road -- Suite 100, Bloomfield Hills, MI 48302 t: 248.454.4015 | f: 248.454.3370 Email: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] Blog: http://Threeminds.Organic.com http://threeminds.organic.com/ Website: www.Organic.com http://www.organic.com/ This email is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential or otherwise protected from disclosure. Dissemination, distribution or copying of this email or the information herein by anyone other than the intended recipient, or an employee or agent responsible for delivering the message to the intended recipient, is prohibited. If you have received this email in error, please immediately notify us by calling our Help Desk at (415) 581-5552 or by e-mailing us at [EMAIL PROTECTED] ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] online .swf generator
The client certainly will be paying for this, as I won't be working for free ;-). What I meant was, they are open to purchasing a third party application to generate the .swf in addition to my development costs. If I understand your remark at the end, the requirements of the job are that the user needs to obtain a self-contained .swf from a web-based tool that they can take with them and use somewhere else without restrictions or dependencies. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paul Andrews Sent: Wednesday, November 26, 2008 1:57 PM To: Flash Coders List Subject: Re: [Flashcoders] online .swf generator The client is open to purchasing an application depending on the cost. This is going to cost your client $$ whether there's an existing application out there or not. I'm curious why it has to generate a .swf . Can't you just have a generic application that builds the templated output from a data file? Paul - Original Message - From: Michael Stocke [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Sent: Wednesday, November 26, 2008 4:37 PM Subject: [Flashcoders] online .swf generator Good morning group. I am looking for an online .swf generation tool. Specifically, a user designs a .swf online through a tool that I create, then they submit their work which generates a .swf output. The tool will allow the user to choose from several templates, then customize them by selecting various assets from pre-determined lists and adding some free-form text. From my research so far I'm mainly seeing tools based on Java and C++, both of which aren't really options for me. I have some very limited knowledge of Ming (PHP), but this option is too programming intensive for this scenario. I think JSFL would be my best bet, but I can't find any information about using it for an online server-side implementation. My experience has been for local batching purposes only. Does anyone have any suggestions? The client is open to purchasing an application depending on the cost. Mike Stocke Interface Engineer Organic, Inc. | Detroit 2600 S. Telegraph Road -- Suite 100, Bloomfield Hills, MI 48302 t: 248.454.4015 | f: 248.454.3370 Email: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] Blog: http://Threeminds.Organic.com http://threeminds.organic.com/ Website: www.Organic.com http://www.organic.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 email is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential or otherwise protected from disclosure. Dissemination, distribution or copying of this email or the information herein by anyone other than the intended recipient, or an employee or agent responsible for delivering the message to the intended recipient, is prohibited. If you have received this email in error, please immediately notify us by calling our Help Desk at (415) 581-5552 or by e-mailing us at [EMAIL PROTECTED] ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] online .swf generator
The output file will be a banner ad. The user will be able to choose from about 5 different designs and list of company-approved graphics/logos/imagery. The user will also be able to enter a limited amount of text. My vision is to create templates for each of the 5 designs with blank text fields and placeholders for the logos/graphics. The user will modify a configuration file of some kind through the interface I create, then I will use a yet-to-be-named tool to generated the .swf from a .fla (or other core file) and the customized configuration file (XML, MXML, .txt, etc.). This is why I mentioned JSFL, because I already know how to do this with JSFL. I have zero experience with Flex, so something with the Flash IDE or Flash-based tools would be better. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Axel Aigret Sent: Wednesday, November 26, 2008 12:01 PM To: Flash Coders List Subject: Re: [Flashcoders] online .swf generator Hi :) Can you explain more in detail what must be arrange in your .swf and how ( a gui in flash or you don't care ? ) . What sort of asset , animation , text ? What will be the creation at the end to understand what you want more easier. Axel Aigret Michael Stocke a écrit : Good morning group. I am looking for an online .swf generation tool. Specifically, a user designs a .swf online through a tool that I create, then they submit their work which generates a .swf output. The tool will allow the user to choose from several templates, then customize them by selecting various assets from pre-determined lists and adding some free-form text. From my research so far I'm mainly seeing tools based on Java and C++, both of which aren't really options for me. I have some very limited knowledge of Ming (PHP), but this option is too programming intensive for this scenario. I think JSFL would be my best bet, but I can't find any information about using it for an online server-side implementation. My experience has been for local batching purposes only. Does anyone have any suggestions? The client is open to purchasing an application depending on the cost. Mike Stocke Interface Engineer Organic, Inc. | Detroit 2600 S. Telegraph Road -- Suite 100, Bloomfield Hills, MI 48302 t: 248.454.4015 | f: 248.454.3370 Email: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] Blog: http://Threeminds.Organic.com http://threeminds.organic.com/ Website: www.Organic.com http://www.organic.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 email is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential or otherwise protected from disclosure. Dissemination, distribution or copying of this email or the information herein by anyone other than the intended recipient, or an employee or agent responsible for delivering the message to the intended recipient, is prohibited. If you have received this email in error, please immediately notify us by calling our Help Desk at (415) 581-5552 or by e-mailing us at [EMAIL PROTECTED] ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] 1172: definition flash.desktop:NativeApplication
I found an Integration Kit on the Adobe website, and that did the trick. I'm assuming everything I've found up to now was outdated. For some reason when I attempt to publish from the stage I still get the error, but when I publish from the Command menu it works. At this point I'll take it. Thanks to everyone who helped. I love these Flash lists. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of jonathan howe Sent: Wednesday, November 19, 2008 1:21 PM To: Flash Coders List Subject: Re: [Flashcoders] 1172: definition flash.desktop:NativeApplication Hmm... pretty strange. I did see one post about someone having Flash installed somewhere other than C: or something... can you try adding the location of the air classes to your document classpath and see if they still come up as unfound. It's possible that the Publish Settings template for AIR makes certain assumptions about the location of those classes On Tue, Nov 18, 2008 at 5:11 PM, Michael Stocke [EMAIL PROTECTED] wrote: OK. I installed what I think is the latest AIR extension for Flash -- beta 3. I deleted old beta files and ran the cleanup utility. I selected AIR 1.0 in the Publish Settings. I still get the error. I really want to learn how to use AIR with the Flash IDE, but for some reason it won't work for me right now. Any other suggestions? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of jonathan howe Sent: Monday, November 17, 2008 5:17 PM To: Flash Coders List Subject: Re: [Flashcoders] 1172: definition flash.desktop:NativeApplication It does sound like you don't have Adobe Air as the version value in the Publish Settings dialog. Can you check that? There should be no problem in including that code in a class... references to NativeApplication are static and it could easily be put in a main document class or deeper. Pedro, there is a way to get a temporary certificate via the Commands - Air and Application Settings dialog. There are good tutorials on Lynda.com that are part of the free intro videos (i.e. membership is not required). http://movielibrary.lynda.com/html/modPage.asp?ID=535 -jonathan On Mon, Nov 17, 2008 at 2:28 PM, Pedro Kostelec [EMAIL PROTECTED] wrote: I tried your code and it works well. I got no error. (using Fl cs4). I mean, when i press Cntrl+ENTER the app runs all right. (But i have no idea how to actually make it a real AIR app; when i click on publish i get a window asking for a digital certificate! Where can i get it?)Maybe you don't have the latest update Air plug-in? I just started playing with AIR yesterday, so i don't have any ideas what else could be the reason for your problem. Pedro On Mon, Nov 17, 2008 at 5:46 PM, Michael Stocke [EMAIL PROTECTED] wrote: Good afternoon group. I didn't get a response on the Flash Tiger list last week, so that's why I'm cross-posting. Hopefully this isn't off-topic. I am in the process of going through some AIR tutorials using the Flash IDE, and I have encountered some errors. I am following the instructions exactly and I still can't get the app to compile (although I did discover that the tutorial did leave out some key info). I even tried the sample file and that won't compile. I am simply trying to make an application with custom chrome that is draggable, that can be closed, and that can be minimized. I haven't added any other functionality at this time. The tutorial says to put the code on a frame in the timeline (which I wasn't really comfortable with, but what do I know?). Here is the relevant code: import flash.desktop.NativeApplication; import flash.events.MouseEvent; back.addEventListener(MouseEvent.MOUSE_DOWN, back_CLICK); function back_CLICK(e:MouseEvent):void { stage.nativeWindow.startMove(); } minimize.addEventListener(MouseEvent.CLICK, minimize_CLICK); function minimize_CLICK(e:MouseEvent):void { stage.nativeWindow.minimize(); } closeButton.addEventListener(MouseEvent.CLICK,closeButton_CLICK); function closeButton_CLICK(e:MouseEvent):void { NativeApplication.nativeApplication.exit(); } Here is a link to the tutorial: http://www.adobe.com/devnet/air/flash/articles/custom_chrome_app.html Among other things, I get the following error: 1172: definition flash.desktop:NativeApplication. I have installed the Flash AIR plug-in, and I do get code prompts in the actions window. Does anyone have any idea why I am getting this error and how I might overcome it? Also, I'd prefer to include this code in a class, but I'm not quite sure how I would go about doing that, so any ideas on that would be appreciated as well. Thanks in advance for any
RE: [Flashcoders] 1172: definition flash.desktop:NativeApplication
OK. I installed what I think is the latest AIR extension for Flash -- beta 3. I deleted old beta files and ran the cleanup utility. I selected AIR 1.0 in the Publish Settings. I still get the error. I really want to learn how to use AIR with the Flash IDE, but for some reason it won't work for me right now. Any other suggestions? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of jonathan howe Sent: Monday, November 17, 2008 5:17 PM To: Flash Coders List Subject: Re: [Flashcoders] 1172: definition flash.desktop:NativeApplication It does sound like you don't have Adobe Air as the version value in the Publish Settings dialog. Can you check that? There should be no problem in including that code in a class... references to NativeApplication are static and it could easily be put in a main document class or deeper. Pedro, there is a way to get a temporary certificate via the Commands - Air and Application Settings dialog. There are good tutorials on Lynda.com that are part of the free intro videos (i.e. membership is not required). http://movielibrary.lynda.com/html/modPage.asp?ID=535 -jonathan On Mon, Nov 17, 2008 at 2:28 PM, Pedro Kostelec [EMAIL PROTECTED] wrote: I tried your code and it works well. I got no error. (using Fl cs4). I mean, when i press Cntrl+ENTER the app runs all right. (But i have no idea how to actually make it a real AIR app; when i click on publish i get a window asking for a digital certificate! Where can i get it?)Maybe you don't have the latest update Air plug-in? I just started playing with AIR yesterday, so i don't have any ideas what else could be the reason for your problem. Pedro On Mon, Nov 17, 2008 at 5:46 PM, Michael Stocke [EMAIL PROTECTED] wrote: Good afternoon group. I didn't get a response on the Flash Tiger list last week, so that's why I'm cross-posting. Hopefully this isn't off-topic. I am in the process of going through some AIR tutorials using the Flash IDE, and I have encountered some errors. I am following the instructions exactly and I still can't get the app to compile (although I did discover that the tutorial did leave out some key info). I even tried the sample file and that won't compile. I am simply trying to make an application with custom chrome that is draggable, that can be closed, and that can be minimized. I haven't added any other functionality at this time. The tutorial says to put the code on a frame in the timeline (which I wasn't really comfortable with, but what do I know?). Here is the relevant code: import flash.desktop.NativeApplication; import flash.events.MouseEvent; back.addEventListener(MouseEvent.MOUSE_DOWN, back_CLICK); function back_CLICK(e:MouseEvent):void { stage.nativeWindow.startMove(); } minimize.addEventListener(MouseEvent.CLICK, minimize_CLICK); function minimize_CLICK(e:MouseEvent):void { stage.nativeWindow.minimize(); } closeButton.addEventListener(MouseEvent.CLICK,closeButton_CLICK); function closeButton_CLICK(e:MouseEvent):void { NativeApplication.nativeApplication.exit(); } Here is a link to the tutorial: http://www.adobe.com/devnet/air/flash/articles/custom_chrome_app.html Among other things, I get the following error: 1172: definition flash.desktop:NativeApplication. I have installed the Flash AIR plug-in, and I do get code prompts in the actions window. Does anyone have any idea why I am getting this error and how I might overcome it? Also, I'd prefer to include this code in a class, but I'm not quite sure how I would go about doing that, so any ideas on that would be appreciated as well. Thanks in advance for any advice. Mike Stocke Interface Engineer Organic, Inc. | Detroit 2600 S. Telegraph Road -- Suite 100, Bloomfield Hills, MI 48302 t: 248.454.4015 | f: 248.454.3370 Email: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] Blog: http://Threeminds.Organic.com http://threeminds.organic.com/ http://threeminds.organic.com/ Website: www.Organic.com http://www.organic.com/ http://www.organic.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 -- -jonathan howe ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders This email is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential or otherwise
[Flashcoders] 1172: definition flash.desktop:NativeApplication
Good afternoon group. I didn't get a response on the Flash Tiger list last week, so that's why I'm cross-posting. Hopefully this isn't off-topic. I am in the process of going through some AIR tutorials using the Flash IDE, and I have encountered some errors. I am following the instructions exactly and I still can't get the app to compile (although I did discover that the tutorial did leave out some key info). I even tried the sample file and that won't compile. I am simply trying to make an application with custom chrome that is draggable, that can be closed, and that can be minimized. I haven't added any other functionality at this time. The tutorial says to put the code on a frame in the timeline (which I wasn't really comfortable with, but what do I know?). Here is the relevant code: import flash.desktop.NativeApplication; import flash.events.MouseEvent; back.addEventListener(MouseEvent.MOUSE_DOWN, back_CLICK); function back_CLICK(e:MouseEvent):void { stage.nativeWindow.startMove(); } minimize.addEventListener(MouseEvent.CLICK, minimize_CLICK); function minimize_CLICK(e:MouseEvent):void { stage.nativeWindow.minimize(); } closeButton.addEventListener(MouseEvent.CLICK,closeButton_CLICK); function closeButton_CLICK(e:MouseEvent):void { NativeApplication.nativeApplication.exit(); } Here is a link to the tutorial: http://www.adobe.com/devnet/air/flash/articles/custom_chrome_app.html Among other things, I get the following error: 1172: definition flash.desktop:NativeApplication. I have installed the Flash AIR plug-in, and I do get code prompts in the actions window. Does anyone have any idea why I am getting this error and how I might overcome it? Also, I'd prefer to include this code in a class, but I'm not quite sure how I would go about doing that, so any ideas on that would be appreciated as well. Thanks in advance for any advice. Mike Stocke Interface Engineer Organic, Inc. | Detroit 2600 S. Telegraph Road -- Suite 100, Bloomfield Hills, MI 48302 t: 248.454.4015 | f: 248.454.3370 Email: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] Blog: http://Threeminds.Organic.com http://threeminds.organic.com/ Website: www.Organic.com http://www.organic.com/ This email is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential or otherwise protected from disclosure. Dissemination, distribution or copying of this email or the information herein by anyone other than the intended recipient, or an employee or agent responsible for delivering the message to the intended recipient, is prohibited. If you have received this email in error, please immediately notify us by calling our Help Desk at (415) 581-5552 or by e-mailing us at [EMAIL PROTECTED] ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders