Results 1 to 4 of 4

Thread: Flash and VB6

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Mar 2002
    Posts
    22

    Flash and VB6

    Hi,

    I am creating a multimedia application in VB, and am using some flash (.swf) buttons in it.

    I have been told that it would be better to use the FSCommand fuction, than the GotFocus, but I cant find anything about this function.

    Does anyone know how to assign operations to flash buttons within VB???

    Any help will be greatly appreciated, Matt

  2. #2
    I'm about to be a PowerPoster! kleinma's Avatar
    Join Date
    Nov 2001
    Location
    NJ - USA (Near NYC)
    Posts
    23,373
    there is a flash player control to use in VB... but i don't know if you can have direct interaction with your app and the flash control.. i used to have the flash OCX on here but i don't now.. or i would test it... i thought the FSCommand was for communicating between your webpage and flash...

  3. #3
    Banished Cander's Avatar
    Join Date
    Dec 2000
    Location
    Why do you care?
    Posts
    6,913
    FSCommand is an event that is raised in the swf control when the FSCommand action happens in ActionScript in the flash movie..So you just add a FSCommand action to your button in the movie, and in the control in VB6, just check in the FSCommand event the paremeters it returns for values you input in the FSCommand...make sense?
    Stack Overflow
    See the features of Visual Studio 2010 and C# 4.0: The 10-4 show on Channel9

  4. #4

    Thread Starter
    Junior Member
    Join Date
    Mar 2002
    Posts
    22
    I dont think I have a Shockwave Flash Control, do you mean Shockwave ActiveX Control?

    I tried the above method, and couldnt get it to work, does anyone have any sample code, that I could look at, as I can only seem to find sample code using FSCommand with VBScript, which seems to be a bit different than for VB6.

    I'm sorry if this is a simple problem, but I havent used flash and VB together before, and have no idea!

    I just want to click on the movie in VB and execute some VBcode!

    Once again, any help will be greatly appreciated, and thanks for those of you that already replied. The above reply did make sense, I just couldnt get it to do anything!!

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