swftools-common
[Top][All Lists]
Advanced

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

Re: [Swftools-common] improving keyboard_viewer.swf


From: Chris
Subject: Re: [Swftools-common] improving keyboard_viewer.swf
Date: Mon, 1 Nov 2010 12:41:30 +0100

On Sun, 31 Oct 2010 19:17:21 -0700
Matthias Kramm <address@hidden> wrote:

> 2010/10/30 Pablo Rodríguez <address@hidden>:
> > Hi there,
> >
> > I wonder whether it would be possible to improve the keyboard_viewer with
> > the following code:
> >
> > if ((Key.getAscii() == 70) || (Key.getAscii() == 102)) {
> >        if(Stage["displayState"] == "normal"){
> >                Stage["displayState"] = "fullScreen";
> >        } else {
> >                Stage["displayState"] = "normal";
> >        }
> > }
> >
> 
> Good idea!

Is it?  While using the character codes for upper and lower case 'F' may seem to
be an obvious choice, perhaps in retrospect they're not a consistent choice.  
Maybe
another key or key combination would be better?

> > So this viewer could show Flash files in full screen (this would be
> > essential for showing presentations). I have tried to investigate how to
> > patch the viewer source myself, but it isn't swfc code, but C, and I have no
> > idea how to do it.
> 
> I don't think we should fiddle with the old C version of the keyboard
> viewer anymore.

'fiddle'?

> keyboard_viewer.sc is in desparate need of being ported to swfc anyway, so I
> think we should do that, and then add the fullscreen code to the sc.

Any reason why both C and swfc versions should not be maintained?


Chris



reply via email to

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