| |
| 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 it from Microsoft web site) and CHECKWMP.exe
(copy it from FMProjector 1.5 directory) into the CD. Then once
FMProjector find the WMP versoion in user's machine 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", "/:ScriptCommand,scriptType,scriptValue");
Tell Flash to go to the frame labeled with ScriptCommand whenever
an event is triggered from video(script command). And pass the
parameter to Flash variable: scriptType and scriptValue.
To be more clearly, another example like this:
fscommand ("fas.event.ScriptCommand", "/:QQQ,X,Y");
Flash will go to the frame labeled with QQQ when script commands
events triggered and pass the ASF script command parameter to
X(Type of script commands in ASF) and Y(Parameter of script
commands in ASF).
2. If there're multiple script commands in the ASF. All script
command event will trigger the Flash to go to the same frame
with the label QQQ in the above example.
You'll have to give different Type/Parameter in the ASF script
commands so that you can distinguish them in the action script
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') {
go to 10
}
if (Y='F2') {
goto 20
}
if (Y='F3') {
goto 30
}
Note: the above actionscript may not work due to incorrect synntax.
|
| |
<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 at OnClipEvent(load)
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, We use fscommand "fas.event.EndOfStream"
as an example:
(1). At frame 1
fscommand("fas.event.EndOfStream", "/:VideoEndLabel")
fscommand("fas.avclip.load","test.avi")
(2).At frame 2
Stop
(3).At frame 3 - 50, have a flash clip.
(4).At frame 60, set the frame label as "VideoEndLabel"
GotoAndPlay(3)
Then the frame 3 - 50 flash clip will be played at the
end of the video playback.
|
| |
<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> |