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
I've just tried loading the image into a nested clip but it's still doesn't work. It doesn't work in AS3 either. According to the AS3 livedocs: BitmapData.draw() "Security note: The source object and (in the case of a Sprite or MovieClip object) all of its child objects must come from the sam

Re: [Flashcoders] AS3, BitmapData and domain security

2006-07-21 Thread Charles Parcell
What is you put the loaded image into an empty MC and then captured the BitmapData of the MC you created? Does the security traverse the MC tree checking for foreign domains? Charles P. On 7/21/06, Paul Neave <[EMAIL PROTECTED]> wrote: Thanks a lot Tom, that was just what I was looking for.

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
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 to that domain and be able to put a crossdomain policy file on that server. The weird th

RE: [Flashcoders] AS3, BitmapData and domain security

2006-07-21 Thread Tom Lee
Paul, I believe the policy file being referred to is the crossdomain.xml file. Here's a technote for you on the subject, in case you're not familiar: http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_14213. After you get up to speed on cross-domain policy files, you'll want to check out