[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Swftools-common] sample embedding video
From: |
Chris |
Subject: |
Re: [Swftools-common] sample embedding video |
Date: |
Thu, 4 Nov 2010 02:51:07 +0100 |
On Wed, 03 Nov 2010 20:13:58 +0100
Pablo Rodríguez <address@hidden> wrote:
> Deactivating full screen doesn't work with 'f' (only with 'Esc'), but
> going to next, previous, first or last slide works fine. No matter
> whether I click on the movie or not.
Only certain control keys appear to work in full screen mode. Most alphanumeric
keys are inactive ( unless you misdirect ). Compile the code below then press a
a few keys to see what happens,
##################################################################
.flash filename="key_test.swf" version=8 bbox=800x600
.font tahoma "fonts/tahoma.ttf"
.edittext field font=tahoma text="Status?" height=47 width=110 size=12pt
color=green
.action:
myListener = new Object();
Key.addListener(myListener);
field.text ="hello";
myListener.onKeyUp = function () {
If ( Stage.displayState=="fullScreen" ) {
Stage.displayState="normal";
field.text = Stage.displayState;
}
else {
Stage.displayState="fullscreen";
field.text = Stage.displayState;;
};
};
.end
.put field x=100 y = 100
.end
########################################################
> At least this is what happens on my computer. So it might not be that
> the movie loses the the focus (I can set it to full screen, but not back
> to normal.
> Have you been able to set the movie size at
> http://www.ousia.tk/piracy-jobs.en.php pressing 'f' or 'F'?
Your movie presentation will not start nor resize until you click on it first.
Clicking on it gives it the focus. No click, and all key presses ( somewhat
obviously ) fail to have an effect.
Chris