Hi Marcela,
You can download latest Aspose.Flash for .NET from the
download section. This is an installer file; simply install the component and then add reference to this component just like any other .NET component. After that, you'll be able to access the component in your code.
In order to loop through the SWF objects, you can use the following sample:
You can browse through DefineEditText like this.
FlashContainer flash = new FlashContainer("Sample.swf");
foreach (Aspose.Flash.Text.DefineEditText txt in flash.GetObjectsOfType(BaseObjectType.DefineEditText))
{
string text1 = txt.InitialText;
}
You can also use the similar code to browse through the other objects.
FlashContainer flash = new FlashContainer("Sample.swf");
foreach (BaseObject obj in flash.Objects)
{
if (obj.Type == BaseObjectType.DefineEditText)
{
DefineEditText txt = obj as DefineEditText;
string text1 = txt.InitialText;
}
}I hope this helps. If you have any other questions or issues, please do let us know.
Regards,
Shahzad Latif
Support Developer
Aspose Sialkot Team
About Us Contact Us