[Flashcoders] Runtime bitmap caching causing a MovieClip to not render

2009-09-16 Thread Andrew Murphy
Hello. :)
 
I've run into a strange, transient rendering error:
 
The Flash movie in question contains a MovieClip which has a gradient in it,
going from fully transparent to fully opaque black.  At run time it gets
moved and rotated over top of an image file which is also loaded at run
time, so that there is a black faded edge to the image where it goes under
the gradient.
 
This worked fine, except that every dozen or so times that the page loaded
the gradient MovieClip would fail to appear.  I've done tests to trace out
it's x, y, rotation and visible properties and there was no difference
between page loads when the gradient was visible and page loads where it
failed to appear.
 
I had thought it was a problem with a vector transparent gradient rendering
in a Flash movie which has wmode set to transparent, so I replaced the
vector gradient with a PNG file, but during additional testing it broke in
the same way.
 
I wasn't quite sure what to try next so, experimenting, I tried turning off
"Use runtime bitmap caching" on that MovieClip, and that appears to have
fixed it.
 
Has anyone else run into this problem?
 


Andrew Murphy
Interactive Media Specialist
  amur...@delvinia.com

Delvinia
214 King Street West, Suite 214 
Toronto Canada M5H 3S6

P 416.364.1455 ext. 232  F 416.364.9830  W www.delvinia.com

CONFIDENTIALITY NOTICE
This email message may contain privileged or confidential information. If
you are not the intended recipient or received this communication by error,
please notify the sender and delete the message without copying or
disclosing it.

AVIS DE CONFIDENTIALITÉ
Ce message peut contenir de l'information légalement privilégiée ou
confidentielle. Si vous n'êtes pas le destinataire ou croyez avoir reçu par
erreur ce message, nous vous saurions gré d'en aviser l'émetteur et d'en
détruire le contenu sans le communiquer a d'autres ou le reproduire.

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


Re: [Flashcoders] Runtime bitmap caching causing a MovieClip to not render

2009-09-16 Thread Karl DeSaulniers
Runtime bitmap caching is not reccomended for animation. It's trying  
to cache every step in your animation sequence. You probably  
experienced a frame or two not fully loading before it was trying to  
load the next frames in the sequence. Thus it dissapeared.


That's more of an educated guess though, so not 100% on it.

Karl

Sent from losPhone

On Sep 16, 2009, at 12:12 PM, "Andrew Murphy"   
wrote:



Hello. :)

I've run into a strange, transient rendering error:

The Flash movie in question contains a MovieClip which has a  
gradient in it,
going from fully transparent to fully opaque black.  At run time it  
gets
moved and rotated over top of an image file which is also loaded at  
run
time, so that there is a black faded edge to the image where it goes  
under

the gradient.

This worked fine, except that every dozen or so times that the page  
loaded
the gradient MovieClip would fail to appear.  I've done tests to  
trace out

it's x, y, rotation and visible properties and there was no difference
between page loads when the gradient was visible and page loads  
where it

failed to appear.

I had thought it was a problem with a vector transparent gradient  
rendering

in a Flash movie which has wmode set to transparent, so I replaced the
vector gradient with a PNG file, but during additional testing it  
broke in

the same way.

I wasn't quite sure what to try next so, experimenting, I tried  
turning off
"Use runtime bitmap caching" on that MovieClip, and that appears to  
have

fixed it.

Has anyone else run into this problem?



Andrew Murphy
Interactive Media Specialist
 amur...@delvinia.com

Delvinia
214 King Street West, Suite 214
Toronto Canada M5H 3S6

P 416.364.1455 ext. 232  F 416.364.9830  W www.delvinia.com

CONFIDENTIALITY NOTICE
This email message may contain privileged or confidential  
information. If
you are not the intended recipient or received this communication by  
error,

please notify the sender and delete the message without copying or
disclosing it.

AVIS DE CONFIDENTIALITÉ
Ce message peut contenir de l'information légalement privilégiée ou
confidentielle. Si vous n'êtes pas le destinataire ou croyez avoir r 
eçu par
erreur ce message, nous vous saurions gré d'en aviser l'émetteur et  
d'en

détruire le contenu sans le communiquer a d'autres ou le reproduire.


___
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