Solved

SWFAddress & SWFObject alternate content

Posted on 2009-04-13
7
1,116 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
Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

 
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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Can't enable Flash on Chrome 32 Windows 7 any more 2 29
Hide Table in merge 3 33
function parameter and using that as array 15 23
javascript - insert into js doc help 2 25
Introduction HTML checkboxes provide the perfect way for a web developer to receive client input when the client's options might be none, one or many.  But the PHP code for processing the checkboxes can be confusing at first.  What if a checkbox is…
I have found that much of my time doing support ends up being a constant repetition of the same steps to different people.  Early on I stated using web pages with Frequently Asked Questions (FAQs) to alleviate most of the burden.  Sometimes this jus…
In this tutorial viewers will learn how to create a basic shape tween animation in Flash including shape hints for smooth animation Open a new document in Flash: Draw a shape: Select another frame (how long you want the tween to be): Right click and…
The goal of the tutorial is to teach the user how to set there setting in Adobe Flash Media Live Encoder and YouTube for optimal video and audio quality.

830 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