In my Flash movie I have the following code:
Code:
ns.onMetaData = function(obj) {
			this.totalTime = obj.duration;			
			for (var propName in obj) {
				trace(propName+" = "+obj[propName]);
				fscommand("info", propName+" = "+obj[propName])	
			}			
		};
this gives the following in the output window
---
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:
  1. Private Sub ShockwaveFlash1_FSCommand(ByVal command As String, ByVal args As String)
  2.  
  3.     If (command = "info") Then
  4.         frmhome.txtInfo.Text = (args)
  5.     Else
  6.        MsgBox (args)
  7.     End If
  8.    
  9. 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