.removeEventListener(Event.ENTER_FRAME  is not working please help

hey guys... so i have a new problem... basically im trying to load a swf, and for this swf to load properly i need to pass it an id, and when the swf, after using the id gets all the necessary data, sets a variable called loadCompleted to true
The problem is after my code encounters the loadComplete == true, it adds an image of that swf to my tileList, and it adds a million of these images, indicating that my event never got removed.... any ideas??
i have the following code
private function swfLoaded(event:Event):void{
     trace("-------------> in function swfloader");
     childSwf = new MovieClip();
     childSwf = event.target.content;
     childSwf.init(name[1]);
     childSwf.addEventListener(Event.ENTER_FRAME, compFrameEntered);
private function compFrameEntered(event:Event):void{
     if(childSwf.currentFrame == childSwf.totalFrames){
          if(event.target.loadComplete == true){
               trace("<<<<< load complete: " + event.target.loadComplete);
               childSwf.removeEventListener(Event.ENTER_FRAME, compFrameEntered);
               var myClip:MovieClip = event.target as MovieClip;
               var imageBitmapData:BitmapData = ImageSnapshot.captureBitmapData(myClip);
               var imgData:Bitmap = new Bitmap(imageBitmapData);
               slideImages.addItem(imgData);
               trace("load complete company ");
it not only adds a million same images, but it also displays "load complete company" a million times....
any ideas?? any help is greatly appretiated! ive been having this problem for a couple of days now

hi,
It seems they have changed how it works,
https://acrobat.com/    when I go here it is automatically logged me in to a page that allowed me to start a meeting
David

Similar Messages

Maybe you are looking for

  • Java JCo SAP XI RFC SAP R/3 6.C ... Unicode issue

    Hello, My scenario is very simple. I'd like to connect a Java program to a SAP R/3 (MDMP) for RFC calls (in both direction), using SAP XI (some of the RFC calls will redirected to some other systems). I use SAP JCo v2.1.8 and tried with Java 1.4.2_09

  • Online update in FM, SAP 6.0

    Hi people, We are using online update of payment in SAP 6.0 as default for new customers. However i can't find the right combination of commitment item to address the following business process. I need to post travel expenses and travel advances that

  • Xi tables

    Hi, How can we find tables related to XI message processing. Thanks ---Pradeep

  • Printing Scrolled Field Data

    I have a form I'm creating for coworkers who will only be able to access it using Acrobat Reader. Is there a way to write a code for a Print button that would print filed data only? We need to have the forms print out with all data that may not be vi

  • Can get Xcode 4 to install?

    I can't seem to get Xcode 4 to install. I get this error, "The installer encountered an error that caused the installation to fail.  Please consult /var/log/intall.log for more details." The following is what the install.log says: Jul 28 12:49:25 lar