Ultrashock Forums > Development > Client Side
SWFAddress 2.0

You are currently viewing our website as a guest which gives you limited access to forums, files and other resources.

Click here to join now for free, and start interacting with our members, download files and much more!

Click here if you are looking for our Flash files and other professional assets.
 
Post Reply | View first unread | Rate Thread Search this Thread | Thread Tools | Display Modes

#1
Bookmark and Share!
SWFAddress 2.0
Old 2007-11-22

SWFAddress 2.0 - Deep linking for Flash and Ajax

SWFAddress is a small, but powerful library that provides deep linking for Flash and Ajax. It's a developer tool, allowing creation of unique virtual URLs, pointing to a website section or application state. SWFAddress enables a number of important capabilities which are missing in today's rich web technologies including:

• Bookmarking in a browser or social website
• Sending links via email or instant messenger
• Finding specific content with the search engines
• Utilizing browser history, back / forward and reload buttons
• Easy integration with SWFObject (see "Quick Setup for SWFObject")

Supported Browsers

Mozilla Firefox 1+
Internet Explorer 6+
Mozilla 1.8+
Safari 1.3+
Camino 1+
Opera 9.02+
Netscape 8+

Here is the full changelog for version 2.0:

• Support for multiple Flash movies and Ajax.
• Event listeners for ActionScript and JavaScript.
• New SWFAddressEvent class with support for INIT and CHANGE types.
• New unobtrusive SEO technique.
• Support for Adobe Flash CS3.
• Support for Flash Player 7 with the Flash/JavaScript Integration Kit.
• Support for SWFObject 2.0, UFO and Adobe's Active Content embedding.
• New strict mode that adds trailing slashes by default.
• New helper methods for link, window and popup management.
• Ability to configure the script with query parameters.
• The swfaddress.html is optional and not used by default.
• Lots of new and improved Flash based samples.
• Various optimizations and fixes.
• API docs for ActionScript 3 and JavaScript.


Asual | SWFAddress - Deep linking for Flash and Ajax
www.uxte.com | Visual Design
postbit arrow 13 comments | 2965 views postbit arrow Reply: with Quote   
Moderator
uxte is offline Moderator
seperator
Posts: 1,576
2002-11-19
Age: 32
uxte lives in Finland
uxte's Avatar
seperator

Ultrashock Member Comments:
pxlforge pxlforge is offline 2008-02-03 #2 Old  
I tried to use this - but all the example FLA's that I was able to get working in my site (I only know Actionscript 2.0 - and not THAT well) gave me a problem...

I have buttons with an animated rollover on state (MC in the button rollover frame). When I implement the swfaddress script, my animated rollovers do not animate. Something stops the MC in the rollover frame from playing/looping.
Reply With Quote  
uxte's Avatar uxte uxte is offline Moderator uxte lives in Finland 2008-02-03 #3 Old  
It can be or not a problem with the implementation of SWFAddress but it would be a lot easier to spot it if you show us an example code of what you're doing.
Reply With Quote  
nrg's Avatar nrg nrg is offline Administrator nrg lives in Belgium 11 Creative Assets 2008-02-09 #4 Old  
SWFAddress can also be used with Flex websites, as we did here on Ultrashock.
Just have a look at our Creative Assets and watch the nice deeplink urls
Reply With Quote  
Nutrox's Avatar Nutrox Nutrox is offline Super Moderator Nutrox lives in United Kingdom 17 Creative Assets 2008-02-09 #5 Old  
It is still a bit of a bloated solution though IMO. No doubt it does the job and does it well, but I have managed to include Flash Player detection, HTML/Flash replacement, and Deeplinking, in a single JS file which is a lot smaller than the SWFAddress JS file. My version is designed to work with full AS3 Flash sites though, but even so, I don't understand why SWFAddress requires so much code.
Reply With Quote  
nrg's Avatar nrg nrg is offline Administrator nrg lives in Belgium 11 Creative Assets 2008-02-09 #6 Old  
Have a talk with those guys Si
Maybe their code is so bloated since they not just focus on Flash files.
Reply With Quote  
Nutrox's Avatar Nutrox Nutrox is offline Super Moderator Nutrox lives in United Kingdom 17 Creative Assets 2008-02-09 #7 Old  
Quote: Originally Posted by nrg View Post
Maybe their code is so bloated since they not just focus on Flash files.
Yeah, you could be right there mate. But... if you wanted deeplinking for desktop browser based full-Flash sites wouldn't it be better to use a solution that was specifically designed and developed for that environment?

SWFAddress is good though, no doubt about that. It is just a bit fat.
Reply With Quote  
John-B-'s Avatar John-B- John-B- is offline John-B- lives in United States 2009-04-03 #8 Old  
Quote: Originally Posted by Nutrox View Post
It is still a bit of a bloated solution though IMO. No doubt it does the job and does it well, but I have managed to include Flash Player detection, HTML/Flash replacement, and Deeplinking, in a single JS file which is a lot smaller than the SWFAddress JS file. My version is designed to work with full AS3 Flash sites though, but even so, I don't understand why SWFAddress requires so much code.
Sorry, for digging up an old post, but this is a solution that I have been looking for. Nutrox, is it possible to look at the javascript file that is capable of doing these tasks. I have been looking for a solution that does this in AS3.
Reply With Quote  
Isocase's Avatar Isocase Isocase is offline Isocase lives in United States 2009-04-03 #9 Old  
@Nutrox,

When are you going to post "Mono" on your blog
Reply With Quote  
Nutrox's Avatar Nutrox Nutrox is offline Super Moderator Nutrox lives in United Kingdom 17 Creative Assets 2009-04-04 #10 Old  
Last edited by Nutrox : 2009-04-04 at 14:07.
The old Mono dev page/examples/source can be found here. I will try and get the 1.0 version sorted out and blogged on Monday or Tuesday.

Reply With Quote  
Nutrox's Avatar Nutrox Nutrox is offline Super Moderator Nutrox lives in United Kingdom 17 Creative Assets 2009-04-04 #11 Old  
Sorry, I just realised I posted a link to my local dev server.

Fixed.
Reply With Quote  
John-B-'s Avatar John-B- John-B- is offline John-B- lives in United States 2009-04-08 #12 Old  
Where in the bloody heck is it?
Reply With Quote  
Nutrox's Avatar Nutrox Nutrox is offline Super Moderator Nutrox lives in United Kingdom 17 Creative Assets 2009-04-08 #13 Old  
Last edited by Nutrox : 2009-04-08 at 09:27.
It is on its way John, I did try and get it sorted out for yesterday but a couple of other things have landed on my desk so you will need to be patient, I'm up to my neck in code at the moment and Mono isn't at the top of my to-do list. The v.0.8 files I posted do work though, if you are brave you can use those for now or use SWFAddress etc.
Reply With Quote  
John-B-'s Avatar John-B- John-B- is offline John-B- lives in United States 2009-04-08 #14 Old  
Sorry, mate I've got ants in my pants! I think SWFAddress is just a little too bloated for me. I'll trying using v.0.8 and see what happens.
Reply With Quote  
Thread Tools
Display Modes Rate This Thread
Rate This Thread: