Skip to main content
Participating Frequently
February 15, 2010
Question

Can't get the examples to work

  • February 15, 2010
  • 1 reply
  • 334 views

Im tring to publish the HelloWorld example and i get compilation errors:

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.

When i remove "Error:strict mode" i get the following run time error:

ArgumentError: Error #1063: Argument count mismatch on flashx.textLayout.property::UintProperty(). Expected 2, got 4.
    at flashx.textLayout.formats::TextLayoutFormat$cinit()
    at global$init()
    at flashx.textLayout.formats::TextLayoutFormatValueHolder/set columnCount()
    at flashx.textLayout.container::ContainerController$/createContainerControllerInitialFormat()
    at flashx.textLayout.container::ContainerController$cinit()
    at global$init()
    at HelloWorld()

It is as if im working with the wrong textLayout.swc

what am i doing wrong ?!?

*Attached are the files im working with

This topic has been closed for replies.

1 reply

Adobe Employee
February 16, 2010

I think you have an old version, either of the sample code, or of TLF itself. The best place to get TLF is

as part of the Flex 4 Open Source distribution. The best place to get the samples are off the TLF blog:

http://blogs.adobe.com/tlf/

See "New and Updated Samples".

If you get the latest from both places, they ought to build together just fine.

- robin