Actionscript 3.0 :: 5001: The Name Of Package 'mvc' Does Not Reflect The Location Of This File
Feb 11, 2009
The error message I'm getting is as follows:5001: The name of package 'mvc' does not reflect the location of this file. change the package definition's name inside this file, or move the file. /Desktop/mvc/Model.as
View 6 Replies
Similar Posts:
Feb 29, 2012
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..
View 1 Replies
Jan 26, 2011
i'm trying to start organizing projects i have this folder structure: working>flash>as3Study>VectorModelStudy12511>src
my document is in VectorModelStudy12511 i have class paths to VectorModelStudy12511 and src the top of my document looks like:
[code]...
and i'm getting this error:
5001: The name of package 'VectorModelStudy12511' does not reflect the location of this file. Please change the package definition's name inside this file, or move the file. C:Users obDesktopProjectsWorkingFlashAS3Stu dyVectorModelStudy12511VectorModelStudy12511Docu ment.as
what am i doing wrong????
View 4 Replies
Dec 22, 2009
5001: The name of package 'flashdev' does not reflect the location of this file. Please change the package definition's name inside this file, or move the file.this is the error i get.Ill tell you what ive done.first i created a .as file.i have created a package like:
package flashdev{
//code here
public class ooclass{}
}
then i create a .fla file and sai
import flashdev.ooclass
defined a new() class here
.... and then i get this error. I thwen tried to set folder locations within flash cs3 and still couldnt get it to work.What can i be doing wrong
View 2 Replies
Nov 5, 2011
I don't use so often package and I don't understand why flash send a 5001 error on this
ActionScript Error #5001: The name of package does not reflect the location of this fileI have à fla located in the "test" folder :
import flash.display.Loader;
import com.MyLoader;
var photourls:Array = ["http://www4.pictures.zimbio.com/mp/6v5wRot-Ry9l.jpg"];
var ldr: MyLoader;
var id:uint = 0;
[Code]...
View 4 Replies
Oct 11, 2010
Because I was having so much trouble using packages in my other programs I created two simple classes to figure it out. I have placed these two classes in a folder named packageTest and even made a new path there in flash preference.
[Code].....
I am running them from a .fla file with packageTest.FirstPackage set as the document class. I receive the following error when I compile. 5001: The name of package 'packageTest' does not reflect the location of this file. Please change the package definition's name inside this file, or move the file. C:UsersDirkDesktopRuckuspackageTestPackageTr aveler.as
View 5 Replies
May 23, 2010
output error: The name of package 'greet' does not reflect the location of this file. Please change the package definition's name inside this file, or move the file. C:Documents and SettingsIgalMy DocumentsmeirangreetGreeter.as
I keep on recieving this output error although my source path is set to C:Documents and SettingsIgalMy Documentsmeirangreet.
View 1 Replies
Aug 29, 2010
I'm getting an error on Flash that I've never run in to before.
5001: The name of package 'Document'does not reflect the location of this file. Please change the package definition's name inside this file, or move the file. C:Work2009-2010FlashTestsDocument.as
The fla is called TestEvents1... and that's all the info I think is related.What's happening here?
View 1 Replies
Apr 25, 2011
I have a movie clip called turret that is on the screen and is instanced as Turret, I have a movie clip called bullet and that is in the library exported for AS "bullet" no quotes. Here is the website [URL] My frame (main) class is called du34
[Code]....
View 3 Replies
Feb 26, 2010
error 5008:It says the name of definition 'Menu' does not reflect the location of this file.But I have 3x checked it and it is in the correct place.
View 1 Replies
Jul 27, 2009
I'm trying to do some restructing of a flash codebase, and I was wondering if anyone could clarify something for me as I'm unsure whether what I'm trying to do goes against a fundamental priciple of flash development or I'm being confused by the Flash CS4 user interface(I've got a java development background, so some of the interaction between fla files and the like is somewhat difficult at times to get my head around). I've done several searches but can't seem to find any similar problems, apologies if any exist.
Basically, I want to restructure my codebase and move my fla files around by putting them at a different location in the directory structure.
Existing structure:
basecompany namecomponent name
where fla files are stored in base, and code is stored in company namecomponent name, and code in said location is in the company name.component name package.
What I want to do is move my fla files from base to component name for each individual project. The actual location of the code is unchanged, but the fla files no longer compile, giving me a 5001 error - package name does not reflect location. I'm assuming that this is because the relative location is different - as far as the fla file is concerned, the code it is referencing is located at component name, not company namecomponent name. Is it possible to make the CS4 publisher understand that the fla file is not at the root of the package structure, and if so how?
View 1 Replies
Dec 19, 2011
I have an actionscript file,it has a package name,it locate C:demo directory,like follows:
package demo{
import flash.display.*;
public class ABC extends Sprite{[code]............
Then I compile above code like following command,but it raise following error:
C:>mxmlc demoABC.as
Loading configuration file C:sdkframeworksflex-config.xml
C:demoABC.as: Error: A file found in a source-path must have the same package structure '', as the definition's package, 'demo'.Where is wrong above command?
View 1 Replies
Apr 7, 2010
I have a file trying to import a package which has info re: create a custom cursor
import AS3.proyectos.trivia.CustomCursor; var myCursor:CustomCursor = new CustomCursor;
The class/package file CustomCursor.as reads as follows:
[code].....
View 8 Replies
Dec 13, 2011
It seems I have no trouble pointing an FLA's document class to my project's class package when the FLA is at the same root level as the package's top-level directory. However, if the FLA is nested in a sub-directory, then relative paths to a class nested in the package will not work.example package & class location : [url]....
Case1 :
Package location : MyProject
FLA location : MyProject[code]........
If someone can provide an explanation as to why nested FLAs can't point to custom packages in parent-level directories, OR demonstrate how this can be done,
View 9 Replies
Aug 21, 2011
I created a simple button that displays an error messeage: "error opening 'url" when I test the movie, but does play and opens in browser after publishing. However, it won't open in the browser in a different location. I pasted the html code in a web page but it doesn't work there nor opens in the browser in a differnet location from where it was originally published and saved. Why is that?
View 13 Replies
Mar 7, 2009
I want to know the 'file path' when an user selects a file from 'any location' on his hard disk. I like to know is it possible to fetch the entire file URL instead of the file name alone?
Code:
var fileRef= new FileReference();
fileRef.addListener(mylistener);
mylistener.onOpen = function(file){
[Code]....
View 7 Replies
Nov 20, 2009
All I'm trying to do is load an external .swf file into a precise location on the stage of my existing Flash file. I've spent an hour and a half on this site search and found nothing. What do I add to my loadMovie command to place the file at specific x,y coordinates?
View 3 Replies
Nov 23, 2010
I have a 3.5MB SWF that points to ~80 FLVs that range in size from 3MB to 10MB.
Is there a way I can package all of these files into one ~500MB file that can be run locally? My client wants sales people to take this app around with them on their laptops and not require the internet and I don't want them to have 100 files to mess with.
View 2 Replies
Dec 18, 2009
I am having troubles passing an x and y argument into a package function that creates a projectile on stage at the tank.gun's x and y.I have attached a zip of the code I am working on.[code]
View 6 Replies
Jan 27, 2010
I'm running into this weird thing with ASDoc. It will only document one package function per package.For example.I have these two functions:
gs.util.printf
gs.util.ftrace
In these files:
gs/util/printf.as
gs/util/ftrace.as
The only function that get's documented in ASDocs is "printf". But I know it can do more than one. As an example, in the livedocs [URL] There are more than one functions documented.
View 2 Replies
Apr 20, 2010
The package does not match the file path
View 4 Replies
Aug 27, 2010
how to package entire project. I mean to say that i have large project and i want to manage all files. I have main fla file, some xml files. some .as files. right now all this in one folder. i mean to say how to say path to the main file.
View 1 Replies
Feb 6, 2012
I'am trying to import an actionscript file in a internal package in my project. From Java and am used to this to like this import Services.myClass. But the IDE doesn't suggest any classes when I type import Services. So how can I import my AbstractIdManager.as file? Inside this actionscript file, there is a public class named AbstractIdManager which extends EventDispatcher My project structure looks like this: I want to use the AbstactIdManager class in my View videochat.mxml
View 1 Replies
Jul 25, 2009
is it possible to open extention package files and modify it??
View 2 Replies
Nov 24, 2009
I have a number of folders that contain data for my application. These data will change a lot through the application, creating different functionality for my app. What I want to do is package these folders into a customized file, like zip but not necessarily compressed and then in some way open it through flash and look into the folders. But the user will only have to copy paste the one single package file and not 4 or 5 folders of files every time and maybe leaving something important behind.
View 0 Replies
Jul 7, 2010
Okay I'm working on a pretty big project, and the last thing I need to do is get this content to display. Here's my lil problem. So I'm loading buildings, and when clicked on, I'm loading a movieclip from the library that has a slideshow movieclip on the first frame, however this slideshow is packaged externally. This slideshow has a "xmlPath" that is defaulted to a XML file. My question is... what kind of code can I use to control which xml is loaded when loading that packaged slideshow?
[Code]....
View 3 Replies
Aug 4, 2011
I had some trouble yesterday with the statement of the file path after the package statement in classes. but now i am encountering something totally strange. I created a simple class to test if my file path naming was correct, it works great it is called hello world. then started to work on the class that i actually want to make...and it gives me an error stating that the file path name is incorrect. it is the exact same as the hello world class, and in the exact same location (same folder as the .fla) here is the code for all three:
HelloWorld.as:
ActionScript Code:
package {
[code].....
View 3 Replies
Jun 30, 2011
I have an Air Application which uses mx:HTML to show a html Page. This html page is located in my bin-debug and as long as i start my application out of FB it works fine.
In Project -> Properties -> Flex Build Packaging -> Package Content the test.html is selected
When I build the project by Project-> Export Release Build the HTML file is not included in the Air Package and so cannot be shown.
View 1 Replies
Apr 27, 2009
I am trying to make an object tween from its starting location to the location of a mouse click. I have a script, but it has a very annoying ease to it.I would LIKE the object to mantain a certain speed during while traveling from its starting location to the mouse click location.
View 16 Replies
Feb 12, 2009
Is there a way in as3 to trace out the swf file's location. I.E. if the swf is located at C:/documents and settings/Desktop/folder1 How do I get the swf to return that path?
View 1 Replies