Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
Adobe Flex SDK Previous
-
None
-
Affected OS(s): All OS Platforms
Language Found: English
Description
Steps to reproduce:
1. Place the attached swc in the libs directory of your Flash Builder project.
2. create an Application using a movieClip from the swc as the source of a MovieClipSWFLoader.
<?xml version="1.0" encoding="utf-8"?>
<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" minWidth="955" minHeight="600">
<fx:Script>
<![CDATA[
private function getCurrentFrame(): void
{ frameLabel.text = "currentFrame: " + String(myMovie.movieClip.currentFrame); } ]]
>
</fx:Script>
<s:MovieClipSWFLoader id="myMovie" source="
" autoStop="true"/>
<s:Button x="81" y="41" label="play" click="myMovie.play();getCurrentFrame()"/>
<s:Button x="170" y="41" label="stop" click="myMovie.stop();getCurrentFrame()"/>
<s:Label x="483" y="41" text="currentFrame:" id="frameLabel"/>
</s:Application>
Actual Results: Even though autoStop=true, the movie is playing upon load.
Expected Results: The movie should stop.
Workaround (if any):