In my Flash movie I have the following code:
this gives the following in the output windowCode:ns.onMetaData = function(obj) { this.totalTime = obj.duration; for (var propName in obj) { trace(propName+" = "+obj[propName]); fscommand("info", propName+" = "+obj[propName]) } };
---
creationdate = Wed Jan 04 09:21:00 2006
framerate = 30
audiodatarate = 128
videodatarate = 1000
height = 278
width = 500
duration = 118.36
---
In my VB app I have the following argument:
VB Code:
Private Sub ShockwaveFlash1_FSCommand(ByVal command As String, ByVal args As String) If (command = "info") Then frmhome.txtInfo.Text = (args) Else MsgBox (args) End If End Sub
When I run my vb app only the last item in the propName gets displayed. My text box in the VB app only displays the duration. I would like all the information in the flash output box to pass into the vb app.
It may be that all the information is being passed but only the last item is being displayed.
Many thanks




Reply With Quote