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 res

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 si

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 networ

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-21 Thread John Dowdell
Paul Neave wrote: The weird thing is that you can load an image from any server without the need for a crossdomain policy file, but you can't use BitmapData.draw() unless you have a policy file. Also, you can load an mp3 from any other server but you can't access the mp3's id3 information without

Re: [Flashcoders] AS3, BitmapData and domain security

2006-07-21 Thread Paul Neave
; image content include referencing the Loader.content property to obtain > a > > Bitmap object, and calling the BitmapData.draw() method to obtain a copy > of > > the loaded image's pixels" > > > > Hope that helps! > > > &g

Re: [Flashcoders] AS3, BitmapData and domain security

2006-07-21 Thread Charles Parcell
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, Bitm

RE: [Flashcoders] AS3, BitmapData and domain security

2006-07-21 Thread Tom Lee
aul Neave Sent: Friday, July 21, 2006 2:47 PM 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) fr

Re: [Flashcoders] AS3, BitmapData and domain security

2006-07-21 Thread Paul Neave
ssage- 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 into a

RE: [Flashcoders] AS3, BitmapData and domain security

2006-07-21 Thread Tom Lee
rty to obtain a Bitmap object, and calling 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: Fl

[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 e