Uploaded image for project: 'Apache Flex'
  1. Apache Flex
  2. FLEX-24388

unloadAndStop stops all sounds if the unloaded instance is behind (z-order) another instance of the same swf

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • Adobe Flex SDK 4.1 (Release)
    • None
    • mx: SWFLoader
    • None
    • Affected OS(s): Mac
      Affected OS(s): Mac OS 10.6
      Browser: Safari
      Language Found: English

    Description

      Steps to reproduce:
      1.Create a Flex application like this one:
      <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">
      <mx:SWFLoader id="ld" source="[Animation with sound]" x="200"/>
      <mx:SWFLoader id="ld2" source="[Animation with sound]"/>
      <s:Button click="ld.unloadAndStop();" label="UnloadAndStop"/>
      </s:Application>
      2. Set the source of ld and ld2 swfloader instances to the same swf animation (use a animation that contains sounds)
      3. Clique on the unloadAndStop button
      4. There is no problem when the ld2 instance is behind ld. Like this:
      <mx:SWFLoader id="ld2" source="[Animation with sound]"/>
      <mx:SWFLoader id="ld" source="[Animation with sound]" x="200"/>

      Actual Results:
      After the unloadAndStop call the animation ld2 stops playing the sounds

      Expected Results:
      The sound of the unloaded animation should stop but not the sound of the ld2 instance

      Workaround (if any):

      Attachments

        Activity

          People

            Unassigned Unassigned
            adobejira Adobe JIRA
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: