Hi list,
I have al class named 'FormatDecimalen' in a file named 'FormatDecimalen.as' The class is wrapped in an unnamed package. All is well when i call the class from a .fla-file. The .fla is in another location on my HD and points to the class path 'myHD/myProjects/nl/geografiek/utilities'

Now I want to name the package containing 'FormatDecimalen' to 'nl.geografiek.utilities'.
My file structure is as follows:
myHD
|_ myProjects
        |_ nl
                |_ geografiek
                        |_ utilities
                                |_ FormatDecimalen.as


When I wrap the class in a named package it breaks. When I compile the .fla get an error:
"5001:
The name of package 'nl.geografiek.utilities' does not reflect the location of this file. Please change the package definition's name inside this file, or move the file.
/Volumes/myHD/ myProjects/nl/geografiek/utilities/FormatDecimalen.as"

What am I doing wrong?
thanks,
Willem van den Goorbergh


=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
Geografiek is a Dutch, Utrecht-based map and chart design company.
Willem van den Goorbergh can be contacted by telephone: (+31) 30-2719512 or cell phone: (+31)6-26372378
or by fax: (+31)302719687
snail mail: Hooghiemstraplein 89 3514 AX UTRECHT
Visit our website at: http://www.geografiek.nl
=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=


_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to