Re: [Flashcoders] Re: SWAddress logical workflow

2009-06-17 Thread Glen Pike
Hi, By interrupting the loading / transition I mean: If someone navigates, causing a change in the SWFAddress URL and you start loading data corresponding to the change... ...THEN, whilst your data is still loading, someone clicks the back / forward buttons, maybe more than once...

[Flashcoders] Re: SWAddress logical workflow

2009-06-16 Thread Omar Fouad
No ideas? On 6/14/09, Omar Fouad omarfouad@gmail.com wrote: Well i believe that group 94 are using a different technique to implement SWFAddress dynamically. Ty also took care of fast next-previous browsing. What do you think? On 6/14/09, Gerry noentour...@gmail.com wrote: That's

Re: [Flashcoders] Re: SWAddress logical workflow

2009-06-16 Thread Glen Pike
I see what you mean by setting a future date on the FWA site - I managed to screw up the history completely (FF2 WinXP) so got stuck forever on that date a bit like Groundhog Day :) I think the only way to deal with fast browsing is to allow your loading / transition process to be interrupted

Re: [Flashcoders] Re: SWAddress logical workflow

2009-06-16 Thread Steven Sacks
This is exactly how Gaia works. goto() calls setValue on SWFAddress and the response is dispatched to the framework to handle the navigation. Interrupts are handled in both loading and transitions. It's open source, so you're welcome to examine how it's done in Gaia. On Jun 16, 2009,

Re: [Flashcoders] Re: SWAddress logical workflow

2009-06-16 Thread Omar Fouad
Thanks Guys, for the replies I'll see your example Glen. On Tue, Jun 16, 2009 at 11:27 PM, Steven Sacks flash...@stevensacks.netwrote: This is exactly how Gaia works. goto() calls setValue on SWFAddress and the response is dispatched to the framework to handle the navigation. Interrupts are

Re: [Flashcoders] Re: SWAddress logical workflow

2009-06-16 Thread Omar Fouad
I almost forgot... what do you mean by interrupting the loading / transition of the site? On Wed, Jun 17, 2009 at 3:56 AM, Omar Fouad omarfouad@gmail.com wrote: Thanks Guys, for the replies I'll see your example Glen. On Tue, Jun 16, 2009 at 11:27 PM, Steven Sacks

[Flashcoders] Re: SWAddress logical workflow

2009-06-13 Thread Omar Fouad
Thanks Gerry this is exactly what i do. But as Matt says there is a problem when i rapidily fire next and previous, things screw up. Another thing, what if i have a section in my movie like a gallery, and i need to add an additional parameter to the address like the photo id to load the image,

Re: [Flashcoders] Re: SWAddress logical workflow

2009-06-13 Thread Gerry
Yeah, I understand. You'll need to figure out how to allow for extra params in the url. My function with the switch conditional code could be replaced with code that handles dynamic params. ie. do something with the string that includes /sectionName and if there is extra params after

[Flashcoders] Re: SWAddress logical workflow

2009-06-13 Thread Omar Fouad
Well i can do that but i don't use that syntax. i instead do /gallery/2. At the end i omit the first forward slash from the address value string, i split it to get an array of parameters such as, in this case, gallery and 2 which is the id of the photo to load. The dilemma now is to sync all this

Re: [Flashcoders] Re: SWAddress logical workflow

2009-06-13 Thread Gerry
That's strange, you might be setting the value later in your sequence. I've never had this happen before. Are you intending to change the title after the slide animation? I call setTitle at the same time I call the function to switch sections. On the undefined situation, you will probably have

[Flashcoders] Re: SWAddress logical workflow

2009-06-13 Thread Omar Fouad
Well i believe that group 94 are using a different technique to implement SWFAddress dynamically. Ty also took care of fast next-previous browsing. What do you think? On 6/14/09, Gerry noentour...@gmail.com wrote: That's strange, you might be setting the value later in your sequence. I've never