Flash SWFAddress Initialization Problems

10 views
Skip to first unread message

Mark Phillip

unread,
Feb 4, 2010, 2:07:39 PM2/4/10
to Refresh Austin
Hey folks, I'm working on a Flash site that's having some problems with SWFAddress.

When running the site on localhost, and on many of our test servers, SWFAddress works perfectly.  The URL changes as we click through the site, back/forward buttons work, manual updates of the URL get picked up, and deep-linking to a specific page works correctly.

Problem is, on a couple of our servers, we'll correctly get '/#" as our path, but the URL doesn't change when we click around the site.  Deep-links to specific content works correctly, but updating the URL manually is ignored, and the URL never changes.

The code is identical in all places and I'm left scratching my head.  Any ideas?


Thanks,
Mark
http://markphillip.com

Felipe Recalde

unread,
Feb 4, 2010, 2:37:40 PM2/4/10
to refresh...@googlegroups.com
Is your browser sending a urlencoded hash tag (# = %23)?   There is an article about SWFAddress violating URI RFC 3986.  

Rob Ruchte wrote about  a mod_rewrite workaround.

--
Our Web site: http://www.RefreshAustin.org/
 
You received this message because you are subscribed to the Google Groups "Refresh Austin" group.
 
[ Posting ]
To post to this group, send email to Refresh...@googlegroups.com
Job-related postings should follow http://tr.im/refreshaustinjobspolicy
We do not accept job posts from recruiters.
 
[ Unsubscribe ]
To unsubscribe from this group, send email to Refresh-Austi...@googlegroups.com
 
[ More Info ]
For more options, visit this group at http://groups.google.com/group/Refresh-Austin

Mark Phillip

unread,
Feb 4, 2010, 2:49:30 PM2/4/10
to refresh...@googlegroups.com
That's a really interesting problem, but I think our issue is a client-side one.

If we hit the site with a URL with a "#" in it, it always works correctly.  For some reason, SWFAddress doesn't "stay awake" to update the URL on each click.  It works on almost all of our servers, but on two, it's no-go.


Thanks,
Mark
http://markphillip.com

Frank

unread,
Feb 4, 2010, 3:12:18 PM2/4/10
to Refresh Austin
Hey Mark,
Either myself or Vo can help. I'm assuming this is AS3? Are you
using a SWITCH statement in there? Let me know if you get anything
traced out when it breaks.

-Frank-

Mark Phillip

unread,
Feb 8, 2010, 9:46:55 PM2/8/10
to refresh...@googlegroups.com
Hey folks, to tie this one off, the issue was that we had the SWF and SWFAddress loading from a different server than where the HTML was being served.  We never got a specific error message, but it seemed that somewhere we're getting blocked by a security sandbox.

Unfortunately, I never found a solution.



Thanks,
Mark
http://markphillip.com



Reply all
Reply to author
Forward
0 new messages