Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 02-29-2012, 04:05 PM   #1
Registered User
Join Date: Feb 2012
Posts: 33
Default Error 5001 Does not reflect location of package

Hey Guys,

So I have a shell.fla file, on the same level as that there is a core_classes folder. Inside of the core classes folder is a core_initialize.as and a xml, buttons, and loaders folders. Inside of the loaders folder is swf_loaders.as
Inside of the buttons folder is menu_buttons.as

The package name for menu_buttons.as is core_classes.buttons
The package name for swf_loaders.as is core_classes.loaders

When I run my Shell.fla I get the 5001 error Package name 'core_classes.loaders' does not reflect the location of this package. Please move this to the file. 'core_classes/loaders/swf_loaders.as'.

But where it lists the location of the error in the compile errors box it lists 'core_classes/loaders/swf_loaders.as'

I've checked the spelling everything is spelled right, I made sure I didn't mix up the two package names..

I don't know what else could be wrong with it.

Any Ideas??


Last edited by josiah29; 02-29-2012 at 04:07 PM.
josiah29 is offline   Reply With Quote
Old 02-29-2012, 07:40 PM   #2
Join Date: Mar 2008
Posts: 79

sounds like a folder structure issue. The package path is the folder structure and the class Name is the file name. so the class 'core_classes.loaders.menu_buttons' would need to be in a folder structure that matches that ie : core_classes / loaders / menu_buttons.as.

If the folder structure is right and there is no typo's, make sure the program knows where the class folders are. So if you're using flash, either put the 'core_classes' folder in the same folder as shell.fla or let flash know where the folder is by file > actionscript settings (source path tab)
midge is offline   Reply With Quote

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT. The time now is 01:19 PM.

Follow actionscriptorg on Twitter


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2015, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.