Loading .JPG`s from Server and Reusing them in .SWF

Hi everyone!
Suppose I want to load a .jpg from the server ONCE and then I want to reuse it a dozen times in my .swf...
How can I achieve this without adding to the .swf`s file size? I was thinking copying its BitmapData a dozen times, but that adds to the file size, right?
Thanks!

The weight of the file doesn't change when you load/create content dynamically.
(I gotta get my post traffic control system working again--too many close calls lately)

Similar Messages

  • Problem in loading a class from server

    hello,
    Please help me ,i m using this code to load a class from server and this code load this successfully but i don't how to make object of class that is just loaded.
    i want to load the class and use its method in my program please help me i m in very critical position.
    pelase help me give me hint
    import java.sql.*;
    import java.net.*;
    import java.io.*;
    public class MyLoader
    public static void main (String argv[]) throws Exception
    URLClassLoader loader = new URLClassLoader(new URL[] { new URL("url") });
    // Load class from class loader. argv[0] is the name of the class to be loaded
    String str = "FinalMyConnection";
         Class c = loader.loadClass (str);
    System.out.println(c.getClass().getName());
    // Create an instance of the class just loaded
    Object o = c.newInstance();
         System.out.println(o.getClass());
         FinalMyConnection mycon = new FinalMyConnection();
         String query1 = " select * from game_master order by game_id;";
         mycon.connect();
              ResultSet rs1=mycon.executequery(query1);
              while (rs1.next())
              String s1=rs1.getString(1);
                   String s2=rs1.getString(2);
                   System.out.println("game_id"+s1);
                   System.out.println("game_name"+s2);
    }

    also load all required parser and sax classes into oracle,i.e.,
    you can load the '.jar' file containg all the parser and sax classes and then load you ContentHandler class.

  • Redundant folders created in root of C drive of server and Client . I want to stop the same and want to automatically delete them from server and client .

    Redundant folders created in root of C drive of server and Client . I want to stop the same and want to automatically delete them from server and client .
    Please let me know the solution to delete them not manually . It should not create automatically .Is there a way we can change the path of creation.
    Is there a way that once the folfer is create should be automatically deleted once the task is done.
    Redundant folders are created in the root of my C drive all the time,
    folder names look like:
    09b0508d0bd2dbd70523
    56f51b81c1462bb378009ee4d5ed03
    02afe4378371907aca40ab

    This is a duplicate of
    http://social.technet.microsoft.com/Forums/systemcenter/en-US/ae99c2d0-8dea-4c5e-8a79-17e08e9e5de4/sccm-2012-issue-folders-with-long-guid-are-created-in-c-drive?forum=winservergen#ae99c2d0-8dea-4c5e-8a79-17e08e9e5de4
    Jason | http://blog.configmgrftw.com

  • Cannot Load JPG Files From Canon Powershot S2 IS

    Hi,
    I'm having a problem loading JPG files from my Canon Powershot S2 IS. When I plug the camera into the USB port, I get the Canon Camera/DV Twain Driver with a list of images to import. They are all JPEG images, which is my camera's native format. (I don't think RAW is available on this model.) But when I select an image by double-clicking it, it is imported into Photoshop Album (Starter Edition 3.0), but has somehow been converted to TIFF.
    The problem I have with this is that the TIFF format uses up about 7 time more disk space than the original JPG and I can't afford a new hard drive right now. I simply don't have enough disk space available to import all my images. (I plan to back them up on CD after importing.)
    I see that Edit -> Preferences -> Scanner has an option to save files as JPEG, but Edit -> Preferences -> Camera has no such option.
    Please help! How do I get the images to stay as JPEG?
    Thanks!
    Debbie Hunt

    Answered your other post
    Colin Walls, "Help! PSA SE 3.0 converts my images to TIFF!" #1, 9 Sep 2005 2:28 pm

  • How to pull data from EJB and present them using Swing ?

    Hi all,
    I've written stateful session bean which connect to Oracle database, and now I must write stand alone client application using Swing.
    The client app must present the data and then let users add,delete and edit data and it must be flexible enough to iterate through the records.
    The swing components can be JTextField,JTable etc.
    How to pull the data from EJB and present them to users with the most efficient network trip ?
    Thanks in advance
    Setya

    Thanks,
    Since the whole app originally was client-server app and I want to make it more scalable, so I decide to separate business logic in the EJB but I also want to keep the performance and the userfriendliness of the original user interface, and I want to continue using Swing as the original user interface does.
    I've read about using Rowset and I need some opinions about this from you guys who already have some experience with it.
    Any suggestions would be greatly appreciated.
    Thanks
    Setya

  • How/where or can I- store 75 HD movies (not purchased from itunes)and have them accessible from an ipad?

    How/where or can I- store 75+ HD movies (not purchased from itunes) and have them all accessible from an ipad?  Is their a cloud or other app. that would allow me to do this?  What my wife wants to do is to be able to open up an app. and have all of her movies listed and then be able to click on any of them and watch them on her ipad.  HELP!

    The easiest way to do this is to import the movies into iTunes and sync as many of them as will fit onto the iPad.
    If you want easy access to all of the movies without having to sync, you can find a file sharing website and upload all the movies there. Then, get a download managing app such as iDownloads, bookmark the links to all of the movies, and you can download them at will and delete them when you're done with them.
    If you're especially tech savvy and want a solution that is less laborious, you can setup an FTP server (such as the Filezilla server if you have Windows) on the computer where the HD movies are located, and give it access to the folder where the movies are. Then get an app that can download to FTP servers (GoodReader is one that I use) and download the movies at will via FTP. This solution requires less busywork, but is only feasible if you are especially technically savvy.

  • Good morning, i would like to know how to take pictures from iphoto and put them in a folder on desktop

    Good morning: would like to know how to take pictures from my iphoto and put them in a folder on my desktop

    To take photos from iPhoto and put them onto a folder on Desktop, first create a folder on Desktop. Right-click on Desktop and create a new folder.
    Then, open iPhoto, and you have two ways to export photos:
    1. Select the photos you want to copy to Desktop with Command key (or go to Edit menu > Select All, if you want to copy all photos), and then, drag them to the folder on Desktop.
    2. Select the photos you want to copy to Desktop with Command key, go to File menu > Export, and follow the steps.
    You can choose the one you prefer

  • "Unable to load workflow actions from server. Please contact your server."

    I get the following error message when I want to create or open a workflow in SharePoint Designer 2007
    "unable to load workflow actions from server. Please contact your server
    administrator."
    I don't receive this error as a site collection administrator, but one of my contributors gets the error.

    What Chris mentioned is kind of abnormal situation described in
    http://office.microsoft.com/en-us/sharepointdesigner/HA102379121033.aspx#20.
    However, normally, you won’t be able to create SPD workflow if you only have Contribute permission level. I give the user Design permission level then he can
    create SPD workflow.
    There are other factors affecting permission to create SPD workflow:
    1.     
    According to
    http://office.microsoft.com/en-us/sharepointdesigner/HA101005871033.aspx#4
    , the SPD workflows are stored in a site-level hidden document library called Workflows. You should make sure that user have permission in this document library so that the created workflow can be saved successfully.
     http://blogs.msdn.com/sharepointdesigner/archive/2008/11/25/locking-down-sharepoint-designer.aspx
    describe the method to manage permission for this hidden Workflows document library: open the site in SharePoint Designer >> right-click the Workflows library >> click Properties >> click the Security tab >> click the link “Manage
    permissions using the browser”
    2.     
    SharePoint Designer contributor setting (http://office.microsoft.com/en-us/sharepointdesigner/HA101174691033.aspx
    ) can also block the user from being able to create workflows.

  • Export scenarios from XI and import them into PI

    Dear experts
    We are planning to upgrade our exitsting XI 3.0 to PI7.0.
    Due to system requeriments, we need to install PI on new hardware and migrate all the existing scenario's from XI 3.0 PI7.'0
    How to migrate the existing ABAP developements from XI to PI  ?
    It's possible to export scenarios from XI and import them into PI?
    Thanks, in advance
    Carme

    Hi,
    you should go to PI 7.1 and not PI 7.0 otherwise it makes not so much sense.
    And yes it's possible to migrate your scenarios. If you have UDFs you have to check them because the java version has changed.
    Regards
    Patrick

  • How can you pull in pdf's from iBooks and bring them into the Box app?

    How can you pull in pdf's from iBooks and bring them into the Box app?

    That sounds great, but I'm lost.
    I followed these steps:
    1) Open your PDF (in Adobe Acrobat Pro)
    2) Chose print
    The print/printer options pop-up will show.
    3) In the printer section, do not use your normal printer, a printer named Adobe PDF should be an option. Chose it.
    4) Under the "Page handling" section, change the Page Scaling drop-down menu to "Multiple pages per sheet".
    It works fine, but it looses all of the font information and the search no longer works. How can you do it and save the font info, so the search tool continues to operate.
    Am I missing anything?

  • I somehow changed a video in my imovie to zero fps, so it just plays black.  The video still exists on my desktop but even when I delete the files from imovie and reimport them the file is still in zero fps and play black.

    somehow changed a video in my imovie to zero fps, so it just plays black.  The video still exists on my desktop but even when I delete the files from imovie and reimport them the file is still in zero fps and play black.

    I'm not sure of your question.
    Are you asking how to use Photoshop?
    Or are you asking for the dimensions of video iMovie uses?
    It edits in 720P HD, which is 1280x720.
    You can make it a bit bigger so you can zoom in.
    Much bigger then this is a waste of time.

  • HT2470 how would i go about taking multiple files from documents and make them part of 1 master file

    how would i go about taking multiple files from documents and make them into 1 master file? I want to put all documents associated with this project together for easier access.

    From the finder window, click File, click new folder, you can drag all documents into that Folder making it the master folder. You can ajso drag folders into the Master folder, and have them as sub-folders if you wish to  do that. Either way they will all be in one master folder.

  • How do I choose 4 photos from iPhoto and email them?  Thank you !

    How to hoose 4 photos from iphoto and email them?  Thanks for your help.

    Create  an album in the left hand pane of iPhoto and drag the 4 photos into it.  Open the albume and select all four photos and click on the Share button.  Next select Email and go from there.
    Happy Holidays

  • Taking images from Photoshop and taking them to Dreamweaver

    Why is it that when i take my images from photoshop and save them for the web, that when i open them in my dreamweaver html file they have lost quality and saturation in the image?

    There are 2 ways to do it correctly one is better then the other. The best way to bring an image into
    DW is to first create a layer based sliced and the copy & paste it direc
    tly into DW. When you do that you will get a Image optimize window, this is a built-in Firework image
    optimizer it does a much better job a maintaing quality will compressing image size. The second optioin is to use the save to web feature. Tehy work the same DW/FW does it better. If your image quality still is not what you want play around with your optimization settings without seeein the image I can't recommend the best setting but play around in your 2up/4up window.

  • I recently upgraded to a new iPhone.  Everything transferred except my photos.  Can I retrieve my photos from iCloud and transfer them to my new phone?  My old phone has already been transferred to a new user.

    I recently upgraded to a new iphone.  Everything transferred except my photos.  Can I retrieve my photos from iCloud and transfer them to my new phone?  My old phone has already been transferred to a new user.

    Did you restore your iCloud backup?  That should recover camera roll photos.

Maybe you are looking for