Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
Adobe Flex SDK 4.5 (Release)
-
None
-
Affected OS(s): All OS Platforms
Language Found: English
Description
Steps to reproduce:
1. Load the bugfile with the following code:
<?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="@Embed(source='test.swf')" 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:Button x="259" y="41" label="gotoFirstFrameAndStop" click="myMovie.gotoFirstFrameAndStop();getCurrentFrame()"/>
<s:Label x="483" y="41" text="currentFrame:" id="frameLabel"/>
</s:Application>
Actual Results: Even though autoStop="true", the movie is playing at start up. If you do not embed the asset, autoStop works correctly.
Expected Results: The movie should not play upon loading.
Workaround (if any):