Where to save new classes

Hi All,
Another numpty question from me....
I have tried to follow what info i could from the net, but i can't get it to work.
Basically, what would appear to be a pretty cool tutorial which also lets you download the class files (i think that's what they're called), which you then import in the actionscript.
The prob is that i have no idea where to save this file so that i can import it. I thought i had figured it out and tried to save it in FlashCS4>Common>FirstRun>Classes>mx
I then created a sub directory called com which contained more subdirectories and then the .as file.
WHen i try to import it using:
import com.sub1.sub2.sub3.myNewClass;
i get errors saying that the definition could not be found....
so frustrating!!
Any help would be much appreciated!
Thanks.

It's a little tough to diagnose with just that info but there are a couple of things you can check. First of all, the class file is case sensitve (typically starts with a capital letter). So let's call the folder where you have your fla file the root folder. If you're going to refer to a class called MyClass that is in the following folder
root (where your fla file is)
   --- com
       --- utilities
           --- MyClass.as
in the fla you would use a statement such as
import com.utilities.MyClass;
at the top of the file. Is that responsive to your question?

Similar Messages

  • Cannot set where to save new email

    I am not able to set to which folder to receive new email. Support sayes"
    Menu location: Tools | Account Settings | <account name> | Server Settings | Advanced
    First, Account Settings is NOT under Tools, but under Options. Second, there is no Advanced under Server Settings.
    Please help.
    Thanks

    RE: where is Account Settings?
    As you have discovered, more recent versions of Thunderbird were changed by the developers into a non intuiitive product by hiding all the toolbars.
    I consider this a rather naive approach to an assumption that everyone understands this.
    Help usually refers to the toolbars as there is considerably more tools available within them.
    So, to make life easier, I recommend that you enable the toolbars.
    '''How to enable Toolbars:'''
    click on 3bar menu icon > Options and enable the toolbars.
    see image below.
    '''Various methods to access 'Account settings'.'''
    Using toolbars:
    Tools > Account Settings
    Using 3 bar menu icon:
    3bar menu icon > Options > Account Settings
    Right click on account name in folder Pane and select 'Settings'
    Instead of actually changing where the emails are downloaded to, you could first try 'Unified View'
    View > Folders > Unified
    This shows a single Inbox with all mail from all accounts in one folder.
    It will also show sub Inboxes so that you can also locate the email in a specific account Inbox folder.
    If you have an IMAP mail account, this is the method to use.
    '''Global Inbox Local Folders'''
    If you have a POP mail account you can choose to either receive mail into the accounts own Inbox or to set it up as a Global Inbox and use Local Folders Inbox instead.
    Do you want all incoming mail to be directed to Local Folders Inbox?
    If yes.
    Do you use a POP mail account?
    If yes.
    Have you already received emails into that mail account?
    If yes,
    Go Offline to stop further download of emails.
    Move all emails from the Pop mail accounts fodlers into the various Folders under Local Folders.
    "Tools -> Account Settings -> Server Settings" for the pop mail account
    click on the "Advanced" button - located under Message Storage area.
    see image below. - recent version show a change in wording since I captured the image.
    Select: Inbox for different account choose 'Global Inbox(Local folders)
    select 'Include this server when getting new mail'
    click on OK
    Click on OK to save changes to Account Settings.
    Close Thunderbird.
    Wait a short while for processes to complete and then Open thunderbird.
    You must close and restart before downloading mail into any account whose Inbox/Global Inbox setting you've changed.
    This will remove the Pop mail account from the list.
    New mail will be downloaded to the Local Fodlers Inbox.

  • Where to install new classes

    I downloaded some graphing classes, where can i stick them so I can import them into a new porgram I am writting up??

    Well it depends on how want to set things up.
    If you have the jar file you can put it in the top level directory of your program and include in the compile command //might want to check on syntax. just type javac with no arguments.
    javac -classpath whatever.jar *Or if you extract the files from the jar you can simply place them in the same directory and javac should automagically find them for you.
    Othere words if you were writing org.mine.SimpleJava.java and it used a package called foo.bar.FooBar the foo and org directories should be on the same level.
    -Hope this helps!

  • Everytime I try to open a picture in a new tab it asks me where to save, which is weird, since it didn't ask that before. How do I fix this?

    Recently when I try to open certain pictures in new tab, it asks me where to save, or to open with what.
    How do I stop this, it used to just open in new tab without asking anything?

    You can rename (or delete) the mimeTypes.rdf file in the Firefox profile folder to reset all file actions.
    *http://kb.mozillazine.org/mimeTypes.rdf
    *http://kb.mozillazine.org/File_types_and_download_actions#Resetting_download_actions
    You can use this button to go to the currently used Firefox profile folder:
    *Help > Troubleshooting Information > Profile Directory: Show Folder (Linux: Open Directory; Mac: Show in Finder)

  • Flash not letting me save new .as files.

    Starting today, Flash Pro CS5.5. started not allowing me to save new .as files. I was working in a .fla file containing a MovieClip entitiled 'Background'. From the library, I control-clicked on 'Background' and selected 'Edit Class'. As usual, Flash created a file called 'script 1' , but then it wouldn't let me save it withe the appropriate filename 'Background.as'. (see error message screenshot). I also noticed that Flash gives me the same message no matter what filename I attempt to give the script. However, saving it on the desktop and then moving it into the correct directory afterwards worked. Any ideas? Is this a setting that got messed up somehow where Flash won't let me save to certain directories? I don't know if this is related, but I just installed the latest Java update from Apple today before having this problem. Any help or ideas would be greatly appreciated.
    Thanks,
    Jeremy

    ..and suddenly I'm experiencing the same thing.
    I've also just installed the latest Java update via Software Update but that may be totallly unrelated.
    UPDATE
    I've just found a post from before the latest Java update so it may be related to something else.
    http://forums.adobe.com/message/4040014
    Message was edited by: yachts99

  • I deleted my download folder and now I can't download anything. I can't select the folder to "save file to" and when I select "ask me where to save files" I still can't download. it says your file will start downloading, but then it doesn't. Help!!

    I deleted the folder that saves everything that is downloaded from Firefox. After that I can't download anymore. I've tried clearing my download history, reset the download folder, reset the download action by renaming the mimetype.rdfs file and it's still not working. I've tried to choose a different download folder but it doesn't let me select any folder at all. If I select "ask me where to save files" and then try and download something, the download doesn't start after I select save to. The only time it does actually download is when I select "open with...windows mediaplayer" when downloading then the download will start. Please help. Thank you.

    You broke your phone by getting it wet.  Nothing more to say.  Bring it in to Apple for an out of warranty exchange or buy a new phone.  There's really nothing else we users here can help you with.

  • How do I by default save new documents in a particular folder?

    In OS10.3.9, how do I by default save new documents in a particular folder? I have created a new folder called new docs which I have put in the dock, and would like to save all new documents in that folder...
    Thanks,
    Michael

    ibisbill:
    I think you need to navigate to the Folder when you want to save. If you are saving documents created in Word, after a while Word may learn the location and go there.
    Incidentally, the folder in the Dock was created and resides elsewhere. That is where you will need to navigate to when you save.
    Good luck.
    cornelius

  • How to add new class to existing DC (Web Dynpro project)

    Hi,
    How can I add new class to an existing DC (Web Dynpro project)?
    I tried adding it using File - New - Other - Java - Class, but after a build of the DC the new class (and its contents    ) was completely removed.
    Then I created a new DC (java project) and created a new class in that DC. This went fine, but I got into problems because of circular referencing between the new & the old DC, so no build was possible.
    This can't be difficult, does somebody knows how to do it?
    My temporary solution is to add the classdefinition to an exisiting .java file. Very ugly.
    Thanks,
    Jeroen

    Hi Jeroen,
    where did you create the class? If the *.java file is placed in the src/packages folder it should not be deleted by a build. (I suspect you created it in the gen_wdp folder?)
    Regards,
    Marc

  • Creating a new class type in the classification system

    We are wanting to classify objects in a ZTABLE.  We have a home grown system for defining our customer requirements that is used as the way for the sales people to communicate to the engineering dept. what the customer wants.  A new need has come up that seems to be a good fit to be able to classify our customer requirements.  I have been trying to create a new class type that is linked to our ZTABLE.  However, even though it looks like we should be able to do this I have not been able to do it.  I ran across some documentation that seems to imply that adding a new class type used to be possible, but no longer is.
    Can anyone verify that creating a new class type is still possible to do?  We are on ECC 5.0.

    Can someone point me in the right direction as to how to create my own Class Type.  Is there some documentation as to how to dow this? Other than what is fould in SPRO I have tried and tried but no joy for me. 
    This is what I have done so far:
    in SPRO:
    1) Created an Object Key for my table ZLO_CUSTREQ.  This table has a primary key of CRQNR (custormer requirements number which is I created)  The documentation says that I need to add this key field to structure RMCLY (I did that).  BUT, it also says the RMCLY is embeded in structure RMCLX and it is not.  Do I need to modify RMCLX to add RMCLY as an append structure?
    2) Went to Maintain Object types and Class types and selected my table. Double clicked on Class Types in the Dialog Structure tree, which displayed an empty list of class types. 
    I then Clicked New Entries button and filled in the fields: Class type(Z10), Description(Customer Requirements), Table(ZLO_CUSTREQ).  in the Screens group I selected Keywords and Characteristics.  In the Functions group I selected: Standard class type and Multiple classifications. I then Clicked the back arrow.  This returned me to the Class Types list which now displayed my new class type. 
    When I click the save button it kicks me out the the SPRO menu screen and I get the warning message "Class type Z10 does not have the classification status incomplete system" . 
    Then, it won't let me re-enter the Maintain Object types and Class Types screen due to an error "View cluster is already open, go back with F3"
    When I hit F3 I am returned to the main SPRO screen.  After navigating back to the Maintain Object types and Class types I continue to get the View cluster already open error.  The only way I can get back to Maintain Object types and Class types  is to completely exit SPRO and start over.  When I do, class type Z10 is gone.
    I have repeated this procedure several times with always the same results.
    Can anyone please help me?

  • When downloading a large file, like a movie Internet Explorer automatically provides one with the choice of where to save it - e.g. "C" drive, but Firefox doesn't. How can it be done?

    When downloading a large file, like a movie, Internet Explorer automatically opens a download window offering the choice to "Open" or "Save"the file. This provides one with the choice of where to save it - e.g. "C" drive, in the "My Documents" or "Desktop" folders but Firefox's download window doesn't. This has always frustrated me because I would rather use Firefox exclusively to access the Internet, but when it comes to saving files downloaded off the Internet, sadly, I have to revert to IE!

    If you click on Firefox from the upper-left, then Options, a new window should appear. On that window, click on the general tab. In the middle of the window, you'll see options regarding your downloads, one of which says, "Always ask me where to save files." Click on the bubble for this options, then click Ok. From then on, you should always be prompted on where you want your files saved.

  • Where is "Save as" in Pages '09 v. 4.1?

    Where is "save as" located in Pages '09 v. 4.1?

    nancy225 wrote:
    T'his failed to solve my problem.  There is no "save" in Lion.
    Yes, there is, but only for a previously unsaved document, whether a new document or a copy made with duplicate. Once the file has been saved the command in the File menu changes to Save a Version.

  • Where to place application classes to override shared calsses?

    I use web application which requires to override some of shared classes. Where should I place these classes? It is necessary to override these classes in this application only. Placing it in WEB_INF/classes subdirectory inside web application folder has no effect. The only way I have found - to place these classes inside APPS subdirecory. But in this way all deployed applications will use these new classes. Can anyone help me?
    Thanks in advance,
    Vadim Lotarev

    Put these classes in WEB-INF/classes and enable dynamic reloading. To do that-
    open krededit-> SOFTWARE-> iplanet-> Application Server->6.0->CCS0->SYSTEM_JAVA->Versioning and set it to 0. Bydefault it is 1, disabled. And restart the iAS to pickup this change.
    Or, redeploy the application.
    Hope this would help.
    Should you have any question further, get back.
    Thanks,
    Rakesh.

  • How to add new class in modified template...

    Finally I have encourage myself to scratch to (for me deepest darkwood) templates...
    I have modified original Theme 2 to My theme 2 and added in some tempaltes region my parts-looks promising.
    Now I want to create sidebar region that is 450 px wide.
    It should be the same sidebar region but with different width!
    I saw on file system that there is .css so I add this class in it....(as aspected) it is not shown in template class list...
    I am able to apply that new class to template, but I cannot see that class in "Template Class" LOV (in Edit Region Template form).
    Is that important and could this bee seen in that list?
    THX!

    I have now working template with my new class...
    What is still bothering me is that I have editeted "theme_V2.css" file. I'm plannig to put my app on hosted WEB site in Germany, where this file will not be the same as is on my server.
    How to achieve future compatibilty according this?
    THX!

  • How do you add a new class package?

    Hi guys,
    I have just started using J2SE and I need to add a new class definition. This is to be imported at the start of the program,
    ie. import cs1.Keyboard;
    The thing im not sure of is, how do I make the compiler know where the Keyboard class is? Which directory do I have to put it in?
    If anyone has any idea, it would be really appreciated. Thanks

    Put Keyboard.class in a directory named cs1 and add the parent of cs1 to your CLASSPATH when you compile and run:
    http://java.sun.com/j2se/1.4.2/docs/tooldocs/windows/classpath.html
    MOD

  • Authoring Tool "Inherit Class" vs "New Class" vs "Extended Class" Scenario Help

    Hi Community,
    I am currently creating the ground work needed to create Self Service Portal Request Offerings to be used by end users and then take that input and automate it with Orchestrator.
    I'm pretty comfortable with the overall process of how this is done, but I was hoping to get guidance from the community to make sure that I don't waste my time by editing my existing management pack incorrectly from the beginning.
    We currently have a Whole bunch of SR and IR Templates in a Management Pack - lets call it: "Company.Templates.MP" now what I want to do is edit this MP and add new List and String Properties to hold the responses provided from the
    Self Service Portal so that I can use a Runbook Activity to feed these responses into Orchestrator.
    Now what I have done is "Extended" the existing "Service Request" and "Incident" classes and created the new properties in each extended class. Now that I have Extended the default Classes I believe that the properties now apply
    to EVERY existing and new SR and IR.
    My question is... Do you think I have done this correctly?
    I have a gut feeling that I have done it wrong and I should revert my MP changes and then instead of extending the existing IR and SR Classes which affect all existing Work Items, I should create a new SR and IR class which would then be used to create new
    Templates which are then ONLY ones that contain the new properties that would be used for Runbook Automation.
    The feedback I receive will be VERY MUCHLY appreciated...

    Answering your implicit question in the title:
    Inherit is where you create a new class that has all the properties of the parent and then some new ones also, but people can still use the parent for regular work. This is for specialization, like say you want a new type of incident to
    cover firewall problems, and need new properties for the IP and Ports from the portal.
    Extended would be where you add properties to a class that make sense for all of those and all inheriting classes. say the client has a cost of IT tracking system where every Incident and Service Request needs to be assigned a cost of effort
    code, you would create two extensions for Incident and Service request, and point them at the same enum list. you wouldn't extend WorkItem, because changes, activities, released etc wouldn't use a simple cost estimate list value, and you wouldn't inherit off
    of SR and IR because all user requests should have this property, even if some of them are blank  
    New would be a class from scratch that inherits from Entity. This is hardly ever what you want to do, because even completely new things are either work items or config items, and should, where ever possible, inherit from one of those
    basil classes
    Now to your explicit question: No, i think you've done exactly what the situation called for. every SR should have this value, even if it is empty for the historical items.
    two side notes: 1) any item that refers to the base of an extension will continue to work as expected, but  2) Offerings are always the exception. The net of these two rule of thumb guidelines is that your existing templates should continue to work
    without modification, but you may have to recreate the offering before you can use the new property in a question.  
    AFAIK you cannot extend an abstract calls (ex. Work Item), but I could be wrong.
    http://codebeaver.blogspot.dk/

