Tuesday, February 16, 2010

Twitter to Flash: Class3

For the Arduino project I have decided to get Tweets taking about Alexander McQueen into Flash.
Afterwords, I will be looking to connect Flash data to device like projector.

I started looking up for online tutorials, grate example was given by RiverCityGraphix




When i completed the tutorial i got this error:

"Error #2044: Unhandled ioError:. text=Error #2032: Stream Error. URL: http://twitter.com/statuses/user_timeline.xml?screen_name=skwinte
at twittertoflash_fla::MainTimeline/twittertoflash_fla::frame1()"

While looking for any description what Error #2044 and Error #2032 mean I came across to Judag's blog.

The blog explains what causes the error. My exported swf tries to access a file across a restricted domain.

"It’s not going to get the file if it is not allowed to access it. This behavior then generates the error. The fix in is to add a cross-domain policy file to the domain where the page is located at. The cross-domain file must specify that your domain (or any other domains) can access that URL. You can also use a proxy on your server to get the file."


p.s. this task is for the weekend

No comments:

Post a Comment