Import image from library

i have a pgn in library, and its AS Linkage (Class)  is: AssoCuori
i have 2 arrays:
var semi:Array = ["Cuori","Denari","Fiori","Picche"];
var Carte:Array = ["Asso","Tre","Re","Donna","Jack","Sette","Sei","Cinque","Quattro","Due"];
i wanna add the child Assocuori  using them, something like:
var image:Bitmap = new Bitmap(new this[Carte[0]+semi[0]]);
addChild(image);
but this outputs error... help please

you can use instanceF below:
var pgn:*= instanceF(Carte[0]+semi[0]);
function instanceF(s:String):*{
var C:CLass=Class(getDefinitionByName(s));
return new C();

Similar Messages

  • How do I import images from my hard drive without losing resolution? My original files after import are significantly smaller. What should I do?

    How do I import images from my hard drive without losing resolution? My original files after import are significantly smaller. What should I do?

    Hi Keith, and all others chiming in, I do have the correct option checked in advanced settings telling iPhoto to copy the images into the library. What is a refernced library? Perhaps this is where I am getting confused. I exported my entire photo library from an old iMac5 to my external hard drive, from there I attempted to import the entire library to my new iMac. Am I overlooking an obvious and easy way to import from the hard drive to the new iMac--I dragged the entire photo pholder from the hard drive to the open window of iPhoto on the new computer. Now, I only get preview file sizes in iPhoto, unless I have my external drive open. Perhaps I need to import the original images from the hard drive in a different way...?! (This is making me feel pretty stupid.)

  • How can I import images from iphoto with the albums and folders?

    How can I import images from iphoto without losing the albums and folders I already created?

    In Organizer, you can choose File>get Photos and Videos>From iPhoto.
    Importing from iPhoto'09: If in iPhoto, you organize your media using photo references, that is, the media actually does not reside inside iPhoto library package, and are referenced through original locations, Organizer does not create new copies of those media and just refer to the original location. but if your iPhoto media reside inside iPhoto library, Organizer creates a copy all media in your pictures folder, also imports albums and tags and other metadata.
    Importing from iPhoto'011: In this case, Organizer always creates a copy of your photos in your pictures folder which resides inside iPohto package. It does not import the albums and other metadata like star rating, caption etc.
    Hope this information helps!
    regards,
    vaishali

  • Imported images from my iPhone became corrupted after importing.

    I Imported images from my iPhone and they became corrupted after importing. They appeared fine just after import, so I unfortunately erased my phone. When I reopened the aperture project where they were stored they had streaks, some were only partially visible, and others had no image just an exclaimation point with the words "incompatible file". thanks in advance for any suggestions or help.

    What you describe are very typical symptoms: You import; the images look to be o.k.; you go ahead and delete them. The problem is that during the import you only see the previews created by your camera, not the actual images you are importing. When you afterwards try to edit or to enlarge the images Aperture will recreate its own, better previews and needs to access the original master image files. If Aperture cannot find the master image files or cannot open them, you may see warnings (unsupported) or corrupted thumbnails. Only then you will notice if the images have been imported correctly, and that may be too late, if you deleted the images from your camera.
    How did you import? Are the imported master image files managed or referenced, i.e. included in the Aperture Library or referenced outside?
    I'd suggest you look directly at the master image files to check if they are o.k. and can be read by other applications.
    If your master image files are managed you'll find the images in the Aperture Library by right-clicking the Aperture Library package and selecting "Show Package Contents". Then Browse the folder "Masters". The master image files are stored in subfolders organized by the date of the import session.
    If your master image files are referenced, open the folder where you told Aperture to move them to.
    Check for two things:
    Have all your images really been imported?
    What is the  format and the state of the images? Try to open the images with Preview, or any other image editor you have and check if they really are corrupted, or if only Aperture has a problem to access them.
    If all your images are there, but Aperture cannot access them, your Aperture library may need fixing.
    Back up your Aperture library (just a precaution) and use the Aperture Library First Aid Tools to repair the permissions or/and to repair the database; see this section of the Aperture 3 User Manual on how to do that: Repairing and Rebuilding Your Aperture Library
    If repairing and rebuilding did not help, but you found the original masters and can read them, then copy them to a location outside Aperture and try to convert them to another file format with Preview or another application that can read them. Then try again to import those files to Aperture.
    Post back, if you have more questions.
    Good Luck
    Léonie

  • No images shown when importing images from external HD

    This only happened recently so I'm not sure if this was due to an update in Aperture or MacOS.
    Anyways, when I try to import images from an external HD, I cannot see the images. The images are there when I check thru Finder but I cannot see any from the import window in Aperture.
    The problem is also inconsistent. There are folders where I can see images but for most I cannot see anything.
    For local disk it works.
    Why does this happen and how can I solve this? thanks

    Are you sure they aren't in your library already? Have you tried de-selecting "don't import duplicates" and see if that changes anything?

  • Photos won't import images from my Canon camera.  When connected, program sees the images, tells me it will import the new ones, then freezes once import starts, not allowing any other operation to happen.  MacbookPro 15" 2012, OSX Yosemite 10.10.3.

    Photos won't import images from my Canon camera.  When connected, program sees the images, tells me it will import the new ones, then freezes once import starts, not allowing any other operation to happen.  MacbookPro 15" 2012, OSX Yosemite 10.10.3.  Any suggestions?

    Solution discovered.  Faulty connector cable.  Tried a different one and it worked.

  • After importing images from my card using LR 5.4, the GPS data does not show in the metadata panel. However, when I look at the imported images using Bridge, the GPS data is visible. Anybody know why LR is not seeing the GPS data? Camera is Canon 6D.

    After importing images from my card using LR 5.4, the GPS data does not show in the metadata panel. However, when I look at the imported images using Bridge, the GPS data is visible. Anybody know why LR is not seeing the GPS data? Camera is Canon 6D.

    Ok, the issue seem to be solved. The problem was this:
    The many hundred files (raw and xmp per image) have been downloaded by ftp in no specific order. Means - a couple of files in the download queue - both raw and xmps. Most of the time, the small xmp files have been finished loading first and hence the "last change date" of these xmp files was OLDER than the "last change date" of the raw file - Lightroom then seem to ignore the existence of the xmp file and does not read it during import.(a minute is enough to run into the problem)
    By simply using the ftp client in a way that all large raw files get downloaded first followed by the xmp files, we achieved that all "last changed dates" of the xmp files are NEWER than the related raw files. (at least not older)
    And then LR is reading them and all metadata information has been set / read correctly.
    So this is solved.

  • How do I import images from a Canon scanner on Photo Elements 12 using a Mac

    Hi
    I have purchase a new Mac with the 10.9 version and I am using Photo Elements 12.  I am trying to import images from my CanoScan 9000f scanner but I can't see the scanner in the Organizer, Files, Get Photos and Videos, there is no Scanner option.  But I can use my scanner using the Canon Sofware for the scanner.  Can you tell me what I have to do to be able to use my scanner directly on adobe Elements 12 ?
    Simon

    You do not use the 'Import' function under the File Menu to import P2 card content because the video content is still in its native form. For example, my Panasonic HPX 171 produces .MXF video files (amongst all the other files and folders within the overall heirarchy).
    In order to access the copied P2 information you have to Log & Transfer it, as if it were a camera plugged into the computer. This process then converts the MXF P2 files into a Quicktime format that the Final Cut application can read and work with.
    Take note that when archiving a P2 card as you did it is imperative that ALL the other files and folders are copied and saved. In other words, the entire 'CONTENTS' folder. It is this 'CONTENTS' folder that you navigate to within Log & Transfer when you want to import to FCP.

  • Importing images from an SD card to Lightroom 3.6

    I am a newbie to Lightroom and am having trouble importing images from an SD card. Can somebody run through the import procedure step by step for me please??

    Hank,
    http://tv.adobe.com/show/getting-started-with-adobe-photoshop-lightroom-3/
    Hal

  • Import Image from scanner to database Direct ..

    can any Colleagues help me ..
    how can i Import Image From Scanner directly
    if anyone can descuss code and how can i do that
    thank for all Colleagues .......

    You cannot.. unless you are prepared to get your hands dirty writing code to integrate a scanner API into Oracle.
    Oracle has a feature called extproc. This allows you to define external "procedures" - these procedures are for example shared object libraries (Linux/Unix) or dynamic link libraries (Windows). A scanner API will be typically implemented by its driver as a shared object/DLL. Which means it is callable from within PL/SQL.
    It may however not be usable - extproc does not support callbacks, does not own a window or process handle, and so on.
    In which case you may need to wrap the DLL into a custom DLL that implements callbacks. perhaps create a hidden window if a window handle is needed, and so on.
    In other words, this is not a trivial thing. You need to know more than just a bit about o/s side (systems) programming.
    You should also ask yourself why you want to do this. Architecturally wiring a scanner into Oracle via PL/SQL and an extproc interface make absolutely no sense at all.
    Especially since operator input/control is required to physically manage device... That is on the very opposite side of the Oracle server spectrum. That is clearly a client function to interact with such a device and not a server function.

  • Can I import images from DVD to my HDD through bridge (I have Win 7

    Hi,
    I'm using Win 7 (and also have Bridge on Mac OS X). I'd like to import images from DVD to my HDD through Adobe Bridge. But I can't find the option to import from DVD in Bridge (either in Win 7 or Mac). My DVD drive on my Win machine is external while I have the regular internal DVD drive on my Macbook Pro. I'm trying to import images from DVD to HDD through Bridge. Go through the first round of select/reject through Bridge and then take them to LR for further edits.
    I currently copy them from DVD drive to a USB pen drive. And then using the Bridge import dialog (when I plug in the USB again) copy them to my HDD. I do this becuase I also need to batch rename my files, add metadata and keywords during import. The simple copy/move function won't allow these additions and so I have to resort to this workaround of DVD to USB to HDD (thru Bridge). If I can import directly from DVD through bridge, it'll save me quite some time.
    Look forward to assistance pls.
    Thx,
    Chinmoy

    I feel a bit silly now. For 2 days I struggled and then posted my Q.
    After posting the Q, I figured it out in about 15 minutes.
    Insert DVD.
    Open Br
    Navigate to DVD
    Select all images
    Right Click - Batch Rename
    Choose Destination Path and New file name.
    And go!
    If you've had the same problem I did, hope this helps.

  • I cannot import images from my camera directly into Elements Organizer

    I am trying to import images into Elements Organizer from my Canon EOS 6D, but it doesn't work properly. I am expecting the images to appear in the Elements Organizer, but the images are only imported onto disk. At the moment I have to re-import images from the disk location as a second step. How can I perform this in one step, as I have seen this in the tutorials?
    I am on a Mac using Yosemite using version 13 of Elements Organizer.

    There is no "into". LR and PS just reference your photos on the hard drive.
    When you import your photos "into" the LR catalog, LR can copy the images off your memory cards to the hard drive if you have not already copied them, but the photos are referenced by the LR catalog by the path and filename for the files.
    If you are having problems getting the images off the cards, what steps are you using and what error messages are you getting?

  • Problem with importing images from Nikon S60

    I have been using photoshop elements for several years - currently on Version 8.  I've had no issues importing images from my Nikon D70 - I choose the option to store the images in folders by "shot date" and this has always worked.
    My wife has started using a Nikon S60 to take photos - when trying to import these photos they all end up in a folder with today's date.  I've treid a couple of times to be sure that I didn't make a mistake in setting the import options.  I've checked the "properties" of the images and the date their shows the shot date...
    any ideas?

    Seems unusual behavior. I guess the obvious thing to do is to simply rename the folder although that’s a bit annoying.
    Have you tried selecting one of the other shot date formats from the downloader, perhaps to match the camera date format?
    Click image to enlarge.

  • Imported images from iphone are unsupported in aperture?

    When I try to import images from my iphone into aperture, they come in as gray boxes. When I click on these I get a message that the file format is unsupported. Anyone else running into this?!

    Also, I tried image capture and tried to open the jpg's in preview. This also didn't work and said the format is unsupported. Photoshop gives the following message:
    Could not complete your request because a JPEG marker segment length is too short (the file may be truncated or incomplete).

  • Trouble importing images from Canon EOS to iPhoto

    When I returned from my daughter's wedding with about 400 irreplacable photos I discovered that I could not import photos from my Canon EOS to iPhoto on my iMac.  When I initially connect my camera to the computer the images display perfectly. However, when I click "import all" the downloaded images all appear completely blank (gray).  I don't have any difficulty importing images from my iPhone.

    I have had a similar experience with a few greyed out images I did not bother too much because it was not important at the time. I was wondering if you could save them into another format or file and then try importing them from there.

Maybe you are looking for