Jump to content
Search Community

_cropContainer null

bertusvandalen test
Moderator Tag

Recommended Posts

hi Jack,

 

In this case the loaded swf offers its root by itself to a framework. It seems that an error can occur because _cropContainer is null however at the same time _rawContent need not have a parent. So I added a not null check to the _cropContainer in the public setter for _rawContent of the ContentDisplay class; no error occurs and thread is run.

 

 

added: && _cropContainer != null

 

else if (_rawContent.parent == _cropContainer && _cropContainer != null) {

_cropContainer.removeChild(_rawContent);

 

with greetings

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...