Error #1009, Is this a bug?

I am using latest build of TLF (418),  when I tried to bind textFlows to the textFlow setter in SimpleEditorPanel(the Adobe example), the textFlows are from an ArrayCollection, the binding looks like:
<local:SimpleEditorPanel id="simpleEditor"
                    textFlow="{TextFilter.importToFlow(this.myModel.userResponse.pageContent.getItemAt(this.m yModel.userResponse.currentPageNum).content, TextFilter.TEXT_LAYOUT_FORMAT)}" />
Basically, I need to dynamically add pages, each page stores in a textFlow,
I also added a listener to listen the damageEvent, if a textFlow's got changed, then the listener function exports the textFlow to the ArrayCollection,
I've got the following error when I tried to edit a textflow:
TypeError: Error #1009: Cannot access a property or method of a null object reference.
    at flashx.textLayout.edit::EditManager/finalizeDo()
    at flashx.textLayout.edit::EditManager/doOperation()
    at flashx.textLayout.edit::EditManager/flushPendingOperations()
    at flashx.textLayout.edit::SelectionManager/enterFrameHandler()
Is this a bug? any suggestions to work around?
Thanks in advance.

When a TextFlow is deepCopied the new returned TextFlow will have a flowComposer created using the origianl's configuration.  The configuration specifies a flowComposerClass and a flowComopser of that class is created.  No interactionManager is created.  That's by design.
When a TextFlow is us create a TextScrap for a clipboard the flowComposer is nulled.  That's the only place I know of where we clear the flowComposer.  That's also by design - a flowComposer isn't useful on the clipboard at this time.
I don't understand the ArrayCollection issue from the description.  Do you have a code snippet that demonstrates the flowComposer getting nulled by TLF?
Best Regards,
Richard

