Re: [Flashcoders] AS3, BitmapData and domain security

2006-07-24 Thread John Dowdell
Paul Neave wrote: On 22/07/06, John Dowdell [EMAIL PROTECTED] wrote: If the foreign data acknowledges you (via a policy declaration on their server), or if your own server proxies that data yourself, then the ability to get inside that bitmap data is available. I don't see the point of

Re: [Flashcoders] AS3, BitmapData and domain security

2006-07-23 Thread Alan Watts
I don't see the point of restricting access to BitmapData from another server when all you have to do to get at it is use a proxy script on your own server. Here's an example: http://www.neave.com/temp/proxy.php?proxy_url=http://www.google.com/ intl/en/images/logo.gif I was doing something

Re: [Flashcoders] AS3, BitmapData and domain security

2006-07-22 Thread Paul Neave
Thanks jd. On 22/07/06, John Dowdell [EMAIL PROTECTED] wrote: If the foreign data acknowledges you (via a policy declaration on their server), or if your own server proxies that data yourself, then the ability to get inside that bitmap data is available. I don't see the point of restricting

Re: [Flashcoders] AS3, BitmapData and domain security

2006-07-22 Thread Bernard Poulin
I am not sure this is relevant to the discussion but: Your proxy trick will not work to access resources from local machines within a client's NAT. The flash player could potentially access those since it is already located behind the NAT. What I mean is that the flash player might have network

[Flashcoders] AS3, BitmapData and domain security

2006-07-21 Thread Paul Neave
Hi group, I've only just discovered that in Flash 8 you can't .draw() a loaded image into a BitmapData object if the image was loaded from another domain. I've search about and found you can .draw() a SWF which uses System.security.allowDomain but there's no way to .draw() an image JPG, GIF, PNG

RE: [Flashcoders] AS3, BitmapData and domain security

2006-07-21 Thread Tom Lee
the BitmapData.draw() method to obtain a copy of the loaded image's pixels Hope that helps! -tom -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paul Neave Sent: Friday, July 21, 2006 9:06 AM To: Flashcoders Subject: [Flashcoders] AS3, BitmapData and domain

Re: [Flashcoders] AS3, BitmapData and domain security

2006-07-21 Thread Paul Neave
, 2006 9:06 AM To: Flashcoders Subject: [Flashcoders] AS3, BitmapData and domain security Hi group, I've only just discovered that in Flash 8 you can't .draw() a loaded image into a BitmapData object if the image was loaded from another domain. I've search about and found you can .draw() a SWF which

RE: [Flashcoders] AS3, BitmapData and domain security

2006-07-21 Thread Tom Lee
To: Flashcoders mailing list Subject: Re: [Flashcoders] AS3, BitmapData and domain security Thanks a lot Tom, that was just what I was looking for. It looks like in Flash Player 9, if you want to load *and* manipulate an image (or even a sound) from another domain you have to be able to have access

Re: [Flashcoders] AS3, BitmapData and domain security

2006-07-21 Thread Charles Parcell
Subject: [Flashcoders] AS3, BitmapData and domain security Hi group, I've only just discovered that in Flash 8 you can't .draw() a loaded image into a BitmapData object if the image was loaded from another domain. I've search about and found you can .draw() a SWF which uses

Re: [Flashcoders] AS3, BitmapData and domain security

2006-07-21 Thread Paul Neave
Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paul Neave Sent: Friday, July 21, 2006 9:06 AM To: Flashcoders Subject: [Flashcoders] AS3, BitmapData and domain security Hi group, I've only just discovered that in Flash 8 you can't .draw() a loaded image