Maybe you are looking for

  • BP Master Data gets updated when (AR/AP) Invoice is raised

    Hi All, I am running SAP B1 8.8 and I discover that whenever AR or AP invoice is raised, it will update the business partner master data. On the master data of the particular BP where the invoice was raised, I went in and click on the change log, the

  • How to extract .sdc file to a .iso file?

    Hello. I download the windows 7 from my university website and I want to install it to my virtual machine. However, after I downloaded it, that windows file is end with .sdc. I searched it in google and it is short for 'secure download content'. I am

  • No video on mainboard replacement

    I have replaced the mainboard, CPU, and ram on my 5 year old Dell, moving from an Intel Celeron system to the following: Board: 880GMA-E45 CPU: Athlon II X2 2.9gHz Socket AM3 RAM: Patriot PGS34G1333ELKA DDR3 PC3-10666 2x2GB kit The only card installe

  • How to create the check box?

    Hi, Can I create the check list in my digital publishing use check box in buttons & forms? I try it before but it doesn't work, only preview a tick in box?? Thx!

  • How to disable ipv6 address autoconfiguration ???

    I am trying to disable ipv6 stateless address autoconfiguration to implement what this document describes: http://docs.sun.com/app/docs/doc/816-4554/6maoq01o3?a=view There are several problems though: 1)The manual says that something must be put insi