| |
| 2-1
|
Does
FMProjector need Window Media Control or Flash ActiveX control?
|
| |
When
you use FMProjector to create an .exe file, it will embed the
Flash ActiveX control into the .exe file. So you don't need
to install Flash ActiveX control into user's machines any more!
The Window Media Control works with the CODEC, so FMProjector
doesn't embed it. Please refer to FAQ 1-2 to see how to install
WMP using FMProjector |
| |
<Back> |
| |
| 2-2
|
How
to install Window Media Player 6.4(WMP6.4) into client's computer
from CD-ROM? |
| |
You
may put the WMP 6.4 installer (download from Microsoft web site)
and CHECKWMP.exe (copy from FMProjector 1.5 directory) into
the same folder of your program(created with FMProjector) in
the CD-ROM. Everytime when your program launches, it will check
the WMP version. If the WMP doesn't exist or the version number
is under 6.4, it will call WMP installer program automatically!
You may get WMP6.4 installer(mpfull.exe) from Microsoft
website |
| |
<Back> |
| |
| 2-3
|
If
we use FMProjector(s) to create commercial or noncommercial
contents, do we need to pay royalty fee for distributing each
copies? |
| |
No,
we don't charge any additional fee for distributing the exported
projectors by FMProjector. |
| |
<Back> |
| |
| 2-4
|
The
video playback performance is not as good as MediaPlayer, how
can I improve it ? |
| |
You
may use fscommand("fas.avclip.videoOnTop","TRUE") to improve
the performace |
| |
<Back> |
| |
| 2-5
|
How
to sync video and flash (detail guideline)? |
| |
1.
Let me explain the fscommand first
fscommand ("fas.event.ScriptCommand",_target add ".scLabel,scType,scValue");
Tell Flash to execute the action scripts in the frame labeled
with "scLabel" when the event is triggered by the script commands
in video. And also pass the parameter to Flash variable: scType
and scValue.
NOTE: You must specify the full path label name in the fscommand.
That's why we use _target to get the full path.
To be more clearly, another example like this:
fscommand ("fas.event.ScriptCommand", _target add ".QQQ,X,Y");
Flash will execute the action scripts in the frame labeled with
"QQQ" and pass the ASF script command parameter to X(Type of
script commands in the ASF/WMV video) and Y(Parameter of script
commands in the ASF/WMV video) when script commands events triggered.
2. If there're multiple script commands in the video. All script
command event will execute the action scripts in the same frame
labeled with "QQQ".
You'll have to give different Type/Parameter values in the video's
script commands so that you can distinguish them in the action
scripts of the "QQQ"-labeled frame by the contents of X and
Y parameters.
For example,
In the asf indexer:
00:00:07.2 Type=TEXT Parameter=F1
00:00:10.1 Type=TEXT Parameter=F2
00:00:17.6 Type=TEXT Parameter=F3
3. In the QQQ labeled frame, you can dispatch to different frame
to play different Flash movie according to the contents of X
and Y parameters.
For example:
In the "QQQ"-labeled frame action script:
Because X is the always the same value "TEXT", we check Y
if (Y=='F1') {
gotoAndPlay(100);
}
if (Y='F2') {
gotoAndPlay(200);
}
if (Y='F3') {
gotoAndPlay(300);
}
Note: the above actionscript may not work due to incorrect synntax.
In the frame 100 - 199: place the movie to be triggered by first
scriptcommand event (Parameter=F1)
In the frame 200 - 299: place the movie to be triggered by second
scriptcommand event (Parameter=F1)
In the frame 300 - 399: place the movie to be triggered by third
scriptcommand event (Parameter=F1)
|
| |
<Back> |
| |
| 2-6
|
How
to fit video into a rectangle? |
| |
1.
If you use the LoadVideo smartclip, you may adjust the clip
parameters to set the bAutoSize to "False" and sDisplaySize
to "FitToSize".
2. If you don't use the smartclip, you may use the following
command to set the video rectangle
fscommand("fas.avclip.autoSize","FALSE")
fscommand("fas.avclip.DisplaySize","FitToSize")
fscommand("fas.avclip.rect","0,0,320,240") // as your wish
fscommand("fas.avclip.load","test.avi")
|
| |
<Back> |
| |
| 2-7
|
Video
forward/backward problem? |
| |
In
FMProjector 1.5, if the WMP doesn't support the forward/backward
functions, FMProjector does simulate it. So you don't worry
this problem any more!
|
| |
<Back> |
| |
| 2-8
|
How
can I "create projector" when in full screen mode or set showmenu
to false? |
| |
Use
hot key "Ctl-M" to create projector |
| |
<Back> |
| |
| 2-9
|
How
to scale video proportionately to the rest of the Flash movie?
|
| |
If
you use LoadVideo smartclip, you may refer Q1-6.
Else, please use the following commands to enable the video
scale:
fscommand("fas.avclip.AutoSize","false")
fscommand("fas.avclip.DisplaySize","FitToSize")
And using fas.avclip.Rect to specify the video rectangle in
flash document coordinate. Rember to put all these commands
before fas.avclip.load. |
| |
<Back> |
| |
| 2-10
|
How
can I disable the Zoom by the right mouse button's click?
|
| |
You
may use
fscommand("showmenu","false") |
| |
<Back> |
| |
| 2-11
|
How
to return from FULL SCREEN mode? |
| |
You
may press ESC key to return nomal window mode. |
| |
<Back> |
| |
| 2-12
|
How
to use fas.event.* command to handle video event in Flash?
|
| |
1.If you
use the LoadVideo smartclip, then you may add the following
repective funcitons in OnClipEvent(load). The LoadVideo smartclip
will call the function when the respective event is triggered:
function
OnNewStream()
function OnEndOfStream()
function OnPlayStateChange(ps)
function OnNewBuffering()
function OnEndOfBuffering()
function OnOpenStateChange(openState)
function OnPlayStateChange(playState)
function OnScriptCommand(scriptType, scriptParam)
function OnDisconnect()
function OnWarning(warning)
function OnError(error)
function OnMarkerHit(marker)
funciton OnAPClose()
2. If
you don't use the smartclip, here is an example to show how
to trigger flash to play a movie at the end-of-video-streaming
event:
(1).
At frame 1
fscommand("fas.event.EndOfStream", _target add ".EOS");
fscommand("fas.avclip.load","test.avi")
Tell flash to execute the action scripts in the frame labeled
with "EOS". Note: you must specify the full path label in
the "fas.event.*" fscommands. In the sample we use _target
to get the full path.
(2).At
frame 2
Stop();
(3).At
frame 3 - 50, place a flash clip to be played by the event.
(4).At
frame 60, set the frame label as "EOS", and add the action
scripts to be executed by the event in this frame:
gotoAndPlay(3);
Then
the frame 3 - 50 flash clip will be played at the end of
the video.
|
| |
<Back> |
| |
| 2-13
|
What
is the command sequence for closing a projector after the avi
has finished playing? |
| |
If
you use the LoadVideo smartclip, instance name as MyVideo, then
you may add actionscripts as following:
function OnEndOfStream(){
fscommand("Quit")
}
} |
| |
<Back> |
| |
| 2-14
|
Is
it possible to Save my flash variables to system registry when
user close the window ? |
| |
If
you use the LoadVideo smartclip, instance name as MyVideo, then
you may add actionscripts as following
OnClipEvent(load){
function OnAPClose(){
_root.data = "flashants";
fscommand("fas.reg.set","HKEY_CURRENT_USER\\Software\\Flashants,Secret,"
+ _root.data);
}
} |
| |
<Back> |
| |
| 2-15
|
How
can I enable the ESC key to stop fullscreen video and audio
and return to FMProjector at the same time? |
| |
If
you're playing fullscreen video in FMProjector and want to stop
the video, you can use the Escape key. This will return to FMProjector
but the Video will still be running. Thankfully this action
happens on a KeyDown action. With the focus back in FMProjector
you can use an onClipEvent(keyUp) action to turn the video off
as below...
onClipEvent (keyUp) {
if (Key.getCode() == Key.ESCAPE) {
fscommand ("fas.avclip.stop");
fscommand ("fas.avclip.unload");
fscommand ("fas.avclip.fullscreen", "false");
}
}
This works with WMP 6.4 and 7. (dont know about 8) Hope this
helps someone else.
....Above quoted from Trevor's post. |
| |
<Back> |
| |
| 2-16
|
I
cannot launch FMProjector. |
| |
Check
FAQ Q1-1 above. |
| |
<Back> |
| |
| 2-17
|
How
to retrieve information or read external data by using fscommands
such as "fas.win.get*" or "fas.shell.get*" ? |
| |
When
getting external data or system information from outside of
flash, please always wait a few frames until the information
to be retrieved. Or use a frame loop to check if the value is
retrieved or not. For example:
FRAME 1:
ww="EMPTY";
hh="EMPTY";
fscommand("fas.Win.GetWH", "ww,hh");
FRAME 2:
// nothing here
FRAME 3:
if (ww=="EMPTY" || hh=="EMPTY")
{
gotoAndPlay(_currentframe - 1);
}
FRAME 4:
// Begin to use the ww and hh variables
|
| |
<Back> |
| |
| 2-18
|
Unable
to launch FMProjector after installing Windows Media Player
9 Beta version? |
| |
FMProjector
V1.5.3 have solved the imcompatiable issue with WMP9 beta. Please
upgrade to the new version to fix the problem.
If you fail to launch the applications or CD-ROMs created by
previous version of FMProjector, please remove the system registry
key to solve this problem:
"HKEY_CLASSES_ROOT\CLSID\{22D6F312-B0F6-11D0-94AB-0080C74C7E95}\LocalServer32".
You may follow the steps here:
1. Launch Registry Editor Program (Regedit.exe) by Start ->
Run -> type "regedit" then hit ENTER key
2. Locate the following registry key in the left pane:
HKEY_CLASSES_ROOT\CLSID\{22D6F312-B0F6-11D0-94AB-0080C74C7E95}\LocalServer32
You need to expand the tree node hierachically and move the
scrollbar vertically until you find the registry key.
3. Right mouse clicking on the "LocalServer32" item in the left
pane. In the popup menu, select "Delete" to remove the registry
key.
|
| |
<Back> |
| |
| 2-19
|
How
to change exe icon created by FMProjector? |
| |
To
change the program icon, there are many freeware/shareware in
download.com available. You may find one there. We may try to
support this feature in the future release. |
| |
<Back> |