RE: [Flashcoders] Flash security issue

2009-08-23 Thread Chris Foster
You could also use a standalone webserver - I've used 'Server2Go CD-ROM
Webserver' before, it's quite customisable, and also gets me past all
those annoying security issues.

I like it as a solution because I don't need to do an extra version (as
an .exe) of my projects, and I don't need to force users to change
settings they wouldn't normally need to know about, and my
ExternalInterface interactions will still function as expected.

C:

 

-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Gregory
Boland
Sent: Saturday, 22 August 2009 1:14 AM
To: Flash Coders List
Subject: Re: [Flashcoders] Flash security issue

thats why i'm saying create a wrapper file for that swf.  take the swf
that is given to you from ad wonder and import it into a .fla file.
then make an .exe file out of that.

On Fri, Aug 21, 2009 at 10:13 AM, Bill Jones
wrote:

> Unfortunately, AdWonder controls the entire process. It builds the 
> files and I simply download a stuffit file that contains the html, swf

> and support files.
>
>
> On 8/21/09 10:08 AM, "Gregory Boland" 
wrote:
>
> > create an .exe file so that when you run it from a CD you can run it

> > standalone.  Not sure about what your using, if it allows you to do 
> > that
> but
> > maybe if you create a wrapper swf and load the other swf into your
> wrapper
> > swf you can create an .exe file
> >
> > greg
> >
> >
> >
> > On Fri, Aug 21, 2009 at 9:52 AM, Bill Jones 
> > >wrote:
> >
> >> I am creating a Demo file using EyeWonder's AdWonder. It generates 
> >> an
> html
> >> with accompanying swf and support files. I can copy the html and 
> >> file folder to a disk so the client can view the finished piece 
> >> locally on a stand alone laptop.
> >>
> >> Unfortunately, to view it from a CD, you have to adjust flash 
> >> security setting through the Flash Player Security Manager 
> >> (something the client
> has
> >> no idea how to do).
> >>
> >> Is there a way to bypass the security settings, or can I add some 
> >> javascript (link a js file) to the html mage that will make the 
> >> change transparent
> to
> >> the end user?
> >>
> >> _
> >> Bill Jones
> >> Interface Developer
> >> Backe Digital Brand Marketing
> >> 35 Cricket Terrace Center
> >> Ardmore, PA 19003
> >> Voice: 610-896-9260 x280
> >> Fax: 610-896-9242
> >> bjo...@backemarketing.com
> >>
> >> "If you want to go forward, click Backe."
> >>
> >> ___
> >> Flashcoders mailing list
> >> Flashcoders@chattyfig.figleaf.com
> >> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >>
> > ___
> > Flashcoders mailing list
> > Flashcoders@chattyfig.figleaf.com
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
>
> _
> Bill Jones
> Interface Developer
> Backe Digital Brand Marketing
> 35 Cricket Terrace Center
> Ardmore, PA 19003
> Voice: 610-896-9260 x280
> Fax: 610-896-9242
> bjo...@backemarketing.com
>
> "If you want to go forward, click Backe."
>
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
This e-mail, including any attached files, may contain confidential and 
privileged information for the sole use of the intended recipient.  Any review, 
use, distribution, or disclosure by others is strictly prohibited.  If you are 
not the intended recipient (or authorized to receive information for the 
intended recipient), please contact the sender by reply e-mail and delete all 
copies of this message.

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Re: Resizing Bitmap - Preserving Alpha

2009-08-23 Thread Karim Beyrouti

Hmmm - figured it out a minute after posting...
Conclusion: I am a bit of an idiot... sorry for the noise

Here is the fix for the archives:

	var scaledBitmapData : BitmapData = new BitmapData( newWidth ,  
newHeight , true , 0x00FF );


Hope you are all having a nice weekend...

- k


On 23 Aug 2009, at 16:56, Karim Beyrouti wrote:

