• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

AS3 project stopped working when I went from CS5 to CS6

New Here ,
Mar 30, 2014 Mar 30, 2014

Copy link to clipboard

Copied

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!

TOPICS
ActionScript

Views

617

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 30, 2014 Mar 30, 2014

Copy link to clipboard

Copied

i don't see a problem in cs6.

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Sep 02, 2014 Sep 02, 2014

Copy link to clipboard

Copied

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?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guru ,
Sep 03, 2014 Sep 03, 2014

Copy link to clipboard

Copied

LATEST

flash cc doesn`t support tlf-text anymore

change all your textfields to normal text

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines