Flash CS5 , TLF2 and verify errors
Hi,
This code :
var tlf:TLFTextField= new TLFTextField()
tlf.type=TextFieldType.DYNAMIC
addChild(tlf)
throws these errors:
What Im doing wrong?
TIA
verify fl.text::TLFTextField/setFormatForAllElements()
stack:
scope: [global Object$ flash.events::EventDispatcher$ flash.display::DisplayObject$ flash.display::InteractiveObject$ flash.display::DisplayObjectContainer$ flash.display::Sprite$ fl.text::TLFTextField$] ~
locals: fl.text::TLFTextField flashx.textLayout.elements::FlowGroupElement? flashx.textLayout.formats::TextLayoutFormat? * * * *
0:debugfile "F:\stage\Flash11_Main_485_Stage\main\authortool\Stage\tlfRuntime;fl\text;TLFTextField.as"
stack:
scope: [global Object$ flash.events::EventDispatcher$ flash.display::DisplayObject$ flash.display::InteractiveObject$ flash.display::DisplayObjectContainer$ flash.display::Sprite$ fl.text::TLFTextField$] ~
locals: fl.text::TLFTextField flashx.textLayout.elements::FlowGroupElement? flashx.textLayout.formats::TextLayoutFormat? * * * *
3:debugline 1322
stack:
scope: [global Object$ flash.events::EventDispatcher$ flash.display::DisplayObject$ flash.display::InteractiveObject$ flash.display::DisplayObjectContainer$ flash.display::Sprite$ fl.text::TLFTextField$] ~
locals: fl.text::TLFTextField flashx.textLayout.elements::FlowGroupElement? flashx.textLayout.formats::TextLayoutFormat? * * * *
6:getlocal0
stack: fl.text::TLFTextField
scope: [global Object$ flash.events::EventDispatcher$ flash.display::DisplayObject$ flash.display::InteractiveObject$ flash.display::DisplayObjectContainer$ flash.display::Sprite$ fl.text::TLFTextField$] ~
locals: fl.text::TLFTextField flashx.textLayout.elements::FlowGroupElement? flashx.textLayout.formats::TextLayoutFormat? * * * *
7:pushscope
stack:
scope: [global Object$ flash.events::EventDispatcher$ flash.display::DisplayObject$ flash.display::InteractiveObject$ flash.display::DisplayObjectContainer$ flash.display::Sprite$ fl.text::TLFTextField$] fl.text::TLFTextField
locals: fl.text::TLFTextField flashx.textLayout.elements::FlowGroupElement? flashx.textLayout.formats::TextLayoutFormat? * * * *
8:pushnull
stack: null
scope: [global Object$ flash.events::EventDispatcher$ flash.display::DisplayObject$ flash.display::InteractiveObject$ flash.display::DisplayObjectContainer$ flash.display::Sprite$ fl.text::TLFTextField$] fl.text::TLFTextField
locals: fl.text::TLFTextField flashx.textLayout.elements::FlowGroupElement? flashx.textLayout.formats::TextLayoutFormat? * * * *
9:coerce flashx.textLayout.elements::FlowElement
stack: flashx.textLayout.elements::FlowElement?
scope: [global Object$ flash.events::EventDispatcher$ flash.display::DisplayObject$ flash.display::InteractiveObject$ flash.display::DisplayObjectContainer$ flash.display::Sprite$ fl.text::TLFTextField$] fl.text::TLFTextField
locals: fl.text::TLFTextField flashx.textLayout.elements::FlowGroupElement? flashx.textLayout.formats::TextLayoutFormat? * * * *
11:setlocal 5
stack:
scope: [global Object$ flash.events::EventDispatcher$ flash.display::DisplayObject$ flash.display::InteractiveObject$ flash.display::DisplayObjectContainer$ flash.display::Sprite$ fl.text::TLFTextField$] fl.text::TLFTextField
locals: fl.text::TLFTextField flashx.textLayout.elements::FlowGroupElement? flashx.textLayout.formats::TextLayoutFormat? * * flashx.textLayout.elements::FlowElement? *
13:pushnull
stack: null
scope: [global Object$ flash.events::EventDispatcher$ flash.display::DisplayObject$ flash.display::InteractiveObject$ flash.display::DisplayObjectContainer$ flash.display::Sprite$ fl.text::TLFTextField$] fl.text::TLFTextField
locals: fl.text::TLFTextField flashx.textLayout.elements::FlowGroupElement? flashx.textLayout.formats::TextLayoutFormat? * * flashx.textLayout.elements::FlowElement? *
14:coerce flashx.textLayout.formats::TextLayoutFormatValueHolder
VerifyError: Error #1014: Class flashx.textLayout.formats::TextLayoutFormatValueHolder could not be found.
at fl.text::TLFTextField/repaint()
at flash.display::DisplayObjectContainer/addChildAt()
at fl.motion::AnimatorBase/play()
at fl.motion::AnimatorBase$/processCurrentFrame()
at fl.motion::AnimatorFactoryBase/addTargetInfo()
at inlineRemoved_fla::MainTimeline()[inlineRemoved_fla.MainTimeline::MainTimeline:40]
ready
verify fl.text::TLFTextField/setFormatForAllElements()
stack:
scope: [global Object$ flash.events::EventDispatcher$ flash.display::DisplayObject$ flash.display::InteractiveObject$ flash.display::DisplayObjectContainer$ flash.display::Sprite$ fl.text::TLFTextField$] ~
locals: fl.text::TLFTextField flashx.textLayout.elements::FlowGroupElement? flashx.textLayout.formats::TextLayoutFormat? * * * *
0:debugfile "F:\stage\Flash11_Main_485_Stage\main\authortool\Stage\tlfRuntime;fl\text;TLFTextField.as"
stack:
scope: [global Object$ flash.events::EventDispatcher$ flash.display::DisplayObject$ flash.display::InteractiveObject$ flash.display::DisplayObjectContainer$ flash.display::Sprite$ fl.text::TLFTextField$] ~
locals: fl.text::TLFTextField flashx.textLayout.elements::FlowGroupElement? flashx.textLayout.formats::TextLayoutFormat? * * * *
3:debugline 1322
stack:
scope: [global Object$ flash.events::EventDispatcher$ flash.display::DisplayObject$ flash.display::InteractiveObject$ flash.display::DisplayObjectContainer$ flash.display::Sprite$ fl.text::TLFTextField$] ~
locals: fl.text::TLFTextField flashx.textLayout.elements::FlowGroupElement? flashx.textLayout.formats::TextLayoutFormat? * * * *
6:getlocal0
stack: fl.text::TLFTextField
scope: [global Object$ flash.events::EventDispatcher$ flash.display::DisplayObject$ flash.display::InteractiveObject$ flash.display::DisplayObjectContainer$ flash.display::Sprite$ fl.text::TLFTextField$] ~
locals: fl.text::TLFTextField flashx.textLayout.elements::FlowGroupElement? flashx.textLayout.formats::TextLayoutFormat? * * * *
7:pushscope
stack:
scope: [global Object$ flash.events::EventDispatcher$ flash.display::DisplayObject$ flash.display::InteractiveObject$ flash.display::DisplayObjectContainer$ flash.display::Sprite$ fl.text::TLFTextField$] fl.text::TLFTextField
locals: fl.text::TLFTextField flashx.textLayout.elements::FlowGroupElement? flashx.textLayout.formats::TextLayoutFormat? * * * *
8:pushnull
stack: null
scope: [global Object$ flash.events::EventDispatcher$ flash.display::DisplayObject$ flash.display::InteractiveObject$ flash.display::DisplayObjectContainer$ flash.display::Sprite$ fl.text::TLFTextField$] fl.text::TLFTextField
locals: fl.text::TLFTextField flashx.textLayout.elements::FlowGroupElement? flashx.textLayout.formats::TextLayoutFormat? * * * *
9:coerce flashx.textLayout.elements::FlowElement
stack: flashx.textLayout.elements::FlowElement?
scope: [global Object$ flash.events::EventDispatcher$ flash.display::DisplayObject$ flash.display::InteractiveObject$ flash.display::DisplayObjectContainer$ flash.display::Sprite$ fl.text::TLFTextField$] fl.text::TLFTextField
locals: fl.text::TLFTextField flashx.textLayout.elements::FlowGroupElement? flashx.textLayout.formats::TextLayoutFormat? * * * *
11:setlocal 5
stack:
scope: [global Object$ flash.events::EventDispatcher$ flash.display::DisplayObject$ flash.display::InteractiveObject$ flash.display::DisplayObjectContainer$ flash.display::Sprite$ fl.text::TLFTextField$] fl.text::TLFTextField
locals: fl.text::TLFTextField flashx.textLayout.elements::FlowGroupElement? flashx.textLayout.formats::TextLayoutFormat? * * flashx.textLayout.elements::FlowElement? *
13:pushnull
stack: null
scope: [global Object$ flash.events::EventDispatcher$ flash.display::DisplayObject$ flash.display::InteractiveObject$ flash.display::DisplayObjectContainer$ flash.display::Sprite$ fl.text::TLFTextField$] fl.text::TLFTextField
locals: fl.text::TLFTextField flashx.textLayout.elements::FlowGroupElement? flashx.textLayout.formats::TextLayoutFormat? * * flashx.textLayout.elements::FlowElement? *
14:coerce flashx.textLayout.formats::TextLayoutFormatValueHolder
VerifyError: Error #1014: Class flashx.textLayout.formats::TextLayoutFormatValueHolder could not be found.
at fl.text::TLFTextField/repaint()
at fl.text::TLFTextField/set scrollV()
at fl.text::TLFTextField/doImport()
at fl.text::TLFTextField/set text()
at fl.text::TLFTextField/get textFlow()
at fl.text::TLFTextField/get
