RE: [Flashcoders] Prevent Enter Key Playback?

2007-09-14 Thread Hairy Dog Digital
You need to determine where the Enter key is causing this. Is it the event
on the Object element in your HTML page or the Flash SWF. Capture the Enter
key via an event.keyDown on the Object element in JavaScript in the HTML
page and see if the problem still happens. 



-Original Message-
From: Doug Coning [mailto:[EMAIL PROTECTED] 
Sent: Thursday, September 13, 2007 3:54 PM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] Prevent Enter Key Playback?

I have a flash swf that plays to a certain frame and then stops.  Then with
JavaScript, I have HTML tell the flash player to play a demo later on.  

However, if the swf file has the focus in the browser and the user presses
enter, it begins to play.  I've tried capturing the enter key unsuccessfully
to prevent it from playing.

Is there a way to prevent Enter Key from playing the movie when the swf has
the focus?

Thanks,

Doug Coning
Senior Web Development Programmer
FORUM Solutions
[EMAIL PROTECTED]
 
This e-mail and any attachment(s) are intended for the specified
recipient(s) only and are legally protected.  If you have received this
communication in error, please reply to sender's e-mail address with
notification of the error and then destroy this message in all electronic
and physical forms.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training http://www.figleaf.com
http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] Prevent Enter Key Playback?

2007-09-13 Thread Doug Coning
I have a flash swf that plays to a certain frame and then stops.  Then
with JavaScript, I have HTML tell the flash player to play a demo later
on.  

However, if the swf file has the focus in the browser and the user
presses enter, it begins to play.  I've tried capturing the enter key
unsuccessfully to prevent it from playing.

Is there a way to prevent Enter Key from playing the movie when the swf
has the focus?

Thanks,

Doug Coning
Senior Web Development Programmer
FORUM Solutions
[EMAIL PROTECTED]
 
This e-mail and any attachment(s) are intended for the specified recipient(s) 
only and are legally protected.  If you have received this communication in 
error, please reply to sender's e-mail address with notification of the error 
and then destroy this message in all electronic and physical forms.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com