Copy file without retyping its name

I`m just starting to use Java (in school) so I need help even with simple things like this: I have to copy file without retyping its name in destination. I`ve tried to use substring method for extracting filename, but it gives me an error "The method substring() is undefined for type Copy". Any help?
import java.io.BufferedReader;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStreamReader;
public class Copy{
     * @param args
     public static void main(String[] args) {
          try {
               BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
//Entering the path to the file that I want to copy
               System.out.println("Enter file path");
               String filePath= br.readLine();
//Entering the destination for copied file
               System.out.println("Enter destination");
               String destination = br.readLine();
               FileInputStream fis = new FileInputStream(filePath);
               FileOutputStream fos = new FileOutputStream(destination);
               int c=0;
               while((c=fis.read())!=-1){
                    fos.write(c);
               fis.close();
               fos.close();
          } catch (FileNotFoundException e) {
               e.printStackTrace();
          } catch (IOException e) {
               e.printStackTrace();
}

cereal_killer wrote:
No. I expected this (String fileName = substring(filePath.lastIndexOf("/")+1, filePath.length());) to workYou didn't provide a string reference on which to execute substring. As in:
String str = "blah blah blah";
String fileName = str.substring(...);
{code}If you just say *substring(start, end)* how is it supposed to know *which* String object to operate on?
Without the someStringReference. preceding it, calling a method--in your case substring--is like calling it on this object, i.e., like this.substring. Your class does not define a substring method, so it's a compile time error to try to call that non-existent method.

Similar Messages

  • How to get the jar file without knowing its name and any class inside it?

    Hello, everybody!
    I would like to know if there's a way to get a reference programatically to the initial jar without knowing its name and any class contained in it. By "initial jar" I mean the jar that was called in the prompt, like this:
    java -jar jarfile.jaror in another way, in a graphical system. To be sincere what I really want is to get a reference to the jar's manifest, but I know if I can get a reference to the jar I can get a reference to its manifest file. Or if you know a way to get the manifest directly, it would also help. So, is there a way to do this?
    Thank you.
    Marcos

    jverd wrote:
    marcos_aps wrote:
    abillconsl wrote:
    Can you be more specific - IOW, can you cite a specific case?Absolutely. I want to access the jar in source code with the java.util.zip.JarFile class, for example.But why? You still haven't provided a use case or explained what you're trying to accomplish. As already pointed out, whatever you're trying to do, this is a brittle solution. If you explain what you're trying to accomplish with this, somebody may be able to suggest a better approach.jverd, I explained for baftos. Anyway, I will try to be more specific. I start my sytem like this, from, say, for example, jar1.jar:
    import br.product.System;
    public static void main(String[] args)
        System.start("NameOfTheSystem");
    }The System class is in util.jar, for example. This jar is used by all systems. I wouldn't like to pass in the name of the system, as above. I would like that the System class could read it from jar1.jar's manifest file. I just would like to have this:
    import br.product.System;
    public static void main(String[] args)
        System.start();
    }It is more elegant and I don't have the name of the system in two places: code and manifest file.
    Marcos

  • How to restore a control file without having its backup

    Hi,
    Can any one please suggest me how to restore a control file without having its backup.
    Thanks

    To add to what SB said, in years past the instructions for re-creating the control file manually were contained in the DBA Administration manual. It used to be and may still be common to be taking and saving a "backup control file to trace" for this purpose.
    If you lost only the primary copy of the control file and it is an OS file then while the database is shutdown you can copy the secondary over the primary and then use if to start the database. If the control file is stored in ASM then there should be a way to perform the copy via ASM.
    If you use rman for backups then a copy of the control file should be part of the backup process and you can retrieve it from the backup set then perform recovery using the backup control file though I do note the OP said something to the effect no backup exists. Still, I have knows of instances where the DBA did not realize that the backup set contained the control file and the spfile so I think this is worth mentioning just in case.
    HTH -- Mark D Powell --

  • When trying to 'Consolidate Files' via iTunes I get the message "Copying files failed. The name was invalid or too long."

    I am trying to copy my entire iTunes library and everything in it from my PC Desktop to my PC Laptop using the "External Drive" method as shown on the Apple website. On Part 1 (5) I am told to consolidate files. When attempting to do this I get the message "Copying files failed. The file name was invalid or too long."
    How do I resolve this?

