0 Replies Latest reply: Sep 5, 2013 12:18 AM by urkooo RSS

    Insert .swf in .fla

    urkooo Community Member

      Hello,

       

      I take one program to make slides because normally I don't work with FLASH, and now I wan't to create a new .fla who contents a lot of that swf's.

       

      I tried with:

      - Actionscript 2.0:

      · myMovieClipInstance.loadMovie("puertas/puertas.swf");

      · var myLoader:MovieClipLoader = new MovieClipLoader(); myLoader.loadClip("puertas/puertas.swf", myContainer);

      - Actionscript 3:

      · loader.load(URLRequest("puertas/puertas.swf"), context); loader.x=Xpos; loader.y=Ypos; addChild(loader);

      · var context:LoaderContext = new LoaderContext(false, new ApplicationDomain()); var loader:Loader=new Loader(); var defaultSWF:URLRequest=new URLRequest("reformas.swf"); loader.contentLoaderInfo.addEventListener(Event.COMPLETE, onComplete); loader.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS, onProgress); loader.load(defaultSWF, context); loader.x=Xpos; loader.y=Ypos; addChild(loader);

       

      Putting created .swf in the same directory, outside... I fail to address this development. Can someone help me?

       

      DOWNLOAD one of the SWF TO LINK

       

      Best regards

       

      PD: The code may be in wrong place?

      noname.jpgnoname2.jpg

       

      PD2: Finally HTML5 · CSS3 and JQUERY saved me