problem to find AS3 files in the source path folder

Hi all
I use:
< mx:Script source = "MyFile.as" / >
where MyFile.as is inside a source path.
I defined the source path by:
Project/Properties/Flex Build Path / Source Path / add a folder
and added:
c:\dev\myClasses

the actual file is now located at c:\dev\myClasses\MyFile.as
but I get the error:
Problem finding the external file: MyFile.as

Add the source path created a source file in the project folder, called "[source path] myClasses.
I tried
< mx:Script source="myClasses/MyFile.as"/ >-> failure
< mx:Script source = "[source path] myClasses" / >--> is not (obviously, but hey... I'm stuck on it for 2 hours now :)))

any help?
Thank you

It makes perfect sence, in OOP, you can just include a class and start to use it, so that there are import features.
You can only include a flood a/s (no class files).
Kind regards.

Tags: Flex

Similar Questions

  • Error message when you try to download Windows Defender: "first remove Microsoft Client Protection." Cannot find this file through the Add/Remove, search, including hidden or Win Explorer.

    Original title: trying to download

    WinXP SP3, Security Scan run and d/ld: error message when you try to download Windows Defender: "first remove Microsoft Client Protection." Cannot find this file through the Add/Remove, search, including hidden or Win Explorer. What to do now would be much appreciated.

    Also have a related problem about MS Maliciouws software removal tool. For download, but read in the KB that: in XP, the vacuum cleaner will remove the malware, but doing so may trigger the File Protection Win with damages to my operating system.  the tool will attempt to repair the damage, but to rehabilitate prior to infection, that I need to insert the CD of Win. As my computer came with Windows preinstalled, I do not have a disk and will not take the risk of damage, that I can't fix. Do I not download or not... ? Another solution... ?  I also fear that this tool could settle into the routine Win Update and need guidance on the prevention of this facility, if possible, or what to do if it cannot be prevented.

    It can have nothing to do with any of the foregoing. " I'm relaying only because it occurred during the same mission of update: had msg of error that Win Firewall has not been set as a default, which reset, but found this hidden file when searching for the Protection of the customer: "Win 32/Hackdef' - it was a config with the extension ini file and was deleted by Scan."

    Thanks a lot for any assistance.

    scate 39

    Hello

    ·         You have Microsoft Security Essentials on your computer?

    If you have windows installed on your computer security essentials, then you will not be able to install Windows defender. Windows Security Essentials has antispyware component installed.

    You get the error because you have installed MS Security Essentials, which has its own function to antimalware. You don't need or want to install Windows Defender, too. Leave MS Security Essentials installed and do not turn it off.

    See also:

    You can turn on or turn on the firewall in Windows XP, please see the link below:

    http://support.Microsoft.com/kb/283673

  • Cannot play music files in the Source (CS6) monitor

    I just met a very strange problem today that I can't fix.

    If I click on an MP3 or WMA file in the project window, it will not play in the source window. It blocks all the other windows and I have to restart the first.

    Sometimes, he will play in the windows, but then there is no sound even if the meters are moving.

    However, I can play the music in the Source window if I double click top in the main timeline. everything is normal to do this way.

    I have no problem with playing in the Source window MXF files.

    So for now, I can't see any music file in the source window.

    Anyone know what could be the problem?

    My PC spec is:

    I7 3930

    64 GB of ram

    4GB nvidia 680

    Card SB X - Fi Creative sound

    C drive: SSD

    D drive: 300 GB Raptor > Scratch disk

    F drive: RAID 3 array > videos

    Media cache is drive D and the option "Save media cache files next to the originals when possible" checked.

    Thank you

    Thank you.  Try again, one more down.  (Audio)

    Also, replace 5.1 mix front only.

  • I have problems keeping records and files of the administrator and the user separate in my laptop (HP Pavilion dv6700) under Windows Vista Home Premium.

    I have problems separating records and files of the administrator and the user. My computer is a laptop (HP Pavilion dv6700), used as a home computer only by myself, I like to keep the two distinct roles, but am unable to as Vista seems to be considered as one and the same. This scenario has arisen as follows:

    Initially, when I bought the laptop - approx. 18 months back - Windows Vista Home Premium was preinstalled, with the name 'Administrator' as an administrator. To customize the operating system and to use safely, I installed a user 'Renault', as a Standard account user.

    After awhile, I changed the name of the Director of "Renault", for reasons I have can not remember now. This caused Vista to combine folders and files of the two "users" in one, I found difficult to deal with, that I could not operate my laptop as just a Standard user, but is still considered the "administrator." On the one hand, this greatly increased spam in my email accounts. So I tried to reset the name of the administrator as 'Administrator' itself and keep my user name as "Renault", as originally the case.  But Vista me has failed to create a new user under the name "Administrator". So I created a new user under the name "System administrator", with administrative privileges. This has been accepted by Vista.

    But I forgot to change the user account for 'Renault', on the Standard account, so there was BOTH administrator accounts at the same time on my laptop! I realized that now only. The net result was that all the files that I created under the system administrator user were still being displayed under the user account of Renault. A few days back, I realized this and tried to separate the files correctly, but it has not been possible. No matter what I copied the account of the user in the files under the system administrator account, the files have been copied on account of the user himself.

    I tried to fix this by changing the name of the user account in something very different, AND as a Standard user. but this also does not work, as all folders and files under the administrator account system shows it as being under the user account of "Renault" only!

    Then, I deleted the user 'Renault' from the list of the user, but he was not yet of any help. Whenever I tried to create a new file under the system administrator, Vista responds with the message, "C:\user\Rajaram folder is not present. Will I create a new? ", which defeat the same purpose of my tent to isolate the administrator account and the user account.

    SOMEONE HELP ME PLEASE WITH A SOLUTION, - OTHER THAN REFORMATTING MY C:\ DISK AND REINSTALL VISTA AGAIN - TO GET OUT OF THIS MESS, IT SEEMS TO ME YOU HAVE CREATED AND HELP ME TO HAVE AN ADMINISTRATOR ACCOUNT AND OTHER UNIQUE STANDARD USER ACCOUNTS PROPERLY ISOLATED.

    I would be always grateful for a quick and helpful response.
    Thanks in advance.

    -RAJARAM77
     
    Thanks for your reply. It was very helpful / sorry your proposed solution has not solved my problem. Kind regards. -Rajaram77

    Better to delete the user account except the one that was built in the administrator account that you renamed. Before this backup all your data files of these user accounts.
    Then rename the buil into account administrator as 'administrator '. Then you create another administrator account and use it and never the user built in Administrator account and leave it alone.

  • Occurs when there is a problem accessing a critical file during the download.

    I am tring install yout trial and I get a 204 error message which is occurs when there is a problem accessing a critical file during the download. I have no idea what that means or how to fix it. Can someone help me?  < deleted by the moderator >

    Hi Roberta98974311,

    Try the steps mentioned here troubleshoot Adobe Creative cloud download, install and update questions

    Along with that, well want to go ahead and file empty 'Temp' of your computer and try again as the 204 error occurs when there is a problem accessing a critical file during the download.

    Location of the Temp folder: "C:\Users\"User name "\AppData\Local\Temp"

    AppData is a hidden folder, to access a hidden folder on windows 7 see, Show hidden - files-Windows help

    We invite you to update this discussion in the case where you need help

  • Use a static file as the source of the HTML region

    Hi all

    Sorry for the maybe trivial question, but is be possible to use static files as the source of the HTML region? The files are pretty simple, but must be translated so we prefer to keep as a static, rather than paste multiple lines of region to conditionally display files.

    I tried something like

    < embed src = "#WORKSPACE_IMAGES #& FSP_LANGUAGE_PREFERENCE.file01.txt" >

    It is however showing the HTML source on screen and making is not in html format.

    The other option, I tried creating a URL zone that would get the content from the server, for example:

    http://localhost:9080/Apex/wwv_flow_file_mgr.get_file?p_security_group_id=4874627831984398 & p_fname = en_file01.txt

    ... but I'm running against error access control list (ACL). The file opens when you load the link directly in a browser, but apparently localhost is not allowed to ACL and I would not have sysdba access where to deploy.

    Finally I saw the recommendation to use an iframe in a similar discussion to display pdf file here Show PDF in Apex region Earth tried
    "< iframe src =" ' #WORKSPACE_IMAGES #& FSP_LANGUAGE_PREFERENCE.file01.txt & embedded = true ' style = "" > < / iframe >

    but receive "not found".

    The requested URL /apex/wwv_flow_file_mgr.get_file was not found on this server"as if the file name is not received? Eponymous is parsed correctly in the embed tag.

    Help, please

    Atanas

    Hello

    To me it sounds you can use shortcuts instead to locate some files in the workspace files
    http://docs.Oracle.com/CD/E37097_01/doc/doc.42/e35125/bldapp_cut.htm#sthref1696

    Kind regards
    Jari
    -----
    My Blog: http://dbswh.webhop.net/htmldb/f?p=BLOG:HOME:0
    Twitter: http://www.twitter.com/jariolai

  • How do I know if a loaded SWF file have the source code?

    Hi!, I need to know if a loaded SWF file have the source code. I develop an application running on iOS and admin can upload SWF files that show in the APP, but I must know before show (mobile Adobe AIR APP) or activate (PHP script server), if this SWF file have the source code for no show or enable him not it.,.

    Thank you!

    I have it!

    Only that we need to do is:

    1. If the first tank is:

    F-the swf is uncompressed

    C - compressed with Deflate

    Z - compressed with LZMA

    2. If it is compressed, uncompress it with the right method

    3. search MainTimeline string, if concluded the SWF actionscript so it is not found, the code is not actionscript.

  • A file in a source path must have the same package structure ", as the definition's package?

    How I can fix this bug with my class, I get this message:

    "A file in a source path must have the same package structure", as the definition, "photoviewer" package. "

    It's my source WindowedApplication:

    <? XML version = "1.0" encoding = "utf-8"? >
    "" < mx:WindowedApplication xmlns:mx = ' http://www.adobe.com/2006/mxml '
    "" xmlns = "*".
    paddingBottom = paddingTop = "0" "0".
    paddingLeft paddingRight '0' = '0 = '.
    Layout = "vertical".
    pageTitle = "Photo Viewer"
    creationComplete = "init ()" viewSourceURL = "srcview/index.html" > "

    < mx:Script >
    <! [CDATA]

    Import mx.collections.ArrayCollection;
    Mx.rpc.events import. *;

    PhotoViewer Import. Gallery;
    PhotoViewer Import. PhotoService;


    [Bindable]
    private var: Gallery;

    [Bindable]
    private var service: PhotoService.

    private function init (): void
    {
    service = new PhotoService("data/galleries.xml");
    }
    []] >
    < / mx:Script >

    This is my Gallery class source:

    the photoviewer package
    {
    Import mx.collections.ICollectionView;
    Import mx.collections.ArrayCollection;
    Import mx.collections.IViewCursor;

    [Bindable]
    public class Gallery
    {
    public var name: String;
    public var description: String;
    public var photos: ArrayCollection collection;
    public var selected: int;

    private var photo: Photo;

    public void Gallery (gallery:Object = null)
    {
    photos = new ArrayCollection();
    If (Gallery! = null)
    {
    Fill (Gallery);
    }
    }

    public void fill(gallery:Object):void
    {
    myIdName = gallery.id;
    This.Description = gallery.description;
    This.Selected = 0;

    for (var i: int = 0; i < gallery.photo.length; i ++)
    {
    Photo = new Photo (gallery.photo );
    photos.addItem (photo);
    }
    }
    }
    }

    Someone knows how to fix this error?
    "A file in a source path must have the same package structure", as the definition, 'photoviewer' package. '?

    Kind regards
    EvsPeart

    Yes. If you want to file package photoviewer Gallery you create directory photoviewer in src and move the file there.

  • Record in the source Parent folder

    Hello, I am fairly new to After Effects scripting, and I'm doing a script to import files, and then save the project source files for the parent folder.

    But I think that my last line, save path, is not the right wording...

    Unfortunately, I try a lot of things but I can't find the solution. If you can help me, I thank very you much...

    TOM


    This is my code:

    Import folder

    targetFolder var = Folder.selectDialog ('import files in the folder');

    If (targetFolder) {}

    var files = targetFolder.getFiles ();

    for (var i = 0; i < files.length; i ++)

    {

    try {}

    importOptions var = new ImportOptions (files [i]);

    app.project.importFile (importOptions);

    } catch (error) {/ * alert (error.toString ()); * /}

    }

    }

    find my way from the sources

    var PAthProject = targetFolder.parent;

    find sources of myparent path

    var PAthProject = targetFolder.parent;

    Record in the parent folder

    var myNewFile = new queue (PAthProject + "/" + "myNewFile.aep");

    App.Project.Save (myNewFile);

    var PAthProject = targetFolder.parent;  Returns a folder not one object string...

    f is targetFolder.parent;

    f.fsName or maybe. toString() would give a string that you can use to build a path.

    Also be aware of the universal access using slashes... is offered by Adobe with "/" through the platform, but if you use something

    like fsName, who is originally from Windows will give any backslashes. Discover the guide tools for files and the section of folder.

  • Cannot open files in the Windows.old folder.

    Original title: I can't OPEN THE FILES IN THE C:\WINDOWS FOLDER. OLD
     
    I FORMATTED MY LAPTOP FOR 3 OR FOR TIME. BUT NOW I CAN'T OPEN ANY GAMES WHO ARE IN THE LOCATION C:\WINDOWS. OLD\ (PROGRAM FILES (x 86) \WILDGAMES...) THERE ARE FILES LIKE WINDOWS. OLD.000, WINDOWS. Old.001, etc. SAMSUNG RECOVERY SOLUTION 5 ALSO NOT WOKING. HOW CAN I GET IT ALL.

    ONE OF HER SHOWS...

    Signature of the problem:
    Problem event name: APPCRASH
    Name of the application: DriveGreen1 - WT.exe
    Application version: 2.2.0.82
    Application timestamp: 4a64d47f
    Fault Module name: DriveGreen1 - WT.exe
    Fault Module Version: 2.2.0.82
    Timestamp of Module error: 4a64d47f
    Exception code: c0000005
    Exception offset: 0002f4a9
    OS version: 6.1.7601.2.1.0.768.2
    Locale ID: 1033
    Additional information 1: 33e3
    More information 2: 33e3088220c0b0cc79609643cfeaa4f6
    Additional information 3: cb01
    Additional information 4: cb01097c2b9f695aa9f8d8260260a959

    Hello

    Thanks for your posting in Microsoft Community

    You have formatted your partition of hole or C only
    You had installed multiple operating systems in Multiple drive.
    This file has not been completely formatted, that's why you found the old folder windows, you will need to format whole drive all the
    To move your personal files from the previous installation of Windows 7 folders, follow these steps:

    1. Locate the Windows.old folder, and open the following folder:

      Users\ directoryUserName
    2. Right-click the Documents folder and then click Rename. Rename the My Documents folder.
    3. Right click on the music folder and then click Rename. Rename the My Music folder.
    4. Right-click the images folder and then click Rename. Rename the folder my pictures.
    5. Press in and hold the CTRL key and click to select all the files in the user folder. Then, press CTRL + X to move the items in the users folder to the Clipboard in Windows 7.
    6. Click Start

      and then click the user name in the upper right of the start menu.

    7. Click on paste.

    More information visit the site

    http://support.Microsoft.com/kb/932912

  • can I delete the files from the backup.backupb folder?

    I'm trying to restore a backup time machine on a hard drive that is smaller than the backup. It is safe for me to delete unnecessary files from the backup.backupb folder?

    Actually, no. Deleting files directly from the sparebundle will lead to file corruption.

    Ref: Pondini - Time Machine troubleshooting

  • How to remove unwanted files from the local root folder of the site?

    Hello

    I work with Dreamweaver CS4 on a Windows PC. I have finished my site but I have a lot of files in my local root folder that I don't want to upload to the server. These unwanted files are for most of the photos that I should not be used in my site. I do not understand how to download the site on the server using ftp and remote folder in Dreamweaver. I suppose that if I move the page html files to the remote folder that my photos will not be associated with these html files automatically. I used a Dreamweaver template during the construction of the site. I wish I had a folder with only the necessary files for the site (all html pages and a folder of images) to upload to the server. Is there an easy way to move all my pages and images associated with a folder or remove all unwanted files in the local root folder? As I see it now, I'll have to go through all my pages and write down each title of the photo and then go back and delete each unwanted file. This seems a lot of your time, so I thought that there must be an easier way, I hope.

    Any help or ideas will be of course very appreciated, thanks, dluthier

    I guess you mean 'work' files, not the images that you use in your Web site.

    If they are not related to all pages of your site, you are free to move by using your computer's file management tools. I can give you specific instructions, if you wish, but the short of it is that you do not keep them in the folder root of your site at all.

    In my way of working, I have a folder for each client that includes:

    • The correspondence of this client folder
    • Folder to 'Work'... the PNG images, etc., or of the images from the client
    • Record the site root

    When I get e-mail, I save the message in the appropriate folder of correspondence, I save the images etc in the folder of 'Work' to the customer and I only save images and other who have already been optimized in the Site folder, keep it as intact as possible.

    Even if the general warning must always use the files Panel to move files around, that applies to files which are linked and form part of the structure of your Site. Moving your files 'work' outside of the structure can be carried out safely in windows explore your PC.

    That said, if you need to download and there are files you want to download, or to move, you can 'hide' the in the files Panel by right-clicking on the file name and choosing 'Cloaking '.... "in the context menu that appears.

    To the point that the image files that are downloaded to the remote site will not 'automatically' be associated with your html files. That is right. Unless you have configured explicitly links or associations between files, images will not associate themselves!

    On the subject of 'automatic' way to do this, you can make a link to check on all of your local site. Window > results > Link Checker will bring up the appropriate window, which will give you the choice: broken links, external links and orphan files (this is the one you want). Use the green triangle tower at the left end of the Link Checker to set your auditor... Current Local Document or a set current site.

    If you want to make a checklist to ensure that you move them all, you can save the report by clicking on the small icon "Floppy" under the Green turn the triangle. Who will be on a file text and make up a dialog that you save the report, which will show the broken links, external links and orphaned files. After you move the files to your heart's content, rerun the link check and confirm that you moved the files you want to move. Make sure that you DON'T move files consciously... do not move the .htaccess files or .cgi files, etc.

    Who will save you from actually having to 'write' file names!

    Z

  • Name of the PDF file is the full path

    I went out a report to PDF format and its all working fine except for one thing and is the name of the pdf file is the full path to the file instead of just the name of the file. This is the code I use in the cfdocument tag:

    "< cfdocument format ="pdf"filename="#request.baseRefTempFile#\#form.collectorLongName#_AssignedSamples.pdf ".
    fontembed = "yes" overwrite = "yes" saveasname = "" #form.collectorLongName #_AssignedSamples.pdf "scale ="100">"

    Request.basereftempfile is a variable that points to the folder where the pdf file is saved. His record it correctly. It's just the filename is the full path, but it omits the reduced directory and replaces them with underscores.

    Any help would be appreciated. Thank you very much

    I am currently using the same method and of the labour code is below. I do not use the saveasname. Have you tried without?

  • PRE7: problem of proportions even before opening the source media files

    Hello

    I am a newbie in Premiere Elements. Read a lot of discussions with problems of proportions, but found no problem similar to mine, so decided to open a new discussion.

    I'm shooting video camcorder Samsung HMX-H105 SSD, in 16:9 widescreen HD video.

    When I try to create a DVD from the camcorder MP4 file, it gets asymmetrical even before opening it, when you see in the right pane with the view of the media files. I don't know if anyone can understand what I'm trying to say so I have a screen shot of a video I shot with my camera and a video I downloaded, photographed by someone else with Samsung HMX - H20 in 16:9 HD as well.

    Then, even when I always start a new project in 4:3 and 16:9 my videos is not stretched. That's why I think that maybe first Elements does not understand the format of my MP4 video files - it can be seen in the left pane, where I circled (with white elipse) black stripes above and below the video.

    Hope someone can help with my problem.

    I could not find any records on the Samsung website to indicate it as a real camcorder AVCHD (even if it's the video uses a form of the H.264 codec).

    If this isn't an AVCHD camcorder, you will probably be able to edit video natively in Premiere Elements. Or, if you can, you will need to re - interpret the film to the big screen.

    First make sure that your project uses the AVCHD project setting. Then, if your video is looking "stretched" with the right button on the clips and select the option to interpret the film and select a setting that gives you a correct display.

    This will probably be a very intensive format, so I recommend to work on your project in short pieces you want, then save them often! (You also need a considerably fast computer with plenty of RAM).

  • Not find search text in the source code files

    If I rename a .vb in .txt or .sql file, I CAN find the text in the file by using a not indexed search, but if I do not rename the file, simple text search CAN NOT find in the file as a "create table" or "function".  This behavior is pretty useless for a developer.  Is there a way to do this type of research, or any kind of utility "Find Classic" that works like Find in XP?  Thank you.

    Here's a FAQ on the incidence of indexation and research: http://windows.microsoft.com/en-us/windows-vista/Improve-Windows-searches-using-the-index-frequently-asked-questions.  You should read the article in full - it is instructive on how research occur in Vista which is very different from how they were in XP.  It includes how to add files and locations to the index.

    To search for the folder C: whole disk in Vista go to start / search and type in ' or '. As you type, you'll see two hyperlinks appear just above where you type and we'll search everywhere.  A click on it.  Who will do a fast indexed search and bring up a dialog box.  Click on advanced search.  Click the drop-down location and find the C: drive and click on it. Check the box "include not indexed, hidden and system files (might be slow).»  Then click on search.  You will now search your entire hard drive to the specified file.  And Yes, this isn't a very effective way to search the entire disk for a file but it is how it is done in Vista.

    Here are some tips on how to find files (and the page includes a number of hyperlinks to related articles while doing the research you can also consult: http://windows.microsoft.com/en-us/windows-vista/Tips-for-finding-files.)  There are also a lot of links to other articles on the research of Vista - but not as good as this.

    I did a search for a character in my book, and each project book came to research (well most of them - all fit in the list without go advanced).  This is because the files .doc, .docx, and Documents are all included in the Index.  I think that if you add .sql and .vb and the location of your files, you'll be able to search by content as well.

    I hope this helps.  Good luck!

    Lorien - a - MCSE/MCSA/network + / A +.

Maybe you are looking for

  • How much time does it take for validation in 2 steps activate once implemented?

    I finished 2 steps to verify Setup, has been reduced to the "Manage your account" page on the site appleid and saw that my secure devices are not listed. Then I typed the button 'Edit' for this article and was released. When I joined, it seemed 2-ste

  • Windows Update 80246008 error code

    I've been trying to do windows update on my windows 7 64 bit but it fails and gives me an error code 80246008 then told me to look in the services for the background intelligent transfer service but the problem is there is no background intelligent t

  • Can not send emails

    I added an account to my windows mail, but it won't work. under incoming mail, I added: imap.aim.com under outgoing mail, I added: smtp.aim.com AOL is tell me in their instructions to change "the port 587" and maybe that's the problem since I have no

  • Unit? hardware models

    My Norton 360 always says that I have an unusable material legacy and I should run Design Manager to properly set up my equipment designs.  I've been in Manager design and can find no indication as to how I should do. Inoperable legacy is the Microso

  • Advice for the real world test device

    I keep running into problems of developing applications of BB where my code works perfectly well on all simulators, but as soon as I do the direct product of dozens of reports to be "unable to connect" is from (or another bug) flood from a random set