Results 1 to 5 of 5

Thread: Shockwave flash control.........

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Mar 2000
    Location
    India
    Posts
    298
    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]

  2. #2
    New Member
    Join Date
    Aug 2000
    Posts
    4
    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.

  3. #3
    Hyperactive Member CyberSurfer's Avatar
    Join Date
    Aug 2000
    Location
    Old London Town
    Posts
    425
    Where do you get this control? Could you send it to [email protected] please?

  4. #4
    Hyperactive Member razzaj's Avatar
    Join Date
    Oct 1999
    Location
    jounieh
    Posts
    261
    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
    - regards -
    - razzaj -

  5. #5

    Thread Starter
    Hyperactive Member
    Join Date
    Mar 2000
    Location
    India
    Posts
    298
    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
  •  



Click Here to Expand Forum to Full Width