Click here to Skip to main content
15,888,579 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello..,
i am getting following error in my flex application,i could not find where this error occur. what could be the possible reason for this error


TypeError: Error #1009: Cannot access a property or method of a null object reference.
at mx.controls::SWFLoader/contentHolder_addedHandler()[E:\dev\4.x\frameworks\projects\framework\src\mx\controls\SWFLoader.as:2543]

Thanks.
Posted

the parent object you're trying to access is null. init the object, than you can access it's methods.
 
Share this answer
 
Can i have a sample code so that i can understand what's going on....
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900