Hi Softanics Site Admin,
My swf file need to load a xml file using the following method:
AS2
------------------------------------------------------
var xmlFile:XML = new XML();
xmlFile.ignoreWhite = true;
xmlFile.onLoad = function(success:Boolean) {...}
xmlFile.load("abc.xml");
------------------------------------------------------
VB.NET
------------------------------------------------------
Private Function FlashPlayerControl1_OnLoadExternalResource(ByVal strRelativePath As String) As System.IO.Stream Handles FlashPlayerControl1.OnLoadExternalResource
If strRelativePath = "abc.xml" Then
Return xmlStream
End If
Return Nothing
End Function
-------------------------------------------------------
This method does not work. It's the AS problem or the VB.NET problem? Do you have any solution to load the xml file to flash?
Thx a lot!
Tony Chan