Creating an Array of external JPGs, please help.

So what I want to do is load up external JPGs into an Array of MovieClips, and then go to the main onEnterFrame function. My code is below:
var imageLoader:Loader = new Loader();
var imageArray:Array = new Array();
function loadImage():void {
    for (i = 0; i < 9; i++) {
        imageLoader.load(new URLRequest("image" + String(i) + ".jpg"));   
        imageArray[i] = new MovieClip();
        imageArray[i].addChild(imageLoader);
    addEventListener(Event.ENTER_FRAME,onEnterFrame);
I tried adding an Event.COMPLETE function I found:
imageLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, imageLoaded);
function imageLoaded(e:Event):void {
     var image:Bitmap = (Bitmap)(e.target.content);
     imageArray[i] = new MovieClip();
     imageArray[i].addChild(image);
Unfortunately, I usually only ended up with 1 or 0 images, and errors. I can't seem to properly pass the i
value, so that's a big problem because the order the images go is key to my program.
Please help me get this working so my image gallery can work, thanks!

So the problem is that you want them in the array in the same sequence am I right on this?
See the updated code:
var imageArray:Array = new Array();
var imageLoader:Array = new Array();
function loadImage():void {
    for (i = 0; i < 9; i++) {
        var imageLoader[i] = new Loader();
        imageArray[i] = new MovieClip();
        imageLoader.load(new URLRequest("image" + String(i) + ".jpg"));   
        imageArray[i].addChild(imageLoader[i]);
        //imageLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, imageLoaded);
    addEventListener(Event.ENTER_FRAME,onEnterFrame);
/* function imageLoaded(e:Event):void {
     var image:Bitmap = (Bitmap)(e.target.content);
     imageArray[index].addChild(image);
In this case you can not track whether an image is loaded or not. It is the most simplest way of doing this. If your images are not coming from dynamic sources and are fixed in number and position you can use this method also.

Similar Messages

  • How to create authorisation object for save button please help in abap

    how to create authorisation object for save button please help in abap

    Hi
    In general different users will be given different authorizations based on their role in the orgn.
    We create ROLES and assign the Authorization and TCODES for that role, so only that user can have access to those T Codes.
    USe SUIM and SU21 T codes for this.
    Much of the data in an R/3 system has to be protected so that unauthorized users cannot access it. Therefore the appropriate authorization is required before a user can carry out certain actions in the system. When you log on to the R/3 system, the system checks in the user master record to see which transactions you are authorized to use. An authorization check is implemented for every sensitive transaction.
    If you wish to protect a transaction that you have programmed yourself, then you must implement an authorization check.
    This means you have to allocate an authorization object in the definition of the transaction.
    For example:
    program an AUTHORITY-CHECK.
    AUTHORITY-CHECK OBJECT <authorization object>
    ID <authority field 1> FIELD <field value 1>.
    ID <authority field 2> FIELD <field value 2>.
    ID <authority-field n> FIELD <field value n>.
    The OBJECT parameter specifies the authorization object.
    The ID parameter specifies an authorization field (in the authorization object).
    The FIELD parameter specifies a value for the authorization field.
    The authorization object and its fields have to be suitable for the transaction. In most cases you will be able to use the existing authorization objects to protect your data. But new developments may require that you define new authorization objects and fields.
    http://help.sap.com/saphelp_nw04s/helpdata/en/52/67167f439b11d1896f0000e8322d00/content.htm
    To ensure that a user has the appropriate authorizations when he or she performs an action, users are subject to authorization checks.
    Authorization : An authorization enables you to perform a particular activity in the SAP System, based on a set of authorization object field values.
    You program the authorization check using the ABAP statement AUTHORITY-CHECK.
    AUTHORITY-CHECK OBJECT 'S_TRVL_BKS'
    ID 'ACTVT' FIELD '02'
    ID 'CUSTTYPE' FIELD 'B'.
    IF SY-SUBRC <> 0.
    MESSAGE E...
    ENDIF.
    'S_TRVL_BKS' is a auth. object
    ID 'ACTVT' FIELD '02' in place 2 you can put 1,2, 3 for change create or display.
    The AUTHORITY-CHECK checks whether a user has the appropriate authorization to execute a particular activity.
    This Authorization concept is somewhat linked with BASIS people.
    As a developer you may not have access to access to SU21 Transaction where you have to define, authorizations, Objects and for nthat object you assign fields and values. Another Tcode is PFCG where you can assign these authrization objects and TCodes for a  profile and that profile in turn attached to a particular user.
    Take the help of the basis Guy and create and use.
    Regards
    ANJI

  • How to Load External Images - Please Help!

    I have created a simple portfolio site. The buttons I created
    trigger separate frames. Could I not create a MC (Movie Clip) on
    each frame where the images now reside and then when the button is
    clicked (On "Click' Goto frame 1) for e.g. then the image would be
    loaded from an external folder named "Images" in my website?
    I am stumped as to how to set this up. Could someone please
    help me?
    Thanks

    Yes, you can do that. Which version of Flash and which
    version of Actionscript are you using?

  • Array of CreditCard objects - PLEASE HELP!

    My situation is this: I need to create an array of CreditCard objects. The problem is that when I try to invoke the methods getName, getNumber, or getLimit, the compiler recognizes the array (cardholders) as a variable.
    My coding is this.
    for(int i=0;fileInput.hasNext();i++)
         CreditCard[] cardholders = new CreditCard[records];
         int cardNum = Integer.parseInt(fileInput.next());
         String cardName = fileInput.nextLine();
         double cardLimit = Double.parseDouble(fileInput.nextLine());
         cardholders[i] = new CreditCard(cardNum, cardName, cardLimit);
    But when I try to access a CreditCard object, through cardholders[4] (for example), the error cannot find symbol appears. PLEASE HELP ITS DRIVING ME CRAZY.
    THANKS

    You are lacking basic Java knowledge, micksabox. The following tutorial is on Arrays in Java. The one after on the Java Collections Framework, you might want to learn about as the better solution for working with sets and lists of objects in Java.
    http://java.sun.com/docs/books/tutorial/java/nutsandbolts/arrays.html
    http://java.sun.com/docs/books/tutorial/collections/index.html

  • Arrays - confusing, wont compile, please help! ?:-)

    Hello everyone,
    I am new to the java forum, and I think its a fantastic idea. I am extremely stuck with my java, I have been workin on the same piece of code for at least 20 hours in total, 8 of which I spent in the last day, and to much of my frustration, the buggery code just wont compile. Im assuming many of you are probably laughing at me by now, lol, its ok, After my inital stress and hair pulling, all I could do was laugh. But I refuse to give up on the code after spending so long, and I have a feeling Im so close, its based around arrays, anyway I'll stop blabbering and post the code I have wrote, and if any of you could solve why it wont compile, it would be greatly appreciated.
    Heres my code:
    import avi.*;
    public class CDCollection
    private String title = "Unknown";
    private String artist = "Unknown";
    private int quan = 0;
    private double price = 0;
    CDCollection(double cdPrice, int cdQuan, String cdTitle, String cdArtist)
    title = cdTitle;
    artist = cdArtist;
    quan = cdQuan;
    price = cdPrice;
    return price;
    public static int findHighest(CDCollection[] cd) {
    int highestSoFar = -1; // lower than any valid
    for (int i = 0; i < cd.length; i++) {
    if (cd.CDCollection() > highestSoFar) {
    highestSoFar = cd[i].CDCollection();
    return highestSoFar;
    // instance method to write out cd details
    public void cdDetails(Window screen)
         screen.write("�"+price+"\t"+quan+"\t"+title+"\t"+artist+"\n");
    class CDMain
    public static void main(String[] args)
         Window screen = new Window ("CDMain", "bold", "black", 14);
    screen.showWindow();
         screen.write("CD List:\n\n");
              CDCollection cd1 = new CDCollection (10.99,11,"All Killer No Filler","Sum 41");
         cd1.cdDetails(screen);
    CDCollection cd2 = new CDCollection (12.99,8,"The best of","Sting");
         cd2.cdDetails(screen);
    Essentially wot Im tryin to do, is create a cd collection program, whereby details of the cd are entered (price, quantity, title and artist) and I would like to return statistical data on the cd collection, such as total number of cds, most expensive and cheapest cds etc. As you can I see I have tried to use arrays to find out the most expensive cd, but it still wont work! Please help, anyone, as Ive exhausted myself on this piece of code, Ive been through books, and I still cant bloody do it. :( lol
    Thanks in advance,
    All the best,
    Larry :-)

    Hi!
    First you never call your method findHighest.
    Second you do not have an array of your CD's. You only have two instances of it.
    Try this:
    CDCollection[] cds = new CDCollection[2];
    CDCollection cd[0] = new CDCollection (10.99,11,"All Killer No Filler","Sum 41");
    cds[0].cdDetails(screen);
    CDCollection cds[1] = new CDCollection (12.99,8,"The best of","Sting");
    cds[1].cdDetails(screen);
    int highest = CDCollection.findHighest(cds);
    And:
    public static int findHighest(CDCollection[] cd) {
    double highestSoFar = -1; // lower than any valid
    for (int i = 0; i < cd.length; i++) {
    if (cd.getPrice() > highestSoFar) {
    highestSoFar = cd[i].getPrice();
    return highestSoFar;
    And in your CDCollection class you need a method:
    public double getPrice()
    return this.price;
    I hope I did no mistake in here but it should work!
    Markus

  • Error in creating a process using runtime class - please help

    Hi,
    I am experimenting with the following piece of code. I tried to run it in one windows machine and it works fine. But i tried to run it in a different windows machine i get error in creating a process. The error is attached below the code. I don't understand why i couldn't create a process with the 'exec' command in the second machine. Can anyone please help?
    CODE:
    import java.io.*;
    class test{
    public static void main(String[] args){
    try{
    Runtime r = Runtime.getRuntime();
         Process p = null;
         p= r.exec("dir");
         BufferedReader br = new BufferedReader(new InputStreamReader(p.getInputStream()));
         System.out.println(br.readLine());
    catch(Exception e){e.printStackTrace();}
    ERROR (when run in the dos prompt):
    java.io.IOException: CreateProcess: dir error=2
    at java.lang.Win32Process.create(Native Method)
    at java.lang.Win32Process.<init>(Win32Process.java:63)
    at java.lang.Runtime.execInternal(Native Method)
    at java.lang.Runtime.exec(Runtime.java:550)
    at java.lang.Runtime.exec(Runtime.java:416)
    at java.lang.Runtime.exec(Runtime.java:358)
    at java.lang.Runtime.exec(Runtime.java:322)
    at test.main(test.java:16)
    thanks,
    Divya

    As much as I understand from the readings in the forums, Runtime.exec can only run commands that are in files, not native commands.
    Hmm how do I explain that again?
    Here:
    Assuming a command is an executable program
    Under the Windows operating system, many new programmers stumble upon Runtime.exec() when trying to use it for nonexecutable commands like dir and copy. Subsequently, they run into Runtime.exec()'s third pitfall. Listing 4.4 demonstrates exactly that:
    Listing 4.4 BadExecWinDir.java
    import java.util.*;
    import java.io.*;
    public class BadExecWinDir
    public static void main(String args[])
    try
    Runtime rt = Runtime.getRuntime();
    Process proc = rt.exec("dir");
    InputStream stdin = proc.getInputStream();
    InputStreamReader isr = new InputStreamReader(stdin);
    BufferedReader br = new BufferedReader(isr);
    String line = null;
    System.out.println("<OUTPUT>");
    while ( (line = br.readLine()) != null)
    System.out.println(line);
    System.out.println("</OUTPUT>");
    int exitVal = proc.waitFor();
    System.out.println("Process exitValue: " + exitVal);
    } catch (Throwable t)
    t.printStackTrace();
    A run of BadExecWinDir produces:
    E:\classes\com\javaworld\jpitfalls\article2>java BadExecWinDir
    java.io.IOException: CreateProcess: dir error=2
    at java.lang.Win32Process.create(Native Method)
    at java.lang.Win32Process.<init>(Unknown Source)
    at java.lang.Runtime.execInternal(Native Method)
    at java.lang.Runtime.exec(Unknown Source)
    at java.lang.Runtime.exec(Unknown Source)
    at java.lang.Runtime.exec(Unknown Source)
    at java.lang.Runtime.exec(Unknown Source)
    at BadExecWinDir.main(BadExecWinDir.java:12)
    As stated earlier, the error value of 2 means "file not found," which, in this case, means that the executable named dir.exe could not be found. That's because the directory command is part of the Windows command interpreter and not a separate executable. To run the Windows command interpreter, execute either command.com or cmd.exe, depending on the Windows operating system you use. Listing 4.5 runs a copy of the Windows command interpreter and then executes the user-supplied command (e.g., dir).
    Taken from:
    http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html

  • Error while creating an Index in SP14..Please help..  :(

    Hello All,
    Im working on SP14.
    Got an error as below while creating an Index:
    " <b>Index could not be created; creating index failed: general configuration error (Errorcode 2030)"</b>
    Whats wrong..?
    Please help.
    Awaiting Reply.
    Thanks and Warm Regards,
    Ritu R Hunjan

    Hi Ritu & Subrato,
    I'm affraid Errorcode 2030 is related to TREX user administrative rights in the OS.
    Please take a look at this thread and the suggestions give there to fix your problem:
    Index creation failure and other problems
    Hope this helps,
    Robert

  • Cant Able to Create New partition after uninstall Ubuntu, Please help!

    Hello Everyone,
    i installed Ubuntu before but i don't like it, then what i did is, (i had windows 7 dual boot with ubuntu) while running windows 7, i deleted Swap area partition and home partition of Ubuntu, then i saw that partitions are combined which was fine, but when
    i tried to create it, a error appeared that "there is not enough space available on the disk to complete this operation"
    hence i cant able to create unused partition, how to fix that,
    i even tried to create from windows 7 disk too, but same error,
    Please help me.
    PICTURE :  http://social.technet.microsoft.com/Forums/getfile/455232

    Go to
    http://download.cnet.com/EaseUS-Partition-Master-Free-Edition/3000-2248_4-10863346.html and download the Partition Magic utility.
    This problem is caused by Windows not recognizing the Ubuntu partitions.  Windows is not designed to work with foreign partitions so this problem is caused by Ubuntu.
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. ”

  • Problem creating ringtones - "song no longer available" - PLEASE HELP!

    I want to create a couple of ringtones from iTunes I downloaded. First I tried making one from a song contained in an album I bought and downloaded about a month or two ago. iTunes wouldn't let me (for whatever reason) so I bought and downloaded a new song. once it was in my "purchased" folder I added it to a songlist and then right-clicked it and selected "Create Ringtone." I was told I needed to go to the "Terms and Conditions" and accept the "ringtones" agreement, which I did. once I clicked "I accept" I was automatically redirected back to the song list that contained the song- there was never any option or utility to continue (after accepting the terms and conditions) on and make a ringtone from the song.
    NOW, when I right-click the song and select "create ringtone" I get a pop-up box that says that "this song can +*no longer*+ be made into a ringtone!" WHAT is the deal? What did I do wrong?
    Can someone tell me, step-by-step how to download a song and create a ringtone from it for my iPhone? Is there a tutorial with screenshots anywhere? Somone PLEASE help me out- I cant afford to keep buying songs just to try and figure this out on my own.
    Thanks.
    Nick
    P.S. On the iTunes webpage it said that songs that can be made into ringtones will have a ringtone icon next to them in my iTunes library; but that's not happening- even with the new song I just downloaded.

    -> Tap '''ALT''' key or press '''F10''' to show the Menu Bar
    -> go to Help Menu -> select '''Restart with Add-ons Disabled'''
    Firefox will close then it will open up with just basic Firefox. Now do this:
    -> Update Firefox to the latest version by going to Help Menu -> About Firefox -> click '''Check for Updates''' -> if an updated version is found then download the latest version and install it. After that follow these steps:
    -> go to View Menu -> Toolbars -> unselect All Unwanted toolbars
    -> click the Favicon on SearchBar -> click '''Manage Search Engines''' -> select all Unwanted Search Engines and click '''Remove''' -> click OK
    -> go to Tools Menu -> Add-ons -> Extensions section -> REMOVE All Unwanted/Suspicious Extensions (Add-ons) -> Restart Firefox
    You can enable your Known & Trustworthy Add-ons later. Check and tell if its working.

  • Ipod not recognized when using an external hardrive, please help me!

    I have a 4 gig ipod mini, I have been using it for over a year with no problems. recently, my computer will not recognize my ipod when it is plugged in with my external hardrive. I have chosen to keep all of my music on a 100 gig external hardrive, because I have a lot of it. when I plug my ipod into my computer and run Itunes my computer will recognize my ipod, open itunes and then the program will freeze. i can also plug in my external hardrive and when i do my ipod is not recognized by the computer at all. I have tried, numerous scans of both hardrives, multiple updates, new USB cords, I have the most current version of itunes and yet I come to see no results, if you know anything please help me, I don't know what else to do.

    http://docs.info.apple.com/article.html?artnum=93499

  • Query Issue in Creating a View....Please help me with this query..

    I would like to create a view on this table with four columns
    1. PN#_EXP_DATE
    2. PN#
    3. PN#_EFF_DATE
    4. PN#
    P_S_C     A_C     P     EXP_DT
    21698     13921     1     5/29/2009 3:15:41 PM     
    21698     13921     1     5/29/2009 3:54:57 PM     
    21698     1716656     4     5/29/2009 3:15:41 PM     
    21698     3217     3     5/29/2009 3:15:40 PM     
    21698     3217     3     5/29/2009 3:54:57 PM     
    21698     60559     2     5/29/2009 3:15:41 PM     
    21698     60559     2     5/29/2009 3:54:57 PM     
    I have a trigger on A, which inserts the DML records into B. (Table A and B structure is the almost the same,
                                       where table B will have one extra column exp_dt)
    NOw Table B can have records with same P_S_C and A_C columns and exp_dt will capture the history.
    for example: from the above sample data, let us take first two records..
    P_S_C     A_C     P     EXP_DT
    21698     13921     1     5/29/2009 3:15:41 PM     --- Record 1
    21698     13921     1     5/29/2009 3:54:57 PM     --- Record 2
    from this..
    Note: 1. Table A and Table C can be joined using A.P_S_C and C.R_C to get the start_date.
    2. PN# comes from table D. It contains numbers for the resp. weeks.
    3. PN#_EFF_DATE is the previous immediate previous date for that record in history table (Table B).
    I wanted the data like..
    ---- this is for the second record in the above..
    PN#_EXP_DATE PN# PN#_EFF_DATE PN#
    5/29/2009 3:54:57 PM     214 5/29/2009 3:15:41 PM     214
    ---- this is for the first record in the above..
    PN#_EXP_DATE PN# PN#_EFF_DATE PN#
    5/29/2009 3:54:41 PM     214 ( for this we should query the table C to get the
                        start_date, for this combinatation of P_S_C and A_C in table B
                             where B.P_S_C = C.A_C
                             and that value should be the EFF_DT for this record)
    Please help me with this....
    Thanks in advance..

    Hi All,
    select d.P# as "PN#_EXP_DATE", exp_date
    from daily_prd d, cbs1_assoc_hist b
    where to_char(d.day_date,'MM/DD/YYYY') = to_char(b.exp_date,'MM/DD/YYYY')
    and d.period_type = 'TIMEREPORT';
    This above query gives the output as follows:
    pn#_exp_date exp_date
    214     5/29/2009 3:15:40 PM
    214     5/29/2009 3:15:41 PM
    214          5/29/2009 3:15:41 PM
    214          5/29/2009 3:15:41 PM
    214          5/29/2009 3:54:57 PM
    214          5/29/2009 3:54:57 PM
    214          5/29/2009 3:54:57 PM
    This below is the data from history table (Table B).
    P_S_C     A_C PLACE EXP_DATE
    21698          3217          3     5/29/2009 3:15:40 PM     
    21698          13921          1     5/29/2009 3:15:41 PM     
    21698          1716656          4     5/29/2009 3:15:41 PM     
    21698          60559          2     5/29/2009 3:15:41 PM     
    21698          13921          1     5/29/2009 3:54:57 PM     
    21698          3217          3     5/29/2009 3:54:57 PM     
    21698          60559          2     5/29/2009 3:54:57 PM     
    I got the pn#_exp_date from the Table 'D', for the given exp_date from Table B.
    My question is again....
    CASE - 1
    from the given records above, I need to look for exp_date for the given same P_S_C and A_C.
    in this case we can take the example...
    P_S_C     A_C PLACE EXP_DATE
    21698          3217          3     5/29/2009 3:15:40 PM
    21698          3217          3     5/29/2009 3:54:57 PM
    In this case, the
    pn#_exp_date exp_date     pn#_eff_date eff_date
    214     5/29/2009 3:15:57 PM     < PN# corresponding to the     5/29/2009 3:15:40 PM
                        eff_date .>
                        <Basically the eff_date is
                        nothing but the exp_date only.
                        we should take the immediate before one.
    In this case, our eff_date is '5/29/2009 3:15:40 PM'.
    but how to get this.
    CASE - 2
    from the above sample data, consider this
    P_S_C     A_C PLACE EXP_DATE
    21698     1716656     4     5/29/2009 3:15:41 PM
    In this case, there is only one record for the P_S_C and A_C combination.
    The expected result :
    pn#_exp_date exp_date               pn#_eff_date eff_date
    214     5/29/2009 3:15:41 PM     < PN# corresponding to the     5/29/2009 3:15:40 PM
                        eff_date .>
                   <Basically the eff_date is
                   nothing but the exp_date only.
                        we should take the immediate before one.
    In this case to get the eff_date, we should query the Table 'C', to get the eff_date, which is START_DT column in this table.
    for this join B.P_S_C and C.R_C.
    Hope I am clear now..
    Thanks in advance.....

  • Disk Images and External Drives - PLEASE HELP

    Hi all,
    I've got to a point where i can't afford to keep buying expensive drives to work form with Final Cut Pro X so decided to just work from several high spec drives and then back them up on other cheaper drives, reformat the high spec ones and start again.
    Not really understanding how disk imaging works I hoped I could carbon copy mountable and read and writeable drives (in this case a thunderbolt lace SSD)  on to a cheaper mass storage, wipe it and start again. I hoped it would then appear on the drives top level just as the drive appears on my desktop, and that I could access it if needed or port it back to a single drive at a later date? Is this possible? Can anyone help? So far everything I've tried has failed.
    One thought I did have was to create several partitions on the cheaper mass drive and duplicate it on to there? But I can't find any help or instruction for this online and need to make sure its write before I go deleting old projects.
    Attached are a picture of what I have (the disk image file) and what I was hoping to create (a mountable replica of a working drive on an external HD)
    Any help greatly appreciated.
    Robin

    You can research the terms disk image and back up for several hours. That might not help.
    None of the back up routines I am aware for for video and large media files use any compression or bundling systems like .dmg. I think your best bet is to make one-to-one copies of your files to your cheap drives. If you need the older projects, you copy them back to your working drives. That's pretty much how it's always been unless you are have a nice NAS RAID with mirroring to another rack of drives.
    The problem with cheap mass storage is no that it's unreliable. It's just not QUITE as reliable as more expensive systems. Having a copy of your work on a disk that might or is likely to fail is almost the same as not having a backup at all. but there is a point of diminishing returns for all of us in this business. This trend toward 4k and 8k, and FCPX's inability to manage media efficiently, means we all must add TB of storage for every project. A friend of mine includes a couple of TB drives in his fees. The client pays for and gets the drives.

  • Parse into array using JDOM! please help

    hey,
    i've managed to parse an xml document using JDOM
    i[b] need to be able to parse it and store the text (the value of each node) into an array, and then insert into db etc.
    the problem is with the recursive function listChildren which calls itself... can someone tell me where do i insert the block of code such that i can store it into an array of string.
    here's the code:
    public static void parse(String stock) throws SQLException
    SAXBuilder builder = new SAXBuilder();
    Reader r = new StringReader(stock);
    Document doc = builder.build(r);
    Element root = doc.getRootElement();
    listChildren(root, 0);
    public static void listChildren(Element current, int depth) throws Exception
    String nodes = current.getName();
    System.out.println(nodes + " : " + current.getText());
    List children = current.getChildren();
    Iterator iterator = children.iterator();
    while(iterator.hasNext())
    Element child = (Element) iterator.next();
    listChildren(child, depth+1);
    i'm looking for something like:
    a=current.getText();
    but i donno where to include this line of code, please help
    cheers,
    Shivek Sachdev

    hi, I suggest you make an array of byte arrays
    --> Byte[][] and use one row for each number
    you can do 2 things,
    take each cipher of one number and put one by one in each column of the row correspondent to that number. of course it may take too much room if the int[] is too big, but that is the easiest way I think
    the other way is dividing your number into bitsets(class BitSet) with sizes of 8 bits and then you can save each bit into each column of your array. and you still have one number in each row. To put your numbers back use the same class.
    Maybe someone has an easier way, I couldnt think of any.

  • Problem with array size...PLEASE HELP

    hi...
    I want to keep putting the Strings that user inputs, in an array. I don't know how many of them there are, and I don't want to define a big array like :
    String myArray[]= String [1000];
    what am I suppose to do?
    PLEASE HELP...!
    Thanks

    Use a Vector or an ArrayList instead of a straight array.

  • Hello i have a problem my mac butoos up but cant get to move de curser with the trackpad or external mouse please help

    Hello i have a problem my mac butoos up but cant get to move de curser with the trackpad or external mouse please help

    Try a PRAM reset.
    Instructions here > Resetting the PRAM

Maybe you are looking for

  • Can't sync to my ipod touch - keep getting error code 13019 (Windows 7)?

    can't sync songs (or anything else) from my itunes library to my ipod touch. I keep getting an error message - 13019. Have gone back to sync options under devices but nothing seem to help. Although it appears to be an itune error message I think it h

  • Is there any better option than this slow query?

    Hi all, i want to find out lets say Ticekt no range from Variable1 - Variable 2, are all ready existed or missing from my ticket master table which is having a million records and the no grows timely. For example i want to find out in range 30000 - 5

  • Table Problem : BOE-XI (R2) on AIX with DataDirect ODBC for MS-SQL

    BOE-XI (R2). Single-Server installed on AIX. ODBC connection to MS-SQL 2000 database using DataDirect 5.1 SQLServer Wire Protocol Driver. CR-XI (R2) RPT content. The CR-XI (R2) Reports run fine on the Windows desktop using the regular MS-SQL 2000 ODB

  • Standard Oracle report for the "security rules define/assign"

    Dear all: Is there any Standard Oracle report to show the :"Application --> Setup : Financials : Flexfields : Key : Security " flexfield "security rules define/assign" ? Regards Terry Edited by: Terry Chen on 2010/5/4 上午 2:27

  • Urgent Hint for 3D User Interactivity

    Hello, everyone. I am in need of help. I am starting a project, a 3d Museum Site, which will allow one to move through the forest, or through some houses, anything like that, but the problem is that those models are made in 3D Studio Max. If you know