views:

117

answers:

1

I have a flash movie I'm trying to return in an App engine handler, but I'd like to dynamically embed flashvars before returning the .swf file.

Basically trying to get it so a request for

http://app.appspot.com/someurixyz

returns the equivalent of

http://app.appspot.com/xyz.swf?myvar=something

A: 

Guess I should have thought about this a little more before posting..

Was able to accomplish this by reading in the url that the SWF file was loaded from:

In AS3:

url = this.root.loader.loaderInfo.url;