Facebook, Flash and maintaining state

Posted by Myk on Stack Overflow See other posts from Stack Overflow or by Myk
Published on 2009-12-04T15:56:10Z Indexed on 2010/05/10 0:08 UTC
Read the original article Hit count: 212

So here's the situation: I have a Flash application I'm deploying to facebook as a canvas app. There are various states within this app - different "pages", sort of.

I want to be able to share this app with other users using Facebook's baked-in sharing mechanism. However, I want each state to have its own share button. That way when someone clicks Share on page 3 they are actually sharing page 3, not the root of the whole application.

Does anyone know if Facebook exposes some mechanism by which this could be possible? It would be as simple as passing a string into the iFrame that holds the canvas app, so I could load it in as a FlashVar and work from there.

I'm kind of beating my head against the wall - does this request make sense, and has anyone tackled anything like this before?

Thanks!

© Stack Overflow or respective owner

Related posts about flash

Related posts about actionscript-3