[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Swftools-common] improving keyboard_viewer.swf
From: |
Pablo Rodríguez |
Subject: |
[Swftools-common] improving keyboard_viewer.swf |
Date: |
Sat, 30 Oct 2010 18:43:01 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.9) Gecko/20100921 Fedora/3.1.4-1.fc13 Thunderbird/3.1.4 |
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";
}
}
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.
Would it be possible also to set the background color in all SWFTools
programs the same way frame rate and Flash version is set.
Thanks for your help,
Pablo
--
http://www.ousia.tk
- [Swftools-common] improving keyboard_viewer.swf,
Pablo Rodríguez <=