Make the .fla classpath point to: 'myHD/myProjects'
f you're using AS2, in your FormatDecimalen.as file change the line:
class FormatDecimalen {
to read:
class nl.geografiek.utilities.FormatDecimalen {
If you're using AS3, in your FormatDecimalen.as file change the line:
package {
to read:
package nl.geografiek.utilities {
Hope that's helpful,
Ian
On 8/15/07, Geografiek <[EMAIL PROTECTED]> wrote:
>
> 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
> =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
>
>
> _______________________________________________
> [email protected]
> 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
>
_______________________________________________
[email protected]
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