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 <[email protected]>wrote: > 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://designdrumm.com > > > > > On Apr 17, 2009, at 12:36 AM, Pavel Repkin wrote: > > Yes, I can, it does not work either :-( >> >> On Wed, Apr 15, 2009 at 7:48 PM, Anthony Pace <[email protected] >> >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't played with this, nor do I have time to unfortunately, so I am >>> not >>> sure. >>> >>> >>> Pavel Repkin wrote: >>> >>> 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 <[email protected]> wrote: >>>> >>>> >>>> >>>> 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 <[email protected]> >>>>> 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 the Flash >>>>>> Stage >>>>>> size changes. >>>>>> The image would look much better if it was smoothed. >>>>>> >>>>>> But, smoothing does not work for images loaded from external domains. >>>>>> MovieClip.forceSmoothing = true just does not work. >>>>>> However if the image resides on the same server as the script, >>>>>> smoothing >>>>>> works like a charm. >>>>>> >>>>>> Do you know how can I smooth the bitmap? >>>>>> Is it possible? >>>>>> >>>>>> AS 2.0, FP 9.0 >>>>>> >>>>>> Pasha. >>>>>> _______________________________________________ >>>>>> Flashcoders mailing list >>>>>> [email protected] >>>>>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders >>>>>> >>>>>> >>>>>> >>>>>> _______________________________________________ >>>>> Flashcoders mailing list >>>>> [email protected] >>>>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders >>>>> >>>>> >>>>> >>>>> _______________________________________________ >>>> Flashcoders mailing list >>>> [email protected] >>>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders >>>> >>>> >>>> >>>> _______________________________________________ >>> Flashcoders mailing list >>> [email protected] >>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders >>> >>> _______________________________________________ >> Flashcoders mailing list >> [email protected] >> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders >> > > _______________________________________________ > Flashcoders mailing list > [email protected] > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > _______________________________________________ Flashcoders mailing list [email protected] http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

