Responding to a click on a Shockwave object.
-
I've added a Shockwave object to my WinForm and I'd like to have it respond to a mouse click. Is there anyway to do this? I've seen stuff that says you can catch the FSCommand event - the problem is I'm using just plain ordinary SWFs and I can't guarantee that they will have an FSCommand. TIA - Jeff
-
I've added a Shockwave object to my WinForm and I'd like to have it respond to a mouse click. Is there anyway to do this? I've seen stuff that says you can catch the FSCommand event - the problem is I'm using just plain ordinary SWFs and I can't guarantee that they will have an FSCommand. TIA - Jeff
I'm pretty sure you'll have problems capturing the click event if there's nothing in the flash movie raising the event externally. If you *do* have control over the content of the movie, as you suggest FSCommand can help you. Example: http://www.pdesigner.net/Flash_MX_Tutorials/16_integrating12.html[^] If you are using Flash 8 or later then a much cleaner method of communicating between flash and the hosting process is available by using the ExternalInterface. Example: http://livedocs.macromedia.com/labs/1/flex/langref/flash/external/ExternalInterface.html[^]