zzyycc / bulk-loader

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

Weired behaivior on load images returning them as Loader #95

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

What is the expected output? What do you see instead?
When tested thru Flash IDE 9 all loaded LoadingItem items actually
item.content are [Bitmaps]...
but online on webserver in Flash10 player
[object Loader],[object Bitmap],[object Loader],[object Loader],[object
Loader],[object Loader],[object Loader],[object Loader],[object
Loader],[object Loader],[object Loader],[object Loader]

What version of the product are you using? On what operating system?
1. Developing platform Flash IDE 9 
2. Testing platform Mozzila with FL 10

Please provide any additional information below.

Original issue reported on code.google.com by winxa...@gmail.com on 16 Jun 2009 at 5:09

Attachments:

GoogleCodeExporter commented 8 years ago
Hi Winalex.

This is not BulkLoader's weird behaviour. This has to do with security model in 
the flash player and 
crossdomains.
If you read  through the ImageItem source, you'll see that it tries to use 
content as data (Bitmaps) but if it fails 
(a security exception) it will allow you to access the Loader object.

Cheers
Arthur Debert

Original comment by debert on 16 Jun 2009 at 5:13