[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 wrote: > That's strange, you might be setting the value later in your sequence. > I've never had this happen bef

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 t

[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 th

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 /se

[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, this

Re: [Flashcoders] SWAddress logical workflow

2009-06-13 Thread Matt S.
Can you describe what the bugs are? SWFAddress can be tricky, especially with rapid-fire clicking of the browser previous/next buttons. .m > I don't know if this is the right thing to do in this case. I just need some > advice because things are too much buggy. >

Re: [Flashcoders] SWAddress logical workflow

2009-06-13 Thread Gerry
Omar, This is what I do, this works for me but do with it what you want. This is not the exact code but a general sequence... On the loading of the site I have an initialization of listeners and included is the following... SWFAddress.addEventListener(SWFAddressEvent.CHANGE, navigateToSection

[Flashcoders] SWAddress logical workflow

2009-06-13 Thread Omar Fouad
Hi, I've been involved into a project where the client required the deep linking feature. The project is built with pure AS3 embedding symbols from a SWF library file, ZendAMF php and mysql, Now the question is how can I sync the address with the current state of my flash movie. All I know is that