Best way to do this? array help

I have 2 classes, an Order class and a Shop class. In the Order class, I have a toString() method returning a string (all the info of the order)
Shop class has an object array made up of Order classes. One method of Shop class is to getListofOrders. In my assignment, it is described vaguely as "returning an array containing all the orders in the Shop class".
Can I assume that the array I am returning is a String array?
public String[] getListOfOrders()
String[] strArray = new String[30];
for (int i=0; i<strArray.length; i++)
strArray[i] = shopArray.toString();
return strArray;
is this the best way to return a list of information of alll the orders in the Shop class? Any better ways to suggest? Should I return it as a String array anyway?

i think in your question they want you fill the array in the code
public order[] getlistoforders(){
return shopArray;//returning an array containing all the orders in the Shop class
}they just want you to have a getter method. they dont want string array they want an array containing order objects

Similar Messages

  • Best Way to do this array manipulation

    I have an array as follows:
    61 3 51 5 61.2 3.4 51.3 4.3 61 7 51 4
    where the data is in sets of two so array[0] and array[1] make up one data set (61,3) and the next data set is (51,5) then (61.2,3.4) ect. What I want to do is to clean this array up so that any data set where the X values are within some set value, say 1 then they are seen as duplicates and removed, unless the y values differ by more than 1. So for example this set would clean up to
    61 3 51 5 61 7
    Is there any nice way to do this in labview?
    Thanks.
    Intern NSWCCD Carderock.

    I tried to use the following VI but it doesnt seem to work, any suggestions? Thanks.
    Intern NSWCCD Carderock.
    Attachments:
    try.vi ‏82 KB

  • Best way to do this? HELP!

    Ok i have a class called ABC. This class does some processing. During this processing it may create another object of this class(ABC) which may do some processing and create more objects of the same class. So i have a class something like this (see below).
    I want to have some variables which are shared by ALL the objects of type ABC. So if one object of type ABC modifies these variables the others will see the changes as well. I know i could have the variables as static which would do the job but i want the variables in a separate class. If i create an abstract superclass which ABC inherits from and put the variables in there as static variables, would that do the job?
    Class ABC
    public void process()
    // do something
    if something
    ABC abc = new ABC();
    abc.process();
    if something else
    ABC abc2 = new ABC2()

    I know i could have the variables as static which would do the job but i want the variables in a separate class.Since you know static will do the job why not do it? Program design?
    If i create an abstract superclass which ABC inherits from and put the variables in there as static variables, would that do the job?Thats sounds no difference from putting it in the current class and makes even less design sense...
    If you insist on using a seperate class you could create an object of that seperate class and pass it around to the new sub-processes:
    public void process(SpecialVariables sv) {
      if (sv == null) sv = new SpecialVariables();
      if (something) {
        ABC abc = new ABC();
        abc.process(sv);
    }Looks funny to me though. Perhaps you could explain what's your ABC and the purpose of your class, then the people here can help you better decide on a suitable solution?

  • HT1660 Is there anyway you can color code playlist, so when you go to the list you know red is mine, green is Bob's, blue is Bill's and so on! What is the best way to do this? Help!!!!

    Can I color code play
    list?

    No, you cannot colour-code a Playlist.
    Why don't you simply add the name (Bill or Bob) to the Playlist name, or add an asterisk for one person's and the ampersand for the other person's lists?

  • TS1559 that didn't help, would rollback to previous IOS work? if so best way to do this? thanks.

    that didn't help, would rollback to previous IOS work? if so best way to do this? thanks.

    There is no supported method of downgrading iOS.
    You have tried all steps in the article, including Settings > General > Reset > Reset Network Settings? Try it again.
    At the bottom of the article, it also states:
    If you are still unable to turn Wi-Fi or Bluetooth on or off after attempting these steps, contact Apple or your wireless carrier for additional assistance.

  • Event Structures​-best way to implement this UI?

    I am trying to write a VI to control & read data from 4 different "channels" (each measuring a DUT) at once.  I have written all the VI's for initializing instruments, communicating with the devices (VISA, GPIB), setting bias, reading data, etc...that has all completed. I just need to write the overall program with the user interface to allow the user to control these 4 channels & display the measured data.....as it turns out, this is the tricky part! My head is spinning from trying to figure out how to handle all the possible events.
    Basically for each channel, I want the user to be able to
    -enable/disable it  for measurement (e.g. if  there is no device loaded in Ch.3, we don't want to measure Ch.3..maybe disable/grey everything)
    -set bias conditions (only if channel enabled). Allow user to change bias "in real-time" by increment/decrementing (e.g. incrementing from 5.00 V to 5.01 V, for example).
    -turn biasing on/off (again, only if channel is enabled)
    Also,  I want each channel to display its measured data (e.g current, temperature reading)..every second or so. No graphs or anything fancy (for now! ), just numeric indicator. 
    Honestly, this all sounds so simple but I'm having trouble figuring out the best way to implement this, due to the fact that 1) there are multiple channels needing to be monitored for events  2) large number of user events that could occur (seems like at least 4 per channel - enabling/disabling, turning bias on/off, incrementing/decrementing bias values, etc ), Also the if a channel IS enabled, i want to be continously reading/displaying the data.  What is the best way to handle this? Should i have 4 separate while loops, each with an event structure to handle events for that particular channel..or will that give me grief somewhre? 
    Also, I have another nagging question. Pretty much all the examples I see re: Event Structures and booleans involve latched booleans, eg. buttons that are just pressed once and pop back up...e.g. buttons you press to tell it to complete a task (e.g. "Acquire Data" or "Stop") , and once it's pressed it's over and reset.  In my case, some of the booleans would not be latched...e.g. the "Enable Ch.2" button would be 'TRUE" as long as i want Ch. 2 to be read....does that make sense? Then, say hours later,  if i did want to disable that channel,  i would change it to "FALSE" and while that would be an "value change", the new value would not be "TRUE"..does that make sense? So  not sure if that would be dealt with the same way in an Event Structure. 
    Hope this all makes sense and many thanks in advance for any help!!!

    You're halfway there. I'd say the best solution is a producer/consumer structure, the event structure is used to generate queued commands to the consumer loop.
    All data is handled in the consumer loop, where you among other things have an array of clusters of channel/instrument settings. (I usually have several cluster, one for test data, one for instrument settings, one for general settings and so on)
    The event structure can have a 1 sec timeout, in which you queue up a Measure command.
    In the consumer, in the measure state you loop through your instruments and if enabled you measure them and update their indicators.
    The general (smart) way to setup the queue is with a cluster containing 2 elements, a typedef'd Command and a variant.
    This way you can send data with the command in any form which is then interpreted in the consumer.
    If, e.g. you press the Enable button on a channel, you can enqueue Enable and the channel number.
    /Y
    LabVIEW 8.2 - 2014
    "Only dead fish swim downstream" - "My life for Kudos!" - "Dumb people repeat old mistakes - smart ones create new ones."
    G# - Free award winning reference based OOP for LV

  • Theory - Best way to store this type of data for retrieval?

    Hi everyone,
    So I'm pretty new to databases and I'm trying to figure out an efficient way to retrieve this kind of data:
    an ID that is 36 digits long
    col1 = {option1, option2, option3...}
    col2 = {option1, option2, option3...}
    coln = {option1, option2, option3...}
    I need to be able to perform queries on the data based on some concatenation of 3 digit sequences for the ID
    for example, I may want to retrieve all the records where the ID begins with '123' or where the ID begins with '123123', or '123123200', etc,
    There are going to be close to a billion if not more of these records
    the 3 digit sequences will always be a number between 000-255
    It is not necessary for me to have a 36 digit long ID, I simply chose that because it seemed like the simplest way to associate a record with its combination of 3 digit sequences.
    Like I said, I'm very new to databases. I've been doing a lot of reading on indexing and clustering and nested tables and partitions, but I'm not quite sure which of these I should pursue with this kind of data. Most of the examples that I've read about don't really deal about querying with variable precision.
    Would the best way to get this data simply be to use an 'is like' statement on the ID? If so, are there any kinds of indexing I should take a look at that would benefit from knowing that the is like statements would follow the format of <3 digits,3 digits,3 digits>? Also, at the data level, would it be more efficient to use hexadecimal to store the sequences of 3 digits since they conviently fall in the range of 00-FF? I'm just throwing ideas out there, I haven't found much help browsing the web, but maybe I haven't looked in the right place. If anyone has any ideas or places to redirect me, it would be great!
    Also, I know sometimes it helps to know the main kind of queries on the data that someone is primarily concerned about. In this case, most queries will be selective counts, for example finding the number of records whose ID's begin with '123006011' and col1='option1'.
    Thanks,
    Alex
    Edited by: user9022475 on Jun 23, 2010 9:37 AM

    So I'm starting to rewrite my code. I was shocked at how easy it was to implement the SAX parser, but it works great. Now I'm on to doing away with my nasty string arrays.
    Of course, the basic layout of the XML is like this:
    <result1>
    <element1>value</element1>
    <element2>value</element2>
    </result1>
    <result2>
    I thought about storing each element/value in a HashMap for each result. This works great for a single result. But what if I have 1000 results? Do I store 1000 HashMaps in an ArrayList (if that's even possible)? Is there a way to define an array of HashMaps?

  • TS1314 I have lots of organized photos on my PC and I want to keep them organized to sync to ipad.... how is the best way to do this?

    I have spent a lot of time saving, organizing and arranging photos (for the last 7 years) on my PC, and would like to know the best way to transfer these, AND MAINTAIN THE ORGANIZATION OF THE FOLDERS, to my new ipad (and later, my iphone). I have a really good system, and I do not want to have to do it all over again, on the ipad. I DO NOT want to subscribe to another monthly service fee (i.e. the iCloud) but DO have iTunes on my PC.
    What is the simplest method to do this ?  I have tried synching, but, each time have lost photos (on my ipad) OR have had NO ORGANIZATION AT ALL to the photos once synced.  I have all these photos (5.6gb) in the My Pictures folder, then subdivided into years, then subdivided into events and months within the years.  So, my transfer of the My Picures folder, completely transfers all of them, but with NO further organization.  Again, I have spent years doing this, and don't want to have to re-invent the wheel. 
    Can someone advise (or even better, lead me to a youtube video) that accurately shows the best way to do this ?
    Thank you, in advance, for your help.
    p.s.  I particularly enjoy Dan Nations very informative articles on how to get the best from my products.  And, wish Apple would explain "how it works" regarding the syncing methods on the Operating System.  It is the only thing I "don't get" about using my iPad..... meanwhile I LOVE my new mini ! ! ! ! ! ! ! thanks Apple, for keeping things simple.... Please don't change that !

    Correct, it will only be one-level, the Photos app doesn't support sub-albums - the sub-folders photos will be included in the parent's album.
    If you select My Pictures at the top of the Photos tab when syncing, then you should get an album for each folder that is directly under it - so if I understand correctly what you described then that would mean an album for 2013, one for 2012 etc. And each of those should include all the photos in the subfolders under it - so 2013 would include the photos from the events and months subfolders under it.
    You can't sync them separately, only the contents of the last sync remains on the iPad, by not including a folder in the next photo sync you are effectively telling iTunes that you no longer want that folder/album on the iPad so it will be removed and be replaced by the contents of the new sync (you can't delete synced photos directly on the iPad, instead they are deleted by not including them in the next sync).
    The app that I use, Photo Manager Pro, allows you to select and copy a folder (via FTP), but you would need to select each subfolder individually, which if you have a lot would be time-consuming (I think that if you select '2013' it would ignore the folders beneath it).

  • I want to upgrade my Imac from tiger 10.4.11 to Mac OS 10.6 Snow Leopard. What is the best way to do this.

    I have just purchased an iphone 4 and it needs me to have the latest itunes on my computer.  I have not upgraded by computer for some time and thought this is probably the time to do it. My computer is an imac intel with Tiger 10.4.11. I want to upgrade my Imac from tiger 10.4.11 to Mac OS 10.6 Snow Leopard or higher.  What is the best way to do this?  Appreciate any help as I am out of practice. I used to be an old hand at this, but things have moved on since I didn't upgrade or use my computer as much!

    Catherina wrote:
    ...  What is the best way to do this?
    The best way, really the only way, is to purchase Snow Leopard.
    Online (UK): http://store.apple.com/uk/product/MC573/mac-os-x-106-snow-leopard
    Elsewhere: call the phone number in the Apple Online Store.
    Apple's price is $19.99, £14.00, €18.
    Snow Leopard is not available to download from any legitimate source.
    Once you install Snow Leopard, upgrade iTunes to version 10.7 or the latest, iTunes 11.
    iTunes 10.6.3 is the last version of iTunes to support Mac computers with Mac OS X 10.5.8 with either Intel or PowerPC processors, but since you have an Intel iMac, the best solution is to purchase Snow Leopard. Leopard is no longer available from Apple and prices from aftermarket vendors can be unreasonably high.

  • I am moving from Southern California to Maui, Hawaii and I need to figure out the best way to get my 24 inch iMac across the ocean. Does anyone know the best way to do this?

    I am moving from Southern California to Maui, Hawaii and I need to figure out the best way to get my 24 inch iMac across the ocean. Does anyone know the best way to do this? I have found GearGrip's LCD harness so that I can do carry-on onto the plane...  Or maybe use a Pelican Case to do it as a "checked bag"? Or any other suggestions??! Please help!
    Thanks so much!!

    I don't recommend you send the iMac in a checked bag. Might get damaged.
    Check the airlines website for carry on guidelines.
    Or, if you have the original box that the iMac came in, if you have someone who can pick up the iMac for you, send it ahead Fed Ex and insure the package.
    Just make sure the display is covered to protect it. A blanket perhaps.
    Aloha ...

  • What's the best way for reading this binary file?

    I've written a program that acquires data from a DAQmx card and writes it on a binary file (attached file and picture). The data that I'm acquiring comes from 8 channels, at 2.5MS/s for, at least, 5 seconds. What's the best way of reading this binary file, knowing that:
    -I'll need it also on graphics (only after acquiring)
    -I also need to see these values and use them later in Matlab.
    I've tried the "Array to Spreadsheet String", but LabView goes out of memory (even if I don't use all of the 8 channels, but only 1).
    LabView 8.6
    Solved!
    Go to Solution.
    Attachments:
    AcquireWrite02.vi ‏15 KB
    myvi.jpg ‏55 KB

    But my real problem, at least now, is how can I divide the information to get not only one graphic but eight?
    I can read the file, but I get this (with only two channels):
    So what I tried was, using a for loop, saving 250 elements in different arrays and then writing it to the .txt file. But it doesn't come right... I used 250 because that's what I got from the graphic: at each 250 points it plots the other channel.
    Am I missing something here? How should I treat the information coming from the binary file, if not the way I'm doing?
    (attached are the .vi files I'm using to save in the .txt format)
    (EDITED. I just saw that I was dividing my graph's data in 4 just before plotting it... so It isn't 250 but 1000 elements for each channel... Still, the problem has not been solved)
    Message Edited by Danigno on 11-17-2008 08:47 AM
    Attachments:
    mygraph.jpg ‏280 KB
    Read Binary File and Save as txt - 2 channels - with SetFilePosition.vi ‏14 KB
    Read Binary File and Save as txt - with SetFilePosition_b_save2files_with_array.vi ‏14 KB

  • Is this possible and the best way to approach this?

    hello all, back again with more questions
    What I would like to do is load an external swf (preloader) into a container swf, when the preloader swf is loaded, run code from the preloader's document class that will check to see if the container swf is fully loaded.  Once the container swf is fully loaded, load in another swf and unload the preloader swf.
    I would like to keep all code in external classes and off timelines while creating a situation where I can load this preloader swf into any parent swf and do that check.  is this possible and the best way to approach this?
    any advice/help would be great.

    Why not just do it the more straightforward/normal way and use the preloader to load your other files? The preloader would load the 'container' you have now, and when it's done load the other swf you mentioned.

  • What is the best way to do this? I am stuck!!

    I have a block with this, PLEASE help! I am writing a plsql package that is going to create a custom table everything is going fine EXCEPT that I don’t know what will be the best way to do this. Please point me in the right direction a function or something:
    I have three tables:
    My custom table SZSLIFE
    Two existing tables in my DATABASE:
    SGBSTDN,
    SLRRASG
    For this pidm (primary key). I have the following records in the SLRRASG table:
    SLRRASG_PIDM     SLRRASG_BLDG_CODE     SLRRASG_ROOM_NUMBER     SLRRASG_TERM_CODE     SLRRASG_RRCD_CODE     SLRRASG_BEGIN_DATE
    139203     ADD     103     200490     RCOM     09/02/2004
    139203     ADD     103     200510     RCOM     01/24/2005
    139203     BLA     001     200390     RCOM     09/03/2003
    139203     BLA     001     200410     RCOM     01/25/2004
    139203     HRK     101     200690     RCOM     08/31/2006
    139203     RIV     11     200590     RCOM     09/01/2005
    And I have the following records in the SGBSTDN table.
    SGBSTDN_PIDM     SGBSTDN_TERM_CODE_EFF     SGBSTDN_STST_CODE     SGBSTDN_LEVL_CODE     SGBSTDN_STYP_CODE     SGBSTDN_TERM_CODE_MATRIC
    139203     200390     AS     UG     C     200390
    139203     200410     AS     UG     C     200390
    139203     200590     DW     UG     C     200390
    139203     200610     IS     UG     C     200390
    139203     200660     AS     UG     C     200390
    139203     200690     AS     UG     E     200390
    139203     200710     IS     UG     C     200390
    So far I have been able to insert the following records in my custom table. This data is coming from the sgbstdn table
    SZSLIFE_PIDM     SZSLIFE_SLRRASG_TERM_CODE     SZSLIFE_STUDENT_STATUS_CODE     SZSLIFE_STUDENT_STATUS_DESC     SZSLIFE_STUDENT_TYPE_CODE     SZSLIFE_STUDENT_TYPE_DESC     SZSLIFE_STUDENT_LEVEL_CODE     SZSLIFE_STUDENT_LEVEL_DESC
    139203     200390     AS     Active     C     Continuing     UG     Undergraduate
    139203     200410     AS     Active     C     Continuing     UG     Undergraduate
    139203     200590     DW     Directed to Withdraw     C     Continuing     UG     Undergraduate
    139203     200610     IS     Inactive     C     Continuing     UG     Undergraduate
    139203     200660     AS     Active     C     Continuing     UG     Undergraduate
    139203     200690     AS     Active     E     Readmit/Re-entry     UG     Undergraduate
    139203     200710     IS     Inactive     C     Continuing     UG     Undergraduate
    NOW the question is: I need to insert the rows from the term 200490 and 200510 because there is data in the slrrasg table for those terms BUT the data that I need to insert is coming from the SGBSTDN table and there is not data for those terms in sgbstdn, so my user is telling my that it is okay to insert the previous term from sgbstdn for example: for the term 200490 I need to insert trhe 200490 in the szslife_slrrasg_term_code but I also need to insert the row from the 200390(previous one) from SGBSTDN.
    The same for 200510 insert 200510 in szslife_slrrasg_term_code but the rows from the term 200410 in SGBSTDN.
    Please give some ideas of how to do this. I will highly appreciate.

    Thank you very much for your answer, I have to confess that I am confused, never code this way. It looks very cool, I will like to learn this technique.
    This is what I have using my tables and my columns.
    What is the idea here? create a table 4 on the fly with all the coulmns that I need? This is what I have but I don't thing is going to work.
    2) do you need to have the same number of columns in the select like when you do a UNION?
    WITH tab1 AS
    (SELECT
    sgbstdn_term_code_eff,
    sgbstdn_term_code_eff,
    sgbstdn_stst_code,
    sgbstdn_styp_code,
    sgbstdn_levl_code,
    sgbstdn_resd_code
    FROM sgbstdn
    UNION ALL
    SELECT
    slrrasg_term_code,
    slrrasg_bldg_code ,
    slrrasg_room_number,
    slrrasg_rrcd_code ,
    slrrasg_begin_date ,
    slrrasg_end_date,
    slrrasg_ascd_code
    FROM SLRRASG
    UNION ALL
    SELECT
    szslife_slrrasg_term_code,
    szslife_student_status_code,
    szslife_student_type_code,
    szslife_student_level_code,
    szslife_student_level_desc,
    szslife_residency_code,
    szslife_building_code,
    szslife_room_number,
    szslife_assignment_begin_date,
    szslife_assignment_end_date,
    szslife_assignment_status
    FROM szslife
    UNION ALL
    SELECT NEW_TABLE ---QUESTION what I need to select here all the columns from table 1,2,3?
    tab2 AS
    (SELECT
    sgbstdn_term_code_eff,
    sgbstdn_term_code_eff,
    sgbstdn_stst_code,
    sgbstdn_styp_code,
    sgbstdn_levl_code,
    sgbstdn_resd_code
    FROM sgbstdn
    UNION ALL
    SELECT
    szslife_slrrasg_term_code,
    szslife_student_status_code,
    szslife_student_type_code,
    szslife_student_level_code,
    szslife_student_level_desc,
    szslife_residency_code,
    szslife_building_code,
    szslife_room_number,
    szslife_assignment_begin_date,
    szslife_assignment_end_date,
    szslife_assignment_status
    FROM szslife
    UNION ALL
    SELECT NVL(tab2.a,lag(tab1.a) over(ORDER BY tab1.a))
    FROM tab1, tab2
    WHERE tab1.a = tab2.a(+)
    I will apprecite your help, I did look in my books for a similar example but not luck.
    Rogelio

  • What is the best way to approach this?

    "php 5.3.x + oracle 11g R2 XE 11.2.x.x"
    Hello everyone,
    I'm quite new to oracle (2-4 months) and php(2 weeks).
    I have one query with results that needs to be reused in several parts of my website. I can't seem to find the equivalent of the mysql_data_seek in Oracle. I wanted to reset the cursor/pointer of oci_fetch($result) so that I can scroll the result again.
    So far this are what I have come up:
    A. On first fetch put the the results in a php array and call the array later on.
    B. Do the query again.
    C. Keep on looking for a mysql_data_seek equivalent and fail.
    I'm leaning towards option 'A' but I just wanted to consult the experts.
    Thank you!

    Moved to: What is the best way to approach this? (oci_fetch problem)
    Edited by: m.davide on Oct 23, 2012 2:21 AM
    Edited by: m.davide on Oct 23, 2012 2:22 AM

  • URGENT - Items archiving in Portal - Whats the best way to do this ?

    Gurus,
    My client has following requirement -
    - The client has lots and lots of content.
    - The content must show on site for 6 months.
    - After 6 months, the content goes to archives (meaning - it does not show on site, but that does NOT mean its deleted - its kind of hidden)
    - The archive content must be searchable
    - After 4 years some content expires while some of it remains in archive forever
    Currently, the client stores the content on a file system and there is a process that moves the items after 6 months to an archiving area and after 4 years some content is deleted and some is retained forever.
    What is the best way to approach this requirement ?
    If there is a solution how to move their existing system (content valid for 6 months and archives for last 4 yrs) to portal ?
    Any help would be greatly appreciated.
    Thanx
    Hero

    There are a couple of ways to do this:
    1. If the items are all file items and don't have extended attributes, you can just use WebDAV to move the items to an archive location (can be another page or a file system). Use a WebDAV command line utility like sitecopy, combined with the WWSBR_ALL_ITEMS view to select the content. sitecopy should be able to select items based on their last modified date, so you may not have to use the view.
    2. If you also want to archive the attributes, or if the items include non-file items, you'll need to use the content management APIs to copy the items to an archive page. Currently there is no delete API, so once you've copied the items you'll have to expire the originals and then manually purge them.
    Regards,
    Jerry
    PortalPM

  • Prepopulating PDF with XML best way to do this?

    Hi,
    I'm quite new to LiveCycle Forms and I was wondering if someone can help me with the following.
    First of all, I'm using LiveCycle Forms 7.2 and Designer 7.0. I have a couple of hundred PDFs (all differ from each other) created with the Designer and now I need to merge one XML to every one of these PDFs.
    My biggest wonder right now is the best way to do this. From the documentation I got the understanding that Forms can only merge XML and XDP files. Not XML and PDF. Am I correct?
    So do I need to get those two hundred forms saved in XDP, import the XML scheme to them and apply the scheme to match the fields in the form? This is done in the Designer? After that I could use PDFMerge in the Forms to merge the XML and XDP?
    Is this the best way to do this or are there some alternatives for this?
    I would really appreciate the help from you guys.

    on your bottom layer you should put your background and lock
    it. convert all your bubbles to movie clips. on your first frame in
    the top layer, put your first bubble. if you want to fade in, go to
    properties>color>alpha and set it to 0. then go in 5 or 10
    frames, make a keyframe, and set the alpha to 100. then tween it
    in. after a few frames, depending on how long you want to have the
    bubble visible, make a keyframe. then 5 or 10 frames later make
    another keyframe, set the alpha to 0 and tween it. if you want a
    wait period in between bubbles skip a few frames and make a new
    keyframe, or else just make a keyframe right where you are. then
    repeat the fade processes for the rest of the bubbles. for the last
    bubble, make a new layer on top of everything and lock it. this is
    your actions layer. on the frame in which the last bubble comes in
    to view, make a keyframe in your actions layer and put in a stop
    action: stop(); or just type Esc,S,T . congradulations, you have a
    comic with word bubbles! if you want characters, put them each in
    their own layer.
    i hope this helps.
    SadSpoon

Maybe you are looking for