Re: [Flashcoders] AS3 - SWFAddress - problem linking to /

2008-11-07 Thread Joel Stransky
There are 5 conditions in dealing with deep links and swfaddress seems to only have focused on one. Internally you need to evaluate your condition (previous location vs. new location) and communicate (or not at all) with swfaddress accordingly. One of those conditions is starting at home, another

Re: [Flashcoders] AS3 - SWFAddress - problem linking to /

2008-11-07 Thread Jason Van Pelt
This does happen in swfaddress -- in the setValue method: if (SWFAddress._value == value) return; Which makes it all the more odd to me that it would go home (using /) twice. JASON VAN PELT • SENIOR INTERACTIVE DEVELOPER PETER A MAYER ADVERTISING 324 CAMP ST • NEW ORLEANS, LA 70130 TEL

Re: [Flashcoders] AS3 - SWFAddress - problem linking to /

2008-11-07 Thread Joel Stransky
Sorry it's been a while since I messed with it. If I remember correctly, the javascript tries to start things off when flash should be the only one initializing anything. I rigged swfaddress into a PureMVC page a while back and it took some serious hacking to get it to leave the home page alone. I

Re: [Flashcoders] AS3 - SWFAddress - problem linking to /

2008-11-07 Thread Jason Van Pelt
Ok, I think I've found the answer in the javascript... if you're using the readable version of SWFAddress 2.1 In... this.setValue = function(value) { the line if (value == '/') value = ''; changes the slash to an empty string. I presume what's happening is the value gets changed

Re: [Flashcoders] AS3 - SWFAddress - problem linking to /

2008-11-07 Thread Rostislav Hristov
I can also look into the issue if you can provide a simple test case. Best, Rostislav Asual - Open software that pushes the limits http://www.asual.com/ On Sat, Nov 8, 2008 at 2:09 AM, Jason Van Pelt [EMAIL PROTECTED] wrote:

[Flashcoders] AS3 - SWFAddress - problem linking to /

2008-11-06 Thread Jason Van Pelt
Hello all, I'm using swfaddress and puremvc on a site that is about 90% done. Everything works well in the Flash IDE and in the browser with one exception -- I have a home button that navigates to / using swfaddress. However, ONLY in the browser the SWFAddressEvent is fired twice. If I replace /

Re: [Flashcoders] AS3 - SWFAddress - problem linking to /

2008-11-06 Thread sebastian
Hi I had this issue a couple of years ago too. It's hard for me to remember exactly, but I believe that I changed the onChange function to simply set a variable with the page name, instead of calling the page event immediately -- and then used a different event to read the set variable when it