bennyxqg / bulk-loader

Automatically exported from code.google.com/p/bulk-loader
0 stars 0 forks source link

Cannot Load AS2 SWFs #94

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Try to load an AS2 compiled swf.
2. Use the getMovieClip("id") method

What is the expected output? What do you see instead?
Expect to load the swf. 
Receive an error:
Failed to get content with url: 'list0'as type: [class MovieClip];

the loader thinks that it is null. Not sure why.

What version of the product are you using? On what operating system?
Latest Version on Windows Vista

Please provide any additional information below.

Original issue reported on code.google.com by jvargas1...@gmail.com on 19 May 2009 at 9:49

GoogleCodeExporter commented 9 years ago
Hi J Vargas.

AS2 movies are not MovieClip objects, but AVM1Movie objects.
In genreal, when you have a cast error, it's easier to use :
var content : * = bulkLoader.get(key);
And inspect that object to see what that is like.

A few extra pointers:
http://www.stimuli.com.br:8080/media/projects/bulk-
loader/docs/br/com/stimuli/loading/BulkLoader.html#getAVM1Movie()
http://groups.google.com/group/bulkloader-users/search?group=bulkloader-
users&q=avm1&qt_g=Search+this+group
http://livedocs.adobe.com/flex/2/langref/flash/display/AVM1Movie.html

Regards
Arthur Debert

Original comment by debert on 20 May 2009 at 3:28