bennyxqg / bulk-loader

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

cannot load swf created with Ming #78

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
- I add an swf to the loader
bulkLoader.add("test3.swf", {id:"layer3"});

- the bulk loader event completes normally
[BulkLoader] Loaded  LoadingItem url: test3.swf, type:movieclip, status:
finished
trace(bulkLoader.getMovieClip("layer3")

What is the expected output? 
trace give back : [object MovieClip]

What do you see instead?
[BulkLoader] Failed to get content with url: 'layer3'as type: [class MovieClip]
null

What version of the product are you using? On what operating system?
Osx 10.5 Flash CS3

Please provide any additional information below.

I think the SWF (created with MING) is in AS2. However it only containes
bitmaps with png images on each frame. 

A test movie saved in AS3 loaded correctly. A test movie ( created with
Flash instead of Ming ) with AS2 gave back null to. 

Is it not possible to load AS2 movies ? Because I thought it was normally (
what I found so quickly on the net ). 

In the attachment the swf with the problem. 

Original issue reported on code.google.com by kasperka...@gmail.com on 1 Mar 2009 at 8:27

Attachments:

GoogleCodeExporter commented 9 years ago
Problem solved. 
with getContent it returns [object AVM1Movie]

Maybe you can add in the documentation that getMovieClip only works for AVM2 
Movies.

Original comment by kasperka...@gmail.com on 1 Mar 2009 at 8:33

GoogleCodeExporter commented 9 years ago
Hi There.

This is not a BulkLoader issue, but the way AVM1 and AVM2 are sandbox. You can 
also use the shortcut;
http://www.stimuli.com.br:8080/media/projects/bulk-
loader/docs/br/com/stimuli/loading/BulkLoader.html#getAVM1Movie()

Cheers
Arthur Debert

Original comment by debert on 1 Mar 2009 at 10:59