Mixing two mp3 files and generating new mp3 file in java

HI,
I have problem, I have 2 mp3 files I have some defined times for both file. On particular time i want to mix both mp3 file sound and generate new mp3 file by mixing audio from both files.
As i am new to mp3 in java , Please guide me from where should i start or any other good suggestion.
Thanks & Regards
Akhnukh

Thanks a lot for ur reply....
But my actual task is to mix two mp3 files and generate a new file where in i should be able to list the two mp3 files playing simultaniously......
So can u please help me in writing the j2me code for mixing of two mp3 files.....
Thank u very much
Navya

Similar Messages

  • Premiere project opened - closed sequences and generating new peak files

    Hey guys,
    I'm working on a big project, which resides on our Drobo. I have been sorting clips and working in sequences for the last couple days now. All media was loaded fine, and peak files were generated.
    When I went to open the project this morning, all of the sequences I had been working on (accept for one) had been closed, instead of opening up like how I left them. Further, Premiere is now generating new audio peak files for the project, which is taking forever. Finally, it took 25 minutes to load all of the clips (about 800 or so). They finally finished loading, but I can't start working until the peak files are finished. All in all, i've been at work for 1 hour and still can't work.
    Basically, why didn't Premiere open the project as I left it last night? Closed sequences, slow load time, generating new peak files?
    I'm working with footage from RED, Sony FS700, GH4, and GoPro.
    My system:
    Creative Cloud
    Premiere Pro  8.0.1
    Windows 7 (64 bit)
    Intel 3770k
    Quadro k4000
    16 gb ram
    256 gb SSD (System)
    256 gb SSD (Render files)
    5.39 TB Drobo via USB 3.0
    Thanks,
    Dan

    >Drobo via USB 3.0
    Did you by any chance unplug/replug your USB drive?
    Have you gone into Windows and "locked" the drive letter?

  • Read XML file and generate a XLS file?

    Hi Guys,
    How I can generate a XLS file with information in a XML file.
    I have a XML which received information from a form.
    To the user see the information inside a XML file, I created a report.cfm with the informations of the users.
    Now the user want which the information in the XML, generate a XLS file from a CFM file to download.
    How I will transformed this information in a XLS file?
    Thanks,
    Fabiano Magno Pechibella

    There is no need to re-invent the wheel. Raymond Camden has published code that converts information from a form to an Excel file. His method first converts information from a form to a query. But you can easily adapt it to your case. If you do not have direct access to the form, you will still be able to convert the XML data into the name-value pairs in the query.

  • Compress two .jar file into a new .jar file

    Hi all, i would like to ask it there anyone know how to compress two or more .jar file into one new .jar file?
    because i'm currently need to engage with one big project which have to add 34 .jar file into JCreator, so that the relevant classes can be found when compile the code.
    another question is, what is the maximum archive can be add into JCreator? is it limited or unlimited?
    So, any idea from you all?
    Regards,
    poh_cc

    You should probably ask the authors of JCreator about the limitations of it.
    The classloader can't read jars from jars and I would advice against extracting all jars and jar all classes into one big fat jar.
    Kaj

  • HT2305 I downloaded, and have two .msi files and one setupadmin.exe file. I click the latter and nothing happens?

    I downloaded 2 updates (download only), and there's two  .msi files and one setupadmin.exe file. I click the latter and nothing happens? How am I meant to do install these updates?

    Sorry I forgot to mention I was doing this on a PC with Vista (the heading was Windows so I didn't bother to mention this). Anyway by trial and error I found that you can click on the .msi files to install them. The files were downlads of updates to iTunes and iCloud Control Panel.

  • When I click "File" and then "New" it keeps opening a new file as a layer and not a background. RGB is selected as the mode.

    When I click "File" and then "New" it keeps opening a new file as a layer and not a background. RGB is selected as the mode.
    With new files opening as a layer and not a background I'm not able to create multiple layers and it wont let me convert the layer to the background.
    How did this happen. I used PS just yesterday and had no problems. Today my computer did mandatory updates and now this.

    Yes. You are using the Ellipse Tool's Pixel option. So it is laying down pixels as it is supposed to do without creating a layer.
    Choose the Shape option:
    Also Layer menu > New Layer creates layers and the curled paper at the bottom of your Layers palette also creates a New Layer. I hope those work.

  • How to read from one file and write into another file?

    Hi,
    I am trying to read a File and write into another file.This is the code that i am using.But what happens is last line is only getting written..How to resolve this.the code is as follows,
    public String get() {
         FileReader fr;
         try {
              fr = new FileReader(f);
              String str;
              BufferedReader br = new BufferedReader(fr);
              try {
                   while((str= br.readLine())!=null){
                   generate=str;     
              } catch (IOException e1) {
                   e1.printStackTrace();
              } }catch (FileNotFoundException e) {
                   e.printStackTrace();
         return generate;
    where generate is a string declared globally.
    how to go about it?
    Thanks for your reply in advance

    If you want to copy files as fast as possible, without processing them (as the DOS "copy" or the Unix "cp" command), you can try the java.nio.channels package.
    import java.nio.*;
    import java.nio.channels.*;
    import java.io.*;
    import java.util.*;
    import java.text.*;
    class Kopy {
         * @param args [0] = source filename
         *        args [1] = destination filename
        public static void main(String[] args) throws Exception {
            if (args.length != 2) {
                System.err.println ("Syntax: java -cp . Kopy source destination");
                System.exit(1);
            File in = new File(args[0]);
            long fileLength = in.length();
            long t = System.currentTimeMillis();
            FileInputStream fis = new FileInputStream (in);
            FileOutputStream fos = new FileOutputStream (args[1]);
            FileChannel fci = fis.getChannel();
            FileChannel fco = fos.getChannel();
            fco.transferFrom(fci, 0, fileLength);
            fis.close();
            fos.close();
            t = System.currentTimeMillis() - t;
            NumberFormat nf = new DecimalFormat("#,##0.00");
            System.out.print (nf.format(fileLength/1024.0) + "kB copied");
            if (t > 0) {
                System.out.println (" in " + t + "ms: " + nf.format(fileLength / 1.024 / t) + " kB/s");
    }

  • Problem in copy 2 WORD files to a new WORD file

    Hi
    I have a problem in copy 2 WORD files to a new WORD file -
    i.e. the text of the new WORD file suppose to be composed from the text of the 2 original WORD files.
    Unfotunately I get a new WORD file which i can't open, or a file which contains strange simbols in it.
    So far i succeded in copy one WORD file to a new WORD file , using - FileOutputStream and FileInputStream, the code is:
    import java.io.*;
    public class IOStreamDemo {
    public static void main(String[] args)throws IOException {
    InputStream in2 = new FileInputStream("fruit.doc");
    OutputStream out2 = new FileOutputStream("dst2.doc");
    // Transfer bytes from in2 to dst
    byte[] buf2 = new byte[1024];
    int len2;
    while ((len2 = in2.read(buf2)) > 0) {
    out2.write(buf2, 0, len2);
    in2.close();
    out2.close();
    Does sombody know how to do it properly?
    Thanks

    dear friend
    I just create two word file one is fruit.doc and other
    is dst2.doc
    after that i write some lines in fruit.doc
    then I just execute your code.
    after that I open dst2.doc
    then I found it as exact copy of fruit.doc
    I doesn't get any junk text.
    Your code is working absolutely fine.No it is not. Add som styling, headers, index etc to the docuements, and then try to run the code. It's not possible to just append two word documents. You have to parse the files and read relevant information, and then create a new valid document with that information.
    /Kaj

  • Hello Anybody, I have a question. Can any of you please suggest me how to make an xml file from the database table with all the rows? Note:- I am having the XSD Schema file and the resulted XML file should be in that XSD format only.

    Hello Anybody, I have a question. Can any of you please suggest me how to make an xml file from the database table with all the records?
    Note:- I am having the XSD Schema file and the resulted XML file should be in that XSD format only.

    The Oracle documentation has a good overview of the options available
    Generating XML Data from the Database
    Without knowing your version, I just picked 11.2, so you made need to look for that chapter in the documentation for your version to find applicable information.
    You can also find some information in XML DB FAQ

  • Search multiple folders and muiltiple files and combine to single file

     I want to search multiple folders for muliple files and combine to single file name. The files I'm searching have same format, but where named
    differently in each of there processes. Now I want to combine based upon -SearchFor .. I'm having a problem with -Filter $SearchFor
    Code:
    Function Search-Files{
    Param([String[]]$Locations,[String[]]$SearchFor, $AppendTo)
    Begin
    If(-Not (Test-Path $AppendTo)){New-Item $AppendTo -ItemType File -Force}
    Process
    ForEach($Location in $Locations)
    $Files = Get-ChildItem -Path $Location -Filter $SearchFor -Recurse
    ForEach($File in $Files)
    Get-Content -Path $FIles.FullName | Out-File $AppendTo -Append
    End{}
    Search-Files -Locations "\\servera\public\t1\usa\saleshist\","\\serverb\public\t2\usa\saleshist\",-SearchFor "dodetail-cm.txt","somstr.txt",-AppendTo "\\virt1\Saleshist_data_load_files\saleshdr.load.csv"

    I think you might want to use -Include instead of -Filter.  Your -Include parameter accepts wildcards, i.e. *.docx or *somstr.txt
    Your command to actually append the content should be:
    Get-Content -Path $File.FullName | Out-File $AppendTo -Append
    You had $Files.FullName which might behave unexpectedly, if at all.
    Your actual command has several issues.
    Search-Files -Locations "\\servera\public\t1\usa\saleshist\","\\serverb\public\t2\usa\saleshist\" -SearchFor "dodetail-cm.txt","somstr.txt" -AppendTo "\\virt1\Saleshist_data_load_files\saleshdr.load.csv"
    You had commas following the lists of locations and searchfor terms, did that even work? Without seeing your source files or your target file I can only advise you so much, but ideally you would import-csv and export-csv.  Depending on the contents,
    you may be able to get away with get-content and out-file though.
    I hope this post has helped!

  • Converting a pdf file to a new pdf file acrobat 9s only creates a ps file.

    Using win7 with adobe acrobat 9 standard. This is a new problew. With a pdf file open, and wanting to create a new pdf file using the print function with Adobe PDF as the prnter, I can no longer "print" the file to a new pdf file. Adobe "print to file" dialog box only provides the file type as a "ps" file. I have been using acrobat 9s without a problem. This is a new issue that just appeared today. See below - it won't allow me to print to a new pdf file. How can this be corrected?

    Make sure the Print to File option in the Print dialog is ticked off.

  • EDI  X12 scenario,deq.bat file not generating any trace file.

    hello,
    i have worked on the EDI X12 over internet(AS2) Transaction,everything is working fine until the creation and deployment of configurations on both Acme and GlobalChips servers.But During the Verification of Purchase Order Transactions when i am running deq.bat file on both Acme and GlobalChips servers the dq script is not generating any t1.trc trace file.
    There is no problem with the Trading Partners on both servers they are on upstate,can anyone help me with this issue please,its very urgent.
    note: where will be the web.xml file for transportServlet located,can anyone provide me with the file path.
    thnx
    sunny

    Hello Sinkar,
    Thanks for your reply,Finally i have managed resolve the issue(deq.bat file is generating t1.trc file) successfully.But there are certain other issues regarding this topic in which i need your help.
    When i am running the deq.bat file in command prompt on both acme and globalchips servers it is showing the following status
    D:\oracle\OraJ2EE\ip\tutorial\X12\runtime>deq.bat
    D:\oracle\OraJ2EE\ip\tutorial\X12\runtime>java oracle.tip.adapter.b2b.data.IPDeq
    ueue ipdequeue.properties
    IPDequeue start...
    Dequeue from IP_IN_QUEUE
    and it also generated a t1.trc file on both servers,but the prompt in which i have run deq.bat is not giving any further message
    i.e some thing like IPDequeue end.
    and not even coming back to the original path i.e
    D:\oracle\OraJ2EE\ip\tutorial\X12\runtime>
    and even if close the prompt it is not showing anything in t1.trc file and if i am running the enq_850.bat in acme server it is showing following stat
    D:\oracle\OraJ2EE\ip\tutorial\X12\runtime>enq_850.bat
    D:\oracle\OraJ2EE\ip\tutorial\X12\runtime>java oracle.tip.adapter.b2b.data.IPEnq
    ueue enq_850.properties
    IPEnqueue start...
    IPEnqueue end.
    D:\oracle\OraJ2EE\ip\tutorial\X12\runtime>
    and its didn't showing anything in the t1.trc file generated on the globalchips server and same thing is happening when i am running enq_855.bat file on the globalchips server its not showing up anything in the trace file generated on the acme server.
    I have tried one thing that u have suggested for such kind of issue(t1.trc empty) in your forums
    1.) I have applied the patch #6673231 and it is showing the Document Routing Id Field in the B2B UI,but when i am completing all the process in B2B UI and running deq.bat file the result is still the same,the IPDequeue is not ending
    But a certain change has taken place after applying the pat
    D:\oracle\OraJ2EE\ip\tutorial\X12\runtime>java oracle.tip.adapter.b2b.data.IPEnq+
    ueue enq_850.properties+
    IPEnqueue start...+
    Action Name = null
    IPEnqueue end.+
    D:\oracle\OraJ2EE\ip\tutorial\X12\runtime>+
    C:\oracle\OraJ2EE\ip\tutorial\X12\runtime>enq_855.bat+
    C:\oracle\OraJ2EE\ip\tutorial\X12\runtime>java oracle.tip.adapter.b2b.data.IPEnq+
    ueue enq_855.properties+
    IPEnqueue start...+
    Action Name = null
    IPEnqueue end.+
    C:\oracle\OraJ2EE\ip\tutorial\X12\runtime>+
    I Think that no action is taking place in both the cases
    bcoz its showing this Action Name = null+
    if that is the case what is the problem here
    I have also set oracle.tip.adapter.b2b.DocumentRouting=true.
    but the situation is still the same,please read the above problem carefully and suggest a solution which would be fruitful for my further progress.
    thanks
    sunny
    Edited by: user10470973 on Dec 16, 2008 10:43 AM
    Edited by: user10470973 on Dec 16, 2008 10:44 AM

  • Difference(s) in usage of a ".json" bookmark backup file and a ".html" bookmark file

    Hello to all,
    What is the difference between usage of a ".json" bookmark backup file and a ".html" bookmark file? It seems both of them are doing the same job. If it is the case, then why there are two options (.json and .html) for doing the same job? If not, then what is the reason behind availability of the two options and how do they differ? Although I've read all the related documentaion, it's not quite clear form me yet. Please be kind enough to elaborate on the question so that I can get a clear understanding of their right usage(s).
    Thank you very much in advance for your time and expertise

    Hello,
    See [https://support.mozilla.org/questions/684284#answer-18836 questions/684284]

  • JButton method use BOF(Begin Of File) and EOF(End Of File) like VB?

    hii all friends :)
    I use Oracle Jdeveloper 10G to design with JClient Method.
    i want design navigation button use JButton(swing) not use JUNavigationBar.
    but i don,t understand how can i check last record and fist record like in Visual basic use Method BOF(Begin Of File) and EOF(End Of File)? What method/syntax in java i use it?
    Can u(all friend in comunity forum) help and teach me how?..
    Befors, thanks alot :)
    regards
    Fok Shen

    Thank,s kanad.
    I already try it, but method "isBeforeFirst" and "isAfterLast" not found in javax.swing.Jbutton.
    i used Oracle Jdeveloper 10G or version 9.0.5.2 , choose swing/Jclient for ADF under the client tier node and then choose Empty Form Wizard to build an application based on the business components From Table.
    i use JMenuBar to create MDI Form.
    this is Master Application: JClientForm.java
    =============
    package JClientTemp.view;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.event.*;
    import oracle.jbo.RowIterator;
    import oracle.jbo.Row;
    import oracle.jbo.common.DefLocaleContext;
    import oracle.jbo.uicli.mom.JUMetaObjectManager;
    import oracle.jbo.uicli.binding.*;
    import oracle.jbo.uicli.controls.*;
    import oracle.jbo.uicli.*;
    import oracle.jbo.common.JBOClass;
    import java.io.InputStream;
    import java.io.InputStreamReader;
    import oracle.adf.model.*;
    import oracle.adf.model.binding.*;
    import oracle.adf.model.generic.*;
    import java.util.HashMap;
    import java.util.ArrayList;
    import oracle.jbo.uicli.jui.*;
    import javax.swing.JMenuBar;
    import javax.swing.JMenu;
    import javax.swing.JMenuItem;
    import javax.swing.KeyStroke;
    import java.awt.event.KeyEvent;
    import java.awt.Event;
    import java.awt.event.ActionListener;
    import java.awt.event.ActionEvent;
    public class JClientForm extends JFrame
    //public static TypeForm FormType(); // Syntax untuk Panggil form
    // form layout
    private GridLayout gridLayout = new GridLayout();
    private BorderLayout borderLayout = new BorderLayout();
    //private TypeForm FormType = new TypeForm();
    private TypeForm FormType; // Setting variable untuk call frame
    // panel definition used in design time
    private JUPanelBinding panelBinding = new JUPanelBinding("JClientFormUIModel");
    // Navigation bar
    // private JUNavigationBar navBar = new JUNavigationBar();
    // The status bar
    private JUStatusBar statusBar = new JUStatusBar();
    // The form's top panel
    private JPanel topPanel = new JPanel();
    private JPanel dataPanel = new JPanel();
    private JMenuBar menubarFrame = new JMenuBar();
    private JMenu menuFile = new JMenu();
    private JMenuItem itemFileCompList = new JMenuItem();
    private JMenuItem itemFileType = new JMenuItem();
    private JMenuItem itemFileInventory = new JMenuItem();
    private JMenuItem itemFileExit = new JMenuItem();
    //private JUNavigationBar hiddenNavBar = new JUNavigationBar();
    * the JbInit method
    public void jbInit() throws Exception
    // form layout
    dataPanel.setLayout(null);
    menuFile.setText("File");
    menuFile.setMnemonic('F');
    itemFileCompList.setText("Computer List");
    itemFileCompList.setMnemonic('C');
    itemFileType.setText("Type");
    itemFileType.setMnemonic('T');
    itemFileType.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_F4, Event.ALT_MASK, false));
    itemFileType.addActionListener(new ActionListener()
    public void actionPerformed(ActionEvent e)
    itemFileType_actionPerformed(e);
    itemFileInventory.setText("Inventory");
    itemFileInventory.setMnemonic('I');
    itemFileExit.setText("Exit");
    itemFileExit.setMnemonic('X');
    itemFileExit.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_F4, Event.ALT_MASK, false));
    itemFileExit.addActionListener(new ActionListener()
    public void actionPerformed(ActionEvent e)
    item_file_exit_action(e);
    this.getContentPane().setLayout(gridLayout);
    this.setTitle("Master Form");
    this.setJMenuBar(menubarFrame);
    topPanel.setLayout(borderLayout);
    this.getContentPane().add(topPanel);
    this.setSize(new Dimension(400, 300));
    //topPanel.add(navBar, BorderLayout.NORTH);
    topPanel.add(dataPanel, BorderLayout.CENTER);
    topPanel.add(statusBar, BorderLayout.SOUTH);
    menuFile.add(itemFileCompList);
    menuFile.add(itemFileType);
    menuFile.add(itemFileInventory);
    menuFile.addSeparator();
    menuFile.add(itemFileExit);
    menubarFrame.add(menuFile);
    //hiddenNavBar.setModel(JUNavigationBar.createPanelBinding(panelBinding, hiddenNavBar));
    //navBar.setModel(JUNavigationBar.createPanelBinding(panelBinding, navBar));
    statusBar.setModel(JUStatusBar.createPanelBinding(panelBinding, statusBar));
    public static void main(String [] args)
    try
    UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
    catch(Exception exemp)
    exemp.printStackTrace();
    try
    // bootstrap application
    JUMetaObjectManager.setBaseErrorHandler(new JUErrorHandlerDlg());
    JUMetaObjectManager mgr = JUMetaObjectManager.getJUMom();
    mgr.setJClientDefFactory(null);
    BindingContext ctx = new BindingContext();
    ctx.put(DataControlFactory.APP_PARAM_ENV_INFO, new JUEnvInfoProvider());
    ctx.setLocaleContext(new DefLocaleContext(null));
    HashMap map = new HashMap(4);
    map.put(DataControlFactory.APP_PARAMS_BINDING_CONTEXT, ctx);
    mgr.loadCpx("DataBindings.cpx", map);
    JClientForm frame = new JClientForm();
    frame.setBindingContext(ctx);
    frame.setDefaultCloseOperation(JFrame.DO_NOTHING_ON_CLOSE);
    Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
    Dimension frameSize = frame.getSize();
    // run this form
    if (frameSize.height > screenSize.height)
    frameSize.height = screenSize.height;
    if (frameSize.width > screenSize.width)
    frameSize.width = screenSize.width;
    frame.setLocation((screenSize.width - frameSize.width) / 2, (screenSize.height - frameSize.height) / 2);
    frame.setVisible(true);
    catch(Exception ex)
    JUMetaObjectManager.reportException(null, ex);
    System.exit(1);
    private int _popupTransactionDialog()
    if (panelBinding == null || panelBinding.getPanel() == null)
    return JOptionPane.NO_OPTION;
    if (panelBinding.isTransactionDirty())
    Object [] options = {"Commit", "Rollback"};
    int action = JOptionPane.showOptionDialog(JClientForm.this, "How do you want to close the transaction?", "Transaction open", JOptionPane.YES_NO_OPTION, JOptionPane.INFORMATION_MESSAGE, null, options, options[(0)]);
    switch (action)
    case JOptionPane.NO_OPTION:
    hiddenNavBar.doAction(JUNavigationBar.BUTTON_ROLLBACK);
    break;
    case JOptionPane.CLOSED_OPTION:
    break;
    case JOptionPane.YES_OPTION:
    default:
    hiddenNavBar.doAction(JUNavigationBar.BUTTON_COMMIT);
    break;
    return action;
    return JOptionPane.NO_OPTION;
    public JUPanelBinding getPanelBinding()
    return panelBinding;
    public void setPanelBinding(JUPanelBinding binding)
    if (binding.getPanel() == null)
    binding.setPanel(topPanel);
    if (panelBinding == null || panelBinding.getPanel() == null)
    try
    panelBinding = binding;
    jbInit();
    catch(Exception ex)
    panelBinding.reportException(ex);
    * The default constructor for form
    public JClientForm()
    addWindowListener(new WindowAdapter()
    public void windowClosing(WindowEvent e)
    //int action = _popupTransactionDialog();
    //if (action != JOptionPane.CLOSED_OPTION)
    panelBinding.releaseDataControl();
    setVisible(false);
    dispose();
    System.exit(0);
    public void setBindingContext(BindingContext bindCtx)
    if (panelBinding.getPanel() == null)
    panelBinding = panelBinding.setup(bindCtx, this);
    registerProjectGlobalVariables(bindCtx);
    panelBinding.refreshControl();
    try
    jbInit();
    panelBinding.refreshControl();
    catch(Exception ex)
    panelBinding.reportException(ex);
    private void registerProjectGlobalVariables(BindingContext bindCtx)
    JUUtil.registerNavigationBarInterface(panelBinding, bindCtx);
    private void unRegisterProjectGlobalVariables(BindingContext bindCtx)
    JUUtil.unRegisterNavigationBarInterface(panelBinding, bindCtx);
    private void item_file_exit_action(ActionEvent e)
    //int action = _popupTransactionDialog();
    //if (action != JOptionPane.CLOSED_OPTION)
    System.exit(0);
    private void itemFileType_actionPerformed(ActionEvent e)
    if (FormType==null)
    FormType.main2(null);
    else
    //FormType.setVisible(true);
    FormType.setVisible(true);
    ==========
    And Then that is Sub Application : TypeForm.java
    =================
    package JClientTemp.view;
    import java.awt.*;
    import java.awt.event.*;
    import java.util.Enumeration;
    import javax.swing.*;
    import javax.swing.event.*;
    import oracle.jbo.RowIterator;
    import oracle.jbo.Row;
    import oracle.jbo.common.DefLocaleContext;
    import oracle.jbo.uicli.mom.JUMetaObjectManager;
    import oracle.jbo.uicli.binding.*;
    import oracle.jbo.uicli.controls.*;
    import oracle.jbo.uicli.*;
    import oracle.jbo.common.JBOClass;
    import java.io.InputStream;
    import java.io.EOFException;
    import java.io.InputStreamReader;
    import oracle.adf.model.*;
    import oracle.adf.model.binding.*;
    import oracle.adf.model.generic.*;
    import java.util.HashMap;
    import java.util.ArrayList;
    import oracle.jbo.uicli.jui.*;
    import javax.swing.JTabbedPane;
    import java.awt.BorderLayout;
    import javax.swing.JPanel;
    import oracle.jbo.uicli.controls.JULabel;
    import java.awt.Rectangle;
    import oracle.jbo.uicli.jui.JULabelBinding;
    import javax.swing.JTextField;
    import javax.swing.text.Document;
    import javax.swing.JScrollPane;
    import javax.swing.JTable;
    import javax.swing.table.TableModel;
    import javax.swing.JButton;
    import javax.swing.ButtonModel;
    import java.awt.Font;
    import javax.swing.SwingConstants;
    import javax.swing.BorderFactory;
    import javax.swing.border.BevelBorder;
    import oracle.jbo.uicli.controls.JUNavigationBar;
    import java.awt.event.ActionListener;
    import java.awt.event.ActionEvent;
    import java.awt.Component;
    public class java.io.EOFException extends java.io.IOException
    // Constructors
    public EOFException();
    public EOFException(String s);
    //import javax.swing.table.TableColumnModel;
    //import javax.swing.table.JTableHeader;
    //public static TypeForm FormType();
    public class TypeForm extends JFrame
    // form layout
    private GridLayout gridLayout = new GridLayout();
    private BorderLayout borderLayout = new BorderLayout();
    // panel definition used in design time
    private JUPanelBinding panelBinding = new JUPanelBinding("TypeFormUIModel");
    // Navigation bar
    // private JUNavigationBar navBar = new JUNavigationBar();
    // The status bar
    private JUStatusBar statusBar = new JUStatusBar();
    // The form's top panel
    private JPanel topPanel = new JPanel();
    //private JUNavigationBar hiddenNavBar = new JUNavigationBar();
    private JTabbedPane mainTab = new JTabbedPane();
    private JPanel tabTypeBC = new JPanel();
    private JPanel tabTypeSC = new JPanel();
    private JPanel tabTypeHC = new JPanel();
    private JULabel LblTypeBC = new JULabel();
    private JULabel LblDecTBC = new JULabel();
    private JTextField TxtTypeBC = new JTextField();
    private JTextField TxtDecTBC = new JTextField();
    private JScrollPane TBCScrollPane = new JScrollPane();
    private JTable TypeBCTable = new JTable();
    private JULabel LblTypeSC = new JULabel();
    private JULabel LblDecSC = new JULabel();
    private JTextField TxtTypeSC = new JTextField();
    private JTextField TxtDecTSC = new JTextField();
    private JScrollPane TSCScrollPane = new JScrollPane();
    private JTable TypeSCTable = new JTable();
    private JULabel LblTypeHC = new JULabel();
    private JULabel LblDecTHC = new JULabel();
    private JTextField TxtTypeHC = new JTextField();
    private JTextField TxtDecTHC = new JTextField();
    private JScrollPane THCScrollPane = new JScrollPane();
    private JTable TypeHCTable = new JTable();
    private JButton BtFirst = new JButton();
    private JButton BtPrev = new JButton();
    private JButton BtNext = new JButton();
    private JButton BtLast = new JButton();
    private JButton BtAdd = new JButton();
    private JButton BtDel = new JButton();
    private JButton BtSearch = new JButton();
    private JButton BtSubmit = new JButton();
    private JButton BtCommit = new JButton();
    private JButton BtRollback = new JButton();
    private JButton BFist = new JButton();
    private JButton BPrev = new JButton();
    private JButton BNext = new JButton();
    private JButton BLast = new JButton();
    private JButton BAdd = new JButton();
    private JButton BDelete = new JButton();
    private JButton BSearch = new JButton();
    private JButton BSubmit = new JButton();
    private JButton BCommit = new JButton();
    private JButton BRollBack = new JButton();
    private JButton BtClose = new JButton();
    private JButton BClose = new JButton();
    private JButton BhFirst = new JButton();
    private JButton BhPrev = new JButton();
    private JButton BhNext = new JButton();
    private JButton BhLast = new JButton();
    private JButton BhAdd = new JButton();
    private JButton BhDelete = new JButton();
    private JButton BhSearch = new JButton();
    private JButton BhSubmit = new JButton();
    private JButton BhCommit = new JButton();
    private JButton BhRollback = new JButton();
    private JButton BhClose = new JButton();
    //private TableColumnModel tableColumnModel1 = new javax.swing.table.DefaultTableColumnModel();
    * the JbInit method
    public void jbInit() throws Exception
    // form layout
    this.getContentPane().setLayout(gridLayout);
    this.setTitle("Form Type");
    topPanel.setLayout(borderLayout);
    tabTypeBC.setLayout(null);
    //tabTypeBC.setToolTipText("null");
    tabTypeSC.setLayout(null);
    tabTypeHC.setLayout(null);
    LblTypeBC.setText("jULabel1");
    LblTypeBC.setBounds(new Rectangle(15, 45, 115, 15));
    LblDecTBC.setText("jULabel1");
    LblDecTBC.setBounds(new Rectangle(15, 70, 115, 15));
    TxtTypeBC.setBounds(new Rectangle(135, 45, 85, 20));
    TxtDecTBC.setBounds(new Rectangle(135, 70, 185, 20));
    TBCScrollPane.setBounds(new Rectangle(15, 105, 305, 110));
    TypeBCTable.setEnabled(false);
    TypeBCTable.setEditingColumn(-1);
    TypeBCTable.setEditingRow(-1);
    LblTypeSC.setText("jULabel1");
    LblTypeSC.setBounds(new Rectangle(10, 50, 140, 15));
    LblDecSC.setText("jULabel1");
    LblDecSC.setBounds(new Rectangle(10, 75, 140, 15));
    TxtTypeSC.setBounds(new Rectangle(155, 50, 85, 20));
    TxtDecTSC.setBounds(new Rectangle(155, 75, 155, 20));
    TSCScrollPane.setBounds(new Rectangle(10, 110, 300, 105));
    TypeSCTable.setEnabled(false);
    TypeSCTable.setEditingColumn(-1);
    TypeSCTable.setEditingRow(-1);
    LblTypeHC.setText("jULabel1");
    LblTypeHC.setBounds(new Rectangle(10, 50, 140, 15));
    LblDecTHC.setText("jULabel1");
    LblDecTHC.setBounds(new Rectangle(10, 75, 140, 15));
    LblDecTHC.setToolTipText("null");
    TxtTypeHC.setBounds(new Rectangle(150, 45, 100, 20));
    TxtDecTHC.setBounds(new Rectangle(150, 75, 160, 20));
    THCScrollPane.setBounds(new Rectangle(10, 105, 300, 115));
    TypeHCTable.setEnabled(false);
    TypeHCTable.setEditingColumn(-1);
    TypeHCTable.setEditingRow(-1);
    BtFirst.setText("<<");
    BtFirst.setBounds(new Rectangle(15, 10, 20, 25));
    BtFirst.setFont(new Font("Dialog", 1, 8));
    BtFirst.setToolTipText("Move First Record");
    BtFirst.setBorder(BorderFactory.createBevelBorder(BevelBorder.RAISED));
    BtPrev.setText("<");
    BtPrev.setBounds(new Rectangle(35, 10, 20, 25));
    BtPrev.setFont(new Font("Dialog", 1, 8));
    BtPrev.setToolTipText("Move Previous Record");
    BtPrev.setBorder(BorderFactory.createBevelBorder(BevelBorder.RAISED));
    BtPrev.addActionListener(new ActionListener()
    public void actionPerformed(ActionEvent e)
    BtPrev_actionPerformed(e);
    BtNext.setText(">");
    BtNext.setBounds(new Rectangle(55, 10, 20, 25));
    BtNext.setFont(new Font("Dialog", 1, 8));
    BtNext.setToolTipText("Move Next Record");
    BtNext.setBorder(BorderFactory.createBevelBorder(BevelBorder.RAISED));
    BtLast.setText(">>");
    BtLast.setBounds(new Rectangle(75, 10, 20, 25));
    BtLast.setFont(new Font("Dialog", 1, 8));
    BtLast.setToolTipText("Move Last Record");
    BtLast.setBorder(BorderFactory.createBevelBorder(BevelBorder.RAISED));
    BtAdd.setText("Add");
    BtAdd.setBounds(new Rectangle(95, 10, 25, 25));
    BtAdd.setFont(new Font("Dialog", 1, 10));
    BtAdd.setToolTipText("Add Record");
    BtAdd.setBorder(BorderFactory.createBevelBorder(BevelBorder.RAISED));
    BtDel.setText("Del");
    BtDel.setBounds(new Rectangle(120, 10, 25, 25));
    BtDel.setFont(new Font("Dialog", 1, 10));
    BtDel.setBorder(BorderFactory.createBevelBorder(BevelBorder.RAISED));
    BtDel.setToolTipText("Delete Record");
    BtSearch.setText("Search");
    BtSearch.setBounds(new Rectangle(145, 10, 40, 25));
    BtSearch.setFont(new Font("Dialog", 1, 10));
    BtSearch.setBorder(BorderFactory.createBevelBorder(BevelBorder.RAISED));
    BtSearch.setToolTipText("Search Record");
    BtSubmit.setText("Submit");
    BtSubmit.setBounds(new Rectangle(185, 10, 45, 25));
    BtSubmit.setFont(new Font("Dialog", 1, 10));
    BtSubmit.setBorder(BorderFactory.createBevelBorder(BevelBorder.RAISED));
    BtSubmit.setToolTipText("Submit Record");
    BtCommit.setText("Commit");
    BtCommit.setBounds(new Rectangle(230, 10, 45, 25));
    BtCommit.setFont(new Font("Dialog", 1, 10));
    BtCommit.setBorder(BorderFactory.createBevelBorder(BevelBorder.RAISED));
    BtCommit.setToolTipText("Commit Command");
    BtRollback.setText("Rollback");
    BtRollback.setBounds(new Rectangle(275, 10, 50, 25));
    BtRollback.setFont(new Font("Dialog", 1, 10));
    BtRollback.setBorder(BorderFactory.createBevelBorder(BevelBorder.RAISED));
    BtRollback.setToolTipText("RoolBack Command");
    BFist.setText("<<");
    BFist.setBounds(new Rectangle(10, 10, 20, 25));
    BFist.setFont(new Font("Dialog", 1, 8));
    BFist.setBorder(BorderFactory.createBevelBorder(BevelBorder.RAISED));
    BFist.setToolTipText("Move First Record");
    BPrev.setText("<");
    BPrev.setBounds(new Rectangle(30, 10, 20, 25));
    BPrev.setFont(new Font("Dialog", 1, 8));
    BPrev.setBorder(BorderFactory.createBevelBorder(BevelBorder.RAISED));
    BPrev.setToolTipText("Move Previous Record");
    BNext.setText(">");
    BNext.setBounds(new Rectangle(50, 10, 20, 25));
    BNext.setFont(new Font("Dialog", 1, 8));
    BNext.setBorder(BorderFactory.createBevelBorder(BevelBorder.RAISED));
    BNext.setToolTipText("Move Next Record");
    BLast.setText(">>");
    BLast.setBounds(new Rectangle(70, 10, 20, 25));
    BLast.setFont(new Font("Dialog", 1, 8));
    BLast.setBorder(BorderFactory.createBevelBorder(BevelBorder.RAISED));
    BLast.setToolTipText("Move Last Record");
    BAdd.setText("Add");
    BAdd.setBounds(new Rectangle(90, 10, 25, 25));
    BAdd.setBorder(BorderFactory.createBevelBorder(BevelBorder.RAISED));
    BAdd.setFont(new Font("Dialog", 1, 10));
    BAdd.setToolTipText("Add Record");
    BDelete.setText("Del");
    BDelete.setBounds(new Rectangle(115, 10, 25, 25));
    BDelete.setBorder(BorderFactory.createBevelBorder(BevelBorder.RAISED));
    BDelete.setFont(new Font("Dialog", 1, 10));
    BDelete.setToolTipText("Delete Record");
    BSearch.setText("Search");
    BSearch.setBounds(new Rectangle(140, 10, 40, 25));
    BSearch.setBorder(BorderFactory.createBevelBorder(BevelBorder.RAISED));
    BSearch.setFont(new Font("Dialog", 1, 10));
    BSearch.setToolTipText("Search Record");
    BSubmit.setText("Submit");
    BSubmit.setBounds(new Rectangle(180, 10, 45, 25));
    BSubmit.setBorder(BorderFactory.createBevelBorder(BevelBorder.RAISED));
    BSubmit.setFont(new Font("Dialog", 1, 10));
    BSubmit.setToolTipText("Submit Record");
    BCommit.setText("Commit");
    BCommit.setBounds(new Rectangle(225, 10, 45, 25));
    BCommit.setBorder(BorderFactory.createBevelBorder(BevelBorder.RAISED));
    BCommit.setFont(new Font("Dialog", 1, 10));
    BCommit.setToolTipText("Commit Button");
    BRollBack.setText("Rollback");
    BRollBack.setBounds(new Rectangle(270, 10, 50, 25));
    BRollBack.setBorder(BorderFactory.createBevelBorder(BevelBorder.RAISED));
    BRollBack.setFont(new Font("Dialog", 1, 10));
    BRollBack.setToolTipText("Rollback Button");
    BtClose.setText("Close");
    BtClose.setBounds(new Rectangle(325, 10, 35, 25));
    BtClose.setFont(new Font("Dialog", 1, 10));
    BtClose.setBorder(BorderFactory.createBevelBorder(BevelBorder.RAISED));
    BtClose.setToolTipText("Close Sub Program");
    BtClose.addActionListener(new ActionListener()
    public void actionPerformed(ActionEvent e)
    BtClose_actionPerformed(e);
    BClose.setText("Close");
    BClose.setBounds(new Rectangle(320, 10, 35, 25));
    BClose.setBorder(BorderFactory.createBevelBorder(BevelBorder.RAISED));
    BClose.setFont(new Font("Dialog", 1, 10));
    BClose.setToolTipText("Close Sub Program");
    BClose.addActionListener(new ActionListener()
    public void actionPerformed(ActionEvent e)
    BClose_actionPerformed(e);
    BhFirst.setText("<<");
    BhFirst.setBounds(new Rectangle(10, 10, 20, 25));
    BhFirst.setBorder(BorderFactory.createBevelBorder(BevelBorder.RAISED));
    BhFirst.setFont(new Font("Dialog", 1, 8));
    BhFirst.setToolTipText("Move First Record");
    BhPrev.setText("<");
    BhPrev.setBounds(new Rectangle(30, 10, 20, 25));
    BhPrev.setBorder(BorderFactory.createBevelBorder(BevelBorder.RAISED));
    BhPrev.setFont(new Font("Dialog", 1, 8));
    BhPrev.setToolTipText("Move Previous Record");
    BhNext.setText(">");
    BhNext.setBounds(new Rectangle(50, 10, 20, 25));
    BhNext.setBorder(BorderFactory.createBevelBorder(BevelBorder.RAISED));
    BhNext.setFont(new Font("Dialog", 1, 8));
    BhNext.setToolTipText("Move Next Record");
    BhLast.setText(">>");
    BhLast.setBounds(new Rectangle(70, 10, 20, 25));
    BhLast.setBorder(BorderFactory.createBevelBorder(BevelBorder.RAISED));
    BhLast.setFont(new Font("Dialog", 1, 8));
    BhLast.setToolTipText("Move Last Record");
    BhAdd.setText("Add");
    BhAdd.setBounds(new Rectangle(90, 10, 25, 25));
    BhAdd.setBorder(BorderFactory.createBevelBorder(BevelBorder.RAISED));
    BhAdd.setFont(new Font("Dialog", 1, 10));
    BhAdd.setToolTipText("Add Record");
    BhDelete.setText("Del");
    BhDelete.setBounds(new Rectangle(115, 10, 25, 25));
    BhDelete.setFont(new Font("Dialog", 1, 10));
    BhDelete.setBorder(BorderFactory.createBevelBorder(BevelBorder.RAISED));
    BhDelete.setToolTipText("Delete Record");
    BhSearch.setText("Search");
    BhSearch.setBounds(new Rectangle(140, 10, 40, 25));
    BhSearch.setBorder(BorderFactory.createBevelBorder(BevelBorder.RAISED));
    BhSearch.setFont(new Font("Dialog", 1, 10));
    BhSearch.setToolTipText("Search Record");
    BhSubmit.setText("Submit");
    BhSubmit.setBounds(new Rectangle(180, 10, 45, 25));
    BhSubmit.setBorder(BorderFactory.createBevelBorder(BevelBorder.RAISED));
    BhSubmit.setFont(new Font("Dialog", 1, 10));
    BhSubmit.setToolTipText("Submit Record");
    BhCommit.setText("Commit");
    BhCommit.setBounds(new Rectangle(225, 10, 45, 25));
    BhCommit.setToolTipText("Commit Record");
    BhCommit.setBorder(BorderFactory.createBevelBorder(BevelBorder.RAISED));
    BhCommit.setFont(new Font("Dialog", 1, 10));
    BhRollback.setText("Rollback");
    BhRollback.setBounds(new Rectangle(270, 10, 50, 25));
    BhRollback.setFont(new Font("Dialog", 1, 10));
    BhRollback.setBorder(BorderFactory.createBevelBorder(BevelBorder.RAISED));
    BhRollback.setToolTipText("Rollback Record");
    BhClose.setText("Close");
    BhClose.setBounds(new Rectangle(320, 10, 35, 25));
    BhClose.setBorder(BorderFactory.createBevelBorder(BevelBorder.RAISED));
    BhClose.setFont(new Font("Dialog", 1, 10));
    BhClose.setToolTipText("Close Sub Program");
    BhClose.addActionListener(new ActionListener()
    public void actionPerformed(ActionEvent e)
    BhClose_actionPerformed(e);
    this.getContentPane().add(topPanel);
    this.setSize(new Dimension(400, 300));
    //topPanel.add(navBar, BorderLayout.NORTH);
    topPanel.add(statusBar, BorderLayout.SOUTH);
    TBCScrollPane.getViewport().add(TypeBCTable, null);
    tabTypeBC.add(BtClose, null);
    tabTypeBC.add(BtRollback, null);
    tabTypeBC.add(BtCommit, null);
    tabTypeBC.add(BtSubmit, null);
    tabTypeBC.add(BtSearch, null);
    tabTypeBC.add(BtDel, null);
    tabTypeBC.add(BtAdd, null);
    tabTypeBC.add(BtLast, null);
    tabTypeBC.add(BtNext, null);
    tabTypeBC.add(BtPrev, null);
    tabTypeBC.add(BtFirst, null);
    tabTypeBC.add(TBCScrollPane, null);
    tabTypeBC.add(TxtDecTBC, null);
    tabTypeBC.add(TxtTypeBC, null);
    tabTypeBC.add(LblDecTBC, null);
    tabTypeBC.add(LblTypeBC, null);
    mainTab.addTab("Type Book", tabTypeBC);
    TSCScrollPane.getViewport().add(TypeSCTable, null);
    tabTypeSC.add(BClose, null);
    tabTypeSC.add(BRollBack, null);
    tabTypeSC.add(BCommit, null);
    tabTypeSC.add(BSubmit, null);
    tabTypeSC.add(BSearch, null);
    tabTypeSC.add(BDelete, null);
    tabTypeSC.add(BAdd, null);
    tabTypeSC.add(BLast, null);
    tabTypeSC.add(BNext, null);
    tabTypeSC.add(BPrev, null);
    tabTypeSC.add(BFist, null);
    tabTypeSC.add(TSCScrollPane, null);
    tabTypeSC.add(TxtDecTSC, null);
    tabTypeSC.add(TxtTypeSC, null);
    tabTypeSC.add(LblDecSC, null);
    tabTypeSC.add(LblTypeSC, null);
    mainTab.addTab("Type SoftWare", tabTypeSC);
    mainTab.addTab("Type Hardware", tabTypeHC);
    THCScrollPane.getViewport().add(TypeHCTable, null);
    tabTypeHC.add(BhClose, null);
    tabTypeHC.add(BhRollback, null);
    tabTypeHC.add(BhCommit, null);
    tabTypeHC.add(BhSubmit, null);
    tabTypeHC.add(BhSearch, null);
    tabTypeHC.add(BhDelete, null);
    tabTypeHC.add(BhAdd, null);
    tabTypeHC.add(BhLast, null);
    tabTypeHC.add(BhNext, null);
    tabTypeHC.add(BhPrev, null);
    tabTypeHC.add(BhFirst, null);
    tabTypeHC.add(THCScrollPane, null);
    tabTypeHC.add(TxtDecTHC, null);
    tabTypeHC.add(TxtTypeHC, null);
    tabTypeHC.add(LblDecTHC, null);
    tabTypeHC.add(LblTypeHC, null);
    topPanel.add(mainTab, BorderLayout.CENTER);
    //hiddenNavBar.setModel(JUNavigationBar.createPanelBinding(panelBinding, hiddenNavBar));
    //navBar.setModel(JUNavigationBar.createPanelBinding(panelBinding, navBar));
    statusBar.setModel(JUStatusBar.createPanelBinding(panelBinding, statusBar));
    LblTypeBC.setText("Type Book Code :");
    LblDecTBC.setText("Description :");
    TxtTypeBC.setDocument((Document)panelBinding.bindUIControl("TypeBc1", TxtTypeBC));
    TxtDecTBC.setDocument((Document)panelBinding.bindUIControl("Description1", TxtDecTBC));
    TypeBCTable.setModel((TableModel)panelBinding.bindUIControl("TypeBookView1", TypeBCTable));
    LblTypeSC.setText("Type Software Code :");
    LblDecSC.setText("Description :");
    TxtTypeSC.setDocument((Document)panelBinding.bindUIControl("TypeSc1", TxtTypeSC));
    TxtDecTSC.setDocument((Document)panelBinding.bindUIControl("Description3", TxtDecTSC));
    TypeSCTable.setModel((TableModel)panelBinding.bindUIControl("TypeSoftwareView1", TypeSCTable));
    LblTypeHC.setText("Type Hardware Code :");
    LblDecTHC.setText("Description :");
    TxtTypeHC.setDocument((Document)panelBinding.bindUIControl("TypeHc1", TxtTypeHC));
    TxtDecTHC.setDocument((Document)panelBinding.bindUIControl("Description5", TxtDecTHC));
    TypeHCTable.setModel((TableModel)panelBinding.bindUIControl("TypeHardwareView1", TypeHCTable));
    BtFirst.setModel((ButtonModel)panelBinding.bindUIControl("First", BtFirst));
    BtFirst.setText("<<");
    BtPrev.setModel((ButtonModel)panelBinding.bindUIControl("Previous", BtPrev));
    BtPrev.setText("<");
    BtNext.setModel((ButtonModel)panelBinding.bindUIControl("Next", BtNext));
    BtNext.setText(">");
    BtLast.setModel((ButtonModel)panelBinding.bindUIControl("Last", BtLast));
    BtLast.setText(">>");
    BtAdd.setModel((ButtonModel)panelBinding.bindUIControl("Create", BtAdd));
    BtAdd.setText("Add");
    BtDel.setModel((ButtonModel)panelBinding.bindUIControl("Delete", BtDel));
    BtDel.setText("Del");
    BtSearch.setModel((ButtonModel)panelBinding.bindUIControl("Find", BtSearch));
    BtSearch.setText("Search");
    BtSubmit.setModel((ButtonModel)panelBinding.bindUIControl("Execute", BtSubmit));
    BtSubmit.setText("Submit");
    BtCommit.setModel((ButtonModel)panelBinding.bindUIControl("Commit", BtCommit));
    BtCommit.setText("Commit");
    BtRollback.setModel((ButtonModel)panelBinding.bindUIControl("Rollback", BtRollback));
    BtRollback.setText("Rollback");
    BFist.setModel((ButtonModel)panelBinding.bindUIControl("First1", BFist));
    BFist.setText("<<");
    BPrev.setModel((ButtonModel)panelBinding.bindUIControl("Previous1", BPrev));
    BPrev.setText("<");
    BNext.setModel((ButtonModel)panelBinding.bindUIControl("Next1", BNext));

  • How can I get a preloader to launch a main (external) swf file, and have the main file remove the preloader once it's fully loaded?

    Using Flash MX, ActionScript 2:
    I’ve been struggling for several weeks, trying to get a preloader to work on a large (~80 MB) photo portfolio file (using the method where the preloader is on frame 1 of the file, and when loading is completed, it jumps to the content).  I’ve done countless tutorials, and none seem to work on my presentation.  I even tried downloading a trial version of CS4 so I could export every one of the file’s library movie clips and images so that they load on Frame 2 (a feature MX doesn’t have).  It takes about 20 seconds for the .exe to load from a CD, and no matter which preloader construction I use, it always seems to appear in the last few seconds before the movie loads completely.  During the initial wait time, there’s no indication that anything is happening:  no hourglass on the mouse, and not even a blank screen. This is only true for the first time that the file is loaded from the CD; on subsequent loads, the file must already be in RAM, because it loads within a few seconds. 
    I decided that I’m going to try and make the file which the user clicks on (one named Windows_Portfolio.exe or another called Mac_Portfolio.hqx) the preloader so that it would be tiny, and would load instantly.  I want that file to launch the external huge portfolio file (renamed files.swf), keep track of its loading progress, and cycle through a slideshow (10 thumbnail images that transition into each other over 100 frames) proportionally, based upon the percentage of files.swf that had been loaded.
    I assume that there should be a loadMovie() or a loadMovieNum() command on the preloader’s timeline to launch files.swf, and that the initial code of files.swf should have some sort of this._parent._visible=false or other way of deleting the preloader on level0.  Can anyone explain the steps to me, or direct me to a good Flash MX tutorial that explains how to launch another external swf from a preloader .exe, keep track of its load progress, and delete the preloader .exe once the external swf had been loaded?
    Also, I’ve read that, using this construction on a CD, every file has to be in the same place, and that I can’t nest files.swf in a folder named “files,” and reference it with files/files.swf.  Is this true?
    Thanks for any assistance you can offer.

    If you know JavaScript (ECMA Script) then you might be able to get it done applying a for loop and a random function
    to the for loop if you know how to get a page-loaded request into JavaScript.
    But an easier solution, if you know ActionScript 3.0, and if your SWF's don't need to be recoded and can load into a "container" SWF would be to create a master FLA file that loads your SWF's in a random fashion using Math.random() as a multiplier, though you won't see much variation if you only have 2-3 SWF's to load--if you had more than that then you would begin to benefit from the random function's capabilities.  In ActionScript 3.0 use the load() method along with addChild() to load the SWF and add it to the stage.  You will be able to search for specifics on how to code the FLA properly by using Flash's Adobe Help tool and also using an internet search.
    -markerline
    P.S. Once you have the master FLA coded you can Publish it to an SWF and an HTML and if the container/master SWF needs to be in a page with other content you can simply copy and paste the object and embed tags for the container SWF from the published HTML into any place on your master HTML that you need it to reside.  You can then use CSS to control placement of the SWF object if it is in a div tag.

Maybe you are looking for

  • How do I make one corner rounded?

    Hey, Firstly, I'm using Illustrator CS6. I'd like to round a specific corner of a shape (a rectangle to be specific). I've seen in other posts that the CornerEffects.jsx script should work. But every time I select my rectangle, go to File > Scripts >

  • How to verify existence/absence of debug information in a jar file

    Given a jar, how can I tell if it contains debug information or not? Is there a tool for this? (e.g, like the 'file' utility on linux, which outputs whether an ELF executable is stripped or not) Amit

  • Need Help with AutoNumbering for Section Heads--Stat!!

    Howdy-- Okay, I'm trying to set up section numbering using autonumbering. I want the Heading1's of my document to have section numbers whose look like: <$chapnum>.1, 2, 3, etc. For example, 2.1, 2.2, 2.3, etc.. where the first number is the chapter n

  • Can not download itunes 7

    I get a win 32 application error after downloading the file and select run.

  • Cross trasported Workflow-How to make it run.?

    Dear Workflow Experts, I trasported a Purchase Order (PO) & Purchase Release Workflow from one system to another system ( It is not from Development to Quality - Its was fromdevelopment system of one line-of business to another  line-of business like