Flashes CrossDomain DTD

Why is it that the DTD for the cross-domain policy file doesn’t contain a definition for the ‘to-ports’ attribute when it is clearly recommended in the Flex 2 docs??

Surly it is not too hard to add to add one little snippet to the DTD??

Doesn’t take much, and then my nice IDE (that understands such things as DTDs) would not constantly warn me that the attribute is not declared.

I know, it is a small thing but it is the only warning in my entire app! It would be nice if it would just go away…

Hiding your Actionscript code

Just finished another MX Days event in London this time and once again I have been asked by the Flash community how they can protect their Flash movies.

The keen blog readers among you will have noticed that I posted a few weeks back about the fact that you could decompile a flash movie. YES! It is not even that hard. just grab the Sothink SWF Decompiler and away you go.

Now as i said a few weeks ago, this is not new and it is the same for all compiled languages. A quick Google shows quite a c

Flash

Someone referred to Flash content today as “vectors of mass distraction”

Decompiling Flash

Every so often I get asked ‘Just how safe is it for me to leave all my code in my flash application?’

I have always found this funny as compiled code can potentially be decompiled. I saw a thread flying arround one of the office mailing lists and decided to share! thanks to Alex for this one.

There are decompilers available for C++, Java and most other programming languages. There are obfuscators available for Flash (and most other programming languages too) that make decompiling more difficult, but this is still not totally safe. I think you are much better off following best practices and not store any sensitive information in your compiled code. Basically, you don’t want to compile any sensitive information into the swf. You want to load it in at runtime over a secure protocol, such as HTTPS.

if you need more than that, check the Flash Security Whitepaper

Macromedia Tech Wednesday

For those of you who are unaware, Macromedia has recorded tech session with a Team Macromedia member every wednesday!
This week’s preso was by Team MM Member, Chris Georgenes, who discussed Lip Syncing in Flash. Chris did a great demo of his technique for setting up Flash movies for fast and easy lip syncing of characters to audio. Chris has developed a streamlined method for delivering half-hour character-driven animation for a number of networks (Cartoon Network, FX, ABC).
Check out the recording!

Flash and Search engines

I often get asked how we can get Flash content searched and indexed by search engines like Google. The answer is quite simple, search engines like Google are already able to search and index content from within the SWF file format.

Just have a look at this simple search for the word ‘Macromedia’ inside SWF content – http://www.google.co.uk/search?q=filetype%3Aswf+macromedia

Ok so this technology is new and the results are not perfect but these will get better over time. The largest challange is what to index. To that end, there is an SDK that you can download from Macromedia to help with this! Grab the Search engine SDK and get to work today!

MM ships a developer resource kit

Now all you coders out there, don’t get too excited… This is more aimed at the Flash developers or the Dreamweaver guys. That being said, for a relatively small amount (US$99) you get a great batch of components for both products that will fix some of that regular stuff that you do…

I actually quite like the new component kit for FlashMX and it might just be worth the cost all on its own..

Check it out, just remember you get what you pay for.
http://www.macromedia.com/software/drk/