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

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

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

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