View Full Version : Can I insert a flash object or C++ application in GE?
Jaime11
07-02-2008, 08:26 PM
Hi,
First of all, sorry to place this post in the general discussion but I cannot find where to place it.
I am a new user of GE, at least from the API point of view. I am trying to find out if I can insert a "flash object" in GE??
The thing is that we have developed a flash viewer for panorama scenes and we would like to insert them in GE as point of interest. I just cannot find any reference to this kind of issues in the API documentation.
If this is not possible we have another possibility, we have also the panorama viewer developed as an application in C++ using OpenGL. Is it possible to insert this application in GE???
As you can see I am extremely lost at this point, I would really appreciate if somebody give me some feedback in regards to this issue
Best
Munden
07-02-2008, 10:04 PM
No, Google Earth windows only follow the simplest HTML rules. The only media you can insert would be <IMG> tags.
GEH4EVR
07-03-2008, 01:27 AM
Actually Munden, you can embed flash in Google Earth.
Jaime11, Here's two articles on the Flash in Google Earth:
http://www.gearthblog.com/blog/archives/2007/08/flashearth_mashup_wi.html
http://googleearthuser.blogspot.com/2007/09/flash-in-google-earth.html
And Here's the code I use:
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="620" height="580" id="index" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="http://www.deviantart.com/download/73973264/Flash_Clock_by_Thorero.swf?lat=38.89706217126182&lon=-96.93237208884133&z=5.383633567278&r=1.059&src=msl" /><param name="quality" value="high" /><param name="bgcolor" value="#000000" /><embed src="index.swf" quality="high" bgcolor="#000000" width="100%" height="100%" name="index" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
object classid: Unsure of what this is, best to leave it there.
codebase: This is specifying that it's a flash player.
Width, Height, ID, Align: Pretty much self explanatory.
Param Name: let's Google Earth know what it's dealing with.
Value=: Points to the swf file.
Param Name: Is also self explanatory.
And the example file is attached to my post.
Munden
07-03-2008, 04:55 AM
wow, ok, that's a lot more work than the limited things I tried. I tried some of the basics and then assumed they left that ability out for fear of security or compatibility.
Jaime11
07-03-2008, 07:43 AM
Thank you very much!!!!!!!
I am going to try and play around with it..I will let you know if I manage
Best
Jaime
Jaime11
07-03-2008, 09:37 AM
Hi GEH4EVR,
Well, that is my doubt right now. I am trying to embed the flash viewer with the embed object but it does not work
Any Ideas??
This was the way I had it done in GoogleMaps
Thanks
Mickey
07-03-2008, 12:27 PM
Check out GEboards (http://www.gearthhacks.com/geboards/) and GEMMO (http://www.gearthhacks.com/gemmo/), both of which use Flash quite a lot.
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.