[Flashjs] click to activate

Geoff Stearns geoff at deconcept.com
Tue Sep 19 12:27:25 EDT 2006


this sounds like a really complicated set up... probably overly so.

Why are you sending javascript code in your ajax response? it would  
probably be much smarter to include the js functions in a js file  
when the page loads, and then only send/receive data with your ajax  
calls, or if you like using eval() then send the data back as json data.

As for the click to activate problem, you could use the version of  
the js kit I modified to work with SWFObject. you can get it here:
http://blog.deconcept.com/code/intkit/

sorry, no real docs yet, but you can look at the examples to see how  
it works. if you aren't familiar with swfobject, you can read about  
it here:

http://blog.deconcept.com/swfobject/


On Sep 18, 2006, at 11:39 AM, Toepfer, Randall wrote:

> I'm working on a project that is a combination of html and flash  
> that is received via AJAX. I query my server and receive html  
> intermixed with javascript. Afterwards, I use a regular expression  
> to pull the html and place in my page, and I use another regular  
> expression to pull my javascript and then execute via the eval  
> function. I do this since javascript script tags inserted via  
> innerHTML are not executed by the browser.
>
> The problem is after my flash movie is inserted Internet Explorer  
> still has the click to activate outline. This is a major problem as  
> the click to activate will show throw html layers above the flash  
> movie, and I have many flash movies in my project. It seems the  
> AC_RunActiveContent.js solves the click to activate by using the  
> document.write function, but I must use the innerHTML method.  I  
> also need the use of JavaScriptFlashGateway.js.
>
> Has anyone solved this problem?
>
>
> Thanks,
> Randall T.
>
> --
> Randall Toepfer
>
> Zydeco Digital, L.L.C.
> 938 Lafayette Street
> Suite 101
> New Orleans, LA. 70113
> http://www.zydecodigital.com
>
> p: 504.613.0002
> f: 504.522.7399
> e: randall.toepfer at zydecodigital.com
>
>
>
> _______________________________________________
> Flashjs mailing list
> Flashjs at osflash.org
> http://osflash.org/mailman/listinfo/flashjs_osflash.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/flashjs_osflash.org/attachments/20060919/8f582456/attachment.htm


More information about the Flashjs mailing list