Skip to main content
July 8, 2009
Question

Help...

  • July 8, 2009
  • 1 reply
  • 2233 views

I downloaded the latest build of the tlf (build 460) i put de swc in the external lib path but when i test the movie i get the following error's

1119: Access of possibly undefined property HTML_FORMAT through a reference with static type Class.

1067: Implicit coercion of a value of type flashx.textLayout.container:ContainerController to an unrelated type flashx.textLayout.container:IContainerController.

1061: Call to a possibly undefined method updateAllControllers through a reference with static type flashx.textLayout.compose:IFlowComposer.

I'm using flash cs4.

Just one more question: kan one render fckeditor's html format in de tlf?

help

This topic has been closed for replies.

1 reply

Adobe Employee
July 8, 2009

Check the ReleaseNotes.txt file.  There've been a fair number of API chainges.

IContainerController was removed in build 417.

The TextFilter class was renamed to TextConverter in build 462. (not sure why you are seeing that in 460).

The HTML importer is very limited.

Hope that helps,

Richard

July 8, 2009

Richard thanks for your fast replay.

I'm new to this

This is what i have so far for testing.

old:

var markup2:String = "<b>bold</b><i>italic</i>Mary has a little lamb";

var  textFlow2:TextFlow = TextFilter.importToFlow(markup2, TextFilter.HTML_FORMAT);   
textFlow2.flowComposer.addController(new ContainerController( this, width, height));

textFlow2.flowComposer.updateAllControllers();

new:

var markup2:String = "<b>bold</b><i>italic</i>Mary has a little lamb";

var  textFlow2:TextFlow = TextConverter.importToFlow(markup2, TextFilter.HTML_FORMAT);

do i have to remove the following lines of change them in ?
textFlow2.flowComposer.addController(new ContainerController( this, width, height));

textFlow2.flowComposer.updateAllControllers();

and i still get this errors:1120: Access of undefined property TextConverter.

i think I made a mess out of my flash config.

also you mention build 462, I can't find build 462 to download it.

Adobe Employee
July 8, 2009

460 was the last posted built.  Another build will get posted later this week.  Sorry for the confusion I was just looking at the releasenotes.

The addController and updateAllControllers lines look exactly right in both cases.

Hard to say what's going wrong.  It looks like there is more than one version of the TLF swcs being linked in.

Richard