Article

Vote for crossdomain.xml for Google APIs and services

Would you like to access Google APIs and services from your RIA-application? If you would, you would also like to vote for this feature request: Add crossdomain.xml for Google Accounts.

To vote, just click the star icon to the right from “Issue 406:” text. You also may write a comment if you wish (this is optional; but voting for crossdomain feature is mandatory! :)

Please: do not comment with “+1″-like phrases. It makes comment feed useless for those who really interested in reading it (yes, I know such people). And I guess “+1″ commenting techniques will only make that Google employee who makes the decision about taking this issue into consideration think it is not very important issue just because it is supported only by strange crowd of noobs.

But we are not noobs, aren’t we?

Comments (5 comments)

Nice! I voted.

Btw, this is very similar to one that I posted for Yahoo a while back…I wanted to access del.icio.us:

http://www.iheartair.com/?p=18

Feel free to vote for that if you’d like, and good luck with this one!

Jun Heider / April 8th, 2008, 5:58 pm / #

I don’t think a crossdomain.xml is required for Google. You can already get into the google api if you get your headers right without it. In my flexlingo demo http://www.smashedapples.com/flexlingo/demos/FlexLingoDemoApp.html I’m accessing the language api from flex no prob.

Brian Holmes / April 8th, 2008, 9:41 pm / #

Jun, thank for the link ?? i think it is relevant, so I voted.

Rost / April 10th, 2008, 12:14 pm / #

Brian, your trick with api is really cool. And your flexlingo application is fantastic and very creative.

But, as you probably know, there’s some data types like images which could be operated only if crossdomain file is presented. For example, Google Maps — we still can’t use them directly in Flash and Flex, right?

Here’s the simple example of unsuccessful attempt to manipulate with loaded Google map image by creating the bitmap data from it.

In the test, Image loads, but bitmap data creation fails due to the security sandbox violation.:

SecurityError: Error #2122: Security sandbox violation: Loader.content: http://flash-ripper.com/tests/google-maps/LoadFlexMap.swf cannot access http://mt2.google.com/mt?n=404&v=w2.69&hl=en&x=2&y=4&zoom=14&s=Ga. A policy file is required, but the checkPolicyFile flag was not set when this media was loaded.
	at flash.display::Loader/get content()
…

Here’s the source file for the Google Maps image manipulation test.

Rost / April 10th, 2008, 1:28 pm / #

However, I think I might lose something in Google APIs, and it makes sense to learn JSON feeds like one described here.

Rost / April 10th, 2008, 1:34 pm / #

Post a comment

Best entries: RoR Caingorm Generator, XPath for haXe, haXe FLV, PV3D wiki, Benny the Brave, ++++++ , Flash CS3 Illustrator import, Adobe SOC, JSAPI feature, Apollo 3D Test, Skins for Flex / AIR, DVD Rippers, Name Japaneser, 7+ , White hat SEO for Flash Platform, Google 3D Maps v 0.4, Firefox search plugins, HD TV and MPEG-4 in FP9, Flex VoIP, Kongregate , 8+ , Comments gathering, 3D Alternativa Game, Global function in as3, CS3 Master, Away3D, FB for Linux, DoFollow, 9+ , Bruce Eckel on Flex , Bee desktop blog editor , Saffron UML Tool, Aptana IDE with AIR, Flv Player 2.0, MKSS.EXE troubles, Flickr loves Flash, RIA battles, Top Evangelists, Amazing 3D, 0+ , Alternativa Game in 2008, RAFPUG-2, Flex 3 Skin Issue, IntelliJ IDEA for Flex, Polar Distortion in AS3.