Options‘
Transparent
’and‘
TransparentWireframe
’takeanoptionalvalue
between0and1thatcontrolstheopacityoftherendered3Dobject.
3Dpartsattrs=restore | | keep
Whentheuserselectsanotherviewfromthelistofpredefinedviews(seeoption
3Dviews
’),attributesofindividualparts,suchasopacity,visibility,rendermode,
translationinspace,whichallcanbesetfromwithintheReaderorbymeans
of a file of f predefined views, , are reset to theiroriginalstates as defined in
theembedded3Dfile,beforeany newpartsettingsareapplied.Thisdefault
behaviourcanbeoverriddenby‘
3Dpartsattrs=keep
’.Thiswillpreservecurrent
partattributeswhentheuserselectsanotherpredefined3DviewintheReader.
3Dviews=<views file>
Insteadoforinadditiontothedefaultview(options‘
3Dcoo
’,‘
3Dc2c
’,‘
3Droll
’,
3Droo
’,‘
3Daac
’,‘
3Dortho
’),furthernamedviewscanbepredefinedinanauxiliary
file
<views file>
.Besidesthevirtualcameraposition,itispossibletoadjustthe
renderingattributes,suchasvisibilityandtransparency,aswellaspositionand
scalingofeverysinglepartinthe3Dscene.Moreover,backgroundcolourand
scenelightingcanbesetindividuallyforeveryview.Theadditionalviewscan
laterbeselectedeitherfromadropdownlistinthetoolbarthatisassociated
withtheactivated3DobjectintheReaderorfromthecontextmenuofthe3D
object.
Thefile
<views file>
isstructuredintoviewsections,oneforeveryview:
VIEW[=<optional name>]
COO=<x> <y> <z>
C2C=<x> <y> <z>
ROLL=<roll>
%
C2W=<camera-to-world matrix> % % instead of f COO, C2C and ROLL
ROO=<roo>
AAC=<aac>
%
ORTHO[=<othographic scaling factor>] % % instead d of AAC
BGCOLOR=<r> <g> <b>
RENDERMODE=<render mode>
LIGHTS=<lighting scheme>
CROSSSECT
CENTER=<x> <y> <z>
NORMAL=<x> <y> <z>
OPACITY=<cutting plane e opacity>
VISIBLE=true | | false
PLANECOLOR=<r> <g> <b>
INTERSECTIONVISIBLE=true | | false
INTERSECTIONCOLOR=<r> <g> <b>
END
PARTSATTRS=keep
PART=<part name
as in n the Model Tree e (required, , optional if f UTF16NAME present)>
UTF16NAME=<part name as s hex encoded Unicode e string>
VISIBLE=true | | false
OPACITY=<part opacity>
RENDERMODE=<part render r mode>
11
Pdf merger - Merge, append PDF files in C#.net, ASP.NET, MVC, Ajax, WinForms, WPF
Provide C# Demo Codes for Merging and Appending PDF Document
break pdf file into multiple files; add pdf files together
Pdf merger - VB.NET PDF File Merge Library: Merge, append PDF files in vb.net, ASP.NET, MVC, Ajax, WinForms, WPF
VB.NET Guide and Sample Codes to Merge PDF Documents in .NET Project
acrobat combine pdf files; c# merge pdf pages
TRANSFORM=<12 element t transformation n matrix>
END
PART=<...>
...
END
etc.
END
VIEW
...
END
etc.
Aviewsectionstartswiththekeyword
VIEW
,optionallyfollowedbyanamefor
theview,andendswiththekeyword
END
.Ifnonameisgiventotheview,a
defaultoneiscreated,consistingof‘View’followedbythenumberofthecurrent
VIEW
sectioninthefile.A
VIEW
sectionmaycontainoptionalentriesforsetting
thecamerapositionandglobalrenderingattributesofthescene,a
CROSSSECT
subsectionaswellas
PART
subsectionsforsettingrenderingandotherattributes
ofpartsindividually.Table1liststheentriesina
VIEW
section.
Partsub-sectionsareopenedby
PART=<part name>
andclosedby
END
.There
maybeasmanypartsubsectionsastherearepartsina3Dscene.Table2lists
thepossibleentriesina
PART
sub-section.Allentriesareoptional.However,a
UTF16NAME
entry isrecommended,asthepartnamemaycontainnon-ASCII
characters.Thevalueofthe
UTF16NAME
keyisthepartnameasahex-encoded
Unicodestring.If
UTF16NAME
isnotused,thepartnameinthe3Dfilemustbe
entirelycomposedofASCIIcharacters.Inthatcase,
<part name>
ismandatory
andmustmatchthepartnameasindicatedinthe3DModelTreeofthe3D
object(accessibleviaright-clickontothemodelintheReader).Thepartcanbe
scaledandrepositionedbymeansofa
TRANSFORM
entrywhichtakesa12-element
transformationmatrix as itsvalue. . Remainingentriesina part sub-section
controlthevisualappearanceofthepart.
A view sectionmaycontainatmostone
CROSSSECT
sub-section.Itinsertsa
cuttingplaneatadefinitepositionandorientationinthe3Dspace,controlled
byoptional
CENTER
and
NORMAL
entries.Theappearancecharacteristicsofthe
cutting plane and the e intersection n of f the e plane with h the 3D geometry are
controlledby optional
OPACITY
,
VISIBLE
,
PLANECOLOR
,
INTERSECTIONVISIBLE
,
INTERSECTIONCOLOR
entries.SeeTable3forexplanation.
Theviewsfilecanbecommented.Asusual,commentsstartwiththepercent
sign.
To facilitate the e creation n of f a a views s file, option ‘
3Dmenu
’ can n be e added to
\includemedia
(see above). Itcreatescontext(right-click)menuentry ‘Get
Current View’ whichoutputsacomplete
VIEW
section corresponding to the
currentviewof the3Dobjectinthe Reader, includingcameraposition, an
optionalcrosssection,andallpartandviewingoptionsthatcanbemodified
viathe3Dtoolbar(option‘
3Dtoolbar
’)orthecontextmenuofthe3Dobject
(entries‘PartOptions’,‘ViewingOptions’).Hence,apartfromtweakingoneor
12
C# PDF: C#.NET PDF Document Merging & Splitting Control SDK
In order to help you have a quicker and better understanding of this C#.NET PDF merger & splitter control SDK, we will illustrate the PDF document merging and
c# merge pdf; pdf combine files online
C# Word: .NET Merger & Splitter Control to Merge & Split MS Word
to form a larger Word file or how to divide source MS Word file into several smaller documents, RasterEdge designs this C#.NET MS Word merger & splitter
acrobat merge pdf; pdf merge files
anotherentry,thereshouldbenoneedforwritingviewsfilesbyhand.
3Dplaytype=linear | | oscillating
Accordingto thePDFspecification, embedded keyframe animationscanbe
playedintwoways.Ifsetto‘
linear
’,keyframeanimationsaredrivenlinearly
frombeginningtoend,while‘
oscillating
’letstheanimationplayinaforth-
and-backmanner.
3Dplaycount=<integer number>
Anon-negative
<integer number>
representsthenumberoftimestheanimation
isplayed.Anegativeintegerindicatesthattheanimationisinfinitelyrepeated.
Thisvalueisignoredifoption
3Dplaytype
isnotset.
3Dplayspeed=<positive number>
Thisoptioncanbeusedtoadjustthekeyframeanimationspeed.Avalueof‘1’
correspondstothedefaultspeeddefinedinthe3Dfile.
add3Djscript=<3D JavaScript t file>,
add3Djscript=<another 3D D JavaScript t file>,
...
Thingslikeanimation,lighting,backgroundof3Dobjectsetc.mayalsobescript
driven.Everyinvocationof‘
add3Djscript
’associatesanotherJavaScriptfilewith
the3Dobject.Uponactivationofthe3Dobject,thescriptsareexecutedoncein
theorderoftheirinclusion.RefertotheAcrobat3DJavaScriptReference[3]for
syntaxdetails.Thefollowing3DJavaScriptloadsanimagefilethatwasattached
by‘
addresource=images/sunset.jpg
’andusesitasthescenebackground.
sunset = = new Image(new Resource(’pdf://images/sunset.jpg’));
reh = = new RenderEventHandler();
reh.onEvent = = function(event) ) {
runtime.removeEventHandler(this);
event.canvas.background.image=sunset;
}
runtime.addEventHandler(reh);
Forconvenience,subdirectory‘javascript’ofthe‘media9’installationcontains
three 3DJavaScriptfileswhichmay come inhandy attimes:‘animation.js’
enablesembeddedkeyframeanimationin3Dfiles;‘3Dspintool.js’enablesthe
Spintoolofthe3Dpluginforeasierrotatingthe3Dobjectwiththemouse;
‘asylabels.js’adds‘billboardbehaviour’totextlabelsinAsymptote(v2.17)
generatedPRCfilesforimprovedvisibility;textlabelsalwaysfacethecamera
whilerotatingthe3Dobjectwiththemouse.
13
VB.NET TIFF: .NET TIFF Merger SDK to Combine TIFF Files
A 2: Yes, this VB.NET TIFF merger SDK allows developers to achieve We are dedicated to provide powerful & profession imaging controls, PDF document, image to
reader combine pdf; split pdf into multiple files
VB.NET Word: Merge Multiple Word Files & Split Word Document
Word processing and editing controls, this VB.NET Word merger and splitter are dedicated to provide powerful & profession imaging controls, PDF document, image
c# combine pdf; c# merge pdf files into one
Table1:Entriesina
VIEW
section.
key
type
remarks
COO
threenumbers
centreoforbit,seeoption‘
3Dcoo
C2C
threenumbers
centreoforbittocameravector,
seeoption‘
3Dc2c
ROO
number
radiusoforbit,seeoption‘
3Droo
C2W
12numbers
camera-to-world transformation
matrix,seeoption‘
3Dc2w
AAC
number
cameraapertureangle,seeoption
3Daac
ORTHO
number(optional) enablesorthographicview,seeop-
tion‘
3Dortho
PSOB
string
expertsetting,seeoption‘
3Dpsob
ROLL
number
cameraroll,seeoption‘
3Droll
BGCOLOR
threenumbers
given as
<r> <g> <b>
, specify
the3Dscenebackgroundcolour
(RGB),seeoption‘
3Dbg
RENDERMODE
string
rendermodeofthe3Dobject,see
option‘
3Drender
LIGHTS
string
lighting scheme, see option
3Dlights
PARTSATTRS
string
allowed values are e ‘
keep
’ and
restore
’; decides s on n whether
to restore or r not t original part
attributes before e applying g new
onesfrom thisview; see e option
3Dpartsattrs
PART
(sub-section)
string
part name as in n the 3D D Model
Tree;nameargumentisoptional
ifa
UTF16NAME
entryispresentin
thesub-sectionopenedbya
PART
keyword,otherwiserequired;see
Table2forlistofpossibleentries
CROSSSECT
(sub-
section)
see Table 3 for r list of f possible
entries
14
C# PowerPoint: C# Codes to Combine & Split PowerPoint Documents
of RasterEdge .NET Imaging SDK is some like PowerPoint file merger in its are dedicated to provide powerful & profession imaging controls, PDF document, tiff
pdf split and merge; how to combine pdf files
C# PDF: C# Code to Process PDF Document Page Using C#.NET PDF
C# PDF Page Processing: Merge PDF Files - C#.NET PDF document merger APIs for combining two different PDF documents into one large PDF file.
break a pdf into multiple files; pdf merger
Table2:Entriesina
PART
sub-section.
key
type
remarks
UTF16NAME
hexstring
partnameinUTF-16(akaUnicode),en-
codedasahexadecimalstring;optional,
butusefulforpartnamescomposedof
non-latincharacters;
VISIBLE
boolean
aflag(‘
true
’or‘
false
’)indicatingthe
visibilityofthispart
OPACITY
number
anumberbetween0.0and1.0specifying
theopacityofthispart
RENDERMODE
string
rendermodeofthispart,overridesglobal
RENDERMODE
valueinparent
VIEW
section,
seeoption‘
3Drender
TRANSFORM
12numbers transformation matrix defining g the
part’spositionandscaling
Table3:Entriesina
CROSSSECT
sub-section.
key
type
remarks
CENTER
threenumbers centralpointcoordinatesofthecutting
plane
NORMAL
threenumbers normalvectorcoordinatesofthecutting
planepointingintothecut-offregion
OPACITY
number
anumberbetween0.0and1.0specifying
theopacityofthecuttingplane
VISIBLE
boolean
aflag(‘
true
’or‘
false
’)indicatingthe
visibilityofthecuttingplane
PLANECOLOR
threenumbers givenas
<r> <g> <b>
,specifythecolour
(RGB)ofthecuttingplane
INTERSECTIONVISIBLE
boolean
aflag(‘
true
’or‘
false
’)indicatingthe
visibility oftheintersectionofthecut-
tingplanewithany3Dgeometry
INTERSECTIONCOLOR
threenumbers givenas
<r> <g> <b>
,specifythecolour
(RGB)forthecuttingplane’sintersec-
tionwiththe3Dgeometry
15
VB.NET TIFF: Merge and Split TIFF Documents with RasterEdge .NET
Besides TIFF document merger and splitter, RasterEdge still provides other market-leading to provide powerful & profession imaging controls, PDF document, tiff
asp.net merge pdf files; reader combine pdf pages
VB.NET PowerPoint: Merge and Split PowerPoint Document(s) with PPT
here is what you are looking for - RasterEdge VB.NET PPT Document Merger and Splitter Note: If you want to see more PDF processing functions in VB.NET, please
add multiple pdf files into one online; merge pdf
5.3 Controlbuttons
\mediabutton[<options>]{<normal button n text t or r graphic>}
This command inserts a clickable e button n for r media control. . Actions s to be
performed are specified d through options ‘
mediacommand
’, ‘
3Dgotoview
’ and
jsaction
’. By using these optionsrepeatedly and in any combination, sev-
eralactionscanbeboundtoonemediabutton,andonemediabuttoncanbe
usedtocontrolseveralmediaatthesametime.Mediaactionsarestartedinthe
givenorderbutperformedinparallel,becausetheydonotwaitforeachother
tofinish.Thetargetofanactionisspecifiedviathelabelthatwasalsogivento
aparticularmediabythe‘
label
’optionof‘
\includemedia
’.Individualbutton
facescanbedefinedforthe‘mouse-over’and‘mouse-button-down’eventsusing
the‘
overface
’and‘
downface
’options.Withoutoptions,thebuttonproduced
doesnothing.Theoptionsprovidedareasfollows:
overface=<mouse-over text or graphic>
Ifspecified,themediabuttonchangesitsappearancewhenthemousepointeris
movedoverit.Withoutthisoption,thebuttonappearancedoesnotchange.An
\includegraphics
commandmayneedtobeenclosedinbraces.
downface=<mouse-button-down text t or r graphic>
Ifspecified,themediabuttonchangesitsappearancewhenthemousebuttonis
pressedwhilethepointerisoverit.An
\includegraphics
commandmayneed
tobeenclosedinbraces.
tooltip=<tip text>
Aboxwith
<tip text>
isshownwhenthemousepointerismovedoverthe
button.
3Dgotoview=<label text>[:<view specification>]
Selectsaviewfromthelistofpredefinedviewsassociatedwitha3Dmedia
inclusion(seeoption‘
3Dviews
’).Thetargetmediaisspecifiedby
<label text>
,
asdefinedbythe‘
label
’optionof‘
\includemedia
’.
<label text>
alonewithout
aviewspecificationsimplyactivatesthe3Dobjectifnotyetactivated.
<view
specification>
whichisseparatedfromthelabelbyacolon(
:
)canbeoneof
thefollowing:anintegerspecifyingthezero-basedindexintothelistofviewsin
the3Dviewsfile;oneof‘
D
’,‘
F
’,‘
L
’,‘
N
’,‘
P
’indicatingthedefault,first,last,next
orpreviousviewinthelistofviews;astringdelimitedby‘
(
’and‘
)
’matching
thenameofaviewasspecifiedbythe‘
VIEW=...
’entryintheviewsfile.The
optioncanbegivenseveraltimestosimultaneouslychangetheviewinmorethan
one3Dinclusion.However,itcannotbeusedtocreateananimationeffectwithin
thesame3Dinclusion,because
3Dgotoview
actionsareexecutedinparallel.
mediacommand=<label text>[:<command> > [(<arg1>) ) (<arg2>) ...]]
A mediacommand
<command>
,with argumentsif f required, issentto a me-
diainclusionidentifiedby
<label text>
,asdefinedbythe‘
label
’optionof
\includemedia
’.
<label text>
alonewithoutacommandspecificationsimply
activatesthemedia,ifnotyetactivated.Theoptioncanbeusedmultipletimes
withinthesamebuttontotargetdifferentmediainclusionsatthesametime
16
ortoexecuteseveralcommandsforthesamemedia.Dependingonthetypeof
thetargetmedia(3DorFlash),
<command>
iseitherthenameofaJavaScript
functiondefinedina3DJavaScriptfileassociatedwiththe3Dmedia(seeoption
add3Djscript
’)orthenameofanActionScriptfunctionthatwasexposedby
theembeddedFlashfile.ActionScriptfunctionsareexposedtothescripting
contextofthehostingdocumentbyusingthe
ExternalInterface
callwithin
theFlashfile.Argumentstobe passedto
<command>
mustbe enclosedin‘
(
and‘
)
’andseparatedbyspaces,thewholelistbefinallyenclosedin‘
[
’and
]
’,evenifthereisonlyasingleargument.ArgumentscanbeofBooleantype
(
true
,
false
),numbers(integer,reals)andstrings.Thenumberofarguments
andtheirtypesmustmatchthedefinitionofthefunctiontobecalled.Media
playersVPlayer.swf and d APlayer.swf shipping with‘media9’ expose a num-
berof ActionScriptfunctionsthatcanbeusedwiththisoption(seeTab.6).
<command> [(<arg1>) (<arg2>) ...]
mustbeenclosedinbracesifthereare
embeddedequalssignsorcommas.Examplesofusing‘
mediacommand
’aregiven
inFigs.2and6c.
jsaction=[<label text>:]{<JavaScript t code>}
TheJavaScriptcodeisexecutedinthecontextofthedocument’sinstanceof
theJavaScriptengine(thereisoneinstanceoftheJavaScriptengineperopen
documentinAdobeReader).
<JavaScript code>
isrequiredandmustbeen-
closedinbraces.Unlikemediaactionsdefinedwithoptions‘
mediacommand
’and
3Dgotoview
’,theJavaScriptactiondefinedhereisnottargetedataparticular
embeddedmediaandcanbeusedtorunarbitrarycode.Therefore,
<label text>
isoptional.If provided,itmustbe separatedfrom
<JavaScript code>
by a
colon. However, itis recommended to provide a label text. It ensures that
annotRM[’<label text>’]
isavalidJavaScriptreferencetothe
AnnotRichMedia
object.
annotRM[’<label text>’]
canbeusedtogetaccesstotheglobalcon-
textof the annotation’s s instance e of the 3DJavaScriptengine (there isone
instanceofthe3DJavaScriptengineperactivatedRichMediaAnnotationwith
3Dcontent). The 3DJavaScript contextof a 3D modelcanbe accessedas
annotRM[’<label text>’].context3D
.RefertotheAcrobat3DJavaScriptRef-
erence [3] fordetailsonbuilt-inJavaScriptobjectsthatare available inthe
3Dcontext.The
annotRM[’<label text>’].callAS()
methodmaybeusedas
analternativetothe‘
mediacommand
‘option.Bothserveasmeansof running
ActionScriptfunctionsexposedbyembeddedFlashfiles.See[4]fordetails.
draft
final
Seeabove.
17
6 EmbeddingFlash,videoandsound,
imageslide-shows
A YouTube videoclip, asshowninFig.1,mayserveasabasicexampleof
loading FlashcontentfromaURLtobe displayedinanembeddedfashion
in aPDF document.Indeed,a YouTube clipisnothingmore than asmall
SWFfile whichloadsavideostreamandothernecessaryresources,suchas
usercontrolsandaplayerskinfromaremoteserver.Itcanbeconfiguredvia
ActionScriptvariablesto play severalvideosina row, to play y avideoina
loopetc.Playerparametersaredocumentedon
http://code.google.com/apis/
youtube/player_parameters.html
andcanbepassedtotheplayerusingeither
the‘
flashvars
’option,asintheexample,orappendedtotheURLstringafter
thevideoID.Aquestionmark‘
?
’mustbeputbetweenthevideoIDandthe
parameterstring.Someofthedocumentedparameters,suchas‘
rel
’,seemto
haveaneffectonlyiftheyarepassedaspartoftheURL.
\includemedia[
width=0.6\linewidth,height=0.3375\linewidth, % % 16:9
activate=pageopen,
flashvars={
modestbranding=1 % % no o YT logo in n control bar
&autohide=1
% controlbar r autohide
&showinfo=0
% no o title e and other r info before e start
&rel=0
% no o related videos s after r end
}
]{}{http://www.youtube.com/v/r382kfkqAF4?rel=0}
Figure1:AYouTubevideoasanexampleofaFlashapplicationloadedfroma
URL.
Mediafiles(video,sound,images)arealwaysloadedandthenplayedbyamedia
playerapplication.Fourplayersareinstalledalongwiththe‘media9.sty’package
file:threesimpleplayersforvideo(‘VPlayer.swf’),sound(‘APlayer.swf’)andslide-
showsofembeddedand/orremote(liveorstatic)imagefiles(‘SlideShow.swf’),
andthefullyblownthird-partymediaplayer‘StrobeMediaPlayback.swf’with
somefixestoimproveitsusability.Thesimpleplayersare‘chromeless’,thatis,
theydonothavegraphicalusercontrols.Nevertheless,interactivityisprovided
throughleftmouse button pressandrelease forplaying, pausing, resuming
playback, through the player’scontext menu (right-click), and throughthe
18
keyboardassummarizedinTable4.Theplayerappswerecompiledusingthe
open-sourceApacheFlexSDK[5]fromXMLsourcefileswhichresideinthe
doc/
folderofthepackageinstallation.For‘StrobeMediaPlayback.swf’,onlya
patchfileisincluded,asthesourcescanbedownloadedelsewhere.
Theimprovementsof‘StrobeMediaPlayback.swf’incomparisiontotheoriginal
versiononSourceForge.netare
• fix: video couldnotbe restartedafterendof playback if ActionScript
variable‘
autoRewind
’issetto‘
false
• new:firstframeofvideoisshownasdefaultposterinsteadofblackstage
• new:play/pause videobyclickingonthestage(aswith‘VPlayer.swf’),
usefulinalecturesituation
Thereisnoneedtocopytheinstalledplayersintothedirectoryofthedocument
sourceforembedding.TheywillbefoundbyLAT
E
Xwithouttakinganyfurther
action.
LikeYouTubevideos,mediaplayersareconfiguredviaActionScriptvariables
whicharepassedusingoption‘
flashvars
’.Table5listsparametersavailablefor
‘VPlayer.swf’,‘APlayer.swf’and‘SlideShow.swf’,Table8for‘StrobeMediaPlay-
back.swf’.
PlaybackofembeddedvideofilesisshowninFig.2.Besidesembeddedfiles,
also videostreamedfromremoteserversviaHTTP andRTMP protocolsis
supported,asshowninFig.5.
SoundfilesandstreamsintheMP3formatcanbeplayedwith‘APlayer.swf’.
Fig.6containsexamplesofanaudiolivestreamandaremoteMP3soundfile.
Inoneofthesoundexamples,theplayerisloadedfromaCTANmirrorduring
runtimebecauseaninternetconnectionisrequiredanywayforstreamingthe
audio.IfalocalsoundfileistobeembeddedintothePDFthiswouldhaveto
bedoneinthesamewayaswiththevideofileinoneofthepreviousexamples
usingthe‘
addresource
’option.
Theslide-showapplication‘SlideShow.swf’requiresaconfigurationfileinthe
XMLfileformat.ItspecifiestheURLsfromwhichtheimageswillbeloaded
andmaycontainoptional settings,suchasimage captions,refreshintervals
forlive imagesandinitialrotation.Thesyntaxisdocumentedintheconfig-
urationfiletemplateinFig.3.Thefilenameof aconfigurationfileispassed
to‘SlideShow.swf’usingthe‘
xml
’ActionScriptvariable.Notethatforsecurity
reasonstheconfigurationfileand‘SlideShow.swf’mustresideonthesameserver
orbebothembeddedintothePDF.Otherwise,asecurityerrorwillbethrown
bytheFlashPlayerplugin.Aslide-showexampleisshowninFig.4.
‘VPlayer.swf’,‘APlayer.swf’and‘SlideShow.swf’exposeanumberofActionScript
functionstotheJavaScriptengineofAdobeReader,allowingforplaybackcontrol
ofmediathroughpushbuttons(seeSect.5.3)andvarioustriggerevents.The
functionsandtheircallingconventionarelistedinTables6and7.Fromwithin
JavaScript,thesefunctionscanbecalledusingthe‘
callAS
’(=callActionScript)
method of the
AnnotRichMedia
object. Asan example, a call to the ‘
seek
functionlookslike
19
annotRM.myvideo.callAS("seek", 12.3);
andacalltotheparameter-lessfunction‘
playPause
’like
annotRM.myvideo.callAS("playPause");
Bothfunctionscallsaresenttothemediainclusionthatwaslabelled‘
myvideo
usingthe‘
label
’optionof
\includemedia
.Anexampleofplayingandpausing
avideoclipandsettingthevideosourceviainteractivepushbuttonsisgivenin
Fig.2.
Table4:Keyboardcontrolofmediaplayers(a)‘VPlayer.swf’&‘APlayer.swf’,
(b)‘SlideShow.swf’.Playersmusthavethefocustotakeeffect.Clickontothe
playersifnecessary.
(a)
keys action
Space
play/pause
Home
,
End
gotostart/end
,
seekbackwards/forwards
,
decrease/increasespeakervolume
m
mute/unmute
ctrl
+
,
ctrl
+
,
ctrl
+
(APlayer.swfonly)changesoundspeaker
balance
(b)
keys action
Space
play/pauseauto-cyclingthroughslides
,
previous/nextslide
Home
,
End
gotofirst/lastslide
r
,
R
right/leftrotatecurrentslideby90°
Documents you may be interested
Documents you may be interested