Re: [Flashcoders] How to smooth bitmap?

2009-04-17 Thread Pavel Repkin
Because of the very very security issue I cannot use this code. You are not allowed to use BitmapData.draw to retrieve pixels containing media from a domain other than your own. On Fri, Apr 17, 2009 at 10:41 AM, Karl DeSaulniers wrote: > You could try this one. > This is an imageLoader class that

Re: [Flashcoders] How to smooth bitmap?

2009-04-17 Thread Karl DeSaulniers
I am sorry I forgot I can not post files to the list. my apologies, I am new to the list... :D Here is the code. Make an .as file with this in it: //-- Start Code import flash.display.BitmapData; /** * Class to load images with that will be auto

Re: [Flashcoders] How to smooth bitmap?

2009-04-16 Thread Karl DeSaulniers
You could try this one. This is an imageLoader class that smooths dynamic images. Dont know about the whole security issue though. This loads the initial image into a MC, then deletes it, then draws the bitmap into another MC. GL By martijndevisser.  Karl DeSaulniers Design Drumm http://de

Re: [Flashcoders] How to smooth bitmap?

2009-04-16 Thread Pavel Repkin
Yes, I can, it does not work either :-( On Wed, Apr 15, 2009 at 7:48 PM, Anthony Pace wrote: > Can you put the bitmap inside a movie clip, and get pixel data from a > parent to make a new bitmapdata object? > > It seems like that would enable you to get around that problem; yet, again, > I haven'

Re: [Flashcoders] How to smooth bitmap?

2009-04-15 Thread Anthony Pace
Can you put the bitmap inside a movie clip, and get pixel data from a parent to make a new bitmapdata object? It seems like that would enable you to get around that problem; yet, again, I haven't played with this, nor do I have time to unfortunately, so I am not sure. Pavel Repkin wrote: Th

Re: [Flashcoders] How to smooth bitmap?

2009-04-15 Thread Pavel Repkin
Thanks, I've already written this code by myself. Unfortunately, it does not work because of security issues. You are not allowed to use BitmapData.draw to retrieve pixels containing media from a domain other than your own. On Mon, Apr 13, 2009 at 8:34 PM, Ian Thomas wrote: > Alternatively, ju

Re: [Flashcoders] How to smooth bitmap?

2009-04-13 Thread Ian Thomas
Alternatively, just copy the bitmap and smooth it: http://code.awenmedia.com/node/27 HTH, Ian On Sat, Apr 11, 2009 at 3:16 PM, Pavel Repkin wrote: > Hey! > > I have a bitmap image loaded from external site (Facebook user avatar). > Its size is 50x50 pixels and it looks very pixelated when th

Re: [Flashcoders] How to smooth bitmap?

2009-04-11 Thread Patrick Matte
Here's a facebook API. http://code.google.com/p/facebook-actionscript-api/ > From: Pavel Repkin > Reply-To: Flash Coders List > Date: Sat, 11 Apr 2009 20:28:14 +0400 > To: , Flash Coders List > > Subject: Re: [Flashcoders] How to smooth bitmap? > > Thanks, La

Re: [Flashcoders] How to smooth bitmap?

2009-04-11 Thread Pavel Repkin
Thanks, Latcho! Inside discussions over BitmapData.draw() on Flash-help site I've found this script But it looks very insecure. Do you know a proper one with correct input checking? I'm a new to PHP and it's hard for me to make this script secure. Yes, there is the crossdomain.xml on Facebook,

Re: [Flashcoders] How to smooth bitmap?

2009-04-11 Thread Latcho
I'm afraid that you need to implement a proxy script on your own server that loads the image from facebook. But isn't there a crossdomain.xml to load from FB ? Or isn't there an API (yet) ? Latcho Pavel Repkin wrote: Hey! I have a bitmap image loaded from external site (Facebook user avatar).