-
Hi,
Im using the shockwave Flash control in my form to play a .swf(ShockWaveFile) file. I've made the control fullscreen size.
How do I detect when the mouse has been moved/clicked or a key pressed over this control? It doesns't seem to have a keypress or mouseover event as other controls.
I need to figure this out coz Im using it to create a screensaver.
Thanx
[Edited by rammy on 09-11-2000 at 01:34 AM]
-
I had that same problem once. I used the gotFocus event when I wanted to detect te mouse-click. This did not work excellent. I had to add a setFocus to another object to let the focus go. It somehowe does not work exactly like a mouse-click, but for me it was good enough.
-
Where do you get this control? Could you send it to [email protected] please?
-
You can Ask The flash movie to tell the VB application what is happening in it ...
for example you ll have in a flach movie a button ...
in the MouseOver Event of the Button insert a FS Command
with any parameter and any argument... both will be passed to your VB application ... you can capture then in tha method :
Private Sub Flash1_FSCommand(ByVal command As String, ByVal args As String)
Debug.Print command
Debug.Print args
End Sub
-
cybersurfer,
Try going to Project --> components. u should see it there as Shockwave flash. Else see if "swflash.ocx" is present i the Windows\system Folder.