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\v2\2.0\dev\output\openSource\textLayout\src\flashx\ textLayout\container\TextContainerManager.as:680]
at spark.components::RichEditableText/textContainerManager_compositionCo mpleteHandler()[E:\dev\hero_private\frameworks\projects\spark\src\spar k\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\tex tLayout\container\TextContainerManager.as:1553]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at flashx.textLayout.elements::TextFlow/dispatchEvent()[C:\Vellum\branch es\v2\2.0\dev\output\openSource\textLayout\src\flashx\textLayout\eleme nts\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\flas hx\textLayout\compose\StandardFlowComposer.as:688]
at flashx.textLayout.compose::StandardFlowComposer/internalCompose()[C:\ Vellum\branches\v2\2.0\dev\output\openSource\textLayout\src\flashx\tex tLayout\compose\StandardFlowComposer.as:760]
at flashx.textLayout.compose::StandardFlowComposer/updateToController()[ C:\Vellum\branches\v2\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\flash x\textLayout\compose\StandardFlowComposer.as:517]
at com.adobe.linguistics.spelling::SpellingContextMenuForTLF()[C:\p4_gar uda1890_ugoyal-xp\esg\squiggly\main\AdobeSpellingUITLF\src\com\adobe\l inguistics\spelling\SpellingContextMenuForTLF.as:95]
at com.adobe.linguistics.spelling::SpellUIForTLF/addContextMenu()[C:\p4_ garuda1890_ugoyal-xp\esg\squiggly\main\AdobeSpellingUITLF\src\com\adob e\linguistics\spelling\SpellUIForTLF.as:481]
at com.adobe.linguistics.spelling::SpellUIForTLF/loadDictComplete()[C:\p 4_garuda1890_ugoyal-xp\esg\squiggly\main\AdobeSpellingUITLF\src\com\ad obe\linguistics\spelling\SpellUIForTLF.as:464]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at com.adobe.linguistics.spelling.framework::SpellingService/loadDictCom plete()[C:\p4_garuda1890_ugoyal-xp\esg\squiggly\main\AdobeSpellingFram ework\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/loadDictionaryComp lete()[C:\p4_garuda1890_ugoyal-xp\esg\squiggly\main\AdobeSpellingEngin e\src\com\adobe\linguistics\spelling\HunspellDictionary.as:157]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at com.adobe.linguistics.spelling.core.utils::SquigglyDictionaryLoader/l oadWithoutTimeouts()[C:\p4_garuda1890_ugoyal-xp\esg\squiggly\main\Adob eSpellingEngine\src\com\adobe\linguistics\spelling\core\utils\Squiggly DictionaryLoader.as:327]
at Function/http://adobe.com/AS3/2006/builtin::apply()
at SetIntervalTimer/onTimer()
at flash.utils::Timer/_timerDispatch()
at flash.utils::Timer/tick()
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
North America
Europe, Middle East and Africa
Asia Pacific