all groups > flash (macromedia) > october 2007 >
You're in the

flash (macromedia)

group:

getting html into a flash movie


getting html into a flash movie aussiebear
10/5/2007 8:51:11 PM
flash (macromedia):
A client is concerned with getting some html text picked up by the search
engines. I've already created a flash site they are happy with. Now they are
asking if I can actually make part of their flash site include some html text
layed over the flash movie or something like that.
All I could think of was some way (perhaps with javaScript) of making the
buttons in the swf movie load html text.
Does anyone know if this is possible?
Thanks.
A
P.S. Someone mentioned the "SWFObject method" but I was curious if there was
another way to do this. Remember the main concern here is that search engines
can pick up the text.
Re: getting html into a flash movie DMennenoh **AdobeCommunityExpert**
10/6/2007 9:01:26 AM
[quoted text, click to view]
another way to do this. Remember the main concern here is that search
engines
can pick up the text.

That's the way to go if you want search engines to spider a Flash site.
SWFObject writes the Flash content to a <DIV> on your page. Inside that div
element, you place your HTML page... you can do dynamic stuff with PHP,
whatever. If your user doesn't have Flash, or if a spider hits the page,
they will see the HTML content within the div. If they do have Flash, then
SWFObject overwrites the div with the Flash, and your user sees the Flash.
Works a treat...

If you want an example: www.arandell.com

Turn off JavaScript and refresh, and you'll see the HTML version. Google
spiders this site perfectly.


--
Dave -
Head Developer
http://www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/

AddThis Social Bookmark Button