0 Replies Latest reply on Oct 30, 2009 11:27 AM by rfrishbe

    [svn:fx-trunk] 11316: Fixing VideoPlayer bug: when VideoPlayer is inside a Vbox and is returning from full-screen mode, it RTEs.

    rfrishbe Level 3

      Revision: 11316

      Author:   rfrishbe@adobe.com

      Date:     2009-10-30 11:27:07 -0700 (Fri, 30 Oct 2009)

       

      Log Message:

      ***********

      Fixing VideoPlayer bug: when VideoPlayer is inside a Vbox and is returning from full-screen mode, it RTEs.  At this point, the VideoPlayer was a direct descendent of the Application, but now it?\226?\128?\153s getting added back to it?\226?\128?\153s parent.  If that parent is a Halo container and the Application is a Spark Application, it will RTE because the Halo container will try to call removeChild() on the Spark Application.  Instead, I just handle the removing of the component in the VideoPlayer code and call removeElement() when appropriate.

       

      QE notes: -

      Doc notes: -

      Bugs: SDK-23857

      Reviewer: Glenn

      Tests run: checkintests, mustella VideoPlayer

      Is noteworthy for integration: No

       

      Ticket Links:

      ************

          http://bugs.adobe.com/jira/browse/SDK-23857

       

      Modified Paths:

      **************

          flex/sdk/trunk/frameworks/projects/spark/src/spark/components/VideoPlayer.as