|
-
Jul 7th, 2006, 02:52 AM
#1
Thread Starter
Junior Member
FLASH to vb
//I have flash exe with the following code:
on (release) {fscommand("toggleon_off");}
//The fscommand that I use to exec the VB exe works fine.
//In Vb I am using the following to catch the fscommand from my flash exe.
Private Sub flashmov_FSCommand(ByVal command As String)
If command = "toggleon_off" Then
command = "@" & "asdf" & vbCr and
End If
MSComm1.Output = command
End Sub
//if this matters:
Private Sub Form_Load()
With MSComm1
.Settings = "9600, N, 8, 1"
.CommPort = 7
.RTSEnable = True
.PortOpen = True
End With
End Sub
//USEFUL INFO?? Shockwave OCX = movie1; flash exe = flashmov and I am attempting to send a serialcommand to an external device via this Vb program
//this is not working for me. Can someone point me in the right direction?
//also, will the same control receive multiple unique commands from the same movie?
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
|