Project Home
Project Home
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - clear screen before starting an Adobe Flash HMI?: (4 Items)
   
clear screen before starting an Adobe Flash HMI?  
Hi... not sure if this is the right forum.

On an Atom based platform, I'm booting from CF and start an Adobe Flash HMI. It seems I observe the following:

* flash is started, the screen goes 'on', I see garbage (random memory content) there
* flash is loading rendering DLL, which is quite large, so it takes a while until it's loaded from CF (CF seems to run 
in PIO mode only)
* I see the garbage for about 1 second.
* finally, flash clears screen and shows HMI.

Is there a simply way to have the screen cleared before flash starts, or with the start of flash, so the garbage is not 
visible? This is for a fast boot demo and it looks quite ugly with the garbage on-screen.

Thanks!


- Malte
RE: clear screen before starting an Adobe Flash HMI?  
Hi Malte,

What graphics environment (GF or CM) are you running Flash in?

Thanks,
Paul

> -----Original Message-----
> From: Malte Mundt [mailto:community-noreply@qnx.com]
> Sent: November 10, 2009 7:56 AM
> To: advanced-graphics
> Subject: clear screen before starting an Adobe Flash HMI?
> 
> Hi... not sure if this is the right forum.
> 
> On an Atom based platform, I'm booting from CF and start an Adobe
Flash
> HMI. It seems I observe the following:
> 
> * flash is started, the screen goes 'on', I see garbage (random memory
> content) there
> * flash is loading rendering DLL, which is quite large, so it takes a
> while until it's loaded from CF (CF seems to run in PIO mode only)
> * I see the garbage for about 1 second.
> * finally, flash clears screen and shows HMI.
> 
> Is there a simply way to have the screen cleared before flash starts,
or
> with the start of flash, so the garbage is not visible? This is for a
fast
> boot demo and it looks quite ugly with the garbage on-screen.
> 
> Thanks!
> 
> 
> - Malte
> 
> 
> 
> _______________________________________________
> 
> Advanced Graphics
> http://community.qnx.com/sf/go/post41692
Re: RE: clear screen before starting an Adobe Flash HMI?  
Hi Paul,

> What graphics environment (GF or CM) are you running Flash in?

Just GF. I only have one single Flash HMI, no other things sharing the screen.


- Malte

> > -----Original Message-----
> > From: Malte Mundt [mailto:community-noreply@qnx.com]
> > Sent: November 10, 2009 7:56 AM
> > To: advanced-graphics
> > Subject: clear screen before starting an Adobe Flash HMI?
> > 
> > Hi... not sure if this is the right forum.
> > 
> > On an Atom based platform, I'm booting from CF and start an Adobe
> Flash
> > HMI. It seems I observe the following:
> > 
> > * flash is started, the screen goes 'on', I see garbage (random memory
> > content) there
> > * flash is loading rendering DLL, which is quite large, so it takes a
> > while until it's loaded from CF (CF seems to run in PIO mode only)
> > * I see the garbage for about 1 second.
> > * finally, flash clears screen and shows HMI.
> > 
> > Is there a simply way to have the screen cleared before flash starts,
> or
> > with the start of flash, so the garbage is not visible? This is for a
> fast
> > boot demo and it looks quite ugly with the garbage on-screen.
> > 
> > Thanks!
> > 
> > 
> > - Malte
> > 
> > 
> > 
> > _______________________________________________
> > 
> > Advanced Graphics
> > http://community.qnx.com/sf/go/post41692


RE: RE: clear screen before starting an Adobe Flash HMI?  
The problem may be that Flash is enabling the layer immediately rather
than waiting until after it has rendered its first frame.  On VMWare at
one time, enabling a layer would clear the surface (or so my comments
say) which would mean that if Flash waited until after rendering a frame
all subsequent updates would be wrong.

As it does not appear to be an issue now, I've changed it to make it
optional and disabled by default.