SitePoint Sponsor |
|
User Tag List
Results 1 to 2 of 2
Thread: flash on focus get keypressed
-
Jan 7, 2007, 15:49 #1
- Join Date
- Apr 2004
- Location
- Transilvania
- Posts
- 208
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
flash on focus get keypressed
Hello,
I have this code:
HTML Code:<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="550" height="400" onmouseover="startCount('2021')" onmouseout="stopCount('2021')" onkeypress="countkeypress();"> <param name="movie" value="http://www.gamestocash.com/swf/f-877.swf"> <param name="quality" value="high"> <param name="menu" value="true"> <embed width="550" height="400" src="http://www.gamestocash.com/swf/f-877.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"></embed> </object>
it doesn't fire? why?
how can I count the keystrokes with javascript when the flash movie is focused?
please help me, it's urgent
Thank you,
Pentium10Rype :: book, do, charge, collect,
track time, track expenses and invoice easily on the go.
Available on Mac, Win, iPhone, WinMobile.
http://www.rypenow.com
-
Jan 8, 2007, 13:07 #2
- Join Date
- Nov 2004
- Location
- Nelson BC
- Posts
- 2,310
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
This might be why:
Events are sent directly to the OBJECT element. If the event is returned by the embedded object, it bubbles accordingly. If the event is not returned, it does not bubble.
http://msdn.microsoft.com/library/de...cts/object.asp
Bookmarks