Re: [Flashcoders] Custom cacheAsBitmap with scale and rotate

2006-08-01 Thread Ramon Miguel M. Tayag

The problem with that is once you rotate or scale it it reverts back to vector.

Also another neat thing about dynamically forcing something to become
a bitmap is it makes your sites loads smaller (as compared to raster),
if it's a largely vector site.  The problem with largely vector
drawings is that they're slowww... hence, you can get the best of both
worlds with the BitmapDataManager.

I must admit though that it was a quick hack and I haven't worked on
it since - i.e. adding the feature to pick your resolution, etc.

On 7/31/06, John VanHorn <[EMAIL PROTECTED]> wrote:

cacheAsBitmap is a boolean property of a moive clip, so cant you set it to
true while it is static, and then false before you have to scale or rotate
it?



--
Ramon Miguel M. Tayag
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Custom cacheAsBitmap with scale and rotate

2006-08-01 Thread Ramon Miguel M. Tayag

I wrote something a while back it's up in Flashkit.  That may have
been the one you saw. BitmapDataManager.

http://board.flashkit.com/board/showthread.php?t=659163



On 7/31/06, Seb L <[EMAIL PROTECTED]> wrote:

Hi guys,

So cacheAsBitmap is great, but it re-renders the bitmap every time you
scale or rotate. I remember seeing some code that you could apply to a
movie clip and it manually cached a bitmap version of the clip, which
was scaled and rotated as a bitmap... but I can't remember where...
can anyone else?

Thanks in advance!

Seb


--
Ramon Miguel M. Tayag
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Custom cacheAsBitmap with scale and rotate

2006-07-31 Thread John VanHorn

cacheAsBitmap is a boolean property of a moive clip, so cant you set it to
true while it is static, and then false before you have to scale or rotate
it?

On 7/31/06, Seb L <[EMAIL PROTECTED]> wrote:


Yes that's exactly what I'm about to do, but I remember seeing someone
else had done that a while back, and I was asking if anyone could tell
me who it was, to save me the trouble :-)

Seb

On 31/07/06, Howard Nager <[EMAIL PROTECTED]> wrote:
> Have you tried drawing the movieclip to a bitmap using the BitmapData
draw() methos? You could display (scale/rotate) the bitmap instead of the
cacheAsBitmap movieclip.
>
>
> -Original Message-
> From: [EMAIL PROTECTED] on behalf of eric
dolecki
> Sent: Mon 7/31/2006 8:20 AM
> To: Flashcoders mailing list
> Subject: Re: [Flashcoders] Custom cacheAsBitmap with scale and rotate
>
> If you are scaling and rotating a clip often, it wouldn't seem likely to
be
> a good candidate for cacheAsBitmap in the first place.
>
> - e.d.
>
> On 7/31/06, Seb L <[EMAIL PROTECTED]> wrote:
> >
> > Hi guys,
> >
> > So cacheAsBitmap is great, but it re-renders the bitmap every time you
> > scale or rotate. I remember seeing some code that you could apply to a
> > movie clip and it manually cached a bitmap version of the clip, which
> > was scaled and rotated as a bitmap... but I can't remember where...
> > can anyone else?
> >
> > Thanks in advance!
> >
> > Seb
> > ___
> > Flashcoders@chattyfig.figleaf.com
> > To change your subscription options or search the archive:
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >
> > Brought to you by Fig Leaf Software
> > Premier Authorized Adobe Consulting and Training
> > http://www.figleaf.com
> > http://training.figleaf.com
> >
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com





--
John Van Horn
[EMAIL PROTECTED]
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Custom cacheAsBitmap with scale and rotate

2006-07-31 Thread Seb L

Yes that's exactly what I'm about to do, but I remember seeing someone
else had done that a while back, and I was asking if anyone could tell
me who it was, to save me the trouble :-)

Seb

On 31/07/06, Howard Nager <[EMAIL PROTECTED]> wrote:

Have you tried drawing the movieclip to a bitmap using the BitmapData draw() 
methos? You could display (scale/rotate) the bitmap instead of the 
cacheAsBitmap movieclip.


-Original Message-
From: [EMAIL PROTECTED] on behalf of eric dolecki
Sent: Mon 7/31/2006 8:20 AM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Custom cacheAsBitmap with scale and rotate

If you are scaling and rotating a clip often, it wouldn't seem likely to be
a good candidate for cacheAsBitmap in the first place.

- e.d.

On 7/31/06, Seb L <[EMAIL PROTECTED]> wrote:
>
> Hi guys,
>
> So cacheAsBitmap is great, but it re-renders the bitmap every time you
> scale or rotate. I remember seeing some code that you could apply to a
> movie clip and it manually cached a bitmap version of the clip, which
> was scaled and rotated as a bitmap... but I can't remember where...
> can anyone else?
>
> Thanks in advance!
>
> Seb
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] Custom cacheAsBitmap with scale and rotate

2006-07-31 Thread Howard Nager
Have you tried drawing the movieclip to a bitmap using the BitmapData draw() 
methos? You could display (scale/rotate) the bitmap instead of the 
cacheAsBitmap movieclip.


-Original Message-
From: [EMAIL PROTECTED] on behalf of eric dolecki
Sent: Mon 7/31/2006 8:20 AM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Custom cacheAsBitmap with scale and rotate
 
If you are scaling and rotating a clip often, it wouldn't seem likely to be
a good candidate for cacheAsBitmap in the first place.

- e.d.

On 7/31/06, Seb L <[EMAIL PROTECTED]> wrote:
>
> Hi guys,
>
> So cacheAsBitmap is great, but it re-renders the bitmap every time you
> scale or rotate. I remember seeing some code that you could apply to a
> movie clip and it manually cached a bitmap version of the clip, which
> was scaled and rotated as a bitmap... but I can't remember where...
> can anyone else?
>
> Thanks in advance!
>
> Seb
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Custom cacheAsBitmap with scale and rotate

2006-07-31 Thread eric dolecki

If you are scaling and rotating a clip often, it wouldn't seem likely to be
a good candidate for cacheAsBitmap in the first place.

- e.d.

On 7/31/06, Seb L <[EMAIL PROTECTED]> wrote:


Hi guys,

So cacheAsBitmap is great, but it re-renders the bitmap every time you
scale or rotate. I remember seeing some code that you could apply to a
movie clip and it manually cached a bitmap version of the clip, which
was scaled and rotated as a bitmap... but I can't remember where...
can anyone else?

Thanks in advance!

Seb
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] Custom cacheAsBitmap with scale and rotate

2006-07-31 Thread Seb L

Hi guys,

So cacheAsBitmap is great, but it re-renders the bitmap every time you
scale or rotate. I remember seeing some code that you could apply to a
movie clip and it manually cached a bitmap version of the clip, which
was scaled and rotated as a bitmap... but I can't remember where...
can anyone else?

Thanks in advance!

Seb
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com