Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
| Subject: | FLASH: [repost] - Toggle fullscreen in projector? |
| From: | Jay K |
| Date: | Sun, 17 Sep 2000 15:34:44 +0100 |
Hi folks
I'm new to Flash and this list so please bare with me.
I'm coming to Flash 5 from many years in Director. (if any lingo-centric
parlance slips in, sorry)
I'm building a Flash based CD-ROM that will run stand alone (trial by
fire!).
Question1: can someone confirm for me that this is making it to the list?
I'm receiving list mail but never see my own posts so I have no idea if they
are even making there (plus I keep getting messages bounced when sent to
flasher
Question2:
How do I build a toggle button for setting a projector to play fullscreen or
in a window?
I've set a framescript to use an fs command to set the fullscreen to true
and additionally set a variable (blownUp) to true (decided to use a variable
because I didn't seem to be able to test for the condition of fullscreen
directly).
In a button in the movie, I'm trying to test for the state of the variable.
Based upon whether the variable blownUp equals true or false, I want to call
fscommand and set fullscreen accordingly (followed by setting blownUp
accordingly).
The initial condition is set in the first frame of the movie to blownUp =
true and so I assume blownUp is true when I test in the action attached to
the button. If false, then I want to use fscommand and set fullscreen to
true.
Again, this is not in a browser via a plugin but as a stand alone projector.
Is toggling fullscreen doable? Do I need to use Tell Target with a path
followed by the fscommand?
My most recent failed attempt used:
on (release){
if (blownUp = "true"){
tellTarget ("whateverMovie"){
fscommand ("fullscreen", "false");
}
{else if (blownUp = "false") {
tellTarget ("whateverMovie"){
fscommand ("fullscreen", "true");
}
}
This is probably more complicated that it needs to be but I can't seem to
get this to work so I keep trying different approaches (without really
knowing the ActionScript syntax yet).
Any insight is greatly appreciated, thanks.
Jay K
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
NudeGuru.com is proud to sponsor the Flasher list
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
IT'S THE ART OF MONEY, HONEY!
Tips and Advice from some of the most popular Flash
artists + industry power-brokers on how to hold onto
your rights, negotiate contracts and get full value
for your work.http://www.nudeguru.com from Franke James
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email help
Replies
Re: FLASH: [repost] - Toggle fullscreen , Gregg Caines
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]

