1 Reply Latest reply: Sep 15, 2011 1:57 AM by utsav_adobe RSS

    Squiggly 0.6

    Flexmaniac

      Hi

       

      I am trying to integrate Squiggly 0.6 on to a Richeeditabletext, as per documentation have placed all the files in the correct folder

       

      SDK: Flex 4.5

       

      What am I doing wrong?

       

      TypeError: Error #1009: Cannot access a property or method of a null object reference.

      at flashx.textLayout.container::TextContainerManager/getContentBounds()[C:\Vellum\branches\v 2\2.0\dev\output\openSource\textLayout\src\flashx\textLayout\container\TextContainerManage r.as:680]

      at spark.components::RichEditableText/textContainerManager_compositionCompleteHandler()[E:\d ev\hero_private\frameworks\projects\spark\src\spark\components\RichEditableText.as:4448]

      at flash.events::EventDispatcher/dispatchEventFunction()

      at flash.events::EventDispatcher/dispatchEvent()

      at flashx.textLayout.container::TextContainerManager/dispatchEvent()[C:\Vellum\branches\v2\2 .0\dev\output\openSource\textLayout\src\flashx\textLayout\container\TextContainerManager.a s:1553]

      at flash.events::EventDispatcher/dispatchEventFunction()

      at flash.events::EventDispatcher/dispatchEvent()

      at flashx.textLayout.elements::TextFlow/dispatchEvent()[C:\Vellum\branches\v2\2.0\dev\output \openSource\textLayout\src\flashx\textLayout\elements\TextFlow.as:859]

      at flashx.textLayout.compose::StandardFlowComposer/http://ns.adobe.com/textLayout/internal/2008::callTheComposer()[C:\Vellum\branches\v2\2.0\ dev\output\openSource\textLayout\src\flashx\textLayout\compose\StandardFlowComposer.as:688 ]

      at flashx.textLayout.compose::StandardFlowComposer/internalCompose()[C:\Vellum\branches\v2\2 .0\dev\output\openSource\textLayout\src\flashx\textLayout\compose\StandardFlowComposer.as: 760]

      at flashx.textLayout.compose::StandardFlowComposer/updateToController()[C:\Vellum\branches\v 2\2.0\dev\output\openSource\textLayout\src\flashx\textLayout\compose\StandardFlowComposer. as:556]

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

      at com.adobe.linguistics.spelling::SpellingContextMenuForTLF()[C:\p4_garuda1890_ugoyal-xp\es g\squiggly\main\AdobeSpellingUITLF\src\com\adobe\linguistics\spelling\SpellingContextMenuF orTLF.as:95]

      at com.adobe.linguistics.spelling::SpellUIForTLF/addContextMenu()[C:\p4_garuda1890_ugoyal-xp \esg\squiggly\main\AdobeSpellingUITLF\src\com\adobe\linguistics\spelling\SpellUIForTLF.as: 481]

      at com.adobe.linguistics.spelling::SpellUIForTLF/loadDictComplete()[C:\p4_garuda1890_ugoyal- xp\esg\squiggly\main\AdobeSpellingUITLF\src\com\adobe\linguistics\spelling\SpellUIForTLF.a s:464]

      at flash.events::EventDispatcher/dispatchEventFunction()

      at flash.events::EventDispatcher/dispatchEvent()

      at com.adobe.linguistics.spelling.framework::SpellingService/loadDictComplete()[C:\p4_garuda 1890_ugoyal-xp\esg\squiggly\main\AdobeSpellingFramework\src\com\adobe\linguistics\spelling \framework\SpellingService.as:117]

      at flash.events::EventDispatcher/dispatchEventFunction()

      at flash.events::EventDispatcher/dispatchEvent()

      at com.adobe.linguistics.spelling::HunspellDictionary/loadDictionaryComplete()[C:\p4_garuda1 890_ugoyal-xp\esg\squiggly\main\AdobeSpellingEngine\src\com\adobe\linguistics\spelling\Hun spellDictionary.as:157]

      at flash.events::EventDispatcher/dispatchEventFunction()

      at flash.events::EventDispatcher/dispatchEvent()

      at com.adobe.linguistics.spelling.core.utils::SquigglyDictionaryLoader/loadWithoutTimeouts() [C:\p4_garuda1890_ugoyal-xp\esg\squiggly\main\AdobeSpellingEngine\src\com\adobe\linguistic s\spelling\core\utils\SquigglyDictionaryLoader.as:327]

      at Function/http://adobe.com/AS3/2006/builtin::apply()

      at SetIntervalTimer/onTimer()

      at flash.utils::Timer/_timerDispatch()

      at flash.utils::Timer/tick()

        • 1. Re: Squiggly 0.6
          utsav_adobe

          HI,

           

          Could you let me know whether you are trying to use Squiggly for Spark: RichEditableText? If that is the case i guess you might be using wrong SWC. For Spark components please use AdobeSpellingUIEx.swc. From this swc please use SpellUI.enableSpelling function for spell checking.

          Please let me know if this solves your problem.

           

          Thanks,

          Utsav