Using external reference png files

Hello everyone!
I've been requested to create a flash project in which all images are external references.
Images (mostly png) are created and can be modified anytime by artists, fla files and actionscript are created by developers. When opening a fla file, images should be automatically updated with the latest ones on the server and be visible in the fla file.
Technical requirements are as follow : Actionscript 2.0 and Flash player 9 max.
I tried to use the Loader component, it seems to be what I want (with Autoload function enabled), but unfortunately ActionScript 2.0 component doesn't allow png files, and doesn't work anymore when embedded inside a movieclip or a button (image became totally invisible).
A simpler solution should be to automatically run the "Update" button on every image in the library but I don't think Flash to be able to do such a thing...
Do you know another way to achieve this? I didn't find any documentation...
Thanks!

The following tutorial will help you to have the reference of external files along with the resuable preloader:
http://kirupa.com/developer/actionscript/moviecliploader.htm

Similar Messages

  • Smaller PDFs? Adobe X - Using TIFF or PNG files to create PDFs

    I received a PDF - 73 pages, black and white - original file size is 2240KB (2MB).  They wanted me to clean it up - so I save as either a TIFF or a PNG at 150 DPI, run each image through a batch process to darken them up (grayscale, soften, adjust curves - using Corel Paintshop Pro - Sorry Adobe), then recombine as a new PDF.  No matter what file type/size I use (TIFF or PNG) or even if I select a smaller output size in the combine PDF it balloons to a 11-12 MB file.  I can optimize it but then I think it takes all the images and JPGs them and they get all blotchy.  Print to PDF was even larger.  The only file that did not balloon up was when I recombine the original TIFFs saved from the original PDF.  Any tips on what to do to make a smaller file size?  Also I will take any other tips on cleaning up PDF quality - the other one we sometimes use is to print and rescan using a setting with higher contrast, but I like manipulating the electronic files better.  Thanks!

    Well, yes, that's a terrible way to do it. If it can be done at all. And it would make no difference if "Adobe Photoshop" appeared instead of "Corel whatsisname".
    PDF files are generally vector. Rasterising it will lose detail, searchability, quality, and much else.
    If they are actually scanned bitmaps you might be able to clean them up using Photoshop as an image editor helper from within Acrobat.
    But really, cleanup should take place before making the PDF.

  • How to use external libraries jar files in the composite application?

    Hi,
    I have some external jars files (which consists of java classes) that I would like to use in my composite application. 
    I have created a DC with type as external library for the jars.  However, I don't know how to specify the DC to be used in my caf application.
    Can anyone help?
    Thanks.
    Regards,
    Fui Voon

    Hi,
    My jar files consists only java classes and a manifest.mf. The files are compiled using jdk 1.4.2-b28.  Will this be any issue?
    It seems that if I ignore the error and continue step 7 which is to do deployment of the ear, the error given is
    Cannot update it.
    Caused by: com.sap.engine.library.bytecode.cf.CFException: Invalid constant pool tag, 60 at index 41.
    Does anyone know what that mean?
    Is there any sample that teach how to deploy external libraries as bundled library?
    Thanks.
    Regards,
    Fui Voon

  • How to use External DVM Lookup files in BPEL

    Hi,,
    I am using DVM in transformation.
    I want to keep DVM files outside the project directory and use it in my transformation.
    like
    <xsl:value-of select='dvm:lookupValue("file:/C:/dvm/CheckLOV.dvm","CSID",/client:process/client:input,"CSName","1")'/>
    I want to keep DVM file outside project so that I don't need to redeploy whenever there is changes in DVM file.
    But i am getting run time error.
    <bpelFault>
    <faultType>0</faultType>
    <subLanguageExecutionFault>
    <part name="summary">
    <summary>An error occurs while processing the XPath expression; the expression is ora:doXSLTransformForDoc("xsl/Transformation_1.xsl", $inputVariable.payload).</summary>
    </part>
    <part name="detail">
    <detail>XPath expression failed to execute. An error occurs while processing the XPath expression; the expression is ora:doXSLTransformForDoc("xsl/Transformation_1.xsl", $inputVariable.payload). The XPath expression failed to execute; the reason was: javax.xml.transform.TransformerException: oramds:/deployed-composites/AbhiPartition/TestLov_rev1.0/xsl/Transformation_1.xsl<Line 6, Column 171>: XML-22044: (Error) Extension function error: Error invoking 'lookupValue':'oracle.tip.dvm.exception.DVMValidationException: Unable to locate DVM "file:/C:/dvm/CheckLOV.dvm" The Exception is "MDS-01160: Expecting absolute document reference. Reference ":/dvm/CheckLOV.dvm" is a relative reference to the document." Please ensure the DVM exists at the location specified.'. Check the detailed root cause described in the exception message text and verify that the XPath query is correct. </detail>
    </part>
    <part name="code">
    <code>XPath expression failed to execute</code>
    </part>
    </subLanguageExecutionFault>
    </bpelFault>
    Can someone solve this issue.
    Thanks.....

    Hi Yatan,
    I tried using "file:///dvm/CheckLOV.dvm"
    <xsl:value-of select='dvm:lookupValue("file:///dvm/CheckLOV.dvm","CSID",/client:process/client:input,"CSName","1")'/>
    In this case i am getting these errors--
    <bpelFault>
    <faultType>0</faultType>
    <subLanguageExecutionFault>
    <part name="summary">
    <summary>An error occurs while processing the XPath expression; the expression is ora:doXSLTransformForDoc("xsl/Transformation_1.xsl", $inputVariable.payload).</summary>
    </part>
    <part name="detail">
    <detail>XPath expression failed to execute. An error occurs while processing the XPath expression; the expression is ora:doXSLTransformForDoc("xsl/Transformation_1.xsl", $inputVariable.payload). The XPath expression failed to execute; the reason was: javax.xml.transform.TransformerException: oramds:/deployed-composites/AbhiPartition/TestLov_rev1.0/xsl/Transformation_1.xsl<Line 6, Column 170>: XML-22044: (Error) Extension function error: Error invoking 'lookupValue':'oracle.tip.dvm.exception.DVMValidationException: Unable to locate DVM "file:/dvm/CheckLOV.dvm" The Exception is "MDS-01160: Expecting absolute document reference. Reference "vm/CheckLOV.dvm" is a relative reference to the document." Please ensure the DVM exists at the location specified.'. Check the detailed root cause described in the exception message text and verify that the XPath query is correct. </detail>
    </part>
    <part name="code">
    <code>XPath expression failed to execute</code>
    </part>
    </subLanguageExecutionFault>
    </bpelFault>
    I got one doubt while using file:///dvm/CheckLOV.dvm".
    How server will know that we are refering to C drive...
    Because there can be many othe drives also.
    In which drive it will try to locate "CheckLOV.dvm" file,since it is not present with Project directories.
    Abhishek

  • Using External Reference IDs - Basic Functions - SAP Library

    To add a comment, please log in or register on the top of this page and choose Reply. Please write your comment in English.
    You can also go back to the SAP help page.

    as far as i know, you can also have external libraries in 10g. But, do you want to interact from a forms-dialog or from the database itself? If from the database itself, you should be aware that you can only use a dll, if the database-server runs on windows. Also, you should ask your question then in the database-general-forum.

  • Always use external XMP sidecar files

    I am coding a utility to convert my existing collection to LR, and I am wondering:
    1) If LR can read XMP sidecar files for images even if the image can internally contain XMP data, e.g. JPG files?
    2) If LR can export XMP data to a sidecar file even if the image can internally contain XMP data, e.g. JPG files?
    Regards
    P.

    the sad part is that if your .jpg are read only (the files only), Lightroom will NOT export the XMP metadata. It would be nice is Lightroom exported XMP sidecar. Better, it would be nice to tell Lightroom to do it every time, like beta 4 was doing (if I'm not mistaken).

  • How do I make Flash use the original Photoshop file, not a .png one?

    Hi, this might be kind of a basic question/problem but I can't seem get Google to help me. Since I've recently started out with Flash, I guess I just missed some newbie thing out, still very greatful for help though, since this'll soon be causing a brain hemorrage...
    Ok, here goes: 
    I'd like to draw key frames in Flash, just simple drawings/skelettons using the pen tool, basically to create the movement itself. After that, I want to export the frames that I drew as images to Photoshop in order to apply texture and colour, and then put them back into Flash again, without tampering with the Flash doc I've already created, since the animation is already done. I want the file(s) that I'm working with to remain the same files throughout the process, from Flash to Photoshop and back to Flash again, like the way InDesign works. Is this even possible?
    If this isn't possible at all, I guess the alternative is to draw in Photoshop and then import the drawings into Flash, put them in order and then make any eventual changes after you've created the animation in Flash, this is less smooth though still possible. But here emerges (sort of) the same problem:
    When I import images from Photoshop, create animation out of them, and then realize I have to make some changes in the original PS pic file I head back to PS to correct it. But it just doesn't work the way I want it to... If I modify the pic file in PS, then use the "update" alternative in Flash Library, Flash just tells me that the file can't be found, and does not update the image. If I choose the "edit in PS"-alternative from right clicking on a symbol that is in the library, the file opens as a .png file in PS, not as my original file! It seems to me that Flash is creating its own library, not using the existing document. Is there anyway to go around this? How do I make Flash use my PS file which allows me to change it as much as I want (as with InDesign)?
    This is driving me crazy, what I'm working on is supposed to be full HD, I can't use a freaking .png file... Gah!
    Very many Thanks in advance!
    (If anyone has any suggestion for alternative software, that's also very welcome!)

    If you start the artwork in Flash, you are starting with a vector drawing. If you export this art as a .png so that you can edit it in Photoshop, you will be translating the artwork to a bitmap image at a specific resolution. When you edit this .png in Photoshop, you can save it, as a .png, and then import that .png into Flash.
    After you import the .png, place it on the stage in a new layer. Position the new artwork over the old artwork. Then throw away the original artwork. Now, when you want to edit the artwork, go to the original file in the movie's Library and select Edit with Photoshop. When you save the file in Photoshop, the updated file will appear in the Flash movie.
    If you have Illustrator, you can export your original artwork as an Illustrator file. Then you can open this file in Illustrator, edit it, and save it. Then, as above, import the .ai file into Flash and toss out the original. Now you can edit the original file through the Library in your Flash movie.
    Alternately, you could start by creating the artwork in either Photoshop or Illustrator. Then import that art into Flash. Now you have a link to the editor for either file in your Library. This may simplify things.
    Working with Photoshop and/or .png files will give you a larger finished file than working with Illustrator files. In either case the finished resolution of the Flash movie will be the computer's screen resolution, 72 ppi.

  • Flattened png. files only render in black and white

    Hi,
    I have been working with fireworks on a daily basis for over
    a year now, and I have never come across this problem. I think it's
    either a setting, or I have some sort of bug. But here's whats
    going on: I design websites and so I use lots of .png files
    (flattened of course) Recently all of flattened png files are
    rendering only in black and white. By that I mean I save them in
    color, and then when I save them they turn black and white, and I
    can only tell this once I reopen them. Even if I go into the
    options section when you are saving a doc, and I can choose the
    format, and then underneath that the palette, the palette itself is
    somehow always set to grayscale, and so I will change it to web
    adaptive which is my usual setting. Has anyone had this problem
    before. The only way around it that I have found is by first saving
    my project as a jpg, and then going back into fireworks and then
    saving it as a flattened png.

    When installing the new cartridges, did you get the message "Original HP cartridges have been installed"?
    Can you check the ink levels and actually see the been color displayed?
    Although I am an HP employee, I am speaking for myself and not for HP.
    *Say thanks by clicking the "Kudos! Star" which is on the left*
    Make it easier for other people to find solutions, by marking my answer with "Accept as Solution" if it solves your issue.

  • BAPI PO creation by using External Number

    Hi ,
    I want to create Purchase order with some external number.By using BAPI_PO_CREATE1 i can able to create purchase orders but its generating system generated(internal) purchase order number.In Header Parameters i assigned external number even though system is created Purchase order with the internal number sequence.
             Kindly give me the solution for this.
    Thanks in Advance
    regards,
    kishore.

    If you pass the BAPI header and headerx structures  EBELN fields and the order type has been configured to use external reference numbers,  then there should be no problem doing this.  What happens if you try to create an order for the same order type in ME21N?  Do you get a system generated order number or can you enter it yourself?

  • ChaRM External Reference Number Field

    Hi
    In ChaRM, we have used external reference number field for information. When a ChaRM CR is created, the requester fills required information in the field. In Normal Correction, this information is not automatically taken from the CR document to the correction document. When we search a normal correction by external reference number, it does not give any result, as the information is only shown in the CR document. This however works as expected in Ur.gent Corrections.
    What could we do about this?
    Many thanks for your answers in advance.
    BR Li

    Hello,
      you need to check the mapping rules for field External Reference Number in copy control for Normal Corrections.
    Go to the IMG: Scenario specific->change request management->Extended config->change trans types->copy control
    Define Mapping rules.
    Regards,
    Raquel

  • Error 1004 occurred at Open VI Reference in Directory of Top Level VI.vi- Check Path.vi- Read PNG File.vi- ValveUI.xctl:LoadBackgroundImage.vi- ValveUI.xctl:Facade 1.vi:29- ValveUI.xctl:Facade 1.vi.ProxyCaller

    I am trying to dynamically load the background image of an XControl facade using a 'LoadBackgroundImage.vi' that I have written. This SubVI has worked with a normal VIs panel before. It utilizes the 'Read PNG File.vi' from Labview to read in a transparent PNG file to overwrite the Facade background. When the XControl is loaded during design-time it generates an Error 1004 indicating that the 'Read PNG File.vi' is not in memory. I have tried to place a static reference to this vi to force it to load but I still get this error. What is the solution?
    Attachments:
    Error Dialog.PNG ‏9 KB
    LoadBackgroundImage_VI.PNG ‏33 KB

    Darin, thanks for your reply.
    The XControl Facade is rendered on the Main FP when the Main.vi is opened in design mode. Previously I have placed a PNG image onto the Facade pane (i.e. drag-n-drop the image onto the Facade FP during design) and it is displayed on the Main.vi FP in design mode when Main is loaded. However, when I include a call to Read PNG File.vi in the Facade I get the 1004 error. You may not see this error without using a Simple Error Dialog. This failure to find Read PNG File.vi in memory is the main issue.
    I have tried to use SubPanels before - they are useless for my purposes for many reasons (they don't show the underlying SubVI pane in design mode, they require the use of SubVI references to load - preventing the use of direct wiring to the SubVI connector, etc.).
    Do you know how to dynamically load and call 'Read PNG File.vi' so that Labview is forced to load the VI and then Read PNG File can load the PNG image? I can get 'Read PNG File.vi' to dynamically load and show property values but to call it with the 'Call By Reference Node Function' I need a strict type def to be generated, etc. So what are the steps needed to create a dynamic call to 'Read PNG File.vi'? I haven't seen any good working examples that show how to create the strict typedefs that are required etc. There is no right-click > Make Type Def > ...  for Read PNG File.vi or other ways to do this that I have noticed. Showing a finished example doesn't show you how to do it (menu selections, etc.). Or, do I have to hand construct these typedefs by reverse engineering the VI?

  • Is there any downside to using a reference type library if I use Time Capsule and will do file management only from within Aperture?

    Have done a lot of reading to get prepared to convert to Aperture 3 and have this question regarding setting up my library type.
    I'm not a professional -just a heavy user hobbyist.
    It appears that the major factors in using reference style is to backup the images with Time Capsule and always do moves or deletes from within the Aperture application.
    If my architecture matters here's what I have that may be involved in photo management and editing:
    iMac (latest 27" high power version with lots of memory)
    Internal 2TB HD where the library is stored
    External (FireWire) 2TB HD where the images are stored
    External (FireWire) 6TB HD backup drive
    In the future an iPad for remote work on images (when/if available) and a Mac laptop (for same remote use)
    I see major downside issues to letting the library manage my files - such as inaccessibility (or awkward accessibility) to the images for other programs, and performance issues when the library gets large (thousands of images or 100+ gb in size)
    The chief complaints I've seen regarding using a reference mode is the broken link issues created if file management is done outside of Aperture (adds, deletes, moves of files) and the inability to use the Vault function for backup.
    One feature that I imagine I'd like to have is maximum integration with Final Cut Pro X and that's one area I haven't seen much on and would be interested to hear about if that integration is affected with the choice of managed vs referenced library types. (I like to produce film clips that are combinations of pics and video and want to be set up so that is done in the easiest fashion when working in FCP X)
    I'm sure I've not seen all sides of this issue and would like to see some discussion around this question.
    Thanks to everyone contributing!
    Craig

    Goody, Goody, you hit a few of my favorite subjects! Herewith some comments, with the usual caveats - true to the best of my knowledge and experience, others may have different results, YMMV, and I could be wrong.
    I run Aperture on two machines:
    -- 2007 Mac Pro with 2x2.66 GHz Xeon, 21 GB of RAM, a 5770 GPU, and multiple HD. I have about 11,000 images, taking up 150 GB. (Many are 100 MB TIFF, scanned slides)
    -- 2006 Mac Book Pro with 1 2.0 GHz Core Duo, 2 GB of RAM and a 240 GB SSD.
    Two very different machines.
    -- Aperture Libraries are all the same - Managed or Referenced. If Managed, then the Master image files are inside the Package, if Referenced, they are outside, and you can have any combination you want. Managed is easier, but Referenced is not hard if you are the least bit careful.
    -- While the sheer size of an Aperture Library is not a big issue, the location on disk of the different components can have a tremendous impact on performance.
    -- Solid State Drives (SSD) read and write faster than regular Hard Disks (HD) and, what is more important, empty HD read and write much faster than full HD.
    -- Aperture speed requires a combination of RAM, CPU, graphics processing unit (GPU) speed, and disk speed. The more RAM you have, the less paging you will see. With enough RAM, the next bottle neck is CPU (speed and cores) and GPU speed. But even then you will still have to fetch an image (longer if you pull the full resolution Master, read and rewrite the Version file, and update the Preview and Thumbs.
    So what works?
    -- RAM, RAM, and more RAM. 4 GB will work, but you will page a bit. 8 GB is much faster. On my old MacPro the sweet spot was about 16 GB of RAM.
    -- Keep your Library on your fastest (usually internal) drive. Keep that disk as unloaded as possible. How do you keep it unloaded? Either buy BIG, 1 TB+ or move your Masters off onto another disk. The good news here is that as Master files are written only once and never rewritten, speed of this disk, as opposed to the disk that holds the Library, is not important. There is a one second pause as the Master is read into memory and, if you have enough RAM, that is it - the Master will never be paged out. If, on the other hand, you do not have enough RAM, and you do a lot of adjusting at full resolution, then the speed of the disk that holds your Masters will become very important due to paging.
    -- I found that I picked up a tiny bit of speed by keeping the Masters on a dedicated disk. Thus, in your configuration, if you can dedicate that 2 TB FW HD to your Masters, you should see very nice performance.
    Final notes on backups and archives:
    -- One conventional wisdom is that you should make an archive copy of every image file before or as you load them into your system. (Aperture in this case.) This archive is then never touched or deleted.
    -- An alternative approach is that you do not keep such an archive, but only the images that you have in your Aperture Library. And when you delete from the Library, you no longer keep a copy anywhere.
    I do the following:
    -- Card to Aperture. Card is then kept at least 24 hours until all of my backups have run. (I use three - Time Machine, Clone, and off site.)
    -- I do not keep archive copies. If I decide to delete a file, my only recourse is to recover it from Time Machine during the six month cycle of my Time Machine backups. Thereafter, it is lost.
    There are merits to both approaches.
    Hope this is clear, correct, and responsive to your needs.
    DiploStrat

  • Using excel sheets with externa references

    I was hopping someone could point me somewhere to begin here.
    What if I am implementing CM solution in a financial department, which strongly uses excel spreadsheets, which means they're going to need external references from a file, to another .xls for example. Is there any thing about that matter in UCM?
    ty

    Post what you would like to do in Excel here
    http://www.microsoft.com/mac/support

  • Problem in using PNG files....

    Hi everybody...
    Whenever i use ImageIo.read(filename) function to read a PNG file....it returns a bufferedImage with Type = 0....
    and i cannot use this type of image to perform convolution operations....
    how can i solve this??....
    Another problem is that whenever i save it using the write method....the size of the new file is way too large than original image.
    ( ex - 250 kb(source image) - 1.5Mb(saved image))
    how can i solve this??
    plzz someone help me...
    itz urgent!!

    I'm making educated guesses here but I suspect you may be loading a palettised (ie <16M color) file and convolution probably requires true color - you can convert by creating a new image and rendering into it.
    As for writing out, you can adjust the write settings by tailoring the relevant ImageWriteParams... there should be plenty of info around if you Google.

  • I recently reset my computer and copy my music from an external hard drive to my itunes library.  When I click on a song to play i get an error message that says " the song could not be used because the original file could not be found".  need help

    I recently reset my computer and copy my music from an external hard drive to my itunes library.  When I click on a song to play i get an error message that says " the song could not be used because the original file could not be found".  But when I have my external hard drive plug in the song will play with no problem.  What do I need to do to play my music without having the external harddrive plug in ????????  Please help

    Because the location for each song in your library is on your hard drive.  If the hard drive isn't there, how can iTunes play it?
    You'll have to move/copy the music from your hard drive to your computer's hard drive.
    Basically, EASIEST way to do all this, if you don't care about your play counts, etc...
    -Delete EVERYTHING from iTunes, so that your library is now empty.
    -Go to "Advanced" inside of the "Preferences" window, found in the "Edit" drop-down.  You can also access Preferences by pressing Ctrl+, (Press Ctrl and the comma key)
    -Change your iTunes Media Folder Location to something simple, but on your computer. I use C:/iTunes.  Make sure "Keep iTunes Media Folder Organized" and "Copy files to...." are both checked.  You can close Preferences now.
    -Now, drag and drop your music from your hard drive into your iTunes library.  iTunes will automatically add the music to your library, as you would expect, and also creates a copy of each file to place into that iTunes Media Folder you just created.
    Shouldn't have any more problems...

Maybe you are looking for