Error #2006

I get the following error:

TypeError: Error #2007: url parameter must be non-null.
at flash.display::Loader/flash.display:Loader::_load()
at flash.display::Loader/load()
at home_flash_fla::MainTimeline/load_tn()
at home_flash_fla::MainTimeline/create_thumbnail()
at flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at flash.net::URLLoader/flash.net:URLLoader::onComplete()
RangeError: Error #2006: the supplied index is out of range.
at flash.display::DisplayObjectContainer/getChildAt()
at home_flash_fla::MainTimeline/go_in()
at flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
to the fl.transitions::Tween time() function / set
to fl.transitions::Tween/nextFrame()
to fl.transitions::Tween/fl.transitions:Tween::onEnterFrame()

I have attached the AS file.

It is a problem of sincronization. You try to access a child to post equal number of thumbnails but this movieClip can still downloaded.

Tags: Adobe Animate

Similar Questions

  • RangeError: Error #2006 when calling updateAllControllers()

    Hi, until yesterday, I had a problem where an exception index out of bounds (error #2006) was lifted after a cycle of composed () /updateAllControllers () several times, for no apparent reason. Here is the first part of the stack trace (after coming just from the line where updateAllControllers was called):

    RangeError: Error #2006: El índice proporcionado está fuera de los límites.

        at flash.display::DisplayObjectContainer/addChildAt()

        at flashx.textLayout.container::ContainerController/addTextLine()[C:\Vellum\dev\output\openSource\textLayout\src\flashx\textLayout\container\ContainerController.as:4051]

        at flashx.textLayout.container::ContainerController/http://ns.adobe.com/textLayout/internal/2008::updateCompositionShapes()[C:\Vellum\dev\output\openSource\textLayout\src\flashx\textLayout\container\ContainerController.as:3092]

        at flashx.textLayout.compose::StandardFlowComposer/updateCompositionShapes()[C:\Vellum\dev\output\openSource\textLayout\src\flashx\textLayout\compose\StandardFlowComposer.as:616]

        at flashx.textLayout.compose::StandardFlowComposer/updateToController()[C:\Vellum\dev\output\openSource\textLayout\src\flashx\textLayout\compose\StandardFlowComposer.as:559]

        at flashx.textLayout.compose::StandardFlowComposer/updateAllControllers()[C:\Vellum\dev\output\openSource\textLayout\src\flashx\textLayout\compose\StandardFlowComposer.as:517]

    I tried to follow the code of ContainerController and StandardFlowComposer, but it was of no use. I could not the debugger to work with these files either.

    I compared side by side the values of the relevant attributes of the textFlow and its controllers flowComposer (width of the composition and height, absoluteStartPosition, etc.) just before a successful call updateAllControllers() and just before a call that would fail, and they were quite the same.

    Finally I solved the problem in a way that is really weird (and not very clean): adding and deleting of a controller of the flowComposer just before the call to (in another part of my code) compose() or updateAllControllers().

    if (this._textFlow.flowComposer.numControllers > this._columnas - 1 && this._containers[this._columnas - 1].visible)
    {
         this._textFlow.flowComposer.removeControllerAt(this._columnas - 1);
         this._textFlow.flowComposer.addControllerAt(this._controllers[this._columnas - 1], this._columnas - 1);
    }
                
    this._textFlow.flowComposer.compose();
    this._textFlow.flowComposer.updateAllControllers();
    

    So, my questions are: who are the factors that could lead to this exception when compose() or updateAllControllers() are called? Add or remove a controller of the flowComposer change some internal attribute (which has been left in an inconsistent state)? This could be a bug in the framework?

    Sorry for not posting all of the code, but it involves several custom classes and its operation is quite complex. I tried to reproduce the error in a context of reduction, but I couldn't.

    Thanks in advance!

    Is there a 'clean' way to force a complete restructuring of the TextFlow?

    textFlow.flowComposer.damage (0, textFlow.textLength, flashx.textLayout.compose.FlowDamageTyp e.INVALID / * or GEOMETRY, choose the one that can meet your requirment * /);

    textFlow.flowComposer.updateAllControllers ();

  • Error #2006 making getChildAt (i)

    I know this may seem like a trivial question, but I do not know how to solve this problem, basically I remove some components of my scene to a part of my Flash/Actionscript 3 movie by browsing all the displayed items, see if each is an instance of MenuDinamico (sprite), Galeria (sprite) or map (Google Maps)

    Stop();

    import com.google.maps.Map;

    var refMenu:MenuDinamico;

    var refGaleria:Galeria;

    var refMapa:Map;

    Eliminate Menus, Galerías y Mapas

    for (var i: uint = 0; i < this.numChildren; i ++) {}

    {if (this.getChildAt (i)! = null)}

    //trace ("elemento no nulo"+ i);

    if ((this.getChildAt (i) is MenuDinamico) & & MisGlobales.vars.borrarMenu) {}

    refMenu = this.getChildAt (i) as MenuDinamico;

    refMenu.borrarMenu ();

    this.removeChildAt (i);

    / / this.removeChild (getChildAt (i));

    }

    if (this.getChildAt (i) is Galeria) {}

    refGaleria = this.getChildAt (i) as Galeria;

    refGaleria.borrarGaleria ();

    this.removeChildAt (i);

    }

    if (this.getChildAt (i) is card) {}

    refMapa = this.getChildAt (i) Map;

    this.removeChildAt (i);

    }

    }

    }

    I get the following error message:

    RangeError: Error #2006: El index proporcionado esta fuera los limits.

    at flash.display::DisplayObjectContainer/getChildAt()

    to paginafinalsinintroultimo_Escena1_fla::MainTimeline/frame400()

    at flash.display::MovieClip/gotoAndStop()

    to paginafinalsinintroultimo_Escena1_fla::MainTimeline/fl_ClickToGoToAndPlayFromFrame()

    I do not understand why this is happening because the I turn only 'for' to the ' this.numChildren - 1 ".» I read a post saying he had a problem with the use of flash mx.* and fl.* flash components, but this is not my case.

    I also read another post where it says to remove all elements in the scene, you should do removeChildAt (0); for 'this.numChildren' number of times because of how the display battery components are, but I just need to remove some components, so I don't think I can do it this way.

    Thank you

    My gyuess is that you go beyond the numChildren at the time wherever you get so far.  What you might want to try is to remove objects starting with numChildren-1 in descending order.  This way you are sure not eventually catch something that there is no more time.  You can also Miss objects since when you delete an object from a lower index, all objects at a higher index will be shifted down and index.  For example, if you remove child0, child1 becomes the new child0, but since you are doing the inventory upward, you'll look at the new child1, and the new child0 gets missed.

  • So I reworked my code and it seems more clear but who always get "RangeError: Error #2006: the supplied index is out of bounds"nonsense. " (CODE + ERROR ATTACHED)

    I reworked the code to make it without error. now, all we are dealing with is the problem of ERROR REANGE. I'm very new to Flash and read responses from people on sites where they solved this problem, but do not understand what people at all. any help would be greatly appreciated.

    Let me explain a little better my problem: I am creating a menu drop-down. everything goes fine UNTIL I'll scroll above the button and get the error. I added an inner glow, etc and it all works very well. I'm only stuck to where the menu is supposed to go down.

    CODE 1:

    var navBtnGlow:GlowFilter = new GlowFilter (0 x 000000, 0.5, 0, 15, 1, 2, true, false);

    navBar_mc.addEventListener (MouseEvent.MOUSE_OVER, navOverF);

    navBar_mc.addEventListener (MouseEvent.MOUSE_OUT, navOutF);

    function navOverF(event:MouseEvent):void {}

    event.target.filters = [navBtnGlow];

    navBar_mc.setChildIndex (event.target as MovieClip, 1);

    dropMenus_mc.gotoAndStop (navBar_mc.getChildAt (1) .name);

    trace ("we rolled on..." + navBar_mc.getChildAt (1) .name)

    }

    function navOutF(event:MouseEvent):void {}

    event.target.filters = [];

    }

    ERROR:

    RangeError: Error #2006: the supplied index is out of range.

    at flash.display::DisplayObjectContainer/setChildIndex()

    to NEWprim_fla::MainTimeline/navOverF()

    Thank you for your help in advance.

    not sure about this, but what happens if you change your setchildindex to 0? in the navOverF function

  • addChild gives an error #2006

    When I complete a TabNavigator via mxml, it works perfectly

    When I do using ActionScript with the addChild(item:DisplayObject) method to get an output of error limits.

    How is it possible that I handle the /IndexEnfant? =_=

    I hope that someone has had the same error :(

    Laurent

    OK, just find an answer...

    the displayObject, what I'm trying to add is a painting in which I've just added a child. So I think the chain of the addChild method calls was too fast and the computer could not follow.

    Do not forget to leave a delay between addChild ;)

    Hope so, it will help people.

    Laurent

  • #2006 error: The supplied index is out of bounds

    Hello

    I'm trying to addChild with an interval, using this piece of code, but I always get an error saiyng that the State index is out of bounds.

    Why?

    What should I do to have mc1, added so the wait lets say a second and add m2 2 and so on?

    Thank you

    var tempo_espera:Timer = new Timer(1000, 1);
    tempo_espera.addEventListener ("timer", joints);
    tempo_espera. Start();
    //
    function inserir(evt:TimerEvent):void {}
    for (var nv1:int = 0; nv1 < promocoes.length; nv1 ++) {}
    holder.addChildAt (mc, nv1);
    var animacao:TransitionManager = new TransitionManager (mc);
    animacao.startTransition ({type: Zoom, direction: Transition.IN, easing: Elastic.easeOut, duration: 3});
    }
    }

    RangeError: Error #2006: the supplied index is out of range.
    at flash.display::DisplayObjectContainer/addChildAt()
    to MethodInfo - 346)
    at flash.utils::Timer/_timerDispatch()
    at flash.utils::Timer/tick()

    Here is the code that works. The problem was that Timer.currentCount begins with 1 - 0 no. Made on each call, it must be decremented from 1 to call table position (highlighted in red).

    var holder:Sprite = new Sprite();addChild(holder);// this is array of movie clipsvar mcArray:Array = new Array();// it is better to declare variable once and then reinstantiate itvar mc:MovieClip;// do your regular routinevar prm:Array;for (var nv:uint = 0; nv < promocoes.length; nv++) {    prm = promocoes[nv].split("|sep|");    mc = new MovieClip();
        mc.name = "mc_"+nv;    mc.graphics.beginFill(0x000000, 0.20);    mc.graphics.drawRect(0, 0, 100, 60);    mc.graphics.endFill();    mc.name = "mc_"+nv;    // place this new mc into array    mcArray.push(mc);}
    
    // start timer - note that timer will fire as many times as there are movie clipsvar tempo_espera:Timer = new Timer(1000, mcArray.length);tempo_espera.addEventListener(TimerEvent.TIMER, placeClip);tempo_espera.start();
    // the clip you will apply transition tovar currentClip:MovieClip;
    // function that places clipsfunction placeClip(e:TimerEvent):void {    trace("placeClip: currentCount = " + tempo_espera.currentCount);    // get next clip by calling movie that corresponds with the timer counter    currentClip = MovieClip(mcArray[tempo_espera.currentCount - 1]);    // just place next clip    holder.addChild(currentClip);    var animacao:TransitionManager = new TransitionManager(currentClip);    animacao.startTransition({type:Zoom, direction:Transition.IN, easing :Elastic.easeOut, duration:3});}
    
  • Why AS3 error when opening sharedObject AS2

    I have a floor file that can be opened with AS2, but when AS3 open I get a RangeError: Error #2006: the supplied index is out of range.

    to flash.net::SharedObject$/getLocal()

    I tried the SharedObject.defaultObjectEncoding = ObjectEncoding.AMF0 but is for writing, not for playback.  Don't know what to do, but the trap/remove error.  Does not resolve the issue, for the fans?  If it works in AS2, so it should work in AS3!

    If it works in AS2, so it should work in AS3!

    None.  You can expect the compiler as3 (in strict mode) to detect errors that as2 bypasses.

    Click file/publish settings/flash and check "permit debugging".  Repeat the test.  the number of problematic line will be in the error message.

  • problem with getChildByName

    I'm attached to remove certain objects by name, but I get TypeError: Error #2007: child parameter must be non-null.

    I see not why - I need to delete some objects by name but can't so I've written in a code to get so I know they exist if I run the code with the commented to delete object names

    var num:uint = fieldSprite.numChildren;

    for (i = 0; i < num; i ++) {}

    trace (fieldSprite.getChildAt (i) .name);

    var st:String = fieldSprite.getChildAt (i) .name;

    trace (fieldSprite.getChildByName (st));

    / / fieldSprite.removeChild (getChildByName (st));

    }

    I get the result-

    16_4

    [object Sprite]

    17_4

    [object Sprite]

    18_4

    [object Sprite]

    19_4

    [object Sprite]

    But if I'm running try it with the removeChild commented I get-

    16_4

    [object Sprite]

    TypeError: Error #2007: child parameter must be non-null.

    at flash.display::DisplayObjectContainer/removeChild()

    hand / landStake)

    hand / onTimer)

    to::Timer/_timerDispatch() flash.utils

    to::Timer/tick() flash.utils

    If I change the code for us a statement.

    var num:uint = fieldSprite.numChildren;

    for (i = 0; i < num; i ++) {}

    trace (fieldSprite.getChildAt (i) .name);

    var st:String = fieldSprite.getChildAt (i) .name;

    trace (fieldSprite.getChildByName (st));

    with {(fieldSprite)

    removeChild (getChildByName (st));

    }

    }

    I get-

    16_4

    [object Sprite]

    18_4

    [object Sprite]

    RangeError: Error #2006: the supplied index is out of range.

    at flash.display::DisplayObjectContainer/getChildAt()

    hand / landStake)

    hand / onTimer)

    to::Timer/_timerDispatch() flash.utils

    to::Timer/tick() flash.utils

    two objects are removed but the two don't.

    Anyone know what I'm doing wrong?

    Thank you

    It's probably because you're doing inventory upward in the loop for.  When you delete an object, he left a position where he was in the list post... all travel down.  So when you're at halfway to your account you are probably already beyond any place of the 'childAt"since all moved to fill the holes...  You delete essentially just another of each of the objects when count you up.  Try to go back and remove objects from the numChildren-1 to 0 instead.

  • Photo Gallery (using the charger with no xml)

    Hello, currently I am doing a photo gallery.

    Inside .fla, only 2 frame:

    1st is for my category 3: A, B, C.

    Stop();

    A.addEventListener (MouseEvent.CLICK, clickSection);
    B
    .addEventListener (MouseEvent.CLICK, clickSection);

    C .addEventListener (MouseEvent.CLICK, clickSection);

    function clickSection(evt:MouseEvent):void {}
    gotoAndStop ("gallery");
    Loader.Unload ();
    req = new URLRequest (evt.target.name + "_gallery.swf");
    createLoader();
    Loader.Load (req);
    }

    2nd is to load the external swf file.

    var req:URLRequest
    var container_mc:MovieClip
    var loader: Loader = new Loader();

    req = new URLRequest ("A.swf");
    createLoader();
    Loader.Load (req);

    function createLoader (): void {}
    loader = new Loader();
    loader.contentLoaderInfo.addEventListener (Event.INIT, initListener);
    loader.contentLoaderInfo.addEventListener (Event.COMPLETE, fileLoaded);
    }
    function initListener(evt:Event):void {}
    addChildAt (loader, 1);
    }

    function fileLoaded(evt:Event):void {}
    container_mc = MovieClip (loader.content);
    }

    debug (click on the button and it pops it):

    RangeError: Error #2006: the supplied index is out of range.
    at flash.display::DisplayObjectContainer/addChildAt()
    at main_gallery_fla::MainTimeline/initListener()

    no idea why?

    Yes, two... the first being the most important...

    (1) learn how to use the documentation in support (and Google).  If you search for addChild in the help documents that it will define what you need to know to use it.  It is the same for any other part of the AS3 language.  The help documents are a basic tool in learning/using AS3 (or any language).

    (2) use: addChild (loader);

    I couldn't really follow your description in the first post, but I expect almost a multitude of other errors unless I'm misinterpretting what you call.  Very often mistakes the consider in order, not all at once.

  • How to debug this?

    Under Flash Player 10.1 on Windows, we suddenly receive an error that is not musician 9 or 10 and does not appear in any version of player on Mac.  The biggest problem is that the battery of any error is within the Flash framework, initiated by a callLaterDispatcher.  Flash complains that an index is out of bounds, but zero tells about what the parent or the child is, or what the index number is happened.

    I have all the bug given up trying to find the source of the problem in our code that runs for several lines, covering half a dozen classes created internally.  I see a "hook" (C:\autobuild\3.2.0\frameworks\...), but he can't even see this folder on my system? (Yes, I put "display invisible ' for my file system - it is Windoze XP, for what it's worth).

    Any suggestions on how to detect a problem like this?

    RangeError: Error #2006: the supplied index is out of range.
    at flash.display::DisplayObjectContainer/getChildAt()
    at mx.core::Container/getChildAt() [C:\autobuild\3.2.0\frameworks\project s\framework\src\mx\core\Container.as:2334]
    to fl.managers::FocusManager/addFocusables()
    to fl.managers::FocusManager/addFocusables()
    to fl.managers::FocusManager/addFocusables()
    to fl.managers::FocusManager/addFocusables()
    to fl.managers::FocusManager/addFocusables()
    to fl.managers::FocusManager/activate()
    to fl.managers::FocusManager()
    to fl.core::UIComponent/createFocusManager()
    to fl.core::UIComponent/initializeFocusManager()
    to fl.core::UIComponent/addedHandler()
    at flash.display::DisplayObjectContainer/addChild()
    to mx.core::Container / http://www.Adobe.com/2006/Flex/MX/internal:createContentPane ([C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\core\Contai ner.as:4665])
    at mx.core::Container/createOrDestroyScrollbars() [C:\autobuild\3.2.0\fra meworks\projects\framework\src\mx\core\Container.as:4410]
    at mx.core::Container/createScrollbarsIfNeeded() [C:\autobuild\3.2.0\fram eworks\projects\framework\src\mx\core\Container.as:4359]
    at mx.core::Container/createContentPaneAndScrollbarsIfNeeded() [C:\autobu ild\3.2.0\frameworks\projects\framework\src\mx\core\Container.as:4175]
    at mx.core::Container/validateDisplayList() [C:\autobuild\3.2.0\framework s\projects\framework\src\mx\core\Container.as:2691]
    at mx.managers::LayoutManager/validateDisplayList() [C:\autobuild\3.2.0\f rameworks\projects\framework\src\mx\managers\LayoutManager.as:622]
    at mx.managers::LayoutManager/doPhasedInstantiation() [C:\autobuild\3.2.0 \frameworks\projects\framework\src\mx\managers\LayoutManager.as:695]
    service / http://adobe.com/AS3/2006/builtin: applies ()
    at mx.core::UIComponent/callLaterDispatcher2() [C:\autobuild\3.2.0\framew orks\projects\framework\src\mx\core\UIComponent.as:8628]
    at mx.core::UIComponent/callLaterDispatcher() [C:\autobuild\3.2.0\framewo rks\projects\framework\src\mx\core\UIComponent.as:8568]

    FlexBuilder uses component fl.. , unless someone has placed them in the

    lib-path.

    Check the exception is the same and a FL. in the call stack?

    Check the debugger only got SWF loaded console?

    If you have done both, then another link-report and post it.

  • Test with TLF

    All formatting complex unit tests, I hit several problems. Here are simple tests that fail with an error. Anyone know what is the problem with these tests?

    Thanks for the tips,

    Marc

        public function test_apply_Link():void 
        {
            var init:XML = <TextFlow xmlns="http://ns.adobe.com/textLayout/2008"><p><span>aaa</span></p></TextFlow>
            var textFlow:TextFlow = TextConverter.importToFlow(init, TextConverter.TEXT_LAYOUT_FORMAT)
            var editManager:IEditManager = new EditManager()
            textFlow.interactionManager = editManager
            
            editManager.selectRange(1,2)
            editManager.applyLink("http://livedocs.adobe.com/", "_self", true) // throws error:
            /*     
            RangeError: Error #2006: The supplied index is out of bounds.
                at flash.text.engine::GroupElement/replaceElements()
                at flashx.textLayout.elements::ParagraphElement/http://ns.adobe.com/textLayout/internal/2008::insertBlockElement()[E:\dev\trunk\frameworks\projects\textLayout\textLayout_core\src\flashx\textLayout\elements\ParagraphElement.as:277]
                at flashx.textLayout.elements::FlowLeafElement/http://ns.adobe.com/textLayout/internal/2008::createContentElement()[E:\dev\trunk\frameworks\projects\textLayout\textLayout_core\src\flashx\textLayout\elements\FlowLeafElement.as:95]
                at flashx.textLayout.elements::SpanElement/http://ns.adobe.com/textLayout/internal/2008::createContentElement()[E:\dev\trunk\frameworks\projects\textLayout\textLayout_core\src\flashx\textLayout\elements\SpanElement.as:77]
                at flashx.textLayout.elements::ParagraphElement/http://ns.adobe.com/textLayout/internal/2008::createTextBlock()[E:\dev\trunk\frameworks\projects\textLayout\textLayout_core\src\flashx\textLayout\elements\ParagraphElement.as:100]
                at flashx.textLayout.elements::ParagraphElement/http://ns.adobe.com/textLayout/internal/2008::createContentElement()[E:\dev\trunk\frameworks\projects\textLayout\textLayout_core\src\flashx\textLayout\elements\ParagraphElement.as:241]
                at flashx.textLayout.elements::SubParagraphGroupElement/http://ns.adobe.com/textLayout/internal/2008::setParentAndRelativeStart()[E:\dev\trunk\frameworks\projects\textLayout\textLayout_core\src\flashx\textLayout\elements\SubParagraphGroupElement.as:178]
                at flashx.textLayout.elements::LinkElement/http://ns.adobe.com/textLayout/internal/2008::setParentAndRelativeStart()[E:\dev\trunk\frameworks\projects\textLayout\textLayout_core\src\flashx\textLayout\elements\LinkElement.as:495]
                at flashx.textLayout.elements::FlowGroupElement/replaceChildren()[E:\dev\trunk\frameworks\projects\textLayout\textLayout_core\src\flashx\textLayout\elements\FlowGroupElement.as:764]
                at Function/http://adobe.com/AS3/2006/builtin::apply()
                at flashx.textLayout.elements::ParagraphElement/replaceChildren()[E:\dev\trunk\frameworks\projects\textLayout\textLayout_core\src\flashx\textLayout\elements\ParagraphElement.as:302]
                at flashx.textLayout.edit::TextFlowEdit$/insertNewSPBlock()[E:\dev\trunk\frameworks\projects\textLayout\textLayout_edit\src\flashx\textLayout\edit\TextFlowEdit.as:655]
                at flashx.textLayout.edit::TextFlowEdit$/makeLink()[E:\dev\trunk\frameworks\projects\textLayout\textLayout_edit\src\flashx\textLayout\edit\TextFlowEdit.as:503]
                at flashx.textLayout.operations::ApplyLinkOperation/doOperation()[E:\dev\trunk\frameworks\projects\textLayout\textLayout_edit\src\flashx\textLayout\operations\ApplyLinkOperation.as:146]
                at flashx.textLayout.edit::EditManager/doInternal()[E:\dev\trunk\frameworks\projects\textLayout\textLayout_edit\src\flashx\textLayout\edit\EditManager.as:418]
                at flashx.textLayout.edit::EditManager/doOperation()[E:\dev\trunk\frameworks\projects\textLayout\textLayout_edit\src\flashx\textLayout\edit\EditManager.as:321]
                at flashx.textLayout.edit::EditManager/applyLink()[E:\dev\trunk\frameworks\projects\textLayout\textLayout_edit\src\flashx\textLayout\edit\EditManager.as:1137]
                 */
        }
    

        public function test_undo():void 
        {
            var init:XML = <TextFlow xmlns="http://ns.adobe.com/textLayout/2008"><p><span>aaa</span></p></TextFlow>
            var textFlow:TextFlow = TextConverter.importToFlow(init, TextConverter.TEXT_LAYOUT_FORMAT)
            var undoManager:IUndoManager = new UndoManager()
            var editManager:IEditManager = new EditManager(undoManager)
            textFlow.interactionManager = editManager
            
            editManager.selectRange(1,2)
             var format:TextLayoutFormat = new TextLayoutFormat()
            format.fontWeight = FontWeight.BOLD
            editManager.applyLeafFormat(format)
            
            undoManager.undo() // throws error:
            /*     
            TypeError: Error #1009: Cannot access a property or method of a null object reference
                at flashx.textLayout.edit::EditManager/performUndo()[E:\dev\trunk\frameworks\projects\textLayout\textLayout_edit\src\flashx\textLayout\edit\EditManager.as:540]
                at flashx.textLayout.operations::FlowOperation/performUndo()[E:\dev\trunk\frameworks\projects\textLayout\textLayout_edit\src\flashx\textLayout\operations\FlowOperation.as:181]
                at flashx.undo::UndoManager/undo()[E:\dev\trunk\frameworks\projects\textLayout\textLayout_edit\src\flashx\undo\UndoManager.as:197]             
            */
        }
    

    For your first problem, you missed displaying the textFlow to the scene.  The code below works:

    var

     

    var controllerOne:ContainerController = new ContainerController (container, 500, 500);

    var init:XML = http://ns.adobe.com/textLayout/2008 ">

    AAA

    var textFlow:TextFlow = TextConverter.importToFlow (init, TextConverter.TEXT_LAYOUT_FORMAT)

    addChild (container);

    textFlow.flowComposer.addController (controllerOne);

    textFlow.flowComposer.updateAllControllers ();

    var editManager:IEditManager = new EditManager();

    textFlow.interactionManager = editManager;

    editManager.selectRange (1,2);

    () editManager.applyLink

    "http://livedocs.adobe.com/", "_self" (, true); "

    container: Sprite = new Sprite();

  • Several Bugs of InlineGraphic

    InlineGraphics are not always displayed on the load in the event of several paragraphs, say - and reappear when change the paragraphs/TextLines they are in and errors occur when you try to navigate to InlineGraphics 'hidden '.
    Please run the attached code for demonstration.
    After loading, the film displays only the flash logo and red rectangles. If you place the cursor somewhere and hold [down arrow] key, errors (trace below) occur.
    so, if you change the "xyz" the blue rectangles appear.
    Now scroll down until the graphics are off the screen. When you scroll back and select one of the graphics (or text in the same paragraph), they disappear, but still occupy the space and can be selected. Editing in their respective paragraphs leads them to reappear.

    using gumbo TFL 4.0.0.5313

    ActionScript error:
    TypeError: Error #1009: cannot access a property or method of a null object reference.
    to flashx.textLayout.container::ContainerControllerBase/posToRectangle()
    to flashx.textLayout.container::ContainerControllerBase/scrollToPosition()
    to flashx.textLayout.utils::TextRangeUtil$/nextLine()
    to flashx.textLayout.edit::SelectionManager/handleDownArrow()
    to flashx.textLayout.edit::SelectionManager/handleKeyEvent()
    to flashx.textLayout.edit::SelectionManager/keyDownHandler()
    to flashx.textLayout.edit::EditManager/keyDownHandler()
    to flashx.textLayout.container::ContainerControllerBase/processKeyDownEvent()
    to flashx.textLayout.container::ContainerControllerBase/keyDownHandler()

    ActionScript error:
    TypeError: Error #1009: cannot access a property or method of a null object reference.
    to flashx.textLayout.container::ContainerControllerBase/posToRectangle()
    to flashx.textLayout.container::ContainerControllerBase/scrollToPosition()
    to flashx.textLayout.utils::TextRangeUtil$/nextLine()
    to flashx.textLayout.edit::SelectionManager/handleDownArrow()
    to flashx.textLayout.edit::SelectionManager/handleKeyEvent()
    to flashx.textLayout.edit::SelectionManager/keyDownHandler()
    to flashx.textLayout.edit::EditManager/keyDownHandler()
    to flashx.textLayout.container::ContainerControllerBase/processKeyDownEvent()
    to flashx.textLayout.container::ContainerControllerBase/keyDownHandler()

    ActionScript error:
    RangeError: Error #2006: the supplied index is out of range.
    to flash.text.engine::TextLine/getAtomBidiLevel()
    to flashx.textLayout.elements::TextFlowLine/adjustEndElementForBidi()
    to flashx.textLayout.elements::TextFlowLine/makeSelectionBlocks()
    to flashx.textLayout.elements::TextFlowLine/ http://ns.adobe.com/textLayout/internal/2008::calculateSelectionBounds()
    to flashx.textLayout.elements::TextFlowLine/getSelectionShapesCacheEntry()
    to flashx.textLayout.elements::TextFlowLine/ http://ns.adobe.com/textLayout/internal/2008::selectionWillIntersectScrollRect()
    to flashx.textLayout.container::ContainerControllerBase/scrollToPosition()
    to flashx.textLayout.utils::TextRangeUtil$/nextLine()
    to flashx.textLayout.edit::SelectionManager/handleDownArrow()
    to flashx.textLayout.edit::SelectionManager/handleKeyEvent()
    to flashx.textLayout.edit::SelectionManager/keyDownHandler()
    to flashx.textLayout.edit::EditManager/keyDownHandler()
    to flashx.textLayout.container::ContainerControllerBase/processKeyDownEvent()
    to flashx.textLayout.container::ContainerControllerBase/keyDownHandler()

    It sound like your problem has been resolved today as part of another fix: wait for the fix in built 394 +.

  • exception on mouse based on container

    RangeError: Error #2006: the supplied index is out of range.
    to flash.text.engine::TextBlock/findPreviousWordBoundary()
    to flashx.textLayout.elements::ParagraphElement/findPreviousWordBoundary()
    to SpellChecker / onTFSelectionChanged () [/ er.as:117 spell-users/kietdoung/Desktop/source/writer/src/corrector]
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    to flashx.textLayout.elements::TextFlow/dispatchEvent()
    to flashx.textLayout.edit::SelectionManager/selectionChanged()
    to flashx.textLayout.edit::SelectionManager/setSelection()
    to flashx.textLayout.edit::SelectionManager/setNewSelectionPoint()
    to flashx.textLayout.edit::SelectionManager/mouseDownHandler()

    We have another reported bug that looks a lot like this. I think that this problem can occur when the text is not updated. We will look into it. Thanks for the report!

  • Unable to Sign In - error iTunes Connect user authentication (2006)

    Hello guys, I am unable to connect to my iTunes Connect from my iPhone 6.

    The error that says "Unable to Sign In French - error authenticating user iTunesConnect (2006).

    Anyone faced similar questions before?

    Check your USB connections

    If you see the error 4005, 4013, 4014, learn what to door. If you see one of the errors below, you might have a USB connection problem:

    • 13, 14, 1600, 1601, 1602, 1603, 1604, 1611, 1643-1650
    • 2000, 2001, 2002, 2005, 2006, 2009
    • An error message that includes, "an invalid response.

    Follow these steps to see if the problem is with your USB cable, a USB port or computer. Try again after each step:

    1. Use the USB cable supplied with your device. If you do not, try a different cable USB Apple.
    2. Switch to a different USB port on your computer. Do not connect on your keyboard.
    3. Plug it into another computer.
    4. If you still see the error, you can check for any other problem USB, with the third-party security softwareand the problems with hardware.

    If the problem persists, contact The Apple support.

    Get help with iOS update or restore errors - Apple Support

  • Satellite A60-102: error with an autodesk autocad 2006

    Hi all;
    Autodesk autocad 2006, I installed on my computer laptop satellite SA60-102, but it did not run and it displays an error saying 'DBX CASE 0' with 'ok', although I installed it on my desktop pc and it worked very well.

    I need your help ASAP
    Naim Kobaissy

    Hello

    Connection to the website http://www.cadchat.com/forums/lofiversion/index.php/t2443.html
    You may become Information for the (CASE of DBX 0) problem with AutoCAD 2006. It is a Site of cat Cad.

    By

Maybe you are looking for