Flash, Twitter and crossdomain.xml

April 22nd, 2008

As part of the latest FRED website update, I’ve been asked to include a twitter feed integrated into the flash file itself. Not knowing much about twitter itself apart from the basics, like knowing I’d have to take data from a feed and have to make some actionscript that parses the XML, I started the necessary research to see what people had done before me.

It is fortunate then, that I stumbled across this post, Twitter Issues, which describes a scenario that is not unfamiliar to me. It also provides a solution which will ultimately save me time later on! Basically, since some major security updates in Flash quite a long while ago, it hasn’t been able to access data on any server different to the one it is hosted on without express permission from the other server in the form of a special file called crossdomain.xml. I had the same issue when developing the original FRED Roles database stored on one site and accessed via flash from the other. Now Twitter themselves could have solved the issue by simply using a * (star) in their file to allow access from anyone, but for whatever reason they chose not to.

Leave a Comment

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

About Me

I am a web designer/digital artist currently studying BSc Digital Art and Technology in Plymouth University. I am in my 3rd year of the course, on an industrial placement working with Plymouth website designer Neovirtua.

So far I have developed a wide range of skills, from producing videos using 3D software to gaining an aptitude for learning numerous programming languages. This is all on top of my original enthusiasm for art and HTML.

Read more…

Featured Work

Puzzle Flash

Based on a couple of puzzles I received a long time ago, this flash generates a random puzzle and then jumbles the pieces up for the player to solve.

Puzzle Flash game mini screenshot The flash actionscript behind this is flexible enough to allow for any size puzzle to be created and jumbled as many times as I like. In addition to this, the difficulty of rotating pieces is also a feature.

Try out Puzzle Flash…

© Copyright 2005-2008 -- Simon R.J. Mutton, All Rights Reserved.