I am new to swfmill and have two questions.

First, is there a way to search the archives for a subject. I don't want to 
post a question that has been already answered but I can't find any way to 
research it (without reading the whole list).

Second, my problem I am seeking assistance with:

I have a swf file that contains 12 frames. When I follow the examples provided 
by Mark Winterhalder's Using swfmill to create SWFs without Flash, I end up 
with a single frame SWF that contains all 12 of my original SWF files frames. I 
am trying to print the first frame and then with a second print request frames 
2 thru 12. I am using the activeX component flash9b.ocx under Windows XP.

Regards,
Joe Donth


My three files are as follows:

application.xml
<?xml version="1.0" encoding="iso-8859-1"?>
<!--<clip id="PeeingDog" class="PeeingDog" import="src/library/PeeingDog.swf" 
/> -->

<movie version="8" width="240" height="170" framerate="30">
 <background color="#ffffff"/>
 <clip import="build/classes.swf" />
 <frame>
  <library>
   <clip id="Application" class="Application" />
   <clip id="PeeingDog" class="PeeingDog" import="src/library/flash_vb.swf" />
  </library>
  <place id="Application" name="app" x="0" y="0" depth="1000" />
 </frame>
</movie>

application.as
class Application extends MovieClip {
 function onLoad (){
  attachMovie ("PeeingDog", "peeingDog", 1000);
 }
}

peeingdog.as
import flash.external.ExternalInterface;

class PeeingDog extends MovieClip {
 var dateField:TextField;

 function PeeingDog(){
  createTextField("dateField",1,0,0,100,25);
  dateField.text = "";
  if(ExternalInterface.available){
   ExternalInterface.addCallback("callMe", this, callMe);
   ExternalInterface.addCallback("DoPrint", this, DoPrint);
  }
 }

 function callMe(value) {
  dateField.text = value;
 }
 
 function onLoad(){
  ExternalInterface.call("Ready");
 }

 function DoPrint(value){
  dateField.text = value;
  print(PeeingDog,"bframe");
 }
}
_______________________________________________
swfmill mailing list
swfmill@osflash.org
http://osflash.org/mailman/listinfo/swfmill_osflash.org

Reply via email to