Re: [Flashcoders] If a URL starts with “http://” will clip always be loaded into REMOTE sandbox?

2010-06-06 Thread Pavel Repkin
Anthony, thank you! How is it possible? On 6 June 2010 19:50, Anthony Pace wrote: > You can bypass this with javascript, and canvas. > > > On 6/5/2010 1:58 PM, Henrik Andersson wrote: > >> Pavel Repkin wrote: >> >>> Seems to be a question for a Flash s

[Flashcoders] If a URL starts with “http:// ” will clip always be loaded into REMOTE sandbo x?

2010-06-05 Thread Pavel Repkin
Seems to be a question for a Flash security guru. Suppose we are loading an external SWF movie with MovieClipLoader.loadMovie(url:String) Is it safe to assume that if url starts with "http://";, the movie will be loaded in REMOTE sandbox? We need to tell local SWFs from remote ones to close a sec

[Flashcoders] Ads inside Flash application

2009-10-01 Thread Pavel Repkin
I want to publish ads inside Flash application. Do you know any ad-network that allows publishing ads inside Flash apps? There is a Mochi ads network, they do publish the ads inside Flash, but they accept only games. And my app is not a game. ___ Flashcod

[Flashcoders] Flash http request does not call back inside IE ActiveX occasionally.

2009-10-01 Thread Pavel Repkin
My Windows (C++) program hosts Flash ActiveX. I use XML.sendAndLoad() to communicate to the server inside Flash part of the application. Occasionally XML.sendAndLoad() does not call back. That makes the whole application useless. Only restart helps. I have found using HTTP Analyser, that the reque

Re: [Flashcoders] Re: Fast color-transformation over MovieClip with cacheAsBitmap

2009-06-18 Thread Pavel Repkin
Primary because it's hard to track cumulative scale changes from the containers up the tree. It seems I have to workaround this problem and write my own bitmap-caching based on BitmapData. Thanks! On Tue, Jun 9, 2009 at 6:15 PM, Ruy Adorno wrote: > Why don't you create a BitmapData from the orig

[Flashcoders] legal: Flash player ActiveX usage on Windows

2009-06-18 Thread Pavel Repkin
Hey! I want to embed Flash ActiveX control inside my C++ application. Does Adobe allow to embed Flash control inside Windows application? Do you know what are the license requirements should I comply with if any? ___ Flashcoders mailing list Flashcoders@

[Flashcoders] Re: Fast color-transformation over MovieClip with cacheAsBitmap

2009-06-09 Thread Pavel Repkin
One week has gone, there is no answer, I'm in despair :( If you think there is no way to apply the color transfromation to cached bitmap, just write it. Thanks! ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/ma

[Flashcoders] Fast color-transformation over MovieClip with cacheAsBitmap

2009-06-02 Thread Pavel Repkin
Hey! I have a very complex vector symbol on the Stage - background_mc . I have set background_mc.cacheAsBitmap = true. This turns background to bitmap and makes Stage repaint fast. Every frame the background light changes. I use the following code to alter the light. (new Color(background_mc)).s

Re: [Flashcoders] How much bytes ActionScript classes take in SWF?

2009-04-17 Thread Pavel Repkin
> "size-report.xml". This will generate an xml detailed information about > all > > compiled classes, theirs dependencies, and the optimized and unoptimized > > size. You could then parse this xml and create your own "report" as you > > like. > > > &g

Re: [Flashcoders] How much bytes ActionScript classes take in SWF?

2009-04-17 Thread Pavel Repkin
though... > > > Pavel Repkin wrote: > >> There are 500 KB of ActionScript code in our project (according to Flash >> size-report) >> That is a lot. >> I want to find the classes (packages) that take most space. >> And then to optimize them. >> And throw away cla

[Flashcoders] AS 2.0, checking allowFullScreen inside action script

2009-04-17 Thread Pavel Repkin
Hey! Fullscreen mode feature can be enabled/disabled with allowFullScreen attribute of the embed/object tag. Is it possible to know inside action script code if the fullscreen mode is allowed . I want to hide fullscreen button in my app if fullscreen mode is not available. __

Re: [Flashcoders] How to smooth bitmap?

2009-04-17 Thread Pavel Repkin
p://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 > >wrote: >> >> Can you put the bitmap inside a movie clip, and ge

Re: [Flashcoders] How to smooth bitmap?

2009-04-16 Thread Pavel Repkin
, 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

[Flashcoders] How much bytes ActionScript classes take in SWF?

2009-04-15 Thread Pavel Repkin
There are 500 KB of ActionScript code in our project (according to Flash size-report) That is a lot. I want to find the classes (packages) that take most space. And then to optimize them. And throw away classes that were linked by a mistake. So I want to find out how much space take individual cla

Re: [Flashcoders] How to smooth bitmap?

2009-04-15 Thread Pavel Repkin
natively, 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). > &

Re: [Flashcoders] How to smooth bitmap?

2009-04-11 Thread Pavel Repkin
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). >> Its size is 50x50 pixels and it looks very pixelated when the Flash Stage >> size chang

[Flashcoders] How to smooth bitmap?

2009-04-11 Thread Pavel Repkin
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

[Flashcoders] Is it possible to embed Flash player inside C++ application on MacOS?

2009-04-08 Thread Pavel Repkin
Hey! My Windows application embeds Flash player. Now I want to port the application to MacOS. But I was not able to find any tutorial or an article on the subject. Do you know how to embed Flash player inside MacOS application? ___ Flashcoders mailing

[Flashcoders] XML loading. Why file is cached, but script response is not?

2009-04-03 Thread Pavel Repkin
Hey! My program loads XML data from the server. I want the data to cache, so the loading happens only once. When I load a simple xml file from the server, the caching works like a charm. But when I load xml from a Perl script response, the cache does not work. The data are being loaded every time