onfocus on flash element

J

jpdogg

Hi,

I'm trying to get the onfocus event to fire on Flash elements, but I
assume that it's not possible. Does anyone have a suggestion on how I
can determine when a user has started interacting (either by keyboard
or mouse) with a Flash object?

Below is an example that doesn't work. Ideally, it would alert
"hello."

<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/
swflash.cab#version=7,0,0,0"
width="550" height="400" id="Untitled-1" align="middle"
onfocus="alert('hello');" onmouseover="alert('hello1');">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="http://www.washington.edu/uwnews/homepage/
uwhome_f7.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#ffffff" />
<embed src="http://www.washington.edu/uwnews/homepage/uwhome_f7.swf"
quality="high" bgcolor="#ffffff" width="550"
height="400" name="mymovie" align="middle"
allowScriptAccess="sameDomain"
type="application/x-shockwave-flash" pluginspage="http://
www.adobe.com/go/getflashplayer" />
</object>

Thanks,
Jeff
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,009
Latest member
GidgetGamb

Latest Threads

Top