TypeError: Error #1009: Cannot access a property or method of a null object reference.
at views::#ProjectNameLoginView/onLogin()[C:\Users\Main\Adobe Flash Builder 4.6\#ProjectName\src\views\#ProjectNameLoginView.mxml:28]
at com.facebook.graph::FacebookMobile/handleUserLoad()[C:\Users\Main\Adobe Flash Builder 4.6\#ProjectName\src\com\facebook\graph\FacebookMobile.as:489]
at com.facebook.graph.core::AbstractFacebook/handleRequestLoad()[C:\Users\facebookGraphApi\api\com\facebook\graph\core\AbstractFacebook.as:248]
at com.facebook.graph.net::AbstractFacebookRequest/dispatchComplete()[C:\Users\facebookGraphApi\api\com\facebook\graph\net\AbstractFacebookRequest.as:290]
at com.facebook.graph.net::AbstractFacebookRequest/handleURLLoaderIOError()[C:\Users\facebookGraphApi\api\com\facebook\graph\net\AbstractFacebookRequest.as:316]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at flash.net::URLLoader/onComplete()
Code I use(if you call the logout from another view then the error occures):
}
--
You received this message because you are subscribed to the Google Groups "facebook-actionscript-api" group.
To unsubscribe from this group and stop receiving emails from it, send an email to facebook-actionscr...@googlegroups.com.
To post to this group, send email to facebook-act...@googlegroups.com.
Visit this group at http://groups.google.com/group/facebook-actionscript-api?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
ew it works fine, you got any idea why it will not let it create a new rectangle object when it reloads the view?