Re: [Flashcoders] Air Windows installed app
Where are you saving the files to? You can't write to the application's folder when deployed but might work when you are testing on your machine. You need to be writing to a user folder, document folder, etc. anywhere but a subfolder of the Programs folder. On Feb 17, 2014, at 6:33 AM, natalia Vikhtinskaya wrote: > Hi to all. > I solved all problems with xml editor in flash. I created AIR app that > loads and saves xml after editing. I created Windows installer app. It > works well on XP and Win 8. But when the user installs it on his pc (I > think he has no AIR program on it) app plays but not saves files . What do > you think is possible problem? > Thank you in advance. > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders David Benman Interactive Developer d...@dbenman.com http://www.dbenman.com (315) 637-8487 (home office) ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Read and save xml file on disk
AIR is another publishing method available in Flash and because it creates an executable that removes many of the Flash player's security restrictions. Prior to Flash CC you could also create a Mac or Windows projector that would save a file. I think most methods still require user interaction, but its usually not that hard to scare up some sort of user interaction to trigger the saving. The user doesn't necessarily need to choose the save location each time, just the save process needs to be triggered by a user interaction. On Feb 10, 2014, at 5:55 AM, natalia Vikhtinskaya wrote: > Thank you for your answers. Unfortunately I don't know AIR or Zinc. I > looked for a way to publish this application as swf file and then convert > it to exe. I did that before with games. So no way to do that without AIR > or Zinc? > > 2014-02-10 5:41 GMT+04:00 : > >> Natalia, >> >> You can use the File (see e.g. "applicationDirectory" or "resolvePath") >> and Filestream (open, read, and write) functions, but these are only >> available if you're using Air (other wrappers like Zinc have similar >> functionality). If it's an executable created by simply Publishing with >> Flash Player as the target, I think security issues prevent you from doing >> this. >> >> HTH, >> --Dave >> >>> -- >>> From: natalia Vikhtinskaya >>> >>> Hi to all friends >>> I have to create stand alone application that can read xml file then >>> after >>> editing save it on the disk. I need to do that by FlashCs6. I know that >>> FileReference.load() : Loads data from a file selected by the user. >>> FileReference.save() : Saves data to a file location selected by the >> user. >>> Is it possible to save and read without the user? >>> What is the better way for this task? >>> Do you know any good tutorials with examples on this subject? This task >> it >>> new for me and I want to read about that more. >>> >>> Thank you in advance. >> >> >> ___ >> 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 David Benman Interactive Developer d...@dbenman.com http://www.dbenman.com (315) 637-8487 (home office) ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Stability of flash debug plugin
I have a few crashes using Safari 5.1 on Mac OS 10.6, but not a lot. The oddest thing is many text input fields don't work in swfs in the Safari/Mac/player 11 config, but they do work in FF on the same machine. On Feb 7, 2012, at 5:14 AM, Paul Andrews wrote: > I'm running the flash debug player - 11.1.102.55, usually on FF. > > It seems particularly prone to crashing when it comes across an error. > > It often dies whilst remote debugging. Anyone else see this? > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders David Benman Interactive Developer d...@dbenman.com http://www.dbenman.com (315) 637-8487 (home office) ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Flash Player 11 and Flash Professional CS 5.5 (11.5)
Thanks for the replies, but am I missing something that this isn't a procedure or even a FP update provided by Adobe? I've been asking this question on the Adobe forums too, and "publishing to Flash Player 11 from Flash Professional" seems to go into a big dark hole. On Oct 24, 2011, at 2:03 PM, Kevin Newman wrote: > This is the best resource I've seen on overlaying new SDKs (and Flash and AIR > versions) into your existing Flash Pro CS5 and CS5.5 installations. > > http://swfhead.com/blog/?p=1378 > > The only one that doesn't overlay cleanly is the iOS publish target, which > requires you to choose only one AIR version. > > Kevin N. > > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders David Benman Interactive Developer d...@dbenman.com http://www.dbenman.com (315) 637-8487 (home office) ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Flash Player 11 and Flash Professional CS 5.5 (11.5)
Thanks for the response. Do you know where there's some detail on setting up the swc and xml? I couldn't find any info on setting up the final release version. On Oct 20, 2011, at 5:11 AM, Henrik Andersson wrote: > Right now. > > You need the correct playerglobals.swc file and a simple xml file to > tell Flash about the new player. > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders David Benman Interactive Developer d...@dbenman.com http://www.dbenman.com (315) 637-8487 (home office) ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Flash Player 11 and Flash Professional CS 5.5 (11.5)
Does anybody know when or if Flash Professional can publish to Flash Player 11? David Benman Interactive Developer d...@dbenman.com http://www.dbenman.com (315) 637-8487 (home office) ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Anybody Want to Work in Dubai?
For the police? Came across this and thought it was interesting. More iOS, etc., but Flash is required too. http://jobs.gamasutra.com/jobseekerx/viewjobrss.asp?cjid=25107&accountno=57817 David Benman Interactive Developer d...@dbenman.com http://www.dbenman.com (508) 954-1202 (cell) (315) 637-8487 (home office) ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] RE: swf not compiling
I've had intermittent problems compiling on with CS4 on Mac OS X. I think its usually something with the IDE environment rather than the specific Flash project. These are things I try. I know some aren't necessarily brilliant solutions, but just in case here they are: Restart Flash. Delete ASO files Save and Compact Flash file Try compiling with a previous version of Flash (just to test) Try compiling on another system. Re-installing/patching Flash. On Dec 10, 2010, at 4:09 PM, Mendelsohn, Michael wrote: > OK, back to square one. It's not compiling again. No errors. I've rebuilt > a new fla from scratch, and brought in all the assets from the other library. > Still nothing. This is going to be the death of me. > > - MM > > > > >>> I've never used Flashbuilder/Flex before. >>> My project is mostly purely code, just a few visual assets, >>> but it would probably take me some time to learn my way around the >>> software. :-( > > It's not that hard to set up really. You just create a pure AS3 project and > point Flashbuilder to your main document as the class to build from (right > click on the class, select "Set as Default Application"). You can then bring > in your library assets using [Embed] tags or using the Loader class. There > is documentation on how to use the Embed tags - it's easy. Do you own a copy? > Worth a shot at least. > > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders David Benman Interactive Developer d...@dbenman.com http://www.dbenman.com (508) 954-1202 (cell) (315) 637-8487 (home office) ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Test Movie vs. Publish
Is there any difference between Test Movie and Publish in terms of the swf compilation? It seems Publish compiles a tad faster on the Mac though I've had issues before where a published swf had issues and the test movie version didn't. David Benman Interactive Developer d...@dbenman.com http://www.dbenman.com (508) 954-1202 (cell) (315) 637-8487 (home office) ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Weird Embeded Font Issue
Thanks. I think something is messed up with that specific font, but I'll try what you suggested too. On Mar 13, 2010, at 11:23 AM, Meinte van't Kruis wrote: odd, never seen anything like it. I always refrain from using static text fields though. Mixing dynamic and static fields which share the same font creates weird situations somehow. Just make it dynamic, and if you want to be sure it embeds correctly, just embed the glyphs used in that textfield (that's what static textfield is supposed to do internally, but somehow it messes up in some cases) cheers, Meinte On Sat, Mar 13, 2010 at 11:29 AM, David Benman wrote: I have an embeded font that renders really weird when published. I am using CS4 on the Mac and the font has been both embeded into a dynamic text field and used as the font face for a static field. I have gotten the same results, which as some of the characters render as really big ugly polygons. I have a picture here: http://dbenman.com/flash/weirdfont.png Note how some of the yellow characters are missing in the "Account Overview" title, but instead, I guess, render as really big polygons. The field is rotated by 2 degrees too. I remake the field and it works for awhile, but then starts rendering weird again. David Benman Interactive Developer d...@dbenman.com http://www.dbenman.com (508) 954-1202 (cell) (315) 637-8487 (home office) ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- Meinte van't Kruis Freelance Flash Platform Dev (mxml,actionscript,flex,air) malatze http://www.malatze.com/ http://www.linkedin.com/in/meinte mei...@malatze.com 0617459744 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders David Benman Interactive Developer d...@dbenman.com http://www.dbenman.com (508) 954-1202 (cell) (315) 637-8487 (home office) ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Weird Embeded Font Issue
I have an embeded font that renders really weird when published. I am using CS4 on the Mac and the font has been both embeded into a dynamic text field and used as the font face for a static field. I have gotten the same results, which as some of the characters render as really big ugly polygons. I have a picture here: http://dbenman.com/flash/weirdfont.png Note how some of the yellow characters are missing in the "Account Overview" title, but instead, I guess, render as really big polygons. The field is rotated by 2 degrees too. I remake the field and it works for awhile, but then starts rendering weird again. David Benman Interactive Developer d...@dbenman.com http://www.dbenman.com (508) 954-1202 (cell) (315) 637-8487 (home office) ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Passing Call To Child
I found this script which shows the mouse event propagation in a movie: http://www.bigspaceship.com/blog/labs/snaring-mouseenabled/ It has really helped me determine when I think events are going astray. On Mar 12, 2010, at 8:09 AM, Susan Day wrote: On Fri, Mar 12, 2010 at 8:48 AM, Susan Day wrote: On Thu, Mar 11, 2010 at 3:55 PM, Mattheis, Erik (MIN - WSW) < ematth...@webershandwick.com> wrote: The "missing .html" thing has to be a simple mistake you're not seeing. I realized you must be right. So I pulled out the pertinent code and have built a test case. Sure enough, it's working properly. Now I'll figure out what was breaking it. The problem appears to be that when I mouse over a nav widget it activates a fn called onMouseOver. When I comment out that addEventListener, then the fn onPressHandler for the onClick works as desired. So the onMouseOver is running interference. How do I eliminate the interference? Obviously I need to add something to the onMouseOver fn, but what? Right now all I do is re-call the nav fn to change the color of the btn. I tried this with no luck: e.currentTarget.removeEventListener(MouseEvent.CLICK, onPressHandler); e.currentTarget.removeEventListener(MouseEvent.MOUSE_DOWN, onMouseOver); TIA, Susan ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders David Benman Interactive Developer d...@dbenman.com http://www.dbenman.com (508) 954-1202 (cell) (315) 637-8487 (home office) ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Mac Script Window Issue
Often the script window in Flash CS4 flows off the bottom of my screen and then I can't resize the window smaller because I can't move the window up anymore and the resize area is off the bottom of the screen. Anybody have an idea on how to stop this or fix it easily? Right now I reset the workspace. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Little direction please
I can't really vouch for it all that much, but I recently posted a question to http://www.jsworkshop.com/bb/ and got a decent response. On Feb 27, 2010, at 12:48 AM, Karl DeSaulniers wrote: Hello, I am not sure if this is a cross post, if it is, I do apologize. Does anyone know of a list like this but for Javascript? If anyone knows of one, I would greatly appreciate it. Thanks, Karl DeSaulniers Design Drumm http://designdrumm.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders David Benman Interactive Developer d...@dbenman.com http://www.dbenman.com (508) 954-1202 (cell) (315) 637-8487 (home office) ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Error 1009
In general, when you really, really think your code is ok (which is probably a lot less often than you initially think), there might be issues with running the code that might cause an error. Some other things you can try: 1. Make sure all your AS files have been saved so you are actually running your latest code and not the previous saved version. 2. Go to control and select Delete ASO Files 3. Make sure there aren't any odd invisible characters can get into your code from cutting and pasting and this cleanses your code. Copy your text from your script and paste into a simple text editor and then paste back into your script editor. 4. Close and restart Flash. On Feb 26, 2010, at 6:34 AM, Victor Subervi wrote: On Thu, Feb 25, 2010 at 4:13 PM, Keith Reinfeld wrote: What should I be looking for? This is too strange for words. I started commenting out code to see if I could fix whatever it was that was broken. I figured I'd done just that. Then I started uncommenting the code to see if I could break it and try and identify exactly where the problem was. I couldn't break it! I didn't change or delete anything. Go figure! V ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders David Benman Interactive Developer d...@dbenman.com http://www.dbenman.com (508) 954-1202 (cell) (315) 637-8487 (home office) ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Error 1009
Open your script in Flash and you can place debug break points to stop code execution at specific points. If you have no clue where the error occurs especially since Flash's output window errors can be vague, then if you run in debug mode, again ctrl-shift-enter, the debugger will stop at the first occurence of an error. On Feb 24, 2010, at 11:17 AM, Henrik Andersson wrote: Victor Subervi wrote: On Tue, Feb 23, 2010 at 11:02 PM, Deepanjan Das>wrote: Hey, I have not seen your debugger error. So how do I debug? I downloaded what I thought was the debugger and it was just another copy of Flash! Flash IS the debugger. Just hit ctrl-shift-enter on your keyboard and there you have it. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders David Benman Interactive Developer d...@dbenman.com http://www.dbenman.com (508) 954-1202 (cell) (315) 637-8487 (home office) ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Declaring Function Variables
What's the best practice for declaring reused variables within a function in AS3? For example, if you use "count" several times in your function, if you declare it at the start of your function, "var count:Number;" it makes it harder to cut and paste your code for use elsewhere but you get errors if redeclare it (like you could in AS2) throughout your script. David Benman Interactive Developer d...@dbenman.com http://www.dbenman.com (508) 954-1202 (cell) (315) 637-8487 (home office) ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Timeline Streaming Sounds Playing Early?
Cool. Thanks. I'll have to try this. On Oct 21, 2009, at 10:02 PM, Karl DeSaulniers wrote: Actually you have to put a "stopAllsounds" on the frame that is after the end of your animation. Or you can set the frame to sync to the event instead of the stream. Flash does not sync the stream of an animation and a sound well because of the difference in compression ratios. This has been my experience and that is my solution. Hth Karl Sent from losPhone On Oct 21, 2009, at 7:58 PM, "Kurt Dommermuth" > wrote: Hi Kerry, I'm not the original poster, but I'll add myself to the list of people who've experienced this. It's definitely a bug and it's been around for some time. More details than that would take too long for a family man to put together, but it's not hard to reproduce. In the typical scenario you have a timeline based animation. You put a stop at the end of it. In the next frame, in a different layer, add a keyframe and put a sound from the libray on it. Set it to stream. Let you're animation play. It will stop at the correct frame, but the sound will play even though it is located after the frame where you put your stop(). Fix it by adding more frames between the frame where the stop() is and where the streaming sound is. Take care. Kurt -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Kerry Thompson Sent: Monday, October 19, 2009 5:28 AM To: 'Flash Coders List' Subject: RE: [Flashcoders] Timeline Streaming Sounds Playing Early? Dave Dev wrote: I have a frame with a stop actionscript command. The next frame has a streaming sounds and a frame label. At runtime, Flash stops at the stop command frame, but then plays a very brief portion of the streaming sound in the next frame. Placing some frames in between the sound and command seems to fix(?) the problem. This occurs on Windows XP, but not Mac OS X using Flash Player 8. Hmm... which version of Flash are you using? Is the sound in the library, or in an external audio file? Is the sound played with an AS command, or is it on the time line? Sorry to ask so many questions. The way you describe it, it sounds like a bug in Flash, but something like that should have been found and fixed long ago. I suspect there's more going on--possibly something you don't know about, or that treats the audio in a way you haven't thought of. Cordially, Kerry Thompson ___ 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 David Benman Interactive Developer d...@dbenman.com http://www.dbenman.com (508) 954-1202 (cell) (315) 637-8487 (home office) ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Timeline Streaming Sounds Playing Early?
Oh, just noticed some other posts on this, but here's some responses. Hmm... which version of Flash are you using? Flash CS4 on the Mac compiling to Flash Player 9 using AS2. Is the sound in the library, or in an external audio file? Library sound in .wav format set to streaming. Is the sound played with an AS command, or is it on the time line? On the timeline. Sorry to ask so many questions. The way you describe it, it sounds like a bug in Flash, but something like that should have been found and fixed long ago. I suspect there's more going on--possibly something you don't know about, or that treats the audio in a way you haven't thought of. I'd believe that, but its pretty straightforward what I'm doing. Import wav sound, drag to timeline, set to stream. The kink seems to be when you but the last frame and first frame of a "scene" right up against each other which I do for neatness. Cordially, Kerry Thompson ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders David Benman Interactive Developer d...@dbenman.com http://www.dbenman.com (508) 954-1202 (cell) (315) 637-8487 (home office) ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Timeline Streaming Sounds Playing Early?
Hey. Thanks. Jim said this too so that's what I did and it seems to work. Scary though. I have a suspicion that it might be an issue again on really slow machines. On Oct 21, 2009, at 8:58 PM, Kurt Dommermuth wrote: Hi Kerry, I'm not the original poster, but I'll add myself to the list of people who've experienced this. It's definitely a bug and it's been around for some time. More details than that would take too long for a family man to put together, but it's not hard to reproduce. In the typical scenario you have a timeline based animation. You put a stop at the end of it. In the next frame, in a different layer, add a keyframe and put a sound from the libray on it. Set it to stream. Let you're animation play. It will stop at the correct frame, but the sound will play even though it is located after the frame where you put your stop(). Fix it by adding more frames between the frame where the stop() is and where the streaming sound is. Take care. Kurt -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Kerry Thompson Sent: Monday, October 19, 2009 5:28 AM To: 'Flash Coders List' Subject: RE: [Flashcoders] Timeline Streaming Sounds Playing Early? Dave Dev wrote: I have a frame with a stop actionscript command. The next frame has a streaming sounds and a frame label. At runtime, Flash stops at the stop command frame, but then plays a very brief portion of the streaming sound in the next frame. Placing some frames in between the sound and command seems to fix(?) the problem. This occurs on Windows XP, but not Mac OS X using Flash Player 8. Hmm... which version of Flash are you using? Is the sound in the library, or in an external audio file? Is the sound played with an AS command, or is it on the time line? Sorry to ask so many questions. The way you describe it, it sounds like a bug in Flash, but something like that should have been found and fixed long ago. I suspect there's more going on--possibly something you don't know about, or that treats the audio in a way you haven't thought of. Cordially, Kerry Thompson ___ 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 David Benman Interactive Developer d...@dbenman.com http://www.dbenman.com (508) 954-1202 (cell) (315) 637-8487 (home office) ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] OOP AS3 learning
I don't know about the Yard book, but the AS 3 DP book might be your second book after something like Learning AS 3.0 at Oreilly. Unless you feel ready to wade into it. I don't think many people say OOP is not for small projects, but OOP and Design Patterns are not the same thing. Any project can benefit from OOP techniques, though I sometimes think that small project/ beginner programmers might be better off with a library of really good static reusable functions. A full implementation of a design pattern might be overkill for a small project since adds overhead and might takes extra time to write code when sometimes you are trying to do something quite simple. An advantage of design patters on big projects is it usually makes things easier to change, helps integration into bigger structures and with other developers, provides standardized structure, etc.. On a small project, this might be less important but its still good to have some sort of concrete pattern to stick to so your code isn't a mess. A simplified MVC with a combined V & C might be something to try or any other pattern that gets your data separated from your logic to begin with. Beyond patterns, OOP, etc., I think its really important to identify those areas of your program that have the possibility of changing over time and then focus your architecture, structuring, etc. on those areas. For example, if you are doing a one off simple game, then you might just right a main loop and leave it at that. However, if you are doing a web application were the client wants to constantly be adding "pages", then it might be good to consider an MVC where its easy to change views. On Mar 5, 2009, at 6:16 AM, Pedro Kostelec wrote: Hi Can you recommend a good source for learning OOP in as3? Until now i found two books: ActionScript 3.0 Design Patterns - Object Oriented Programming Techniques By William B. Sanders <http://www.oreillynet.com/pub/au/2820>, Chandima Cumaranatunge <http://www.oreillynet.com/pub/au/2931> and: Object-Oriented ActionScript 3.0 by Todd Yard<http://www.amazon.com/exec/obidos/search-handle-url/ ref=ntt_athr_dp_sr_1?%5Fencoding=UTF8&search- type=ss&index=books&field-author=Todd%20Yard>(Author), Peter Elst<http://www.amazon.com/exec/obidos/search-handle-url/ ref=ntt_athr_dp_sr_2?%5Fencoding=UTF8&search- type=ss&index=books&field-author=Peter%20Elst>(Author), Sas Jacobs<http://www.amazon.com/exec/obidos/search-handle-url/ ref=ntt_athr_dp_sr_3?%5Fencoding=UTF8&search- type=ss&index=books&field-author=Sas%20Jacobs>(Author) Which one is better? What i am looking for is a book (max 500 pages) with an overview of the different design patterns, and some case studies or examples on how to write OOP I have one question that i can't really understand: Why people say OOP programming is only for big projects? What are the pluses and minuses of sticking to some design patterns? Pedro D. Kostelec ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders David Benman Interactive Developer d...@dbenman.com http://www.dbenman.com (508) 954-1202 (cell) ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] asset versioncontrol
Smaller projects we've done what you have. My understanding of SVN theory would indicate that making a tag shouldn't increase the size of your repository because a tag is just pointers to a version of a file, the file is not duplicated. Adding or changing assets does of course increase the size of the repository because they are added as binary files and not differenced like text (code) files. For bigger projects, you might be better off going with a whole separate asset management system. This keeps your code repository small, easy to backup, etc. and allows you to use a better tool for asset management. I also add a "resources" folder if necessary. This contains anything else such as fonts that you might need to create a build with the theory you can download everything from the trunk with maybe only adding assets to create a working build on any computer. On Dec 10, 2008, at 9:36 AM, Hans Wichman wrote: Hi list, I was wondering how you handle your assets in version control. I usually follow a standard project setup something like: trunk branches tags The trunk contains for example sources, deploy, deploy/assets Now especially the assets folder tends to get very large. Each time I tag the trunk, the size multiplies. I was wondering how others are handling this, and looking for a better way to handle the assets. Not sure if there is a quick solution to this though:) regards, JC ___ 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] Flash 9 Mac Debugger Default Display
Is there any way to save the layout, pane size, column sizes in panes, etc., of the debugger display in Flash 9 on the Mac? When my debugger opens it opens at a small, unusable window size with the code view pane only a few pixels wide and the overall window size really small. I have to stretch the window to make it usuable and I have to adjust the variable view pane columns to make them display a variable name and value. I have had times were it would open at the previous size and layout, but don't know how I got there. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Recommendation for budget development mac
The other thing to keep in mind is to test early and test often when doing cross-platform testing. Keeps you from find bugs at the last minute. Also, when working with a team, its helpful to consider having one of your team members work on the mac. Then ongoing testing occurs. On Oct 17, 2008, at 11:54 AM, eric e. dolecki wrote: I think that you made a good decision there, for what it's worth. Eric On Fri, Oct 17, 2008 at 10:45 AM, Paul Steven <[EMAIL PROTECTED]>wrote: Thanks for all the advice - I have made a quick decision and ordered a Mac Mini 2 GHZ (Intel one) with an extra gig of RAM. Sounds like this will be sufficient to package my games for the Mac and also provide a means for testing. I do have a 450 mhz G3 in the attic but I thought that would be way too old to be of any use for my needs. Cheers Paul -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ian Thomas Sent: 17 October 2008 15:17 To: Flash Coders List Subject: Re: [Flashcoders] Recommendation for budget development mac On Fri, Oct 17, 2008 at 2:09 PM, David Benman <[EMAIL PROTECTED]> wrote: I agree with Ian, though I'd caution going to low-end for testing because then you can get too focused on slowness issues that don't affect your average, target machine. Sorry - I meant slowest of the current crop, by which I meant Mac Mini. :-) Ian ___ 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 _ David Benman sixredmarbles One Alewife Center Suite 210 Cambridge, MA 02140 p. 617.492.9668 x120 f. 617.492.9778 Bringing Beauty, Creativity, and Intelligence to Educational Technology www.sixredmarbles.com P Please consider the environment before printing this email. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Recommendation for budget development mac
I agree with Ian, though I'd caution going to low-end for testing because then you can get too focused on slowness issues that don't affect your average, target machine. If you are looking at one machine, I'd recommend an average speed Intel Mac which would could be used and save you money. This will give you indications of potential slowness issues and its the predominant processor now. Plus there are can be infrequent issues with the "new" processor, especially if there's old PPC code in the application running on the Intel. If you want to be thorough and have extra money, then you can consider getting older slower macs such as a PPC. We tend to have them laying around, but you might check with friends to test or to sell you a cheap old machine. On Oct 17, 2008, at 8:24 AM, Ian Thomas wrote: I suspect it depends how many pixels you're throwing around! We create fairly straightforward educational 'games' for young kids, and the Mac Mini (which is Intel these days, by the way) has been perfectly adequate as a testbed for our software. What's more, if you're actually authoring on the PC and testing on the Mac (which is how we do it) you'll probably want to be testing on the slowest of the Macs anyway, to ensure that your end-users don't have something that's too slow. The Mac Mini is a nice piece of compact kit. It has another big advantage over many other macs if you're using it as a second machine (e.g. for testing); you can plug in external keyboard, mouse and monitor. Which means I've got my Mac Mini hooked up to the same screen, mouse and keyboard as my PC (via a switcher). That way I can do a build on the PC, switch to Mac for testing, switch to PC to fix that annoying bug, repeat until fixed... I heartily recommend it. Ian On Fri, Oct 17, 2008 at 1:01 PM, Paul Steven <[EMAIL PROTECTED]> wrote: Up until now I have never needed to develop anything for the Mac, however I have been asked to develop a series of games for Mac and PC so need to get a Mac to enable me to do so. The games will be delivered as downloadable executables. I would therefore appreciate any advice on what to get. I currently develop using Flash CS3. I would prefer to spend as little as possible and was therefore considering the Mac Mini but believe this may be a bit long in the tooth. I would prefer if it was intel too so I can have a dabble with the iPhone development software. I need to get this Mac within the next couple of weeks too so I can't wait too long. My budget is £1000 maximum but less would be better as I don't know if I will get any more jobs that require development on a Mac or not. Any advice much appreciated.. Paul ___ 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 _ David Benman sixredmarbles One Alewife Center Suite 210 Cambridge, MA 02140 p. 617.492.9668 x120 f. 617.492.9778 Bringing Beauty, Creativity, and Intelligence to Educational Technology www.sixredmarbles.com P Please consider the environment before printing this email. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Special Characters, Possible Work
We need to integrate a wide range of special characters such as foreign language characters, math characters, super and subscripts, etc., into a database-driven, desktop, Flash application for the education market. I'm looking for somebody with experience doing this for possible paid consultation. You can contact me off-list, [EMAIL PROTECTED], if you are knowledgeable and interested. _ David Benman Manager of Engineering sixredmarbles One Alewife Center Suite 210 Cambridge, MA 02140 p. 617.492.9668 x120 f. 617.492.9778 Bringing Beauty, Creativity, and Intelligence to Educational Technology www.sixredmarbles.com P Please consider the environment before printing this email. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders