Solved

SWFAddress & SWFObject alternate content

Posted on 2009-04-13
7
1,121 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

 
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

[Webinar] Learn How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

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

I've been trying to accomplish this for a while and it just struck me yesterday how to accomplish this task. I have done searches all over the internet looking for ways to email pages from my applications and finally I have done it!!! Every single s…
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
The goal of the tutorial is to teach the user how to how to load their YouTube profile onto Flash Media Live Encoder.
The goal of the tutorial is to teach the user how to select the video input device. Make sure you have an input device that in connected and work and recognized by Adobe Flash Media Live Encoder and select it in the “video input” menu.

695 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