1

I'm trying to understand how packages and dependencies work with Adobe Flash Builder 4.

I've copied an example here and put it in a .as file called DependencyGraph.

However I get the error message:

A file found in a source-path must have the same package structure '', 
as the definition's package, 'DependencyGraph'.

I understand that the original file has a package name called package flare.apps. What should I change to enable this to run?

djq
  • 14,810
  • 45
  • 122
  • 157

1 Answers1

2

You need to put the file in the correct directory, in your case:

flare/apps/DependencyGraph.as
Chadwick
  • 12,555
  • 7
  • 49
  • 66