swftools-common
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Swftools-common] png2swf Security.allowDomain


From: Ricardo Pedroso
Subject: Re: [Swftools-common] png2swf Security.allowDomain
Date: Tue, 24 Nov 2009 22:24:28 +0000

On Thu, Nov 19, 2009 at 8:35 PM, Adam Perry <address@hidden> wrote:
> Hi Matthias
>
> Thank you for your reply!
>
> I did try using swfc but for some reason, I couldn't get
> Security.allowDomain to work - it did not compile properly.
>
> The error I get is,
>
>        "Couldn't resolve 'Security', doing late binding"
>


Try this:

.flash version=9
   .png image "image.png"
   .put image
   .action:
       flash.system.Security.allowDomain("*")
   .end
.end



Ricardo



>
> On 19 Nov 2009, at 20:05, Matthias Kramm wrote:
>
>> On Wed, Nov 18, 2009 at 12:45:40PM +0000, Adam Perry
>> <address@hidden> wrote:
>>>
>>> I have been evaluating the excellent "swftools" suite, which looks to
>>> be an extremely useful tool! In particular I am looking at png2swf and
>>> jpg2swf.  I want to create a Flash 9 movie, but need to set
>>> Security.allowDomain("*") !
>>
>> Try compiling the following script with swfc:
>>
>> .flash version=9
>>   .png image "image.png"
>>   .put image
>>   .action:
>>        Security.allowDomain("*")
>>   .end
>> .end
>>
>> Matthias
>>
>>
>>
>>
>> ________________________________________________________________________
>> This e-mail has been scanned for all viruses by Star. The
>> service is powered by MessageLabs. For more information on a proactive
>> anti-virus service working around the clock, around the globe, visit:
>> http://www.star.net.uk
>> ________________________________________________________________________
>
>
> ________________________________________________________________________
> This e-mail has been scanned for all viruses by Star. The
> service is powered by MessageLabs. For more information on a proactive
> anti-virus service working around the clock, around the globe, visit:
> http://www.star.net.uk
> ________________________________________________________________________
>
>
>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]