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…)

Google adsense coming to actionscript ?

googleads

Well.. last night when i was browsing through youtube , i came across what i term “pure google AdSense” in flash. It seems google is coming out with a new mode of advertising for flash only content. youtube’s video player is showing “google ads” as we know it in its html version. Though am not sure if this is to be public soon, but i can be rest assured that if i see it with google they might as well be planning it. This could be a blast for the entire internet as flash templates can now carry the weights of AdSense earnings too. So designers may as well be busy with building the right kind of layout to support this rather than just the i-candy. Strangely though i dont seem to see this in every youtube video. May be its still alpha or somethig. 🙂 Who knows..

SwfMetaDataInjector – a flash SEO tool

swfmetadatainjector

I have always found it very difficult to understand and build java applications. Hence i always used to run away from the sound of it. But believe it or not now i find, a person who has worked well with flash/flex will find java to be very understandable. You can say flash added a expression to java over the few years.  So anyway to quench my thirst i decided to work on a java GUI application this week. And here it is –  “SwfMetaDataInjector”. Flash has supported metadata even before Google  / Yahoo started indexing swfs wit their  special algorithms. This meta data is stored as a markup, in RDF (Resource Description Framework) format. To know more about this you can read a very intuitive article by Robert Reinhardt

SwfMetaDataInjector lets you write back meta information into swf files even without their fla sources. currently it supports swfs published for flash player 8 and below. i hope to do better with it over time. The application will require you to have the latest java runtime. I this works out forthcoming versions will have batch processing capabilities and better UI. Currently this application is at version 0.01 .

You can download the application here