On Tue, Dec 30, 2008 at 2:55 AM, Kearney Buskirk
<[email protected]> wrote:
> The problem: from buttons in Flex, how to control going to a frame or frame
> label in a timeline, in a SWF made in Flash 9, which is then loaded into a
> Flex project by a SWFLoader component. There will be buttons for next and
> previous. Each frame to be accessed by a corresponding State in Flex.
> How to refer to and interact with the contents of a SWF loaded into Flex?

  <mx:SWFLoader source="someSWFMovie.swf" id="swfMovie" />

  // Later ...
  var mc:MovieClip = swfMovie.content as MovieClip;
  mc.goToAndPlay(1);

I believe that's how you'd do it.

Manish

Reply via email to