Import a class from a SWC into my source code

Hi all --
I'm a long-time Flash developer, relatively new to Flex.  I am using FlashBuilder 4.6.
I have XMPCore.swc from Adobe, which I have added to my project in the libs/ directory.  It shows up in Project->Properties->Flex Builder Path->Library Path->Libs.
XMPCore defines several classes, such as XMPMeta.
In my source code, I want to be able to do
   var xmp:XMPMeta = new XMPMeta(...)
but when I type that I get an orange error indicator, and when I compile I get a red error indicator stating that "Type was not found".  Just as a stab in the dark, I tried adding
import XMPCore
or
import XMPCore.XMPMeta
at the top of the file, but that gave error messages as well.
I'm sure this is explained neatly somewhere, but I've spent several hours reading documentation and googling and I can't find that somewhere! 
Any help greatly appreciated!  My project file is at
http://dl.dropbox.com/u/63253361/eXeMPlary.fxp
Bob

Your import statement is not correct. Use the following:
import com.adobe.xmp.core.XMPMeta;

Similar Messages

  • Importing a class from another context?

    Hi JSP techies,
    Im using RESIN and having a simple problem of figuring out how to import classes from another context, if Im using the right word.
    ie.
    My .jsp files are under $home/resin/doc/test dir. And in the jsp file, I would like to import a servlet class or a plain java class. But the servlet classes and all other classes are located under $home/resin/webapps/project/WEB-INF/classes/a/b/c
    Hence when I say
    <% page import="a.b.c.*" %>
    I get an error saying "a" not found.
    1. When I say "servlet classes are in a different CONTEXT", is that right? or is it just another directory?
    2. How can I make the jsp file import the classes from the servlets class path?
    Note: Ofcourse, when I copy the package to the
    $home/resin/doc/WEB-INF/classes dir, everything works fine. But thats simply not an efficient way to get around. Could anyone clear my doubts on this regd.?
    Thanks in advance.
    Arun

    Oh... I get it now. I'm sorry, I had you poorly misunderstood. You are trying to import servlets from another web app or servlet context. I would suggest you put servlets that are common to all web apps in the system classpath and not tie them to any particular web app. In other words create a package directory structure from the system's root directory or any where outside of any web apps and point the system classpath to the beginning of that directory structure. I have a similar thing going with Tomcat. I have a folder in my root called Java_Class which is in my classpath. I build all common utilities in this directory. So I have a com/craig/web structure that holds my AppServlet which is in package com.craig.web. This servlet is visible to all web apps via the Windows classpath. Servlets particular to an application like say an MusicOrderProcess servlet would reside in a package under the webserverhome/webapps/MusicStore/WEB-INF/classes directory where webserver home is the home directory of the webserver you are using. I've tested this across webservers as well (orionserver and Tomcat) and it works.
    From the prompt you include in your posts I am guessing that you are running on UNIX. Move your common servlets out of their respective web apps and into a common directory structure. Configure the UNIX $CLASSPATH (or is it $classpath?) environment variable to point to this sturcture and you'll be on your way!
    Post again if you have more questions!

  • I am trying to import developed images from LightRoom 5 into Photoshop 6.  I am receiving this message and the images will not open.....'Could not open scratch file because the file is locked, you do not have necessary access permissions or another progra

    I am trying to import developed images from LightRoom 5 into Photoshop 6.  I am receiving this message and the images will not open.....'Could not open scratch file because the file is locked, you do not have necessary access permissions or another program is using the file.  Use the 'properties' command in the Windows Explorer to unlock the file'.  This has not happened before.  How do I change this?

    Could not open a scratch file because the file is locked or you do not have the necessary access privileges. (…) | Mylen…
    Mylenium

  • Importing keyboard shortcuts from PS CS3 into CS4?

    Is it possible to import keyboard shortcuts from PS CS3 into CS4?
    And how?
    m

    Mmh, you could possibly simply copy over the respective files from your preset directory (Documents and Settings/Matjaz/Application Data/Adobe/Photoshop CS3/Presets/Keyboard Shortcuts). Not sure if it's safe, though. Never tried.
    Mylenium

  • Importing element definition from an  EDD into a template - does not work

    FM 10.0.1 German on Windows XP SP3.
    When importing the element definitions from an existing EDD into an existing template, FrameMaker converts the template into a  new EDD.
    So the element definitions which are correctly defined do not appear in the template.
    The highest level element is than ElementCatalog in the template and not the higherst lvel element defined in the EDD.
    In FM9 this was no issue.
    Any help is appreciated, I have a deadline and must do some changes in the EDD.
    Best Regards
    Thomas

    Lynne,
    EDD is english (Version FM7.0), Interface language is German.
    Maybe it´s a localization issue.
    I have attached a captivate demo pdf so you can see what happens and the
    defective EDD.
    Mit freundlichen Grüßen
    Best Regards
    Thomas Zeisig
    From:   Lynne Price <[email protected]>
    To:     "Th. Zeisig" <[email protected]>
    Date:   13.10.2011 14:12
    Subject:        Importing element definition from
    an  EDD into a template - does not work
    Re: Importing element definition from an EDD into a template - does not
    work
    created by Lynne Price in FrameMaker Structured - View the full discussion
    Thomas,
      No question the behavior you describe is a bug. However, I am unable to
    duplicate it. I created an EDD with two element definitions:
    Element (Container): doc
      Valid as the highest-level element.
      General rule:  (
      When I imported element definitions from this EDD into a new portrait
    document, FM reports that element a is referenced but not defined and that
    b is defined but not referenced. However, with all elements listed, the
    element catalog shows a, b, and doc. The metatemplate elements are not
    available.
      I wonder if this is a language-dependent problem. Is your EDD German or
    English? What about your user interface?
      Can you send me a short EDD that fails as you've described?
      Thanks,
          --Lynne
    Replies to this message go to everyone subscribed to this thread, not
    directly to the person who posted the message. To post a reply, either
    reply to this email or visit the message page: [
    http://forums.adobe.com/message/3969067#3969067]
    To unsubscribe from this thread, please visit the message page at [
    http://forums.adobe.com/message/3969067#3969067]. In the Actions box on
    the right, click the Stop Email Notifications link.
    Start a new discussion in FrameMaker Structured by email or at Adobe
    Forums
    For more information about maintaining your forum email notifications
    please go to http://forums.adobe.com/message/2936746#2936746.

  • How could I Import RAW  photos from sony A300 into Lightroom 1.4.1?

    How could I Import RAW photos from sony A300 into Lightroom 1.4.1?
    RAW photos files in sony A300 are saved as "*.arw".
    any one can help?

    This is well known bug. One day Adobe will recognise that with the best live view system (A350/300) and best usability (A700) they need to take the Sony DSLR's seriously.
    Use the Import function, but use "choose files". Your CF card (in Camera or reader) will just be another drive. Navigate down to the folder with the pictures - control+A, choose selected. Then choose copy to new location and import (safer than using move).
    Don't forget to tick the backup box.
    Hope this helps. Peter

  • Cannot import voice over from garage band into FCP-X

    cannot import voice over from garage band into FCP-X

    Try:
    Share > Send Song to iTunes. In the dialog, turn OFF compress. That will create an .aiff version of your GB project.
    Alternately, you can Share to iTunes. When iTunes opens, right click on the selection and select Create AIFF version.
    When iTunes opens, right click on the selection and select Show In Finder -> drag it out to a more convenient location (or option-click-drag to make a duplicate in the new location you drag to.)
    Import that file into FCPX.

  • Import IP Prefix from Global Table into a VRF Table

    Hello,
    Is it possible to import IP Prefix from Global Table into a VRF Table on ASR9001 with Version 4.3.0? Thanks.
    Regards,
    Eric

    hi Eric,
    In 4.3.1 there is a feature that will allow you to do this.
    The Border Gateway Protocol (BGP) dynamic route leaking feature provides the ability to import routes
    between the default-vrf (Global VRF) and any other non-default VRF, to provide connectivity between a
    global and a VPN host. The import process installs the Internet route in a VRF table or a VRF route in the
    Internet table, providing connectivity.
    You can follow the ASR9000 blog here to monitor when 4.3.1 will be posted to Cisco.com
    https://supportforums.cisco.com/blogs/asr9k
    or watch for the 4.3.1 Release Notes here
    http://www.cisco.com/en/US/products/ps5845/prod_release_notes_list.html
    regards,
    David

  • Cant import raw files from sony rx1003 into iPhoto

    Cant import raw files from sony rx1003 into iPhoto.  with rx1002 no problem! any suggestions?

    Every model of a manufacture's camera have a different  RAW format and, therefore, you'll have to wait until Apple receives the necessary information from Sony so they can create a RAW Compatibility Updater that includes that model.
    In the meantime you can try the Adobe RAW converter with might support that camera model to create a dmg file that iPhoto will recognize and begging shooting the highest resolution jpegs until the updater is released.

  • Is it possible to import a title from Premiere Pro into AfterEffects?

    Is it possible to import a title from Premiere Pro into AfterEffects?
    AE CS6
    PP CS6
    Thank you,
    Robert

    You can render the title out of Premiere Pro as a movie and bring it into After Effects as a video file. Titles aren't automatically converted when you copy and paste from Premiere Pro to After Effects or use Dynamic Link to send something to After Effects.
    You can submit feature requests here:
    http://www.adobe.com/go/wish

  • HT4489 I am attempting to import a vcard from my outlook into my icloud contacts. Exporting works fine but I get the error...could not import some contacts becaus ethere was a problem reading the vcard. Any suggestions?

    I am attempting to import a vcard from Outlook 2010 into my iCloud. Exporting to Outlook works fine but I get an error ..could not be imported there was a problem reading the vcard. Any suggestions?

    bmitch3 wrote:
    I am attempting to import a vcard from Outlook 2010 into my iCloud. Exporting to Outlook works fine but I get an error .
    You mean exporting from Outlook surely, what exactly are you you importing to?

  • Im using BlueJ, I want  to import a class from a path I set.

    Hi, I'm using BlueJ and I want to import a class from a path I set.
    Like this
    import "C:\myfolder\*";
    Instead of like this
    import java.thing.*;
    Any ideas why the above line is not working for me?

    The import statement takes a class name or package name + .*, not a file name. It has nothing to do with files.
    import package.name.ClassName; // to import a class
    import package.name.*; // to import all classes in the package named "package.name"
    You need to properly specify your classpath at compile-time as well as run-time.

  • Issues importing tagged media from adobe lightroom into adobe organizer12....is it possible? Steps if so?

    So i'm helping my sister in law with digital scrapbooking and she has adobe elements12. I have been trying with no luck to import all of my media from adobe lightroom into her adobe organizer since I already have a ton tagged and it will be easy for her to use while scrapbooking. I cannot find anything online as most people upgrade  from adobe organizer to lightroom and not vice versa....can anyone help with the steps I can do so I can help her out...please

    THe long answer is no.
    Mylenium

  • Can't import .mov files from my camera into iPhoto

    I am not able to import .mov files from my kodak camera into iPhoto. It says the file is not readable. Also, if there are any photos after the video file, those are said to be unreadable too, even if I select just the photots for import. I tried to import the .mov file with image capture as well, and that gave me an import error also. I can view the file fine on my camera and iPhoto and image capture both will give me the properties of the video file but will not import. I have imported .miv files before with no trouble. I have tried several different files with the same results. Even tried different memory cards. Not sure how to get this file on my computer or why there is a problem all of the sudden.
    Thanks.

    Welcome to Apple Discussions,
    What model of Kodak is it?
    There is a discussion thread on this topic: http://discussions.apple.com/thread.jspa?messageID=11942367&#11942367
    Try using a media card reader (sometimes built into printers) to see if that allows the import. Others seem to report having luck by importing the movies off the card using a different computer, deleting them, and then importing the pictures.
    Hope that helps.

  • Import saved bookmarks from C Drive into Firefox bookmark menu

    I want to import saved bookmarks from a thumb drive into the Firefox bookmark menu

    See - [https://support.mozilla.com/en-US/kb/Importing%20Bookmarks%20from%20an%20HTML%20File Importing bookmarks]

Maybe you are looking for

  • How can i see log in sm35 after i run my program  ?

    i ahve some problem in my recording  , but i cant get what screen couse to the error . i get message in the end of the session  "Start screen does not exist in batch input data". i try to fix ( remark or open some lines ) but i cant find the problem 

  • Open dialog box on second monitor?

    Hi there, I use CS6 on a system that utilises two monitors. To maximise the amount of screen on Monitor 1 used for viewing my photos, I have arranged the workspace so that my history, actions and other panels are on Monitor 2. However, whenever I ope

  • Quick View to SAP query

    Hi , I have a Quick view, hwo do i convert to sap query?. System : 4.7 Rgds, Mano Sri

  • Is student edition different?

    I'd like to buy photoshop elements and premier elements for my daughter.  When I went to "buy", there was a lower price offered for "student edition".  I couldn't find any info on whether the "student edition" contained different, or fewer, features

  • How to write  procedure for creating a row

    Hi How to write procedure for creating a new row in data table when button clicked.