|
-
Sep 11th, 2000, 12:28 AM
#1
Thread Starter
Hyperactive Member
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]
-
Sep 13th, 2000, 04:48 AM
#2
New Member
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.
-
Sep 13th, 2000, 04:52 AM
#3
Hyperactive Member
Where do you get this control? Could you send it to [email protected] please?
-
Sep 13th, 2000, 05:04 AM
#4
Hyperactive Member
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
-
Sep 13th, 2000, 06:39 AM
#5
Thread Starter
Hyperactive Member
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|