Archive for category SWFAddress
I really have to look into the SEO example that was released along version 2.0. It is one of my goal for the next month along to getting to know PureMVC better.
I’m always playing a bit with SWFAddress, SWFObject and Google Analytics. SWFAddress has a nice features which is that it will advise Google Analytics when you change a page inside your main swf movie. That gives you the ability to do tracking on your website. Pretty neat!
Has some of you might know, Google Analytics has released a new tracker code (from urchin.js to ga.js). What more does it do for you right now? Not much, it’s supposed to be smaller in size and that’s about it. No event yet (there was a lot of buzz around events in Google Analytics and there is actually documentation on how to implement them but they are still in closed beta; we will have to wait on this one), no new functions. But if your launching a new website I would advise putting the new tracker code (ga.js) because it will save you maintenance time when you will want the new features.
So does SWFAddress works with the new code? Well the answer is yes, and it is pretty easy to make it work here is sample code showing you how to do it:
The most important part of the code is the last line where you tell SWFAddress which tracker to use. That’s it! I hope this saves you some time.
SWFAddress 2.0 is being released tomorrow and Asual wrote a 3 parts article (1, 2, 3) about what’s new with version 2.0 and why should people use it. It’s a very nice article where they also speak about a new SEO method. I was suppose to make another tutorial about SEO, but I’ll wait until I have checked their example before making it. Also they revamped their website and I find it’s much better than their older version.
There I was this morning trying to make a simple example of my problem with SWFAddress. In order to do so I had to grab back the ActionScript part from the source because I had messed with mine. I go to the website and see that it has been modified since yesterday, but still I grab it, must not be so different. I do my example and there, it works fine. I say to myself, well, I’ll try that ActionScript with my main project. I just replaced the file, recompiled the swf and uploaded everything and then everything worked perfectly, not just half way like the day before.
Well I don’t know what the people working at Asual did, but they solved my problem. They also did very well manage their public image. I got two comments indicating me where I should look to solve my problem, and now I end up writing a good post about them. If I would have been them, well I would have done exactly the same thing. You have to have a good reputation on the web, because what is written will stay written for a very long time, that is the long tail.
My project will take a long time before it is completed because it involves 3D videos and green screen, I really hope that by then I’ll be able to work with stable version for both SWFObject and SWFAddress. Right now it’s a bit silly for me to be working with betas. Anyway I say good work to the people making SWFAddress.
Yesterday I was granted a comment by one of the developers of SWFAddress, pointing the fact that I was not using the latest version of SWFAddress and that was indeed true. So I started the day, thinking that my problem would be solved. So I got the latest version and tried it. Well it did not work either. But don’t let go so easily so I put some time into it.
I don’t know if it is my setup, I always have an external preloader; the SWF that includes SWFAddress ActionScript, is loaded in the preloader. Maybe this is what disrupts it from working, I don’t know. My point for all this is, yes I was wrong, SWFAddress will work with SWFObject; eventually.
I have tried the beta of the new SWFObject (SWFFix renamed) and it works quite well. I don’t have the mouse wheel problems I had previously. On the website that I am currently working on, I wanted to use SWFObject, but also to use SWFAdress. But since SWFObject changed considerably from version 1.5, SWFAddress won’t work with it, we will have to wait for another version or tweak it to make it work. It was nice that SWFAddress worked with SWFObject, it reduced the overhead, but the drawback is that if SWFObject changes, SWFAddress has to change too.