Thanks you very much. I think I'll just migrate the code to flash 9.

On 1/5/07, Zeh Fernando <[EMAIL PROTECTED]> wrote:

> Ok so I'm having problems with the bitmap data class. I am creating a
> marquee of images and duplicating them using the draw method. This works
> fine locally, but when uploaded it does nothing. I figure it has
something
> to do with the fact the I have all my media on a separate server, but I
> thought I had all the security settings right to have it work. I have
the
> domain allowed in the security settings. I have the cross domain policy
> file
> in place on the media server and loaded. Any ideas? Right now I have it
> jury
> rigged using the load clip method, but if someone leaves their browser
on
> the page the flash with just eat bandwidth.

It won't work. Even with all security, policy files and whatnot in
place, you can't .draw content from a movieclip into a BitmapData if the
movieclip has an image loaded from another server; it will render as
white images instead. Same with remotely loaded video.

You need to either:

1. Have the loaded images on the same server as the SWF;
2. Have a server proxy script on the SWF server that loads the images
from the remote server and passes them to the SWF (so the SWF only
"loads" from the original server);
3. Have a proxy SWF on the remote server that loads the images, grabs
the data, then passes it to the original SWF. This SWF needs to set
.allowDomain to the original server so it can use the data.
4. Use AS3 (Flash 9), as this has been fixed under the new VM.


Zeh
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to