diff options
Diffstat (limited to 'Master/texmf-dist/source/latex/media9/players/APlayer.mxml')
-rw-r--r-- | Master/texmf-dist/source/latex/media9/players/APlayer.mxml | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Master/texmf-dist/source/latex/media9/players/APlayer.mxml b/Master/texmf-dist/source/latex/media9/players/APlayer.mxml index 9be181f2f5d..263123a369d 100644 --- a/Master/texmf-dist/source/latex/media9/players/APlayer.mxml +++ b/Master/texmf-dist/source/latex/media9/players/APlayer.mxml @@ -4,7 +4,7 @@ <!-- a FlashPlayer-10 compatible component for playing --> <!-- MP3 audio files and streams. --> <!-- --> -<!-- version 20150511 --> +<!-- version 20150601 --> <!-- --> <!-- --> <!-- The free Apache Flex 4 SDK is required to compile --> @@ -39,7 +39,7 @@ <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" xmlns:mx="library://ns.adobe.com/flex/mx" - preinitialize="initialise(FlexGlobals.topLevelApplication.parameters);" + preinitialize="initialise(this.parameters);" applicationComplete="initSound();addEventListeners(); fadeTargets=new Array(playProgress, caption);" creationComplete="initCallBacks();initContext();" @@ -76,7 +76,6 @@ private var keyPressed:Boolean=false; private var mouseIsOver:Boolean=false; - import mx.core.FlexGlobals; private function initialise(flashVars:Object):void { source=flashVars.source; if(flashVars.policy) policy=flashVars.policy; |