    I have just been having this problem and it has been driving me mad.   The error message doesn't tell you which file is causing the problem so you can't fix it and it leaves your libray in a state of limbo with some files copied into the new location and some in the old location.  After many hours I found a surprisingly quick and simple solution.
    1) in iTune create a smart play list that includes everything that was added before tomorrows date.  This will include everything.
    2) Right click this playlist and export it as a text file to produce a tab delimited file.
    3) Import this into a spread sheet, or just view it in a text editor with line wrap turned off.  What you are interested in is the last column (or end of the line in a text editor).  This gives you the path of the file associated with each entry in the library. 
    The path of the files that have already been copied successfully will start with the new location for your media files you specified.  Scroll thru the rows until you get a blank path.  If you start getting paths starting with the old Media file location then you went to far and start scrolling back.
    The row with the blank path was the file that failed.  Move back to the start of the row to find out more about it.  In my case it was a podcast with a very long name. I just deleted that podcast from iTunes.
    4) Restart the consolidation by choosing File, Library as you did before and the process starts again where it left off.
    5) If it fails again on another file just repeat the process

  • Copying file without passing bytes

    Hi, I need to be able to copy binary files from a web location to a directory on my local machine. The app needs to do nothing except copy the files. Is there a way of handling this outside the javaVM, ie set up a channel from the weblocation to the local location without the data having to be passed through java?

    The only way to get things done in a computer is via a program. If you don't want to use your own program you'll have to use someone else program. You can start it from Java using one of the exec methods of class Runtime.

  • Copying Files Without Knowing

    Hi guys
    Is there a way to get some files from a computer that i do some maintenance via ARD without disturbing the current user and her work?. The thing that i need is to get the Entourage and Thunderbird folder for a monthly backup.
    Is there a way to do this?.
    Thanks guys!
    PS: just tryed to use the spelling check and it's no good

    Sorry to ask greeper, but i' kindda newbby on Unix... can you explain me a little of that command?. Tell me if i'm right
    cp = copy
    -R = if for hidden root?
    /Applications/Thunderbird/ = isn't supposed to be like /User/Apps/Thunder/?
    /pathto_yourbackup/ = something like /User/Desktop/BACKUP/
    Something like that?.
    Do you know if there is a way to kill an active process, like killing or quiting Thunderbird and Entourage via ARD?.
    Thanks for the help

  • Read file without knowing full name

    Dear All,
    I want to read data from a file but without knowing the file's full name.
    For example i have data files from a program that the first letters of the data files are the date and the rest some numbers i cannot predict i.e 20081027_5323621.
    Is it possible to read this file by knowing only the characters that correspond to the date?
    thanks!
    Solved!
    Go to Solution.

    Yes,
    You can set a pattern in the file dialog that points to the date (formatted).
    The output of the file dialog will be the complete file path for the file that was selected..
    One question..  Do you want a popup window to browse for the file?  to allow selecting one of the matching file(s)...
    Because there may be more than one file that has a matching date...
    R
    Message Edited by JoeLabView on 10-27-2008 01:09 PM
    Attachments:
    patternFileDialog.PNG ‏2 KB

  • Cannot copy file: The specified network name is no longer available

    After several tries stretching over weeks or months, I finally solved this problem. Internet sharing and transferring small files worked fine over the wireless network, but files over about 50 - 100 MB would fail giving the message "Cannot copy : The specified network name is no longer available. After suggesting numerous changes to the router setup, telling me that my Ethernet NIC in my desktop must be bad, and that I my file sharing or memory configuration was wrong, Linksys support finally suggested upgrading the router's firmware. Problem solved. I can now transfer 1 GB files with no problem over the wireless network. This is on a WRT54GS wireless router.
    Upgrading the firmware isn't a 5-minute operation. Allow 1-2 hours. Before you do anything, make a copy of all router setup info. The firmware upgrade resets the router to defaults, so you lose your wireless network setup and any other setup info that you changed. Also, customer support sent me a more involved procedure than what was in the router Help info. It included things like temporarily assigning a static IP address to the computer wired to the router for the update. You might want to get that procedure from them. Also, some of the info about reconfiguring the wireless network after the upgrade was incorrect for my network; another reason to make sure you have all the details of your router setup saved before you upgrade.

    Hi! I'm Engr. Michael, a network engineer from the Philippines. Firmware upgrade does not take 1-2 hours believe me. Try this instead ok? The
    version of your router is on CPN alert which means it needs upgrading. So, connect your pc
    first directly to the modem and go to this website -- www.linksys.com/connect. select
    easylink firmware tool and save it to your desktop. Now connect your the modem back to the
    router (internet port) and pc to port number 1. Run the file you have downloaded and it will
    automatically upgrade the firmware of your router.Then follow instructions and That's it. You're good to go..
    Tell me if
    it works ok? Thanks for your time.

  • Advice for modifying a compressed file without expanding its size?

    Hello. Fairly new to video editing, so your advice is appreciated.
    I've got a 720x480 WMV3 .AVI video clip which runs about 1/2 hour at a rate of 666kbps. The file size is about 75MB.
    In trying to adjust the brightness/contrast on the file and resave it, the file sizes for different formats all shoot way up. The file has a heavy amount of compression to start with. My thinking is that 'high-quality' settings within a codec will actually store too much information, while 'low-quality' settings will further compress the file and result in loss of quality.
    Is there any rule of thumb to dealing with an already-compressed file, editing it, and resaving it (without a significant loss of quality) and without greatly increasing file size?
    Thanks in advance,
    John

    John,
    You are starting with a heavily-compressed file, the WMV, so original data has been lost.
    When you output your Timeline, you will again need to apply heavy-compression, to keep the file size down, and also experiment with the Bit-Rate.
    The only aspects, that will address file size, is Duration (pretty much already set), and Bit-Rate. The lower the Bit-Rate, the smaller the file, BUT at the expense of Quality. As you have already taken a hit on Quality, with the initial WMV compression, and you will loose even more Quality, when your re-compress, you need to study the output files, to make sure that they are still satisfactory for delivery.
    If you can do the editing required in Windows Movie Maker, it might be a better program to use, as it is built around the WMV specs. Not sure if it has the Effects and control that you need, however.
    Good luck,
    Hunt

  • Opening a file after typing its name from command line?

    OK it's been a real long while since I did any Java hacking, how can I do this again?
    Here's some source I have from a book.
    //ReadTextFile.java
    // open the text file
    import java.io.File;
    import java.io.FileNotFoundException;
    import java.lang.IllegalStateException;
    import java.util.NoSuchElementException;
    import java.util.Scanner;
    public class ReadTextFile
    private Scanner input;
    // enable user to open file
    public void openFile()
    try
    input = new Scanner ( new File ("myfile.txt"));
    } //end try
    catch ( FileNotFoundException fileNotFoundException )
    System.err.println( "Error opening file.");
    System.exit(1);
    } // end catch
    } // end method openFile
    // read records from file
    public void readRecords()
    int callID;
    try
    while (input.hasNext() )
    callID = input.nextInt();
    System.out.println(callID);
    } // end while
    } //end try
    catch ( NoSuchElementException elementException )
    System.err.println ("File improperly formed.");
    input.close();
    System.exit(1);
    } // end catch
    catch ( IllegalStateException stateException )
    System.err.println ("Error reading from file." );
    System.exit(1);
    } // end catch
    } // end method readRecords
    // close file and terminate app
    public void closeFile()
    if (input != null )
    input.close();          // close file
    } // end method closeFile
    } // end class ReadTextFile
    //ReadTextFileTest.java
    public class ReadTextFileTest
    public static void main( String args[] )
    ReadTextFile application = new ReadTextFile();
    application.openFile();
    application.readRecords();
    application.closeFile();
    } // end main
    } // end class
    So at the command line I wanna do "java ReadTextFileTest openthisfile.txt" or whatever and have it open and read in some stuff from that file instead of hard coding it into the input = new Scanner ( new File ("myfile.txt")); line in the ReadTextFile.java
    I'm sure it's pretty simple but like I said, very rusty.

    Yeah I figured it out by just passing args[0] into the openFile method. I dunno what was wrong with my brain yesterday, I was typing arg[0] instead of args[0] and not seeing it. One of those days.

  • AppleScript: copy a file to a new location, changing its name

    I want to copy a selected file to a new location and change its name, both location and name adjustable by the user. It would seem natural to me (a neophyte) to use the Duplicate and Choose File Name commands to do this, so this is the module I came up with:
    tell application "Finder"
              set myFile to the selection
              set textsAlias to alias "Campidoglio:Users:jeffreyjdean:Dropbox:Tinctoris:Editing Software:TextToJS:texts:"
              set fileForConversion to choose file name default name "shortname.txt" default location textsAlias
              try
      duplicate document file myFile to fileForConversion with replacing
              on error
                        display dialog "Error: Unable to save file."
              end try
    end tell
    This doesn't work. The error dialog comes up and this is the result report:
    tell application "Finder"
      get selection
      --> {document file "12 De inventione et usu musice.txt" of folder "Edited texts" of folder "Desktop" of folder "jeffreyjdean" of folder "Users" of startup disk}
      choose file name default name "shortname.txt" default location alias "Campidoglio:Users:jeffreyjdean:Dropbox:Tinctoris:Editing Software:TextToJS:texts:"
      --> file "Campidoglio:Users:jeffreyjdean:Dropbox:Tinctoris:Editing Software:TextToJS:texts:shortname.txt"
      -- 'core'\'clon'{ 'insh':'furl'("file://localhost/Users/jeffreyjdean/Dropbox/Tinctoris/Editing%20 Software/TextToJS/texts/shortname.txt"), 'alrp':'true'("true"), '----':'obj '{ 'form':'indx', 'want':'docf', 'seld':[ 'obj '{ 'form':'name', 'want':'docf', 'seld':'utxt'("12 De inventione et usu musice.txt"), 'from':'obj '{ 'form':'name', 'want':'cfol', 'seld':'utxt'("Edited texts"), 'from':'obj '{ 'form':'name', 'want':'cfol', 'seld':'utxt'("Desktop"), 'from':'obj '{ 'form':'name', 'want':'cfol', 's…
      --> error number -1700 from {document file "12 De inventione et usu musice.txt" of folder "Edited texts" of folder "Desktop" of folder "jeffreyjdean" of folder "Users" of startup disk} to integer
      display dialog "Error: Unable to save file."
      --> {button returned:"OK"}
    end tell
    Result:
    {button returned:"OK"}
    Why is it telling me it can't duplicate a file to an integer? According to the AS Language Guide, the result of Choose File Name is "The selected location, as a file." How does this become an integer in my script?
    That may be a side show. What I really want to work out is how to achieve the aim stated at the beginning: take a selected file (that part is working OK) and duplicate it to an arbitrary location with an arbitrary new name, decided by the user. What's the best way to go about this?
    TIA,
    Jeff
    Message was edited by: Jeffrey Dean

    I think you're misinterpreting the error message.
    It's not complaining about your 'Choose File Name', per se.
    There are two problems with your script.
    First, you:
              set myFile to the selection
    As far as the Finder is concerned, 'selection' is a list. It's always a list, even if only one item is selected - heck, it's still a list if no files are selected... just an empty list.
    So that's the first thing the script is complaining about - you are using a list that you're trying to coerce to a file. Can't happen.
    You have a couple of options here, depending on what you want to do.
    You can tell the Finder to duplicate a list - it will simply duplicate all the files in the list. It has no problem with that, although you're going to run into problems when you try to set the file name(s). This highlights one of the design flaws with your script - how do you know the user only has one thing selected? At the very least you should check how many items are selected and react accordingly.
    The other option is to iterate through the list, duplicating each file in turn. Again, it's not clear what you want/expect the outcome to be here - since you include 'with replacing', you'd likely end up with one file (the last one in the list) as being the named file and all other duplicates lost.
    The third option is to expect there to be one item selected, and just act upon the first one - thereby ignoring multiple selections, although it's undefined as to which item is 'first' in the list.
    Your call.
    Once you get over the issue of identifying what you want to duplicate, the second issue with your script is how you're calling duplicate. You cannot duplicate one file to another file name. The duplicate command expects (demands?) a directory as the 'to' parameter, not a file name.
    In other words, you can duplicate a file to a new directory. You cannot duplicate it to a new file name - at least not in one step. In order to do that you need to duplicate the file, then change its name (or use a shell script to do it 'under the hood').
    This is complicated by the fact that it's the rename that requires you to check for duplicates, which you have to do manually.
    So given the above, and assuming you expect/want one item to be selected, your script should look more like:
    tell application "Finder"
              set myFile to item 1 of (get selection) -- ignore multiple selections
              set textsAlias to alias "Campidoglio:Users:jeffreyjdean:Dropbox:Tinctoris:Editing Software:TextToJS:texts:"
              set fileForConversion to choose file name default name "shortname.txt" default location textsAlias
              set fDir to do shell script "/usr/bin/dirname " & POSIX path of fileForConversion
              set fName to do shell script "/usr/bin/basename " & POSIX path of fileForConversion
              try
                        set newFile to duplicate myFile to POSIX file fDir with replacing
                        if (exists file fName of folder fDir) then
      delete file fName of folder fDir
                        end if
                        set name of newFile to fName
              on error
                        display dialog "Error: Unable to save file."
              end try
    end tell
    Incidentally, this is something that could be much more easily done with a shell command, since the shell isn't as sensitive about file paths and data types.

  • Deleting copied file

    I recently purchased a MacBook Pro. I am new to Macs. I copied a file from All Images to the desktop. To copy it I dragged it to the desktop. The copied file on the desktop has the exact same file name as the file in All Images. When I move the file on the desktop to Trash it also moves the original file in All Images to Trash. How do I delete the copied file without affecting the original file. To me it seems like the two files are one and the same because the copied file doesn't have a different file name. And the copied file is not an alias either.
    Thanks for any help on this.

    All Images is not an actual folder. It's a saved search. (Same goes for all other preset items in the "Search For" section of the sidebar). It lists all images on your computer. since it's not an actual folder you can't put anything in it. when you dragged the picture file from All Images to the desktop it was moved from its original location (wherever that was) to the desktop. You need to know its original location. then you can move it back there from the desktop.

  • How do I Copy files from one directory to another?

    I know how to move files using the renameTo() method of File class, but is there a simple way to copy files, without the need of reading the input stream form one file and writing to a new one?

    Hi all,
    I ripped this off the jakarta-ant project's file copier (with a small tweak)..
    package com.museumcompany.util;
    import java.io.IOException;
    import java.io.File;
    import java.io.BufferedReader;
    import java.io.FileReader;
    import java.io.BufferedWriter;
    import java.io.FileWriter;
    import java.io.FileInputStream;
    import java.io.FileOutputStream;
    import java.lang.reflect.Method;
    import java.text.DecimalFormat;
    import java.util.Random;
    import java.util.Stack;
    import java.util.StringTokenizer;
    * This class also encapsulates methods which allow Files to be
    * refered to using abstract path names which are translated to native
    * system file paths at runtime as well as copying files or setting
    * there last modification time.
    * @author [email protected]
    * @author Conor MacNeill
    * @author Stefan Bodewig
    * @version $Revision: 1.8 $
    public class FileUtils {
    private static Random rand = new Random(System.currentTimeMillis());
    private static Object lockReflection = new Object();
    * Factory method.
    public static FileUtils newFileUtils() {
    return new FileUtils();
    * Empty constructor.
    protected FileUtils() {}
    * Convienence method to copy a file from a source to a destination.
    * Overwrite is prevented, and the last modified is kept.
    * @throws IOException
    public void copyFile(String sourceFile, String destFile) throws IOException {
    copyFile(new File(sourceFile), new File(destFile), false, true);
    * Method to copy a file from a source to a
    * destination specifying if
    * source files may overwrite newer destination files and the
    * last modified time of <code>destFile</code> file should be made equal
    * to the last modified time of <code>sourceFile</code>.
    * @throws IOException
    public void copyFile(File sourceFile, File destFile,
    boolean overwrite, boolean preserveLastModified)
    throws IOException {
    if (overwrite || !destFile.exists() ||
    destFile.lastModified() < sourceFile.lastModified()) {
    if (destFile.exists() && destFile.isFile()) {
    destFile.delete();
    // ensure that parent dir of dest file exists!
    // not using getParentFile method to stay 1.1 compat
    File parent = new File(destFile.getParent());
    if (!parent.exists()) {
    parent.mkdirs();
    FileInputStream in = new FileInputStream(sourceFile);
    FileOutputStream out = new FileOutputStream(destFile);
    byte[] buffer = new byte[8 * 1024];
    int count = 0;
    do {
    out.write(buffer, 0, count);
    count = in.read(buffer, 0, buffer.length);
    } while (count != -1);
    in.close();
    out.close();
    if (preserveLastModified) {
    destFile.setLastModified(sourceFile.lastModified());
    public File createTempFile(String prefix, String suffix, File parentDir) {
    File result = null;
    DecimalFormat fmt = new DecimalFormat("#####");
    synchronized (rand) {
    do {
    result = new File(parentDir,
    prefix + fmt.format(rand.nextInt())
    + suffix);
    } while (result.exists());
    return result;

  • CS6 Project Manager - Copying Files not advancing

    Hello,
    I am about to travel to Europe and I need to bring a CS6 project with me to continue editing on a laptop.
    I choosed "Collect Files and Copy to New Location". Project Manager analyzed the project and started the copying process, although the bar is not advancing and it is now 1h that is stuck at the sasme point.
    The external hard drive tha I am using to export the managed project looks like is writing, but in the project manager window the bar is not advancing.
    The project I am exporting is a full lenght film, and I cannot use the OSX finder to manually create a managed project due to its complexity.
    Here some details about the project:
    -Premiere CS6 is running on a 12cores Mac Pro, 64Gb Ram with 6TB internal raid
    -The external hard drive I am copying the managed project into is a 2TB Glyph e-Sata hard drive (currently showing signs of writing data)
    -The size of the managed project (including 3 sequences) is about 500GB
    -I choosed the option to collect files and Copy to New Location (Glyph Drive)
    -The footage is a mixed timeline of 4K Red and 5K Epic r3d files
    I already tried to abort the process and start ober again, several times but I always end up looking at the Project manager copying files without advancing.
    Any idea?
    I have a flight in 8h and I cannot leave without this project.
    Thanks!!!

    Not all media types can be trimmed.  In this case, Adobe cant write to the proprietary RED codec.  (You notice there's no RED export options.)

  • How to disable "Are you sure you want to copy this file without its properties?"

    copying from NFTS to Fat32 I get a prompt
    "Are you sure you want to copy this file without its properties?"
    the answer (for me) is always yes
    is there a way to disable the prompt ?

    This may be caused by the presence of NTFS Alternate Data Stream which cannot be copied to FAT32.
    Either format destination as NTFS or use utility like 
    http://www.nirsoft.net/utils/alternate_data_streams.html
    to scan/delete the ADS before copy. From the link above, below are some examples of when an ADS might be created
    1. Favorites of Internet Explorer: When You add a Web site link into your 'Favorites', a .url file containing the url and description is created. However, if the Web site also have an icon (favicon), the icon is saved as alternate stream for the same url file.
    The stream name of the icon is :favicon:$DATA
    2. Downloaded files of Internet Explorer: When you download and save a file with Internet Explorer, it automatically add a zone information for the saved file. This zone information is used for identifying the file as downloaded file from the Internet. The
    stream name in this case is :Zone.Identifier:$DATA
    3. Summary information of files: When you right-click on a file in Explorer and go to the 'Summary' tab, you can add summary information for the file, like title, subject, author, and so on. This summary information is also saved into alternate stream. The
    stream name in this case is SummaryInformation:$DATA.
    In addition to the legitimate usage of alternate streams, this technique may also be used by Viruses/Trojans/Spywares for saving data and hiding it from the user.
    In the case of files downloaded from the internet you could also try the methods in the link below to remove the zone identifier
    http://www.howtogeek.com/70012/what-causes-the-file-downloaded-from-the-internet-warning-and-how-can-i-easily-remove-it/

Maybe you are looking for

  • Message 764 not found; product=forms60; facility=FMG

    We have to migrate a rather big Form from 3.0 to 6i, something I did about 6 years ago, so I donot remember very much from back then. in some other forum I read that a path might not be set - which I do not believe as a form could be converted. we ar

  • The concept of Object Arrays

    for example, I have this code: String[] notItems = { "", "NOT" }; //First 'Not' ComboBox           notCombo = new JComboBox(notItems);           notCombo.setPreferredSize(new Dimension(95, 40));           notCombo.setBackground(new Color(241, 239, 24

  • How to import XMP metadata in pdf

    Could you please explain me, how to import XMP metadata in pdf file through "Live Cycle ES"?

  • Flash CS5 , TLF2 and verify errors

    Hi, This code : var tlf:TLFTextField= new TLFTextField() tlf.type=TextFieldType.DYNAMIC addChild(tlf) throws these errors: What Im doing wrong? TIA verify fl.text::TLFTextField/setFormatForAllElements()                         stack:                 

  • Why do imported movie clips take up so much space?

    I've recently moved over from a Windows PC to a Mac, and have been busy transferring over all my music, photos and videos. The problem I'm having is with the videos... they seem to be taking up far too much space on the Mac. On the PC, the size of al