Hi All - I have this code that resizes a bitmap, which works very  
well.
However - it does not preserve the alpha channel. I am not sure  
where i am going wrong:


 public static function resizeBitmap( originalBitmap : Bitmap ,  
scaleFactor : Number ) : BitmapData{


var originalBitmapData:BitmapData=originalBitmap.bitmapData;

var newWidth:Number=originalBitmapData.width*scaleFactor;
var newHeight:Number=originalBitmapData.height*scaleFactor;
	var scaledBitmapData:BitmapData=new  
BitmapData(newWidth,newHeight,true,0x);


var scaleMatrix:Matrix=new Matrix();
scaleMatrix.scale(scaleFactor,scaleFactor);

scaledBitmapData.draw(originalBitmapData , scaleMatrix);

return scaledBitmapData;

 }

I am more than likely missing something obvious - so any clues would  
be very welcome...



Many kind regards


Karim


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Resizing Bitmap - Preserving Alpha

2009-08-23 Thread Karim Beyrouti

Hi All - I have this code that resizes a bitmap, which works very well.
However - it does not preserve the alpha channel. I am not sure where  
i am going wrong:


 public static function resizeBitmap( originalBitmap : Bitmap ,  
scaleFactor : Number ) : BitmapData{


var originalBitmapData:BitmapData=originalBitmap.bitmapData;

var newWidth:Number=originalBitmapData.width*scaleFactor;
var newHeight:Number=originalBitmapData.height*scaleFactor;
	var scaledBitmapData:BitmapData=new  
BitmapData(newWidth,newHeight,true,0x);


var scaleMatrix:Matrix=new Matrix();
scaleMatrix.scale(scaleFactor,scaleFactor);

scaledBitmapData.draw(originalBitmapData , scaleMatrix);

return scaledBitmapData;

 }

I am more than likely missing something obvious - so any clues would  
be very welcome...



Many kind regards


Karim 
___

Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Arabic text loaded from database.

2009-08-23 Thread Omar Fouad
Ok I got it... But I cannot find a good documentation or getting started
guide...

On Wed, Aug 19, 2009 at 7:47 PM, Cedric Muller  wrote:

> Hi Omar,
>
> I did develop a dynamic arabic site using TextLayout Framework
> 
>
> It all went well.
>
> hth,
> Cedric
>
>
>  I'm creating an e-Library that consents users to read text from a pdf
>> source
>> and display it into a dynamic TextField in Flash. But I am experiencing a
>> problem which is that RTL languages (in my case it is ARABIC) are not
>> displayed correctly. This is the famous Flash Problem since years I know,
>> but today I felt frustrated when I uploaded an Arabic written document to
>> scribd.com. iPaper just popped out and showed me the text wrapped and
>> correctly formatted. I thought that is an image of the page but the text
>> is
>> perfectly selectable.
>>
>> How that could be possible?
>>
>> Cordially.
>>
>> --
>> Omar M. Fouad - Adobe™ Flash© Platform Developer
>> www.omar-fouad.net
>> Cellular: (+20) 1011.88.534 / (+20) 1444.37.175
>>
>>
>> This e-mail and any attachment is for authorised use by the intended
>> recipient(s) only. It may contain proprietary material, confidential
>> information and/or be subject to legal privilege. It should not be copied,
>> disclosed to, retained or used by, any other party. If you are not an
>> intended recipient then please promptly delete this e-mail and any
>> attachment and all copies and inform the sender. Thank you.
>> ___
>> Flashcoders mailing list
>> Flashcoders@chattyfig.figleaf.com
>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>>
>
>
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>



-- 
Omar M. Fouad - Adobe™ Flash© Platform Developer
www.omar-fouad.net
Cellular: (+20) 1011.88.534 / (+20) 1444.37.175


This e-mail and any attachment is for authorised use by the intended
recipient(s) only. It may contain proprietary material, confidential
information and/or be subject to legal privilege. It should not be copied,
disclosed to, retained or used by, any other party. If you are not an
intended recipient then please promptly delete this e-mail and any
attachment and all copies and inform the sender. Thank you.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders