Solved

SWFAddress & SWFObject alternate content

Posted on 2009-04-13
7
1,115 Views
Last Modified: 2013-11-11
Hi,
 
i have used SWFAddress and SWFObject in my flash site.
 
I did just like the example, using one HTML file which contains the SWFObject that has alternate content.
 
 
SWFAddress works as expected and changes the title and url.
 
 
the problem is I need this site to be "good" for SEO and PPC, therefor I need to be able to display alternate HTML based content to spiders.
 
I need to have multiple HTML files that spiders can visit and count, I need to be able to target the html version from PPC ads directly to a specific page (content).
 
the current situation is that I have one alternative content (SWFObject) and one big SWF file controled by SWFAddress with deep link capabilities
 
what is the recommended method to have multiple HTML files, with alternative content while still using SWFObject and SWFAddress ?
 
 
thanks
<div id="content">
            <p>In order to view this page you need JavaScript and Flash Player 8+ support!</p>
        </div>
        <script type="text/javascript">
        // <![CDATA[
            var so = new SWFObject('c.swf', 'c', '1008', '570', '8', '#000000');
            so.useExpressInstall('swfobject/expressinstall.swf');
            so.addParam('menu', 'false');
            so.write('content');
        // ]]>
        </script>

Open in new window

0
Comment
Question by:moshem
  • 4
  • 3
7 Comments
 
LVL 49

Expert Comment

by:Roonaan
ID: 24141401
You define your alternate content just in your <div id="content">.

For spiders this is all the content they see. So if you want to have multiple htmls with alternative flash content, you can use the same page framework with different content in the content div.
0
 
LVL 1

Author Comment

by:moshem
ID: 24142349
Yes, thats the straightforward and ugly way...and may I say manual.

but what bothers me the most is that these html pages links (URL) will be different from the one normal users will see (flash content).

that means my site will violate google's guidelines... on showing different links and content to users and spiders...
0
 
LVL 49

Expert Comment

by:Roonaan
ID: 24144889
The url changing is the basic downside of using swf address or any flash history manager, or even flash for that matter.

Depending on your serverside language the content management can be manual and ugly, or automatically and easy.
0
3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

 
LVL 1

Author Comment

by:moshem
ID: 24145197
what do you mean automatic ? I am using ASP (not .NET)

is there a way to make the html URLs and Flash inner URLs to be the same ?
0
 
LVL 49

Expert Comment

by:Roonaan
ID: 24145400
I assume Google will not discredit you for having asppage.asp?xml and asppage.asp?html will they?
0
 
LVL 1

Author Comment

by:moshem
ID: 24145440
Roonaan,

can you please elaborate on that a little ?
0
 
LVL 49

Accepted Solution

by:
Roonaan earned 500 total points
ID: 24145542
Well, in your flash you can dynamically load content from the same asp script file that holds the alternative content.

So you create a .asp or .aspx file which outputs flash-targetted xml when you call it with asppage.asp?xml and plain html otherwise.

Then in your alternative content you can use plain links to the different asp files, while the flash uses the same content, but just loaded as xml.

You could even have a single asp page which you call like

asp.aspx?section=123
asp.aspx?section=456
While your flash uses
asp.aspx?section=123&mode=xml
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

While working over numerous projects I often had the requirement for doing a screen capture in AS3.0. Unfortunately I found no "ready made" solutions in google search that suited my requirements. But I did come across some great resources which help…
Having worked on larger scale sites, we found out that you are bound to look at more scalable solutions to integrating widgets, code snippets or complete applications and mesh them into functional sites, in any given composition. To share some of…
The goal of the tutorial is to teach the user what frame rate is, how to control it and what effect it has on the video.
This Micro Tutorial will teach to how to utilize bit rate in Adobe Flash Media Live Encoder.

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question