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 wrote:
> Thanks Guys, for the replies I'll see your example Glen.
>
>
> On Tue, Jun 16, 2009 at 11:27 PM, Steven Sacks
> wrote:
>
>> This is exactly how Gaia wor
Thanks Guys, for the replies I'll see your example Glen.
On Tue, Jun 16, 2009 at 11:27 PM, Steven Sacks wrote:
> 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 loadi
It sounds like your array is full of button objects, but you're
searching for a string (the button name), and an object and a string
don't match.
Remove the .name from the key you're searching for, and I believe it
should work.
-T
On 6/16/09, Isaac Alves wrote:
> Hi fellows,
> Cannot solve th
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, at
Your sample doesn't show how you build the Array.
So the answer to your incomplete question is nothing different than
what Flash is telling you.
The reason it returns -1 is because indexOf couldn't find a STRICT
EQUALITY match for e.target.name in your array.
If you posted how you built b
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
trace (buttonsArray.indexOf(e.target.name));
Looking at the aboveyour "buttonsArray" is an Array containing
Objects.
And you are using the "indexOf" method looking for a String.
Take off the ".name" property and you should see a difference.
-- Keith H --
www.keith-hair.net
Isaac
Hi,
Perhaps you're storing a reference to the button in buttonsArray?
In that case, you should do:
buttonsArray.indexOf(e.target);
Cheers
Juan Pablo Califano
2009/6/16, Isaac Alves :
>
> Hi fellows,
> Cannot solve this problem:
>
>function buttonClicked(e:Event):void {
> trac
Try e.currentTarget ??
Isaac Alves wrote:
Hi fellows,
Cannot solve this problem:
function buttonClicked(e:Event):void {
trace (buttonsArray.indexOf(e.target.name));
It always traces "-1". This code should trace the index of the Array
element right? for ex: 0, 1, 2 or 3.
If i
Hi fellows,
Cannot solve this problem:
function buttonClicked(e:Event):void {
trace (buttonsArray.indexOf(e.target.name));
It always traces "-1". This code should trace the index of the Array
element right? for ex: 0, 1, 2 or 3.
If i do this, it will trace the correct name of t
Anyone knows a good tutorial about how to skin the slider component
for text fields in flash cs4?
Regards,
Gustavo
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
No ideas?
On 6/14/09, Omar Fouad 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 wrote:
>> That's strange, you might be setting the value late
12 matches
Mail list logo