Adobe Flex Error #1009
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings
Adobe Flash Error 1009
and policies of this site About Us Learn more about Stack Overflow adobe flash player error 1009 the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags adobe actionscript typeerror error 1009 Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only
Adobe Flash Error 2060
takes a minute: Sign up Flex:how to solve Error #1009: Cannot access a property or method of a null object reference up vote 0 down vote favorite May I know how to solve the error that occur when need to import .as file into main.mxml file ? the .as file is using stagevideo function, the output is display in AIR
Cannot Access A Property Or Method Of A Null Object Reference As3
window. May I know which part I miss up? Thank you and I appreciate if there are anyone able to help me. Thank you
here for a quick overview of the site Help Center Detailed answers to any questions you error #1009: cannot access a property or method of a null object reference. might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 http://stackoverflow.com/questions/20296237/flexhow-to-solve-error-1009-cannot-access-a-property-or-method-of-a-null-obje million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Flex Error #1009: Cannot access a property or method of a null object reference up vote 3 down vote favorite I'm getting error while running a game I created with flex. I know there has been some http://stackoverflow.com/questions/5922860/flex-error-1009-cannot-access-a-property-or-method-of-a-null-object-reference question about this, but my case is quite weird. I created a simple typing game that is running OK on my computer, but when I tried to deploy it online to facebook, I got those errors. I used code from the tutorial from adobe here http://www.adobe.com/devnet/facebook/articles/flex_fbgraph_pt4.html to deploy my flex game to facebook This is the error message: TypeError: Error #1009: Cannot access a property or method of a null object reference. at FacebookUserStatusWeb/init() at FacebookUserStatusWeb/___FacebookUserStatusWeb_Application1_creationComplete() at flash.events::EventDispatcher/dispatchEventFunction() at flash.events::EventDispatcher/dispatchEvent() at mx.core::UIComponent/dispatchEvent() at mx.core::UIComponent/set initialized() at mx.managers::LayoutManager/doPhasedInstantiation() at mx.managers::LayoutManager/doPhasedInstantiationCallback() And here is snippet of the init() function: protected var text1:String="Text to be typed"; //hard-coded temporarily protected const TIMER_INTERVAL:int = 10; protected var t:Timer = new Timer(TIMER_INTERVAL); protected var topURL:String=ExternalInterface.call('top.location.toString'); protected function init():void { t.addEventListener(TimerEvent.TIMER, updateTimer); ProblemText.text = new String(text1); Facebook.init("
without it enabled. Please turn JavaScript back on and reload this page.All Places > GIS > Applications > ArcGIS https://geonet.esri.com/thread/63054 Viewer for Flex > DiscussionsLog in to create and rate content, and to follow, bookmark, and share content with other members.AnsweredAssumed AnsweredError #1009: Cannot access a property or method of a null object reference.Question asked by albertda on Nov 14, 2012Latest reply on Nov 14, adobe flash 2012 by albertda Like • Show 0 Likes0 Comment • 7After compiling my project and running the flex viewer, all of the widgets work except for one. With one particular widget, I am geitting a WidgetManager.mxml error. I get this error message:TypeError: Error #1009: Cannot access adobe flash error a property or method of a null object reference. at com.esri.viewer.managers::WidgetManager/createWidget()[LOCAL_PATH\Flex_Workspace\FlexViewer_3\FlexViewer_COPY\s rc\com\esri\viewer\managers\WidgetManager.mxml:407] at com.esri.viewer.managers::WidgetManager/runWidget()[LOCAL_PATH\Flex_Workspace\FlexViewer_3\FlexViewer_COPY\src\ com\esri\viewer\managers\WidgetManager.mxml:457] at com.esri.viewer.managers::WidgetManager/widgetReadyHandler()[LOCAL_PATH\Flex_Workspace\FlexViewer_3\FlexViewer_ COPY\src\com\esri\viewer\managers\WidgetManager.mxml:525] at flash.events::EventDispatcher/dispatchEventFunction() at flash.events::EventDispatcher/dispatchEvent() at ModuleInfoProxy/moduleEventHandler() at flash.events::EventDispatcher/dispatchEventFunction() at flash.events::EventDispatcher/dispatchEvent() at ModuleInfo/readyHandler() at flash.events::EventDispatcher/dispatchEventFunction() at flash.events::EventDispatcher/dispatchEvent() at mx.core::FlexModuleFactory/update() at mx.core::FlexModuleFactory/docFrameHandler() at mx.core::FlexModuleFactory/docFrameListener()Any ideas? This widget will compile properly on another users computer and in fact that user provide a functioning swf file for me using the exact same code. I've loaded a fresh flex viewer project, updated software, made sure the flex sdk is the same as the other user's. I'm not sure what else to do.Thanks!albertda Nov 14, 2012 11:43 AMCorrect AnswerThanks for the suggestions. And Rhett, I did modify the file paths. It turns out the widget was originally built in Flash Builder application version 4.6 and I was trying to compile with 4.0.0.