|
|
 |
RE: FN-FORUM FLASH FS Command (was: Back Button Javascript.)
date posted 11th January 2001 19:22
Hello Morgan
I got most of the basic information to use FS commands from the Flash help
pages. I have tended to use Flash a lot for making standalone players for my
own use such as making speaking reminder messages that can be scheduled to
run with the Windows task scheduler, so the standard FS commands such as
quit, allowscale, Fullscreen, etc can be very useful, and are fairly easy to
use, for example in Flash 4 there is a drop down menu of commands, and the
arguements are usually just true or false.
To use FS commands in a host application such as a Web browser, with Flash 4
you need to publish to HTML (FILE - Publish settings - HTML) using the
"Flash with FS Command" template. If you look at the resulting HTML source
you should find there is a bit that says
function theMovie_DoFSCommand(command, args)
If you wanted to make an FS command to open a message box you would need
something like this
function theMovie_DoFSCommand(command, args) {
if (command == "messagebox") {
alert(args);
}
}
Of course you can make up any FS commands you want and have them call all
sorts of Javascript functions. I think you can even use variables and
expressions with them as well. But I haven't quite got that far myself yet
I have found there are a lot of tutorials on Flash on Web I can't find any
specific urls off hand but Yahoo is a fairly good place to start and the
sites are quite easy to find in any case
Well I hope this helps.
best regards
Nick
http://www.artberry.net
-----Original Message-----
From: [EMAIL REMOVED]
[EMAIL REMOVED] Behalf Of Morgan Richards
Sent: 11 January 2001 09:03
To: [EMAIL REMOVED]
Subject: FN-FORUM FLASH FS Command (was: Back Button Javascript.)
Nick,
Do you know of a good tutorial on the FS Contol. I know Flash well but have
never had need to use FS commands but it is about time I learnt them!
Cheers
Morgan
============================================================
* Free listing for freelancers
* Free to advertise jobs
* Free jobs distribution service
* Free database of 1000 freelancers
Freelancers and Freelance Jobs
http://www.freelancers.net
To post to the Forum:
[EMAIL REMOVED]
To unsubscribe please email:
[EMAIL REMOVED]
If you have difficulties unsubscribing please email:
[EMAIL REMOVED]
To subscribe to the digest for this list or for further information please
visit:
http://www.freelancers.net/forum.html
|
 |
|