Hi 9ers:),
Well 1ce agn I am here to bug u, well I am uploading the SWF files, there are arnd n no. of dependency files(SWF,HTML etc.) are associated with this SWF file, now I want the list of all dependency files which are associated with this uploaded file, As we have
a provision to parse the HTML file and get the list of the dependency associated with it, is VS2005 providing any provision to parse the swf file and get the list of dependency files?
Regards,
MT[H]
-
-
Are you talking about SWF as in Flash?
-
Yes Sir...........

-
manojT wrote:Yes Sir...........

How does a compiled Flash movie (*.swf) file have any dependencies?
If you just want that neat heirarchial view in VS's Solution Explorer then you need to edit the *.csproj/*.vbproj files manually.
-
Well its not abt refering the dependency on to the VS project its about getting the dependency, Consider a scenario of HTML page, which consist some dependecy of the Images, If I ll uplaod this file on my application, the dependency associated with this HTML file wont get reflected but using stringreader, I am able to get the dependecy, of this file using my code....
But flash(SWF), is just Like a exe file, so My question is if under this uploaded flash file if there around 2-3 other swf files are getting called can I able to get this dependency files using .Net Code.........
-
manojT: I'm positive Visual Studio doesn't read the SWF (or FLA) and read dependencies. I normally keep all dependant files in the same directory as the master FLA.
As for getting dependencies using .NET code, I believe that won't be very easy either. You'd have to (1) understand how FLA files are structured, and (2) the only way of talking to a SWF in WinForms is using the Flash Active X control, and that'll surely get you nowhere.
Another way of checking for dependant files is to create a Flash Project file (.FLP file), then adding all the dependant files inside of the FLP. That way, if one is deleted or moved, Flash will notify you. -
manojT wrote:But flash(SWF), is just Like a exe file
No it isn't
manojT wrote:so My question is if under this uploaded flash file if there around 2-3 other swf files are getting called can I able to get this dependency files using .Net Code
I suggest you read the SWF file format specification first.
-
I Gone through the document, but bit confused what it will do for me, I am still to the same problem domain.......
Thread Closed
This thread is kinda stale and has been closed but if you'd like to continue the conversation, please create a new thread in our Forums,
or Contact Us and let us know.