problem load Falsh

15 views
Skip to first unread message

mahdieh saeed

unread,
Aug 13, 2008, 4:22:22 AM8/13/08
to Orkut Developer Forum
Hi,
I have an application which loads a flash movie based on some initial
javascript & Xml computation.
But on orkut application only display Black page.
I run exactly the same application in HTML not orkut application,but
this runs without problem.

Please help me,

Regards,
mahdieh saeed

Ramanpreet Singh

unread,
Aug 13, 2008, 4:24:18 AM8/13/08
to opensoci...@googlegroups.com
How about using the gadget's flash api to include the flash..
check this
http://code.google.com/apis/opensocial/docs/0.7/reference/gadgets.flash.html

mahdieh saeed

unread,
Aug 16, 2008, 6:01:39 AM8/16/08
to Orkut Developer Forum
Hi,
Thanks for your helpful advice,But I have problem for using
"gadgets.flash.embedFlash".

I want to use "tiltviewer" for my application.


my first question is :Is it possible to use "embedFlash" instead of
"SWFObject"?
If your answer is yes, how can I use this?
I read the manual ,but I can not understand it.
Is there any example that can help me?

Best Regards,
Saeed

Jason

unread,
Aug 19, 2008, 2:01:14 PM8/19/08
to Orkut Developer Forum
Hi Saeed. Can you share the code you're using to embed the Flash
currently (just a snippet, not your entire gadget)?

I'm not too familiar with SWFObject or TiltViewer but you should be
able to use gadgets.flash.embedFlash to embed your Flash files. All
you have to do is pass the absolute URL of your file. Note that the
URL must be absolute since your application will be rendered on
gmodules.com and not your current domain.

I've built a quick app that embeds a Flash tutorial in a div element.
You can see the code by clicking the link below and add it to your
profile if you'd like to see it in action. Let me know if this doesn't
work for the Flash files you are trying to embed.

http://graargh.returnstrue.com/coopdog/PUBLIC_embedFlash.xml

Cheers!
- Jason

mahdieh saeed

unread,
Aug 20, 2008, 1:43:36 AM8/20/08
to Orkut Developer Forum
Hi Jason,
Thank's alot for your example.
I can run flash file with your example.

Your answer is very very helpfull for me.

But I still have problem working with XML file .


Regards,
Saeed

Jason

unread,
Aug 21, 2008, 8:52:17 PM8/21/08
to Orkut Developer Forum
Hi Saeed. What problems are you having with the XML spec?

- Jason

mahdieh saeed

unread,
Aug 23, 2008, 2:16:43 AM8/23/08
to Orkut Developer Forum
Hi Jason,
I want to use XML with javascript .swf file load pictures that
addressed in XML file.

addVariable("xmlURL", "gallery.xml");

How can I add this parameter to embedFlash gadget?


Jason

unread,
Aug 25, 2008, 5:57:22 PM8/25/08
to Orkut Developer Forum
I don't know if I completely follow what you're trying to do. Is the
XML you're referring to your application XML or another XML file? It
sounds like you're referring to the latter, an XML file with several
image URLs in it, but I could be wrong.

Are you trying to add the XML file as a parameter or the picture
addresses themselves? What are you trying to add them as a parameter
to -- the gadget itself, a Flash component, or something else
entirely? What is gallery.xml and what is the addVariable function
supposed to do?

- Jason
Reply all
Reply to author
Forward
0 new messages