Skip to main content
Participant
March 30, 2014
Question

AS3 project stopped working when I went from CS5 to CS6

  • March 30, 2014
  • 1 reply
  • 684 views

I have a bunch of includes for displaying text:

import flashx.textLayout.elements.Configuration;

import flashx.textLayout.formats.TextLayoutFormat;

import flashx.textLayout.formats.TextAlign;

import flashx.textLayout.elements.TextFlow;

import flashx.textLayout.elements.ParagraphElement;

import flashx.textLayout.elements.SpanElement;

import flashx.textLayout.container.ContainerController;

and when I compile the project, I get this error:

Definition flashx.textLayout.elements.Configuration could not be found.

for all these includes.  And then I get the error:

Type was not found or was not a compile time constant: Configuration

When I try to use any of these types. 

Do I need to download additional libraries for CSS or put my project in a different file?  I don't understand why my includes shouldn't work - these classes are still showing up in the online AS3 documentation. 

I am running OSX 10.9.2.

Thanks!

This topic has been closed for replies.

1 reply

kglad
Community Expert
Community Expert
March 30, 2014

i don't see a problem in cs6.

on the other hand, that would be expected in flash cc.

Participant
September 3, 2014

Hi!

Please I did an calculator that import this "flashx.textLayout.formats"; but when I try to use the same .FLA file made in FLASH 6, with AS3, in FLASH CC, the following Compile Error happen: Definition flashx.textLayout.formats couldn't be found.

Do you know how to solve it?

Inspiring
September 3, 2014

flash cc doesn`t support tlf-text anymore

change all your textfields to normal text