1 Reply Latest reply on Mar 11, 2010 5:22 PM by bringrags

    Timeline SWF playback

    Justin H. Johnson

      Will it be possible to treat timeline-based SWFs as MediaElements with Temporal traits? None of the OSMF examples show an animated SWF being controlled by OSMF. Using the sprint 10 release, I'm trying to control a CS3 timeline-based SWF to no avail. Here is the code I'm using:

       

      function():MediaElement
                                   {
                                       var element:ProxyElement = new ProxyElement(new DurationElement(11, new SWFElement(new URLResource("../assets/simple-as3-animation.swf"))));
                                  return element;
                                   }

       

      Thoughts?