Hi all! Again, found a solution.
After looking at BuddyPoke code I saw that flash's plugin needed to run is v.9. Newest versions of Flash allow integration with javascript using External Interface. So, that's a clean solution to integrate Javascript and Flash. Another tip is SWFOBJECT that encapsulates lot of crossbrowser function to run flash using javascript. Reference: http://blog.deconcept.com/2005/08/16/external-interface/ Cheers, --Robson On 19 set, 22:29, Robson <[EMAIL PROTECTED]> wrote: > Hi Guys, > > After reading lots of pages about Flash and Javascript integration, I > found 2 ways to do that using FlashVars and SetVariable. > > 1) Under opensocial, I cant use SetVariable. I've tried to load flash > file using SWFOBJECT and gadgets.io.getProxyUrl, but it didnt work. > Does someone make it work ? Is that a security problem ? > > Error is: > Error calling method on NPObject! > > 2) Using FlashVars I could setup the communication, but there's a > weird thing happening. If I need to hide the flash object setting the > display to none and then make it visible again, the .swf reloads. It > just happens under FF and Chrome. > > Any ideas ? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "OpenSocial Application Development" group. To post to this group, send email to opensocial-api@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/opensocial-api?hl=en -~----------~----~----~----~------~----~------~--~---