1 Reply Latest reply on Jun 8, 2010 7:30 PM by bringrags

    SWFElement in Serialelement

    funkysoul Level 4

      ok, I just wanted to add a short timelineanimation I did into an OSMF serialelement, if I use the the new SWFelement() method, the swf is not being displayed at all, if I pack the SWFElement into a DurationElement I can see the SWF, but the size is completly wrong, looks to me like a default square size of 20x20 or similar.


      Below the code I'm using:


      var swfEl:DurationElement = new DurationElement( 5, new SWFElement( new URLResource( video.preRoll ) ) );
      serialElement.addChild( swfEl );


      Any ideas what I could be doing wrong?


      Thanks for any help