Is ActionScript-3 – MX.COLLECTIONS lost? ArrayCollection (FLASH Builder 4) in Flex4

I have some code that uses ArrayCollection, and it imports:

import mx.collections.ArrayCollection;

Then:

static protected var myAC:ArrayCollection = new ArrayCollection();

It seems very simple, but in my project, The import (and ArrayCollection) could not be found/defined!

I am using Flash Builder 4 (Flex 4)-it is an ActionScript project, and the project properties are set to Flex SDK 4.0. Everything should be the default settings.

When I type When “import mx”. and press control space (auto-complete), I see a list of options, such as core, geometry and several others, but there is no’collection’.

I must have missed something?

>export project as zip >update to FlashBuilder 4.1 >import project from zip>forget yours Error)

I have some code that uses ArrayCollection, and it imports:

import mx.collections.ArrayCollection;

pre>

Then:

static protected var myAC:ArrayCollection = new ArrayCollection();

It looks very simple, but in my project In, the import (and ArrayCollection) could not be found/defined!

I am using Flash Builder 4 (Flex 4)-it is an ActionScript project, and the project properties are set to Flex SDK 4.0. Everything should be the default settings.

When I type When "import mx". and press control space (auto-complete), I see a list of options, such as core, geometry and several others, but there is no'collection'.

I must have missed something?

>Export the project as a zip >Update to FlashBuilder 4.1 >Import the project from zip>Forget your mistakes)

WordPress database error: [Table 'yf99682.wp_s6mz6tyggq_comments' doesn't exist]
SELECT SQL_CALC_FOUND_ROWS wp_s6mz6tyggq_comments.comment_ID FROM wp_s6mz6tyggq_comments WHERE ( comment_approved = '1' ) AND comment_post_ID = 564 ORDER BY wp_s6mz6tyggq_comments.comment_date_gmt ASC, wp_s6mz6tyggq_comments.comment_ID ASC

Leave a Comment

Your email address will not be published.