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 to write a conditional to handle undefined dates and/or
include code to not allow future dates.
-Gerry

On Jun 13, 2009, at 2:19 PM, Omar Fouad wrote:

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 together. I don't know if you
noticed but the address changing in the browser occurs after a second
and not immediately. Check www.fwaphoto.com play with it and check the
address behaviour after clicking. Today i discovered something
interesting. In the address, replace the date of a picture to any date
in the future like this www.fwaphoto.com/#/2009-6-20 and see what
happens to the address when it finds nothing. The date changes to
undefined! What the hell does this mean?

On 6/13/09, Gerry <[email protected]> wrote:
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 /sectionName?img=  do something else.
I'm just spit balling but that might be what you have to do.
I don't think I've ever seen any tutorials on how anyone else has
handled that.

-Gerry

On Jun 13, 2009, at 12:15 PM, Omar Fouad wrote:

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 is tricky.  i've been experiencing
too much problems.

On 6/13/09, Matt S. <[email protected]> wrote:
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.

_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


--
Sent from my mobile device

Omar M. Fouad - Adobe Flashâ„¢ Platform Developer
www.omar-fouad.net
Cellular: (+20) 1011.88.534
Mail: [email protected]

This e-mail and any attachment is for authorised use by the intended
recipient(s) only. It may contain proprietary material, confidential
information and/or be subject to legal privilege. It should not be
copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and
any attachment and all copies and inform the sender. Thank you.

_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


--
Sent from my mobile device

Omar M. Fouad - Adobe Flashâ„¢ Platform Developer
www.omar-fouad.net
Cellular: (+20) 1011.88.534
Mail: [email protected]

This e-mail and any attachment is for authorised use by the intended
recipient(s) only. It may contain proprietary material, confidential
information and/or be subject to legal privilege. It should not be
copied, disclosed to, retained or used by, any other party. If you are
not an intended recipient then please promptly delete this e-mail and
any attachment and all copies and inform the sender. Thank you.

_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to