On Sun, 31 Oct 2010 19:17:21 -0700 Matthias Kramm <kr...@quiss.org> wrote:
> 2010/10/30 Pablo Rodríguez <oi...@web.de>: > > 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