Prevent swf caching in browser

There are many ways to protect your swf file from being stolen, right from encrypting it with obfuscatory or making them domain dependent with this.url  property. However these is also a more dedicated and determined way to prevent swf theft in general. This has benefits as well as cons.

You can try to discourage swf theft by preventing swfs from appearing in browser cache. This can be done with the Apache .htaccess file. Simple add following lines to your site’s .htaccess file, that lies at the root of your site.

ExpiresActive Off
Header unset Cache-Control:
Header append Cache-Control: "no-cache, must-revalidate"
Header set Cache-Control "max-age=0, private, no-store, no-cache, must-revalidate"

Flash makes it to iphone one way or the other

iphone-preview

Adobe had unveiled its latest triumph as on Oct. 5, 2009. Where Adobe and competitors have been trying hard t make it to the iPhone, by leveraging their run time, Adobe had made it, with a different approach. “Why give them a interpreter when we can give them the native “. Late towards the end of this year 2009, Adobe presents flash cs5 professional IDE. The new IDE lets you publish your action script 3.0 projects as native iPhone executable. Imagine that now you wont be an alien to iPhone development and don’t have to learn their sdk either. Leverage your existing action script 3 skills to deploy for iPhone.

Following feature will not be available as of yet (more…)

Flash vs Silverlight – Part 2 – Simple Vector

flashvssilverlight

following the previous post, we have completed installations of our favourite IDEs,  so now time to do some work. What we will be doing here is create a simple vector based rounded rectangle in Adobe Flash and Microsoft WPF , and compare the file sizes. (more…)

Flash vs Silverlight – Part 1 – The Installation

flashvssilverlight

This seems to be a very sensitive topic over the net these days. So instead of trying to tease dot net programmers ( as i have once liked dot net myself 🙂 )  or triumph flash/flex developers, i will just keep the facts in front of you and let you decide on which is what. First we get started by getting  our development environments up and ready  (more…)