Simplyprofound.com
Flash, Flex, AIR, ASP.NET, PHP, AJAX, whatever it takes...

Flash Debug Shows Old File and Code

March 27, 2008 05:47 by dave

Yes, you heard me right. I make changes in my actionscript and FLA, but when I run debug in Flash CS3 I'm looking at a version from a week ago. I tried to restart Flash and found the same problem. Only when I rebooted would I once again see the correct output.

I had this problem a while back with ASP.NET temporary files and the built in webserver caching and delivering old files, but that was like in VS 2003. But this made me think that perhaps Flash was building to a temporary file location and just not cleaning up properly. Nope. I posted this on the AIR boards since the project is an AIR application and I figured it's using the AIR compiler, so maybe I'm not the only one with this problem. 

Nope just me. How frustrating!

But I just figured it out....by accident. You see, I've been working for the past year on my faithfully maxed out MacBook Pro. Recently my compile times were becoming unbearable both in Flash and VS 2008, so I decided to invest in a Mac Pro Quad Core tower (capable of 8 cores). So, as soon as it arrived, I installed my apps, copied over my project files and resumed work. Lovely. Until this problem.

So here's what I found. My folder structures are identical on these two machines. The confusion in Flash occurs when I have mounted my MacBook Pro drive and evidently Flash thinks it should be building out of that directory "Projects/Client/Project/" instead of my local folder "Projects/Client/Project". Hence when I rebooted, since I went directly to Flash instead of remounting my MacBook, I would see the expected files. Happy accident.

That's that "what" is happening. Now I need to figure out "why" and how to resolve it. Madness! 


AIR Local Data Storage

March 26, 2008 10:58 by dave

Greg Hamer gave a fantastic presentation today as part of the Adobe Developer Week seminars on Local Data Storage Options with AIR. I think it's safe to say that Greg overprepared his material as it was run and gun from the start. If you like rapid fire learning, this is your guy.

Greg covered all the options available in AIR, demonstrated side by side read/write benchmarks for each, and discussed the pros/cons of each method so you can choose the most appropriate for your needs.

The four options available are:

1) Local Shared Objects
2) Encrypted Local Store
3) File System
4) Embedded SQL Database

Greg posted his slide deck, a link to his recorded session, and sample code on his site. It's well worth a look.


Tags: , , ,
Categories: AIR | Flash
Actions: E-mail | Permalink | Comments (0) | Comment RSSRSS comment feed

Attend an Adobe Developer Week Seminar (this week)

March 25, 2008 17:12 by dave

Hey, these are good sessions from people that know their stuff. As the week wears on the sessions become more advanced, and I'm really looking forward to some sessions on AIR and SQL. Thus far the sessions have been foundational introductions with enough meat to make it worthwhile.

Jamie Kosoy of Big Spaceship Labs presented an excellent session this afternoon on Building AIR apps in Flash. He's posted the source from his session and you'll find some very useful bits of code there including how to read/write a file synchronously and asynchronously, how to work with a local database, how to handle system chrome and basic windows events, etc.  

Sessions are FREE. Check out the remaining lineup at http://www.adobe.com/cfusion/event/index.cfm?event=detail&id=1200007&loc=en_us


Tags: ,
Categories: Flash
Actions: E-mail | Permalink | Comments (0) | Comment RSSRSS comment feed

iPhone SDK not good enough for Flash?

March 21, 2008 10:49 by dave

This is why I don't get my hopes up too high that Adobe and Apple are going to actually get this done any time soon. Adobe is now saying that the SDK isn't going to cut it?

http://www.news.com/8301-13579_3-9898166-37.html?tag=nefd.lede

Read and interpret away.


Tags: ,
Categories: Flash
Actions: E-mail | Permalink | Comments (0) | Comment RSSRSS comment feed