[jQuery] Re: Function Outside Bound Event

2007-08-16 Thread Erik Beeson
What doesn't work about it? Is the venueSwap function getting called? Is the showMe function getting called? Are there any JavaScript errors in firebug? Are you calling venueSwap(randomVenue) from within a $(document).ready() callback? --Erik On 8/16/07, AJ [EMAIL PROTECTED] wrote: Hopefully

[jQuery] Re: Function Outside Bound Event

2007-08-16 Thread AJ
Okay, here is the fix: var t = setTimeout( function(){ $('#theatre').click(); }, 500); Apparently, flash just wasn't loaded in time. Which is weird, because you can click the image immediately and it's fine. I guess 500ms makes all the difference :)

[jQuery] Re: Function Outside Bound Event

2007-08-16 Thread AJ
That may actually be the better solution in the long run. Will try that.

[jQuery] Re: Function Outside Bound Event

2007-08-16 Thread AJ
Called the javascript function from Flash, and that seems to be the best fix. Thanks!

[jQuery] Re: Function Outside Bound Event

2007-08-16 Thread Erik Beeson
Awesome, glad it worked out. --Erik On 8/16/07, AJ [EMAIL PROTECTED] wrote: Called the javascript function from Flash, and that seems to be the best fix. Thanks!