report an item that has been removedco

Here is the code I have a problem with:

function offNav(e:MouseEvent):void {}

If (mouseX > = 0 & & mouseY > = 0 & & mouseX < = 36.45 & & mouseY < = 325) {}

TweenLite.to(navPanel,.5,{x:0});)

TweenLite.to(home_btn,.5,{x:15.65});)

TweenLite.to(work_btn,.5,{x:11.5});)

TweenLite.to(contact_btn,.5,{x:-11.4});)

TweenLite.to(graphic_btn,.5,{x:192});)

TweenLite.to(illustration_btn,.5,{x:192});)

TweenLite.to(fineArt_btn,.5,{x:192});)

TweenLite.to(jewelry_btn,.5,{x:192});)

TweenLite.to(resume_btn,.5,{x:192});)

TweenLite.to(divider_mc,.5,{x:185.45});)

TweenLite.to(artsBkg_mc,.5,{x:189});)

TweenLite.to(blog_btn,.5,{x:50.65});)

setChildIndex (board, numChildren-1);

setChildIndex (graphic_btn, numChildren-1);

setChildIndex (illustration_btn, numChildren-1);

setChildIndex (fineArt_btn, numChildren-1);

setChildIndex (jewelry_btn, numChildren-1);

setChildIndex(artsBkg_mc,1);

If (smallImg_mc.visible! == false) {}

setChildIndex(smallImg_mc,1);

setChildIndex (logo, 1);

          }

setChildIndex (logo, 1);

     }

}

The problem is with smallImg_mc. Later, when clicked, it is removed using removeChild (smallImg_mc) and my question is how the signal through an if statement where it says

If (smallImg_mc.visible! == false) {}

setChildIndex(smallImg_mc,1);

setChildIndex (logo, 1);

}

He is originally from annoying output errors

If you want to check if a displayobject has been removed from the display list that you can use:

{if(smallImg_mc.stage==null)}

It was removed

} else {}

It is not deleted

}

or

{if(smallImg_mc.stage!=null)}

It is not deleted

} else {}

deleted

}

Tags: Adobe Animate

Similar Questions

Maybe you are looking for

  • On the A30 satellite infrared

    I ve recently bought a mobilphone with infrared device. CAN´t to "communicate" with my laptop Satellite A30. Now I wonder if my satellite can do infrared communication at all? How can I check this?

  • Ringtones for my 6 of my iTunes music library

    How to make ringtones for my 6 s of my iTunes music library? I followed a method I Googled, but it does not work. I'm on Windows 10.

  • 18368834.exe is the Security Tool file infect my computer.

    Security Tool Virus has disappeared... but a regedit search showed me that the number associated with the '18368834' virus RASAP132 under HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Tracing\18368834_RASAP132 is some sort of Trojan resident?  It

  • jQuery Ajax error on device but works in Chrome

    Hello I make one an Ajax call for asp.net page on jQuery http://somewebserver/leap.aspx. When I run my application of http://localhost:53754 / index.html in Google Chrome, it works fine, no errors. But when I build and install it on BB Z30 in debug m

  • Routemapinvoker function call address?

    Passing by the example of https://github.com/blackberry/Cascades-Samples/tree/master/routemapinvoker , I can call reliable for navigation based on GPS coordinates. I can't seem to get the application to work if I want to just navigate to an address {