Similar Messages

  • Msvcr80.dll error is this a bug.  Will Apple provide a fix?

    I recieved a message for an updated version of itunes.  However, after installing the newer version, itunes stopped working and began sending a MSVCR80.dll error.   Is this a bug?   Is Apple aware of how many users this is impacting?   Will Apple provide a fix?  This is unacceptable.

    Try the following user tip:
    Troubleshooting issues with iTunes for Windows updates
    (Yes, the trouble with the iTunes for Windows 11.1.4.62 installers is affecting a lot of people.)

  • Custom itemRenderer component based on cell value: error 1009

    I'm working on an item renderer for a dataGrid that has different states depending on the cell and row values.
    The cell value is a toggle (true or null), and sets whether content should be shown in the cell or not
    The row properties determine what is shown when the cell value is true.
    The dataGrid dataProvider is populated based on user id input.
    I created the itemRenderer as a custom actionscript component, closely following this example:
    360Flex Sample: Implementing IDropInListItemRenderer to create a reusable itemRenderer
    However, my component results in Error #1009 (Cannot access a property or method of a null object reference) when a user id is submitted.
    package components
         import mx.containers.VBox;
         import mx.controls.*;     import mx.controls.dataGridClasses.DataGridListData;
         import mx.controls.listClasses.BaseListData;
         import mx.core.*;
         public class toggleCellRenderer extends VBox
              public function ToggleCellRenderer()
              {super();}
              private var _listData:BaseListData;   
                   private var cellState:String;
                   private var cellIcon:Image;
                   private var imagePath:String;
                   private var imageHeight:int;
                   private var qty:String = data.qtyPerTime;
                   private var typ:String = data.type;
              public function get listData():BaseListData
                   {return _listData;}
              public function set listData(value:BaseListData):void
                   {_listData = value;}
              override public function set data(value:Object):void {
                   super.data = value;
                   if (value != null)
                   //errors on next line: Error #1009: Cannot access a property or method of a null object reference.
                   {cellState = value[DataGridListData(_listData).dataField]}
              override protected function createChildren():void {
                   removeAllChildren();
                   if(cellState=='true'){
                        cellIcon = new Image();
                        addChild(cellIcon);
                   //there is another state here that adds another child...
              //next overrides commitProperties()...
    There are no errors if I don't use an itemRenderer--the cells correctly toggle between "true" and empty when clicked.
    I also tried a simple itemRenderer component that disregards the cell value and shows in image based off row data--this works fine without errors or crashing. But I need to tie it to the cell value!
    I have very limited experience programming, in Flex or any other language. Any help would be appreciated.

    Your assumption that the xml file either loads with "true" or nothing  is right.
    After modifying the code to the following, I don't get the error, but it's still not reading the cell value correctly.
    package components
         import mx.containers.VBox;
         import mx.controls.*;   
         import mx.controls.dataGridClasses.DataGridListData;
         import mx.controls.listClasses.BaseListData;
         import mx.core.*;
         public class toggleCellRenderer extends VBox
              public function ToggleCellRenderer()
               super();
              private var _listData:BaseListData;   
              private var cellState:Boolean;
              private var cellIcon:Image;
              private var imagePath:String;
              private var imageHeight:int;
              private var qty:String;
              private var typ:String;
               public function get listData():BaseListData
                 return _listData;
              override public function set data(value:Object):void {
                   cellState = false;
                   if (listData && listData is DataGridListData && DataGridListData(listData).dataField != null){
                       super.data = value;
                       if (value[DataGridListData(this.listData).dataField] == "true"){
                           cellState = true;
              override protected function createChildren():void {
                   removeAllChildren();
                   if(cellState==true){
                        cellIcon = new Image();
                        addChild(cellIcon);
                   //there is another state here that adds another child...
              //next overrides commitProperties()...
    - didn't set the value of qty or typ in the variable declarations (error 1009 by this too--I removed this before but wanted to point out in case its useful)
    - added back in the get listData() function so I could use the listData
    - changed the null check
    All cells are still returning cellState = false when some are set to true, even if I comment out [if (value[DataGridListData(this.listData).dataField] == "true")] and just have it look for non-null data. That shouldn't make a difference anyway, but it confirms that all cells are returning null value.
    Swapping out the first if statement in set data with different variables results in the following:
    [if (listData != null)]  all cells return null (cellState=false for all)
    both [if (value != null)] and  [if (DataGridListData != null)]  results in error 1009 on a line following the if, so I assume they return non-null values.
    All rows have data, just not all fields in all rows, so shouldn't listData be non-null?  Could it be that the xml file hasn't fully loaded before the itemRenderer kicks in?
    I also realized  I had removed the item renderer from many of the columns for testing, and since some columns are hidden by default only one column in the view was using the itemRenderer--hence the single alert per row I was worried about earlier.
    Thanks for your help so far.

  • Mail does not create new emails based on the highlighted mailbox, but rather the receiving mailbox of whatever individual email happens to be highlighted. This was not the case prior to Lion. Is this a bug or an error on my part?

    Mail does not create new emails based on the highlighted mailbox, but rather according the receiving mailbox of whatever individual email happens to be highlighted. This was not the case prior to Lion. Is this a bug or an error on my part? (I do have the setting for creating new emails from the highlighted mailbox checked.)

    The questions about time was not only because of thinking about the Time Machine, but also possible impact on recognizing which messages remaining on a POP server (doesn't apply to IMAP) have been already downloaded. In the Mail folder, at its root level, in Mail 3.x there is a file named MessageUidsAlreadyDownloaded3 that should prevent duplicate downloading -- some servers may not communicate the best with respect to that, and the universal index must certainly be involved in updating that index file. If it corrupts, it can inhibit proper downloading. However, setting the account up in a New User Account and having the same problem does not point that way, unless your POP3 server is very different from most.
    That universal index is also typically involved when messages are meant to be moved from the Inbox to another mailbox -- in Mail 3.x the message does not move, but rather is copied, and then erased from the origin mailbox. That requires updating the Envelope Index to keep track of where the message is, and should keep track of where it is supposed to have been removed after the "Move".
    Ernie

  • Could somebody explain why I am getting this Error #1009 message?

    Hi. I am following a tutorial on lynda.com in hopes of learning how to use actionscript 3.0 and my copy of flash CS4 to create games. I wrote my code exactly like it showed in the tutorial, but for some reason I will occasionally receive an error that says
    "TypeError: Error #1009: Cannot access a property or method of a null object reference.
    at Monster/die()
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at fl.motion::AnimatorBase/end()
    at fl.motion::AnimatorBase/handleLastFrame()
    at fl.motion::AnimatorBase/nextFrame()
    at fl.motion::AnimatorBase/handleEnterFrame()"
    It doesn't happen all the time but it will every once in a while. There doesn't really seem to be anything specifically that triggers it either. I also happened to notice that not all of the enemies respond to being clicked on. I don't know if these two things are related or not. I don't know if the error is caused by the code for the monster library item or the code for the main timeline. Thank you in advance for looking at my code.
    This is my code for the monster library item:
    import fl.motion.Animator;
    import fl.motion.MotionEvent;
    var this_xml:XML = <Motion duration="30" xmlns="fl.motion.*" xmlns:geom="flash.geom.*" xmlns:filters="flash.filters.*">
    <source>
      <Source frameRate="10" x="275" y="200" scaleX="1" scaleY="1" rotation="0" elementType="movie clip" symbolName="monster">
       <dimensions>
        <geom:Rectangle left="-32.5" top="-32.95" width="65.05" height="65.95"/>
       </dimensions>
       <transformationPoint>
        <geom:Point x="0.49961568024596464" y="0.49962092494313876"/>
       </transformationPoint>
      </Source>
    </source>
    <Keyframe index="0" tweenSnap="true" tweenSync="true">
      <tweens>
       <SimpleEase ease="0"/>
      </tweens>
    </Keyframe>
    <Keyframe index="29" tweenSnap="true" tweenSync="true" scaleX="2.782" scaleY="2.697">
      <tweens>
       <SimpleEase ease="0"/>
      </tweens>
    </Keyframe>
    </Motion>;
    var this_animator:Animator = new Animator(this_xml, this);
    this_animator.play();
    this_animator.addEventListener(MotionEvent.MOTION_END, hurtPlayer);
    function hurtPlayer(MotionEvent):void
    var main:MovieClip = MovieClip(this.parent.parent);
    main.decreaseEnergy();
    this.parent.removeChild(this);
    this.addEventListener(MouseEvent.CLICK, killMonster);
    function killMonster(event:MouseEvent):void
    this_xml = <Motion duration="5" xmlns="fl.motion.*" xmlns:geom="flash.geom.*" xmlns:filters="flash.filters.*">
    <source>
      <Source frameRate="10" x="275" y="200" scaleX="1" scaleY="1" rotation="0" elementType="movie clip" symbolName="monster" class="Monster">
       <dimensions>
        <geom:Rectangle left="-32.5" top="-32.95" width="65.05" height="65.95"/>
       </dimensions>
       <transformationPoint>
        <geom:Point x="0.49961568024596464" y="0.49962092494313876"/>
       </transformationPoint>
      </Source>
    </source>
    <Keyframe index="0" rotateDirection="cw" rotateTimes="1" tweenSnap="true" tweenSync="true">
      <tweens>
       <SimpleEase ease="0"/>
      </tweens>
    </Keyframe>
    <Keyframe index="4" rotateDirection="cw" rotateTimes="1" tweenSnap="true" tweenSync="true" scaleX="0.416" scaleY="0.378">
      <color>
       <Color alphaMultiplier="0"/>
      </color>
      <tweens>
       <SimpleEase ease="0"/>
      </tweens>
    </Keyframe>
    </Motion>;
    this_animator = new Animator(this_xml, this);
    this_animator.play();
    this_animator.addEventListener(MotionEvent.MOTION_END, die);
    function die(event:MotionEvent):void
    var main:MovieClip = MovieClip(this.parent.parent);
    main.increaseScore();
    this_animator.removeEventListener(MotionEvent.MOTION_END, hurtPlayer);
    this.parent.removeChild(this);
    This is my code for the main timeline:
    var monstersInGame:uint;
    var monsterMaker:Timer;
    var container_mc:MovieClip;
    var cursor:MovieClip;
    var score:int;
    var energy:int;
    function initializeGame():void
    monstersInGame = 10;
    monsterMaker = new Timer(1000, monstersInGame);
    container_mc = new MovieClip;
    addChild(container_mc);
    monsterMaker.addEventListener(TimerEvent.TIMER, createMonsters);
    monsterMaker.start();
    cursor = new Cursor();
    addChild(cursor);
    cursor.enabled = false;
    Mouse.hide();
    stage.addEventListener(MouseEvent.MOUSE_MOVE, dragCursor);
    score = 0;
    energy = energy_mc.totalFrames;
    energy_mc.gotoAndStop(energy);
    function dragCursor(event:MouseEvent):void
    cursor.x = this.mouseX;
    cursor.y = this.mouseY;
    function createMonsters(event:TimerEvent):void
    var monster:MovieClip;
    monster = new Monster();
    monster.x = Math.random() * stage.stageWidth;
    monster.y = Math.random() * stage.stageHeight;
    container_mc.addChild(monster);
    function increaseScore():void
    score ++;
    if(score >= monstersInGame)
      monsterMaker.stop();
    function decreaseEnergy():void
    energy --;
    if(energy <= 0)
      monsterMaker.stop();
    else
      energy_mc.gotoAndStop(energy);
    initializeGame();

    Ok. Apparently, I didn't test it enought times to get the error. I went back and tested it again to get the error. When I did this, the
    trace(this); revealed [object Monster]
    and
    trace(this.parent); revealed [object MovieClip].
    The only one that was different was the one that gave the error. For that one the
    trace(this); revealed [object Monster]
    and
    trace(this.parent); revealed null.
    Then it gave all of the error information.

  • How I can fix this error 1009 ???

    i'm living in syria always i got the error code 1009 so i can't download app from app store

    It sounds like Syria is blocking you. This might help
    http://www.beshrkayali.com/blog/2009/02/how-overcome-apples-app-store-error-1009 /
    Allan

  • Error (Err 02) in Canon 7D Mark II when doing image copy from SD to Flash card; is this a bug?

    Using hardware and firmware as:- Camera: Canon 7D Mark II firmware ver. 1.0.4.- Flash card (1): Kingston 64 GB ultimate 266X- SD card (2): SanDisk 32 GB Extreme 60 MB/s Both cards where bought from authorized dealer, and looks genuine. Steps to generate the error:1: Test SD card (2) on PC with H2testw with no problems2: Format Flash card (1) in camera3: Format SD card (2) in camera, using low level format4: Take 1505 JPG images in high resolution to the SD card (2)5: Copy images from SD card (2) to Flash card (1) After copying of about 200 images, this resulted in error "Err 02", which cays:"Card2 cannot be accessed. Reinsert/change card2 or format card2 with camera." The problem had occurred previously with a Lexar SD card, so the above steps were made in order to reproduce the error and describe the exact steps taken for the error to occur. Are there anybody else that experience the same error ? Does this look like a bug in the Canon 7D Mark II using firmware ver. 1.0.4, or is there a way I can make it work ? Best regardsMortenZdk 

    Canon 2nd level support contacted me yesterday.
    They said that this issue was unknown in their system.
    In order to proceed they needed to read out additional error information from the camera, and such read-out is only possible on an authorized service size, since the software for such read-out is not available for users.
    Canon where not interested in providing me the software to do the error read-out, so I could send this to them for further investigation in relation to the support case.
    I suggested that the support person should request that such software for error read-out is made available for the end user, in order to provide further information in relation to support case, but the support person was not interested in going forward with such an idea.
    Canon were not interested in trying to reproduce the problem them self, even through I offered to send them the SD and Flash cards that caused the problem.
    So all Canon could do was to tell me to spendt additional time and money sending the camera to a service size, and then having to miss the camera for 14 days during while the service site investigates.
    I must admit, that this has left me with a bad experience in relation to buying a relatively expensive Canon camera together with high-end brand memory cards. In my opinion, it looks like Canon is not giving the end user any good ways of determined the reason for an error, which could lead to product improvement for example a firmware fix.  All I can do, if I want to move on this this, and potentially help Canon fix their product, is to spend additional time and money sending the camera to a service size.
    There is definitely room for improvement! 

  • What does it mean of this error? TypeError: Error #1009 ...

    Hi,
    Please let me know why the following error occured when the button clicked?
    The PRStatus button was clicked!
    TypeError: Error #1009: Cannot access a property or method of a null object reference.
        at Final_2_fla::MainTimeline/frame20()
        at flash.display::MovieClip/gotoAndStop()
        at Final_2_fla::MainTimeline/clickSection()

    Some object is missing in frame 20.
    publish settings --> flash --> enable debugging - it will show the line of the offensive code.

  • TypeError: Error #1009: Cannot access a property or method of a null object reference. at mx.controls::AdvancedDataGrid/findHeaderRenderer()

    Can anyone throw any light on this obscure Flex error?...
    TypeError: Error #1009: Cannot access a property or method of a null object reference.
    at mx.controls::AdvancedDataGrid/findHeaderRenderer()[...path...\projects\datavisualisation\ src\mx\controls\AdvancedDataGrid.as:1350]
    at mx.controls::AdvancedDataGrid/mouseEventToItemRenderer()[...path...\projects\datavisualis ation\src\mx\controls\AdvancedDataGrid.as:1315]
    at mx.controls.listClasses::AdvancedListBase/mouseMoveHandler()[...path...\projects\datavisu alisation\src\mx\controls\listClasses\AdvancedListBase.as:8091]
    I found a related bug reported on Jira: https://bugs.adobe.com/jira/browse/FLEXDMV-1631
    But in our case, we have no zoom effect.  It may be timing related, as there is a lot of computation going on when this page, and the ADG is first initialised.
    Please?... Any suggestions or workarounds?  We don't want this falling over in the hands of our customers.
    <rant> And people wonder why I hate Flex!?  These obscure instabilities never happen when I develop Pure ActionScript.  The Flash platform is wonderfully stable.  But as soon as you bring Flex into play, things take longer to develop, it's a struggle to extend or change the behaviour of the bloated components, and everything falls apart as these bugs begin to surface.</rant>

    facing the same problem... sdk 4.1. no solution for about 2 years ????

  • Error #1009 at mx.controls::DataGrid/mx.controls:DataGrid::mouseUpHandler()

    Hello.
    At first sorry for my english.
    I have encountered problem with DataGrid control.
    There is DataGrid control, which have custom ItemRenderer
    (MulticolorDataGridItemRenderer).
    This DataGrid control has several properties:
    1) click on a row changes it background color
    2) click on "Filter ON" button, filter DataGrid by "status"
    field
    "TypeError: Error #1009: Cannot access a property or method
    of a null object reference.
    at
    mx.controls::DataGrid/mx.controls:DataGrid::mouseUpHandler()"
    This error occure when filter is ON, by click on a row. It
    occures occasionally. I note that it
    occur when DataGrid's vertical scrollbar is not in top
    position.
    If I remove recovering of scroll position, this bug
    disappear.
    Sample code:
    ~~~~~~~~~~~~
    1. Application mxml:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    layout="absolute">
    <mx:Script>
    <![CDATA[
    import mx.collections.ArrayCollection;
    import mx.controls.List;
    private var objPrevSelectedItem:Object = null;
    private var arrList:Array = [{name: "Matt", lastname:
    "Chotin", status: "0", selected: "0"},
    {name: "Ely", lastname: "Greenfield", status: "1", selected:
    "0"},
    {name: "Christophe", lastname: "Coenraets", status: "2",
    selected: "0"},
    {name: "Sho", lastname: "Kuwamoto", status: "1", selected:
    "0"},
    {name: "Steven", lastname: "Webster", status: "4", selected:
    "0"},
    {name: "Alistair", lastname: "McLeod", status: "3",
    selected: "0"},
    {name: "Chafic", lastname: "Kazoun", status: "1", selected:
    "0"},
    {name: "Manish", lastname: "Jethani", status: "2", selected:
    "0"},
    {name: "Mike", lastname: "Chambers", status: "4", selected:
    "0"},
    {name: "Ted", lastname: "Patrick", status: "0", selected:
    "0"},
    {name: "Roger", lastname: "Gonzales", status: "1", selected:
    "0"},
    {name: "David", lastname: "Zuckerman", status: "3",
    selected: "0"},
    {name: "Alex", lastname: "Uhlmann", status: "3", selected:
    "0"},
    {name: "Peter", lastname: "Ent", status: "3", selected:
    "0"},
    {name: "Adobe", lastname: "Consulting", status: "2",
    selected: "0"},
    {name: "Marcel", lastname: "Boucher", status: "4", selected:
    "0"},
    {name: "Andrew", lastname: "Trice", status: "1", selected:
    "0"},
    {name: "Mike", lastname: "Morearty", status: "1", selected:
    "0"},
    {name: "Everything", lastname: "Flex", status: "0",
    selected: "0"},
    {name: "Jesse", lastname: "Warden", status: "3", selected:
    "0"},
    {name: "Richinternet", lastname: "Blog", status: "2",
    selected: "0"},
    {name: "Flex", lastname: "Daddy", status: "2", selected:
    "0"},
    {name: "Keun", lastname: "Lee", status: "0", selected: "0"},
    {name: "David", lastname: "Koletta", status: "4", selected:
    "0"},
    {name: "Brian", lastname: "Deitte", status: "1", selected:
    "0"},
    {name: "Darron", lastname: "Schal", status: "2", selected:
    "0"},
    {name: "Narciso", lastname: "Jaramillo", status: "3",
    selected: "0"},
    {name: "Kiwi", lastname: "Teamblog", status: "4", selected:
    "0"},
    {name: "Anthony", lastname: "Rumsey", status: "0", selected:
    "0"}];
    [Bindable]
    private var arrcollDP:ArrayCollection = new
    ArrayCollection(arrList);
    private function fnSelectRow(event:Event):void
    if (objPrevSelectedItem != null)
    objPrevSelectedItem["selected"] = new String("0");
    ArrayCollection(DataGrid(event.target).dataProvider).itemUpdated(objPrevSelectedItem);
    var numScrolPos:Number =
    DataGrid(event.target).verticalScrollPosition;
    Object(DataGrid(event.target).selectedItem)["selected"] =
    new String("1");
    ArrayCollection(DataGrid(event.target).dataProvider).itemUpdated(DataGrid(event.target).s electedItem);
    objPrevSelectedItem =
    Object(DataGrid(event.target).selectedItem);
    if (arrcollDP.filterFunction != null)
    arrcollDP.filterFunction = fnFilter;
    arrcollDP.refresh();
    DataGrid(event.target).verticalScrollPosition = numScrolPos;
    private function fnFilter(item:Object):Boolean
    var bResult:Boolean = new Boolean(false);
    if (String(item["status"]) == "0")
    bResult = true;
    return bResult;
    ]]>
    </mx:Script>
    <mx:DataGrid
    width="100%"
    height="100"
    dataProvider="{arrcollDP}"
    itemRenderer="MulticolorDataGridItemRenderer"
    draggableColumns="false"
    rowHeight="17"
    paddingTop="1"
    paddingBottom="1"
    horizontalGridLineColor="#a0a0a0"
    horizontalGridLines="true"
    change="fnSelectRow(event)">
    <mx:columns>
    <mx:DataGridColumn headerText="Name" dataField="name"
    width="250" textAlign="left" sortable="false"/>
    <mx:DataGridColumn headerText="Last Name"
    dataField="lastname" width="250" textAlign="left"
    sortable="false"/>
    <mx:DataGridColumn headerText="Status" dataField="status"
    width="80" textAlign="center" sortable="false"/>
    </mx:columns>
    </mx:DataGrid>
    <mx:Button label="Filter ON" y="110" x="5"
    click="arrcollDP.filterFunction = fnFilter;
    arrcollDP.refresh();"/>
    <mx:Button label="Filter OFF" y="110" x="105"
    click="arrcollDP.filterFunction = null; arrcollDP.refresh();"/>
    </mx:Application>
    2. MulticolorDataGridItemRenderer component mxml:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:DataGridItemRenderer xmlns:mx="
    http://www.adobe.com/2006/mxml"
    background="true" dataChange="fnChangeColor(event);">
    <mx:Script>
    <![CDATA[
    import mx.controls.dataGridClasses.DataGridColumn;
    import mx.events.FlexEvent;
    import mx.controls.Alert;
    private function fnChangeColor(event:FlexEvent):void
    if (Object(this.data) != null)
    if (!(this.data is DataGridColumn))
    var strTmp:String = String(Object(this.data)["status"]);
    if (strTmp == "0")
    this.backgroundColor = 0xccffcc;
    else if (strTmp == "1")
    this.backgroundColor = 0xffff99;
    else if (strTmp == "2")
    this.backgroundColor = 0x99ccff;
    else if (strTmp == "3")
    this.backgroundColor = 0xffcc99;
    else if (strTmp == "4")
    this.backgroundColor = 0xcc66ff;
    if (String(Object(this.data)["selected"]) == "1")
    this.backgroundColor = 0xff9933;
    ]]>
    </mx:Script>
    </mx:DataGridItemRenderer>
    And one another question: why did disappear standard DataGrid
    control selection mechanism, when I used custom
    DataGridItemRenderer? Try to use the sample code above withou
    fnSelectRow function.
    TIA

    Hi, I will try to explain what i have undestood about this issue.
    I have an application that loads at runtime some modules, and in my project configuration (Flex Modules), i specified some modules to compile optimizing to main application. Besides that, my project uses RSL to the framework linkage, and i perceived that the compiler output reports some warning messages just like "The CSS type selector 'DataGrid' was not processed, because the type was not used in the application." or others similars "The CSS type selector 'TextArea' was not processed, because the type was not used in the application.".
    When i run the application, and click the first time in some grid column, the error "Type Coercion failed: cannot convert ......@abcda2 to ........." happens.
    It happens because, these controls or components has not been linked in the main application compilation, and so, when you use the first module that uses one of these components, only the module loads an instance of these components and maintain on its part of memory.
    Dispite of being loaded in the main application, each module and main application has its SystemManager instance to register and load components, and because of it, when the application try to cast instances of the same component, but at differents SystemManager's singleton implementations, the above error occurs.
    So my solution was to add some reference of the controls or components that appears at the warning messages that was not compiled, to force the main application compilation to add these components at its SystemManager singletons first than any module.
    Only add the name of the component and import its package. Do not have to add to the stage. See below.
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" ....>
    <mx:Script>
            <![CDATA[
                        DataGrid;
                        TextArea;
            ]]>
        </mx:Script>
    </mx:Application>

  • Chart causing error 1009 when enabling compatibility mode in Flash Builder 4

    Hello.
    I'm trying to use the chart components in Flash Builder 4. I'm using Flex SDK 4, but had to turn on the "Flex 3 compatibility mode" for some off-topic reasons.
    I simply created a new application and copied the code from the DateTimeAxis class example: http://www.codigoactionscript.org/langref/as3/mx/charts/DateTimeAxis.html#includeExamplesS ummary
    When running the example, the following error is reported (sorry, it is in italian: it's simply the "null object" error):
    TypeError: Error #1009: Impossibile accedere a una proprietà o a un metodo di un riferimento oggetto null.
    at mx.charts.chartClasses::CartesianChart/updateMultipleAxesStyles()[E:\dev\4.0.0\frameworks \projects\datavisualization\src\mx\charts\chartClasses\CartesianChart.as:2598]
    at mx.charts.chartClasses::CartesianChart/commitProperties()[E:\dev\4.0.0\frameworks\project s\datavisualization\src\mx\charts\chartClasses\CartesianChart.as:1360]
    at mx.core::UIComponent/validateProperties()[E:\dev\4.0.0\frameworks\projects\framework\src\ mx\core\UIComponent.as:7772]
    at mx.managers::LayoutManager/validateProperties()[E:\dev\4.0.0\frameworks\projects\framewor k\src\mx\managers\LayoutManager.as:572]
    at mx.managers::LayoutManager/doPhasedInstantiation()[E:\dev\4.0.0\frameworks\projects\frame work\src\mx\managers\LayoutManager.as:700]
    at mx.managers::LayoutManager/doPhasedInstantiationCallback()[E:\dev\4.0.0\frameworks\projec ts\framework\src\mx\managers\LayoutManager.as:1072]
    Is there a solution to this bug? We really need to use charts AND keep the Flex 3 compatibility mode.

    I use SDK 4.1 but I also get the error: (Flashbuilder 4.0.1 in Flex 3 compatibility mode)
    TypeError: Error #1009: Cannot access a property or method of a null object reference.
        at mx.charts.chartClasses::CartesianChart/updateMultipleAxesStyles()[E:\dev\4.0.0\frameworks \projects\datavisualization\src\mx\charts\chartClasses\CartesianChart.as:2598]
        at mx.charts.chartClasses::CartesianChart/commitProperties()[E:\dev\4.0.0\frameworks\project s\datavisualization\src\mx\charts\chartClasses\CartesianChart.as:1360]
        at mx.core::UIComponent/validateProperties()[E:\dev\4.0.0\frameworks\projects\framework\src\ mx\core\UIComponent.as:7772]
        at mx.managers::LayoutManager/validateProperties()[E:\dev\4.0.0\frameworks\projects\framewor k\src\mx\managers\LayoutManager.as:572]
        at mx.managers::LayoutManager/doPhasedInstantiation()[E:\dev\4.0.0\frameworks\projects\frame work\src\mx\managers\LayoutManager.as:700]
        at mx.managers::LayoutManager/doPhasedInstantiationCallback()[E:\dev\4.0.0\frameworks\projec ts\framework\src\mx\managers\LayoutManager.as:1072]
    So I guess it is not solved....
    regards,

  • Module Chart component Error #1009: Cannot access a property or method of a null object reference

    Is there a known bug when displaying a chart component that is defined in a module. When attempting to display a chart component defined in a module it crashes indicating Error #1009: Cannot access a property or method of a null object reference.
    It crashes at the following location in ChartBase.as. Somehow when loading the chart the  styleManager.getStyleDeclaration("mx.charts.chartClasses.ChartBase"); returns null so when using the setStyle methods the exception occurs.
    private function initStyles():Boolean
            HaloDefaults.init(styleManager);
      var chartBaseStyle:CSSStyleDeclaration = styleManager.getStyleDeclaration("mx.charts.chartClasses.ChartBase");
      chartBaseStyle.setStyle("chartSeriesStyles", HaloDefaults.chartBaseChartSeriesStyles);
      chartBaseStyle.setStyle("fill", new SolidColor(0xFFFFFF, 0));
      chartBaseStyle.setStyle("calloutStroke", new SolidColorStroke(0x888888,2));
            return true;
    Added note: There is a chart component in the application that works fine.  The only way I can get  the chart in the module to display is to add the following workaround preinitializer but it severly impacts the loading of the module. Is there a way around this.
    protected function preinitializeHandler(event:FlexEvent):void
       var styleObjects:Array = FlexGlobals.topLevelApplication.styleManager.selectors;
       for each(var styleObj:String in styleObjects)  {
        var style:CSSStyleDeclaration = FlexGlobals.topLevelApplication.styleManager.getStyleDeclaration(styleObj);
        styleManager.setStyleDeclaration(styleObj, style, true);   
    TypeError: Error #1009: Cannot access a property or method of a null object reference.
    at mx.charts.chartClasses::ChartBase/initStyles()[E:\dev\4.y\frameworks\projects\charts\src\ mx\charts\chartClasses\ChartBase.as:1862]
    at mx.charts.chartClasses::ChartBase/set moduleFactory()[E:\dev\4.y\frameworks\projects\charts\src\mx\charts\chartClasses\ChartBas e.as:1894]
    at mx.charts.chartClasses::PolarChart/set moduleFactory()[E:\dev\4.y\frameworks\projects\charts\src\mx\charts\chartClasses\PolarCha rt.as:223]
    at mx.charts::PieChart/set moduleFactory()[E:\dev\4.y\frameworks\projects\charts\src\mx\charts\PieChart.as:203]
    at spark.components::Group/http://www.adobe.com/2006/flex/mx/internal::elementAdded()[E:\dev\4.y\frameworks\projects\spark\src\spark\components\Group.as:1590]
    at spark.components::Group/addElementAt()[E:\dev\4.y\frameworks\projects\spark\src\spark\com ponents\Group.as:1387]
    at spark.components::SkinnableContainer/addElementAt()[E:\dev\4.y\frameworks\projects\spark\ src\spark\components\SkinnableContainer.as:775]
    at mx.states::AddItems/addItemsToContentHolder()[E:\dev\4.y\frameworks\projects\framework\sr c\mx\states\AddItems.as:782]
    at mx.states::AddItems/apply()[E:\dev\4.y\frameworks\projects\framework\src\mx\states\AddIte ms.as:563]
    at mx.core::UIComponent/applyState()[E:\dev\4.y\frameworks\projects\framework\src\mx\core\UI Component.as:10741]
    at mx.core::UIComponent/commitCurrentState()[E:\dev\4.y\frameworks\projects\framework\src\mx \core\UIComponent.as:10487]
    at mx.core::UIComponent/setCurrentState()[E:\dev\4.y\frameworks\projects\framework\src\mx\co re\UIComponent.as:10323]
    at mx.core::UIComponent/set currentState()[E:\dev\4.y\frameworks\projects\framework\src\mx\core\UIComponent.as:6425]
    at BloodPressure/bloodpressureDg_selectionChangeHandler()[C:\Users\Mark\Adobe Flash Builder 4.7\BiometricsFlexProject\src\BloodPressure.mxml:311]
    at BloodPressure/__bloodpressureDg_selectionChange()[C:\Users\Mark\Adobe Flash Builder 4.7\BiometricsFlexProject\src\BloodPressure.mxml:41]
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at mx.core::UIComponent/dispatchEvent()[E:\dev\4.y\frameworks\projects\framework\src\mx\core \UIComponent.as:13152]
    at spark.components::DataGrid/commitInteractiveSelection()[E:\dev\4.y\frameworks\projects\sp ark\src\spark\components\DataGrid.as:3634]
    at spark.components::DataGrid/setSelectionAnchorCaret()[E:\dev\4.y\frameworks\projects\spark \src\spark\components\DataGrid.as:4210]
    at spark.components::DataGrid/grid_mouseDownHandler()[E:\dev\4.y\frameworks\projects\spark\s rc\spark\components\DataGrid.as:4679]
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at mx.core::UIComponent/dispatchEvent()[E:\dev\4.y\frameworks\projects\framework\src\mx\core \UIComponent.as:13152]
    at spark.components::Grid/dispatchGridEvent()[E:\dev\4.y\frameworks\projects\spark\src\spark \components\Grid.as:4038]
    at spark.components::Grid/grid_mouseDownDragUpHandler()[E:\dev\4.y\frameworks\projects\spark \src\spark\components\Grid.as:3883]
    at Function/<anonymous>()[E:\dev\4.y\frameworks\projects\spark\src\spark\utils\MouseEventUti l.as:84]
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at mx.managers::SystemManager/mouseEventHandler()[E:\dev\4.y\frameworks\projects\framework\s rc\mx\managers\SystemManager.as:2918]

    It appears as though this error has been going on for a while. See the following link http://forums.adobe.com/thread/941849

  • Error #1009 in /computeSelectionIndexInContainer()

    TypeError: Error #1009: Cannot access a property or method of
    a null object reference.
    at
    flashx.textLayout.edit::SelectionManager$/computeSelectionIndexInContainer()
    at flashx.textLayout.edit::SelectionManager$/
    http://ns.adobe.com/textLayout/internal/2008::computeSelectionIndex()
    at flashx.textLayout.edit::SelectionManager/selectionPoint()
    at
    flashx.textLayout.edit::SelectionManager/setNewSelectionPoint()
    at
    flashx.textLayout.edit::SelectionManager/mouseDownHandler()
    at
    flashx.textLayout.container::ContainerControllerBase/processMouseDownEvent()
    at flashx.textLayout.container::ContainerControllerBase/
    http://ns.adobe.com/textLayout/internal/2008::mouseDownHandler()
    Sometimes when i just drag mouse on tf container, it throws
    this exception. Quite many times.

    I am not sure if I can be a help but you can try this anyway.... Thanks!
    Issue
    Issue FLEXENT-742 has been logged against AdobeFlex Builder Professional when used with the Automated Testing module and the AdvancedDataGrid. Specifically, when using Quick Test Pro to record a "select" action on a cell with a RendererProvider as the content holder, the following ActionScript error is displayed:
    An ActionScript error has occurred:
    TypeError: Error #1009: Cannot access a property or method of a null object reference.
    Solution
    The following procedure may be used to work around this error:
    Download the following ActionScript file:
    http://bugs.adobe.com/jira/secure/attachment/17407/AdvancedListBaseContentHolderAutomation Impl.as
    <!--[if !supportLists]-->
    Add this file into the src folder of the Flex Builder project and include this delegate using the -includes option as follows:
    -locale en_US -includes AdvancedListBaseContentHolderAutomationImpl
    -include-libraries
    "C:\Work\flex\sdk_3.0.0.256\frameworks\libs\automation.swc"
    "C:\Work\flex\sdk_3.0.0.256\frameworks\libs\automation_dmv.swc"
    "C:\Work\flex\sdk_3.0.0.256\frameworks\libs\automation_agent.swc"
    "C:\Work\flex\sdk_3.0.0.256\frameworks\libs\qtp.swc

  • Error #1009 when loading a module

    Hello Forum Folks,
    I'm in the process of trying to upgrade our app from 2.0 to
    2.0.1. In this application we have an SWFLoader that loads up
    applications as requested by the user. It worked fine with no
    problems. I'm attempting to use the ModuleLoader in the same way,
    but I am receiving this error:
    [SWF]
    /flex/PMPortal/com/sundt/addressbook/company_find_app.swf - 855,412
    bytes after decompression
    TypeError: Error #1009: Cannot access a property or method of
    a null object reference.
    at mx.managers::HistoryManager$/register()
    at mx.containers::ViewStack/::addedHandler()
    at flash.display::DisplayObjectContainer/addChildAt()
    at mx.core::UIComponent/
    http://www.adobe.com/2006/flex/mx/internal::$addChildAt()[C:\dev\flex_201_gmc\sdk\framewor ks\mx\core\UIComponent.as:4676
    at
    mx.core::Container/addChildAt()[C:\dev\flex_201_gmc\sdk\frameworks\mx\core\Container.as:2 278]
    at
    mx.core::Container/addChild()[C:\dev\flex_201_gmc\sdk\frameworks\mx\core\Container.as:221 4]
    at
    mx.core::Container/createComponentFromDescriptor()[C:\dev\flex_201_gmc\sdk\frameworks\mx\ core\Container.as:3721]
    at
    mx.core::Container/createComponentsFromDescriptors()[C:\dev\flex_201_gmc\sdk\frameworks\m x\core\Container.as:3533]
    at
    mx.core::Container/mx.core:Container::createChildren()[C:\dev\flex_201_gmc\sdk\frameworks \mx\core\Container.as:2618]
    at
    mx.core::UIComponent/initialize()[C:\dev\flex_201_gmc\sdk\frameworks\mx\core\UIComponent. as:4937]
    at
    mx.core::Container/initialize()[C:\dev\flex_201_gmc\sdk\frameworks\mx\core\Container.as:2 555]
    at com.sundt.addressbook::find_company_criteria/initialize()
    at mx.core::UIComponent/
    http://www.adobe.com/2006/flex/mx/internal::childAdded()[C:\dev\flex_201_gmc\sdk\framework s\mx\core\UIComponent.as:4834
    at mx.core::Container/
    http://www.adobe.com/2006/flex/mx/internal::childAdded()[C:\dev\flex_201_gmc\sdk\framework s\mx\core\Container.as:3347
    at
    mx.core::Container/addChildAt()[C:\dev\flex_201_gmc\sdk\frameworks\mx\core\Container.as:2 280]
    at
    mx.containers::Form/addChildAt()[C:\dev\flex_201_gmc\sdk\frameworks\mx\containers\Form.as :179]
    at
    mx.core::Container/addChild()[C:\dev\flex_201_gmc\sdk\frameworks\mx\core\Container.as:221 4]
    at
    mx.containers::Form/addChild()[C:\dev\flex_201_gmc\sdk\frameworks\mx\containers\Form.as:1 68]
    at
    mx.core::Container/createComponentFromDescriptor()[C:\dev\flex_201_gmc\sdk\frameworks\mx\ core\Container.as:3721]
    at
    mx.core::Container/createComponentsFromDescriptors()[C:\dev\flex_201_gmc\sdk\frameworks\m x\core\Container.as:3533]
    at
    mx.core::Container/mx.core:Container::createChildren()[C:\dev\flex_201_gmc\sdk\frameworks \mx\core\Container.as:2618]
    at
    mx.core::UIComponent/initialize()[C:\dev\flex_201_gmc\sdk\frameworks\mx\core\UIComponent. as:4937]
    at
    mx.core::Container/initialize()[C:\dev\flex_201_gmc\sdk\frameworks\mx\core\Container.as:2 555]
    at mx.core::UIComponent/
    http://www.adobe.com/2006/flex/mx/internal::childAdded()[C:\dev\flex_201_gmc\sdk\framework s\mx\core\UIComponent.as:4834
    at mx.core::Container/
    http://www.adobe.com/2006/flex/mx/internal::childAdded()[C:\dev\flex_201_gmc\sdk\framework s\mx\core\Container.as:3347
    at
    mx.core::Container/addChildAt()[C:\dev\flex_201_gmc\sdk\frameworks\mx\core\Container.as:2 280]
    at
    mx.core::Container/addChild()[C:\dev\flex_201_gmc\sdk\frameworks\mx\core\Container.as:221 4]
    at
    mx.core::Container/createComponentFromDescriptor()[C:\dev\flex_201_gmc\sdk\frameworks\mx\ core\Container.as:3721]
    at
    mx.core::Container/createComponentsFromDescriptors()[C:\dev\flex_201_gmc\sdk\frameworks\m x\core\Container.as:3533]
    at
    mx.containers::Panel/createComponentsFromDescriptors()[C:\dev\flex_201_gmc\sdk\frameworks \mx\containers\Panel.as:1308]
    at
    mx.core::Container/mx.core:Container::createChildren()[C:\dev\flex_201_gmc\sdk\frameworks \mx\core\Container.as:2618]
    at
    mx.containers::Panel/mx.containers:Panel::createChildren()[C:\dev\flex_201_gmc\sdk\framew orks\mx\containers\Panel.as:863]
    at
    mx.core::UIComponent/initialize()[C:\dev\flex_201_gmc\sdk\frameworks\mx\core\UIComponent. as:4937]
    at
    mx.core::Container/initialize()[C:\dev\flex_201_gmc\sdk\frameworks\mx\core\Container.as:2 555]
    at mx.core::UIComponent/
    http://www.adobe.com/2006/flex/mx/internal::childAdded()[C:\dev\flex_201_gmc\sdk\framework s\mx\core\UIComponent.as:4834
    at mx.core::Container/
    http://www.adobe.com/2006/flex/mx/internal::childAdded()[C:\dev\flex_201_gmc\sdk\framework s\mx\core\Container.as:3347
    at
    mx.core::Container/addChildAt()[C:\dev\flex_201_gmc\sdk\frameworks\mx\core\Container.as:2 280]
    at
    mx.core::Container/addChild()[C:\dev\flex_201_gmc\sdk\frameworks\mx\core\Container.as:221 4]
    at
    mx.core::Container/createComponentFromDescriptor()[C:\dev\flex_201_gmc\sdk\frameworks\mx\ core\Container.as:3721]
    at
    mx.core::Container/createComponentsFromDescriptors()[C:\dev\flex_201_gmc\sdk\frameworks\m x\core\Container.as:3533]
    at
    mx.core::Container/mx.core:Container::createChildren()[C:\dev\flex_201_gmc\sdk\frameworks \mx\core\Container.as:2618]
    at
    mx.core::UIComponent/initialize()[C:\dev\flex_201_gmc\sdk\frameworks\mx\core\UIComponent. as:4937]
    at
    mx.core::Container/initialize()[C:\dev\flex_201_gmc\sdk\frameworks\mx\core\Container.as:2 555]
    at mx.core::UIComponent/
    http://www.adobe.com/2006/flex/mx/internal::childAdded()[C:\dev\flex_201_gmc\sdk\framework s\mx\core\UIComponent.as:4834
    at mx.core::Container/
    http://www.adobe.com/2006/flex/mx/internal::childAdded()[C:\dev\flex_201_gmc\sdk\framework s\mx\core\Container.as:3347
    at
    mx.core::Container/addChildAt()[C:\dev\flex_201_gmc\sdk\frameworks\mx\core\Container.as:2 280]
    at
    mx.core::Container/addChild()[C:\dev\flex_201_gmc\sdk\frameworks\mx\core\Container.as:221 4]
    at
    mx.core::Container/createComponentFromDescriptor()[C:\dev\flex_201_gmc\sdk\frameworks\mx\ core\Container.as:3721]
    at
    mx.core::Container/createComponentsFromDescriptors()[C:\dev\flex_201_gmc\sdk\frameworks\m x\core\Container.as:3533]
    at
    mx.core::Container/mx.core:Container::createChildren()[C:\dev\flex_201_gmc\sdk\frameworks \mx\core\Container.as:2618]
    at
    mx.core::UIComponent/initialize()[C:\dev\flex_201_gmc\sdk\frameworks\mx\core\UIComponent. as:4937]
    at
    mx.core::Container/initialize()[C:\dev\flex_201_gmc\sdk\frameworks\mx\core\Container.as:2 555]
    at com.sundt.addressbook::company_find_app/initialize()
    at mx.core::UIComponent/
    http://www.adobe.com/2006/flex/mx/internal::childAdded()[C:\dev\flex_201_gmc\sdk\framework s\mx\core\UIComponent.as:4834
    at mx.core::Container/
    http://www.adobe.com/2006/flex/mx/internal::childAdded()[C:\dev\flex_201_gmc\sdk\framework s\mx\core\Container.as:3347
    at
    mx.core::Container/addChildAt()[C:\dev\flex_201_gmc\sdk\frameworks\mx\core\Container.as:2 280]
    at
    mx.core::Container/addChild()[C:\dev\flex_201_gmc\sdk\frameworks\mx\core\Container.as:221 4]
    at
    mx.modules::ModuleLoader/mx.modules:ModuleLoader::moduleReadyHandler()[C:\dev\flex_201_gm c\sdk\frameworks\mx\modules\ModuleLoader.as:339]
    at
    flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at
    ModuleManager.as$117::ModuleInfoProxy/ModuleManager.as$117:ModuleInfoProxy::moduleEventHa ndler()[C:\dev\flex_201_gmc\sdk\frameworks\mx\modules\ModuleManager.as:1025]
    at
    flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at
    ModuleManager.as$117::ModuleInfo/readyHandler()[C:\dev\flex_201_gmc\sdk\frameworks\mx\mod ules\ModuleManager.as:704]
    I'm not sure what is null, as I don't have the source code
    for the HistoryManager. It seems to be generating an error while
    attempting to initialize a component that is part of the module
    that it is currently loading. The strange part about this is that I
    can load the module a once and then it will error, as show below:
    [SWF] /flex/PMPortal/pmportal-debug.swf - 1,033,911 bytes
    after decompression
    [SWF]
    /flex/PMPortal/com/sundt/addressbook/company_find_app.swf - 855,412
    bytes after decompression
    [SWF] /flex/PMPortal/blank_app.swf - 484,084 bytes after
    decompression
    [SWF] /flex/PMPortal/blank_app.swf - 484,084 bytes after
    decompression
    [SWF]
    /flex/PMPortal/com/sundt/addressbook/contact_find_app.swf - 678,199
    bytes after decompression
    [SWF]
    /flex/PMPortal/com/sundt/addressbook/personalCompanies/personal_companies_wizard_app.swf
    - 809,691 bytes after decompression
    [SWF]
    /flex/PMPortal/com/sundt/addressbook/company_find_app.swf - 855,412
    bytes after decompression
    TypeError: Error #1009: Cannot access a property or method of
    a null object reference.
    at mx.managers::HistoryManager$/register()
    There are also times that it will error on loading another
    module just once.
    Now, I am loading all my modules through the same
    ModuleLoader without unloading them. I assume that this is correct
    way to do this.
    If I comment out the offending component, everything works
    fine. The components worked fine before when I had them in
    applications.
    Not sure where to go from here... any ideas would be great.
    Thanks in advance.
    --Andy

    quote:
    Originally posted by:
    josh1093
    I am getting the same error loading modules. For me I found
    that changing the layout properties of the container that I am
    loading the module in made the problem appear and go away. I'm
    loading a module as an itemrenderer in a TileList. If I set the
    columnWidth and rowHeight properties of the list then I have
    problems. If I don't set them both, then I get the
    "ModuleManager.as:671" null pointer problem. I'm guessing that by
    setting the size ahead of time for the itemRenderer flex doesn't
    need to query the module until later which gives it time to load.
    Seems like a race condition to me. This is yet another bug in flex.
    My application populates a number of VBox ( the number of
    boxes are based on the xml data). Each VBox loads the module with
    different data set. The module only contain advancedatagrid. The
    VBox's size are preset with percentwidth and percentheight prior
    calling a module loader. I also tried to specified the size in
    pixels. But, no luck.
    Once a while, I got the below messages at the console window
    running in debug mode. Is the unload swf message normal? I have no
    intention to unload the module in my code. If the module shouldn't
    be unload, then obviously there is a problem.
    [SWF] /SARA/CellDashboard.swf - 1,564,059 bytes after
    decompression
    [SWF] /SARA/modules/TrendChart.swf - 1,576,416 bytes after
    decompression
    [SWF] /SARA/modules/StdDataGrid.swf - 1,043,055 bytes after
    decompression
    [SWF] /SARA/modules/StdDataGrid.swf - 1,043,055 bytes after
    decompression
    [SWF] /SARA/modules/AdvDataGrid.swf - 1,259,638 bytes after
    decompression
    [SWF] /SARA/modules/AdvDataGrid.swf - 1,259,638 bytes after
    decompression
    [Unload SWF] /SARA/modules/AdvDataGrid.swf

  • Media Error  Type Error 1009

    When trying to play a video on a TV stations website I get a gray box that states "Media Error  Type Error 1009". The advertisement that precedes the news clip plays fine but once it's over the audio is fine but the video screen is black. No websites showed up. What can I do?

    This is a bug in the code running on the news site.  The content provider will need to fix this on their end.
    Thanks!

Maybe you are looking for

  • TIFF image problem

    I am using an outside contractor to create some computer generated images for me. As is usual--especially for wide, exterior shots like these--the CGI part is placed onto an actual photograph. The two images are pulled into Photoshop and tweaked unti

  • Why do my old QT files only play audio on QT X on Lion system

    I have some old NTSC (DV/DVCPRO) videos that play well on my old Leopard system but on my new Lion Macbook Pro, only the audio will play.  The video will play from within Finder but when I double click and it launches QT, QT behaves as if its only an

  • Administrative user can't access other accounts or delete remote login

    I have the administrative user account on my iMac at home. My daughter can't remember the new password I assigned her and needs me to change it. When I log into system preferences/accounts, it shows that I am the administrative user. However, when I

  • CS5 unable to start Subscription

    I have entered my valid serial number and it has check out. When asked to enter my adobe ID, I do so, during authentication it stops and says unable to start subscription, close and reload product. I have done so and the same "unble to start subscrip

  • Add the "play next" feature. (Adding chosen lists of songs to any playlist already playing)

    Hello, I'm new to spotify and didn't find any duplicates for this idea. Sorry if I'm wrong. Even though I'm new to Spotify, I've used several streaming services already (grooveshark, google play, winamp, etc.) And they all shared a very dear feature