• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 910
  • Last Modified:

error with missing definition: PropertyChangeEvent


In Flex 3  I'm just trying to embed a jpeg into an AS file and when I added the tag

I get the error:

Access of undefined property PropertyChangeEvent in package mx.events.

When I type

import mx.events.

Flex completes this with 4 possible options, none of which is PropertyChangeEvent.

Am I missing something that needs to be added to the project?  I'm using the proper sdk as everything seems to come up, but I've never used any Flex components until now.

1 Solution
Does your code look like this:

Is it possible for you to post some of your code so that we could debug it?
ugebAuthor Commented:

the code snippit is below.

I noticed (thanks to your help on the other question), the following errors which are likely causing at least some of the problems.  I'm missing the definitions as shown in the attached graphic.

My SDK is fine, is there some other thing I need to do to get these definitions?

In the second image, the error highlights are over the 3rd line (public ...) in the code snippet.


[Embed( source="assets/earthmap1k.jpg" )]
public var Earthpic:Class;

Open in new window

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: SQL Server Core 2016

This course will introduce you to SQL Server Core 2016, as well as teach you about SSMS, data tools, installation, server configuration, using Management Studio, and writing and executing queries.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now