|
-
Apr 2nd, 2002, 11:36 AM
#1
Thread Starter
Junior Member
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
-
Apr 2nd, 2002, 11:39 AM
#2
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...
-
Apr 2nd, 2002, 11:44 AM
#3
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?
-
Apr 3rd, 2002, 04:20 AM
#4
Thread Starter
Junior Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|