Fx{r} is trying to start the Fx{r} Community! Please join our group on Adobe Groups following this link: http://groups.adobe.com/groups/ab29539ab9.
Fx{r} is now on Twitter too. Follow us @ twitter.com/fx_r!
«
»

Bugs, Flash Player, How to, Javascript, RIA, SEO

Deep Linking with SWFAddress and IE6 problem

Andrei Ionescu | 20.02.09 | 4 Comments

Google Buzz

This week I’ve been working on a project that uses deep linking with SWFAddress library. SWFAddress is a useful tool that lets you go to a specified part of a flash site by changing the browser’s url.

Anyway this project was in part completed but had to do some changes and fix some bugs. Most bugs were found using Internet Explorer 6. If you wonder why IE6 in the era of Firefox and IE8, because today it has 25% of the market (but going down which is a very good thing) and the client needs to be compliant with it. IE6 is not working on Vista so I had to use a Virtual PC image of XP Sp3 to test with IE6.

The biggest bug found was related to SWFAddress Javascript classes. The site continued to jump from one page to another without no reason. I want to mention that this bug did not appeared on Firefox or IE8 or other browser and I have the following browsers for testing: Firefox, Opera, IE8, SeaMonkey and Google Chrome.

I did some research on Google and I found a comment, “Left by Niklas at Thu, 2 Nov 4:07 PM” on the following page: http://www.asual.com/blog/swfaddress/swfaddress-deep-linking-for-flash.html. That way I found that for IE6 the swfaddress.html file must be placed in the same folder where swfaddress.js resides. That didn’t resolved it then I started to test the examples from the SWFAddress zip file.

I’ve seen that in adobe folder is an approach like mine: use on Flash/Flex Javascript classes with SWFAddress. Tested it on IE6 and is working. Then i started comparing with my project. The difference was that in my project I used also the Flash/Flex history Javascript class. So I removed the following line from my project:

<script src="history/history.js" language="javascript"></script>

That fixed my bug. Two this I had to do:

  1. add swfaddress.html
  2. remove the Flash/Flex history Javascript libraries

As far us I noticed if you used SWFObject with SWFAddress this problem will not occur because, I think, SWFObject do not uses history.

I hope, in the future, to write an entire article dedicated to deep linking, but I need time for that.

Some resources bellow:
http://www.asual.com/blog/swfaddress/swfaddress-deep-linking-for-flash.html
http://www.asual.com/swfaddress/
http://code.google.com/p/swfobject/

Share and Enjoy:
  • Twitter
  • Google Buzz
  • LinkedIn
  • Google Bookmarks
  • del.icio.us
  • Digg
  • Sphinn
  • blogmarks
  • Reddit
  • StumbleUpon
  • Facebook
  • DZone
  • FriendFeed
  • Yahoo! Buzz
  • Yahoo! Bookmarks
  • Slashdot
  • MySpace
  • Add to favorites




Tags: , , ,

This post was written by Andrei Ionescu

Views: 4692

related

4 Comments

have your say

Add your comment below, or trackback from your own site. Subscribe to these comments.

Be nice. Keep it clean. Stay on topic. No spam.

You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="">

:

:


«
»