Problem in upload the file...

Hi Gurus,
I am new  in ABAP. I want to upload a file to Application Server.
1. I create a file in Excel and give extension .prn and save on desktop so i think this file is on my presentation server.
2. Now thru ABAP Editor i want to upload this file to Application Server
   Because i have to use this file in BDC.
please give me the process..
Thanks in Advance..
Kind Regards
Yogesh

Hi Yogesh,
   As per the above suggestion you can use CG3Z tcode to upload your file directly from PS(Prersentation Server) to AS (Application Server).
   Otherwise if you need the procedure for coding, then first sav the file in .xls or .csv  or any format and upload the file into an internal table using any standard FM as per the extension ehich you use. Later use OPEN DATASET stmt. and open a file in AS and pass the data from your Internal table into this file through TRANFSER  stmt and after completing the required process use CLOSE DATASET stmt accordingly.
Hope this resolves your query.
Reward all the helpful answers.
Regards
Nagaraj T

Similar Messages

  • Problem while uploading the file page is not forwarding

    Hi,
    Please tell me the solution for this.
    I'm uploading the file, i'm getting the values very thing, but the page is not forwarding what happening i don't no.
    Here is the code.
    <HTML>
    <%@ page language="java" import="javazoom.upload.*,java.util.*" %>
    <%@ page errorPage="ExceptionHandler.jsp" %>
    <HEAD>
    <BODY style="font:'Bookman Old Style' size="3"">
    <jsp:useBean id="upBean" scope="page" class="javazoom.upload.UploadBean" >
    </jsp:useBean>
    <%
    // Uploading file code
    if (MultipartFormDataRequest.isMultipartFormData(request))
    // Uses MultipartFormDataRequest to parse the HTTP request.
         MultipartFormDataRequest mrequest = new MultipartFormDataRequest(request);
    String todo = null;
         if (mrequest != null) todo = mrequest.getParameter("todo");
         if ( (todo != null) && (todo.equalsIgnoreCase("upload")) )
                        Hashtable files = mrequest.getFiles();
         UploadFile file = (UploadFile) files.get("uploadfile");
              if ((file != null) && (file.getFileSize() <= 82000))
                        {System.out.println("<li>Form field : uploadfile"+"<BR> Uploaded file : "+file.getFileName()+" ("+file.getFileSize()+" bytes)"+"<BR> Content Type : "+file.getContentType());
                    // Uses the bean now to store specified by jsp:setProperty at the top.
                        upBean.store(mrequest, "uploadfile");
                        else
                        System.out.println("Not Uploaded");
    if (mrequest != null)
         String Schoolname= mrequest.getParameter("schoolname");
         session.setAttribute("saSchoolname", Schoolname);
    System.out.println("Schoolname     "+Schoolname);
    %>
                        <jsp:forward page="FileTransfer.jsp"/>
    <%     
         else out.println("<BR> todo="+todo);
    //System.out.println(session.getAttribute("saswrite"));
    String amessage = request.getParameter("passmsg");
    %>
    <form name='subregiform' method="POST" onsubmit='return checkForm()' action ="FileSubmit2.jsp" ENCTYPE="multipart/form-data">
    <table width="491" border="0" cellpadding="2" >
    <tr>
    <td width="171" align="right"><br> S.S.C  :</td>
    <td width="103" align="center">Institution Name
         <input type="text" name="schoolname" size = 12 maxlength = 35 value = <%
              if(session.getAttribute("saSchoolname")!= null){%>
         <%=session.getAttribute("saSchoolname")%><%}%>>     </td>
    <tr><td width="165"><div align="right">Upload Resume :<br> <br> <br></div></td>
    <td width="356"><input type="file" name="uploadfile" size = 20>
    <font size=1><br>    <I>(Only .doc,.rtf,.txt,.html)</I></font><BR>
       <% if (amessage !=null){ %><FONT SIZE="" COLOR="RED"><strong><%= amessage %></strong></FONT><% }%> </td>
    </tr>
    <tr>
    <td colspan="2">
    <p align="center">
         <input type="hidden" name="todo" value="upload">
    <input type="submit" name="Submit" value="Submit">
         </p>
    </td>
    </tr>
    </table>
    </form>
    </BODY>
    </HTML>

    This code is a mess! Don't put your logic and control into your JSP; use the JSP only for display!
    As for your error, it's because you can't forward after the response has been committed. An illegal state exception will be thrown except you can't see it in the browser because the server has already committed the response and can't change it now. You need to get rid of the forward action. Put in a link to that page instead. Or use a a meta tag to redirect.
    But really, this code cannot be modified to get rid of the problem. It should be scrapped and you should rethink your design. Have a servlet do your control and all this uploading code should also be put into a servlet; never in a JSP
    People on the forum help others voluntarily, it's not their job.
    Help them help you.
    Learn how to ask questions first: http://faq.javaranch.com/java/HowToAskQuestionsOnJavaRanch
    (Yes I know it's on JavaRanch but I think it applies everywhere)
    Edited by: nogoodatcoding on Oct 5, 2007 2:56 PM

  • Problem in uploading the file of internal table into appliaction server

    i want to send the data of internal table to application server through selection screen and in selection screen and in selection screen parameter it should show the path of application server and through that path internal table data should go to application server , if possible give the code

    Hi,
    form download_file_appl_server.
      open dataset p_dlf2 for output
              in text mode encoding default .
      if sy-subrc ne 0.
        message:i005 with text-415 text-407.
      endif.
      loop at i_final into wa_final.
        transfer wa_final to p_dlf2.
      endloop.
      close dataset p_dlf2.
    endform.                    " OPENDATA_CLOSE
    where p_dlf2 is the seelction screen parameter which give the application server file path
    You can use this code for ur purpose.
    Reward if useful.
    Regards
    Shibin

  • Jlaunch process using High CPU, while uploading the files in XI system

    Hi,
    we are facing  jlaunch high cpu usage problems, while uploading the files of more than 25MB, in XI system. PIAFUSER is running on PRIV mode and huge java core dumps and heapdumps are  getting generated in server0 node
    error message->  - Out of memory situations running XI
    Exception thrown [Fri Sep 30 13:57:27,855]:Exception thrown by application running in JCo Server
    java.lang.Exception: java.lang.OutOfMemoryError
         at com.sap.engine.services.rfcengine.RFCDefaultRequestHandler.handleRequest(RFCDefaultRequestHandler.java:237)
         at com.sap.engine.services.rfcengine.RFCJCOServer$J2EEApplicationRunnable.run(RFCJCOServer.java:254)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(AccessController.java:219)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)
    first , we tested in Quality system, where,we are getting same problems as well.
    SAP Note 146289 - Parameter Recommendations for 64-Bit
    increased em/intial_size_MB  from 512MB to 2 GB and em/global_area_MB value from 96 to 256
    SAP Note 723909 - Java VM settings for J2EE 6.40/7.0
    we added some jvm parameters in confitool
    -Djava.awt.headless=true
    -XX:+UseParNewGC
    -XX:+PrintGCTimeStamps
    Present  JVM values in XQ1 system..
    Xmx  value 3072
    xms  value 2048
    xmn  value 1000
    we have tested JCo RFC's  AI_DIRECTORY_JCOSERVER and AI_RUNTIME_JCOSERVER , connection test was OK.
    We increased parameter com.sap.aii.ib.client.jnlp.j2se.maxheapsize from 512m to 800m
    Please advice me.. how to proceed..
    regards,
    balaram

    Hi Balaram,
    Kindly review below note, Hope it suits.
    716927 - Overview of AIX JVM for NetWeaver 2004 and 7.0 (2004s).
    Regards,
    Mani

  • How to avoid the split problem when uploading the data from csv file

    Dear Friends,
                  I have to upload data from the .csv file to my custom table , i have found a problem when uploading the data .
    i am using the code as below , please suggest me what i have to do in this regard
          SPLIT wa_raw_csv  AT ',' INTO
                    wa_empdata_csv-status
                     wa_empdata_csv-userid
                     wa_empdata_csv-username
                     wa_empdata_csv-Title
                     wa_empdata_csv-department.
    APPEND wa_empdata_csv TO  itab.
    in the flat file i can see for one of the record for the field Title  as
    Director, Finance - NAR............there by through my code the  wa_empdata_csv-Title is getting splited data as "Director, and  Department field is getting Finance - NAR" , i can see that even though  " Director, Finance - NAR"  is one word it is getting split .
    .......which is the problem iam facing.Please could any body let me know how in this case i should handle in my code that this word
    "Director,Finance - NAR"   wil not be split into two words.
    Thanks & Records
    Madhuri

    Hi Madhuri,
    Best way to avoid such problem is to use TAB delimited file instead of comma separated data. Generally TAB does not appear in data.
    If you are generating the file, use tab instead of comma.
    If you cannot modify the format of file and data length in file is fixed character, you will need to define the structure and then move data in fixed length structure.
    Regards,
    Mohaiyuddin

  • Problem in Uploading a File by Applet

    Hi Members,
    * I have faced problem while uploading a file from client to server by ftp protocol using APPLET(No JSP) only
    * I am getting exception while running....
    * My source code is as follows,
    import java.awt.*;
    import java.applet.*;
    import java.awt.event.*;
    import java.io.BufferedInputStream;
    import java.io.BufferedOutputStream;
    import java.io.File;
    import java.io.FileInputStream;
    import java.io.IOException;
    import java.net.MalformedURLException;
    import java.net.URL;
    import java.net.URLConnection;
    public class UploadAndDownload extends Applet implements ActionListener {
         Button upload;
         Button browse;
         TextField filename;
         File source = null;
         Label name;
         StringBuffer sb;
         BufferedInputStream bis = null;
         BufferedOutputStream bos = null;
         public void init() {
              setLayout(new FlowLayout());
              upload = new Button("Upload");
              browse = new Button("Browse");
              name = new Label("Filename");
              filename = new TextField("", 45);
              add(name);
              add(filename);
              add(upload);
              add(browse);
              upload.addActionListener(this);
              browse.addActionListener(this);
         public void actionPerformed(ActionEvent evt) {
              // Code for browsing a file
              String input_file_name = "";
              if (evt.getSource() == browse)
                   Frame parent = new Frame();
                   FileDialog fd = new FileDialog(parent, "Select a file", FileDialog.LOAD);
                   fd.setVisible(true);
                   input_file_name = fd.getFile();
                   filename.setText(input_file_name);
                   // Gets the file from the file dialog and assign it to the source
                   source = new File(input_file_name);
                   repaint();
              // Code for Uploading a file to the server
              if (evt.getSource() == upload) {
                   // Appending the server pathname in string buffer
                   sb = new StringBuffer("ftp://");
                   sb.append("2847");
                   sb.append(':');
                   sb.append("Websphere25");
                   sb.append("@");
                   sb.append("172.16.1.111");
                   sb.append('/');
                   sb.append(input_file_name);
                   sb.append(";type=i");
                   try {
                        URL url = new URL(sb.toString());
                        URLConnection urlc = url.openConnection();
                        bos = new BufferedOutputStream(urlc.getOutputStream());
                        bis = new BufferedInputStream(new FileInputStream(source));
                        int i;
                        // Read from the inputstream and write it to the outputstream
                        while ((i = bis.read()) != -1) {
                             bos.write(i);
                   } catch (MalformedURLException e) {
                        e.printStackTrace();
                   } catch (IOException e) {
                        e.printStackTrace();
                   } finally {
                        if (bis != null)
                             try {
                                  bis.close();
                             } catch (IOException ioe) {
                                  ioe.printStackTrace();
                        if (bos != null)
                             try {
                                  bos.close();
                             } catch (IOException ioe) {
                                  ioe.printStackTrace();
    MY EXCEPTION IS,
    Exception in thread "AWT-EventQueue-2" java.security.AccessControlException: access denied (java.net.SocketPermission 172.16.1.111:80 connect,resolve)
         at java.security.AccessControlContext.checkPermission(Unknown Source)
         at java.security.AccessController.checkPermission(Unknown Source)
         at java.lang.SecurityManager.checkPermission(Unknown Source)
         at java.lang.SecurityManager.checkConnect(Unknown Source)
         at sun.net.www.http.HttpClient.openServer(Unknown Source)
         at sun.net.www.http.HttpClient.<init>(Unknown Source)
         at sun.net.www.http.HttpClient.New(Unknown Source)
         at sun.net.www.http.HttpClient.New(Unknown Source)
         at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source)
         at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
         at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
         at sun.net.www.protocol.ftp.FtpURLConnection.connect(Unknown Source)
         at sun.net.www.protocol.ftp.FtpURLConnection.getOutputStream(Unknown Source)
         at UploadAndDownload.actionPerformed(UploadAndDownload.java:68)
         at java.awt.Button.processActionEvent(Unknown Source)
         at java.awt.Button.processEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)* Please let me know what problem in my code....
    * Thanks in advance....

    * Thanks for your reply....
    * I have signed my policy file by giving AllPermission and mentioned in java.security file in bin folder....
    * My question is , by giving AllPermission , can we access and do all permissions like ( SecurityPermission, AWTPermission, SocketPermission, NetPermission, FilePermission, SecurityPermission etc )...
    * My policy file is looks like follow,
    /* AUTOMATICALLY GENERATED ON Tue Apr 16 17:20:59 EDT 2002*/
    /* DO NOT EDIT */
    grant {
      permission java.security.AllPermission;
    };* If i signed the policy like above, and when i run the applet file in InternetExplorer now , it thorws the following exception on my console,
    java.net.ProtocolException: cannot write to a URLConnection if doOutput=false - call setDoOutput(true)
         at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(Unknown Source)
         at sun.net.www.protocol.ftp.FtpURLConnection.getOutputStream(Unknown Source)
         at UploadAndDownload.actionPerformed(UploadAndDownload.java:68)
         at java.awt.Button.processActionEvent(Unknown Source)
         at java.awt.Button.processEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)* Please let me know , how to solve this and give me your suggestion on the above process...
    * Thanks in advance...
    Regards,
    JavaImran

  • Problem with uploading a file in Clustered Environment

    Hi,
    I have a problem with uploading a file in a clustered environment. I have an iview component which facilitates an upload action of an xml config file. The problem is that the upload of the modified XML file is reflected only in the central instance of the cluster and not in the dialog instances. The dialog instances hold the old config file.
    Is there any solution to upload the file to all the nodes in the cluster.
    Thanks
    Kiran

    Hi,
    This is a known problem with clustered environment. Remember that your portal component runs on just on dialog instance and it doesn't automatically have access to the other nodes.  However, there are some ways to get around this
    1. Use KM to store files. KM is a common repository for all application servers and therefore you needn't worry more
    2. Use an external batch oriented product (suresync/robocopy) to synch folders on the different DIs. You basically use your existing portal component, but there is a batch job which makes sure the upload folder is identical on all DIs (however, there is a slight delay depending on how often you run the batch job)
    3. Store the files on a shared disk directly from the portal component.
    Cheers
    Dagfinn

  • How to upload the files using struts

    Hi all
    My requierment is to upload the files from the client machine and save it on the server, the file size must not increase more than 250 MB and to validate that we cannot do validation on the client machine so we have to validate it on the server side. below is my code kindly go through it if there is any problem in Bussiness Logic
    1>Upload.jsp
    2>UploadForm.java
    3>UploadAction.java
    *1>Upload.jsp*
    <%@ page language="java"%>
    <%@ page import="java.io.*"%>
    <%@ taglib uri="/WEB-INF/struts-bean" prefix="bean" %>
    <%@ taglib uri="/WEB-INF/struts-html" prefix="html" %>
    <html>
    <body bgcolor="white">
    <form name="uploadForm" action="TestApplication/upload" method="post" enctype="multipart/form-data">
    <table>
    <tr>
    <td align="center" colspan="2">
    <font size="4">Please Enter the Following Details</font>
    </tr>
    <tr>
    <td align="left" colspan="2">
    <font color="red"></font>
    </tr>
    <tr>
    <td align="right">
    File Name
    </td>
    <td align="left">
    <input type="file"  name="theFile">
    </td>
    </tr>
    <tr>
    <td align="center" colspan="2">
    <input type="submit" value="UPLOAD">
    </td>
    </tr>
    </table>
    </form>
    </body>
    </html>*2>UploadForm.java*
    package com.MyPack.Datamatics;
    import org.apache.struts.action.ActionForm;
    import org.apache.struts.upload.FormFile;
    public class UploadForm extends ActionForm
         private static final long serialVersionUID = 1L;
    private FormFile theFile;
       public UploadForm(){}
       * @return Returns the theFile.
      public FormFile getThefile() {
        return theFile;
       * @param theFile The FormFile to set.
      public void setThefile(FormFile theFile) {
        this.theFile = theFile;
    } *3>UploadAction.java*
    package com.MyPack.Datamatics;
    import java.io.File;
    import java.io.FileNotFoundException;
    import java.io.FileOutputStream;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    import org.apache.struts.action.Action;
    import org.apache.struts.action.ActionForm;
    import org.apache.struts.action.ActionForward;
    import org.apache.struts.action.ActionMapping;
    import org.apache.struts.upload.FormFile;
    public class UploadAction extends Action
      public ActionForward execute(
        ActionMapping am,
        ActionForm af,
        HttpServletRequest req,
        HttpServletResponse res) throws Exception{
         UploadForm myForm = (UploadForm)af;
            // Process the FormFile
            FormFile myFile = myForm.getThefile();
            String contentType = myFile.getContentType();
            String fileName    = myFile.getFileName();
              int fileSize       = myFile.getFileSize();
              String data="";
              try{
            java.io.InputStream fileData  = myFile.getInputStream();
             String path="E:/store";
              File f = new File(path);
              java.io.OutputStream outputStream = new FileOutputStream(f+"/"+fileName);
              int temp = 0;
              byte[] buffer = new byte[8192];
              temp = fileData.read(buffer, 0, 8192);
              while ((temp) != -1) {
              outputStream.write(buffer, 0, temp);
                   outputStream.close();
                   data = "file has beeb written to E:/store" + fileName;
                   fileData.close();
              catch (FileNotFoundException fnf)
              { System.out.println("Cannot Found the file");
               System.out.println(data);
              System.out.println("contentType: " + contentType);
             System.out.println("File Name: " + fileName);
             System.out.println("File Size: " + fileSize);
          return am.findForward("success");
    }Thanks in Advance

    [help link 1|http://www.roseindia.net/struts/strutsfileuploadandsave.shtml]
    [help link 2|http://www.roseindia.net/struts/strutsfileupload.shtml]

  • GUI_UPLOAD - Problem in uploading xml file

    Hi,
    I have problem in uploading xml file into itab.
    Here is the code
    begin of GS_STRING,
            STR(72) type C,
          end of GS_STRING,
          GT_STRING like standard table of GS_STRING,
    call function 'GUI_UPLOAD'
          EXPORTING
            FILENAME                = FILE_NAME
            FILETYPE                = 'ASC'
          TABLES
            DATA_TAB                = GT_STRING
          EXCEPTIONS
            FILE_OPEN_ERROR         = 1
            FILE_READ_ERROR         = 2
            NO_BATCH                = 3
            GUI_REFUSE_FILETRANSFER = 4
            INVALID_TYPE            = 5
            NO_AUTHORITY            = 6
            UNKNOWN_ERROR           = 7
            BAD_DATA_FORMAT         = 8
            HEADER_NOT_ALLOWED      = 9
            SEPARATOR_NOT_ALLOWED   = 10
            HEADER_TOO_LONG         = 11
            UNKNOWN_DP_ERROR        = 12
            ACCESS_DENIED           = 13
            DP_OUT_OF_MEMORY        = 14
            DISK_FULL               = 15
            DP_TIMEOUT              = 16
            others                  = 17.
        if SY-SUBRC <> 0.
          message I499(SY) with 'File upload failed'.
          stop.
        endif.
      endif.
    In debuggin mode, i can see the itab uploaded with xml payload. But in that same place, the hexadecimal format has double zeros 00 after each character.
    XML message : <?xml
    Correct Hexadecimal : 3C3F786D6C
    Hexadecimal in itab  : 3C003F0078006D006C00
    This makes the resultant xml invalid.
    can anyone help me to solve this?
    Thanks,
    Uma
    Edited by: Uma Maheswari on May 30, 2008 4:15 PM

    what do you want to do with the uploaded XML?
    i use the following
    constants: line_size type i value 255.
    data: begin of xml_tab occurs 0,
               raw(line_size) type x,
            end   of xml_tab,
            file  type string,
            size  type i.
    call function 'GUI_UPLOAD'
        exporting
          filename            = filename
          filetype            = 'BIN'
          has_field_separator = ' '
          header_length       = 0
        importing
          filelength          = size
        tables
          data_tab            = xml_tab
        exceptions
          others              = 1.

  • Object to upload the file in SAP

    Hi All
    I have a problem while uploading the .txt file, when i am trying to upload it just says upload failed, I added
    the objects S_GUI and S_DATASET objects,but still  no effect. Can any body provide any information or hint.
    I ran Su53 and this is showing no conflict authorization.
    <removed_by_moderator>
    Thanks
    Deep
    Edited by: Julius Bussche on Oct 2, 2009 8:54 PM

    Hi
    when I am checking the log of the upload it is showing this
    10/02/2009                                  Dynamic List Display                                          1
    Type
    Message text
    LTxt
    File C:\Documents and Settings\hbajwa\Desktop\AFSC 100. was imported with file description AFSC
    The row inserted cannot be processed manually
    Cost Element:10000
    Cost Element:10250
    Cost Element:10500
    Cost Element:10750
    Cost Element:20000
    Cost Element:20250
    Cost Element:20500
    Cost Element:20750
    Cost Element:30000
    Cost Element:30250
    Cost Element:30500
    Cost Element:30750
    Cost Element:40000
    Cost Element:40250
    Cost Element:40500
    Cost Element:40750
    Cost Element:50000
    Error occurred when generating data for the planning processor
    Thanks
    deep

  • How to use the applet to upload the file ?

    I am facing a problem that , I don't know how to use applet to upload the file to server .
    I have the code to upload the file by using servlet .
    However , I want to use applet to upload the file .But , the format of servlet I have used is "multipart/form-data"
    but applet can not do so , I think it is the header of the data . I don't know what can I do .....
    Can anyone give me some suggestion or coding to write the file upload by using applet ?
    Besides , using the socket are there any other choices ?
    thx a lot !!!!

    Well, to upload files you need to
    Server App - running on the webserver
    1. Open a socket
    (Study the classes Socket, InputStream, OutputStream in the Java API)
    2. Wait for connection.
    3. Open FileOutputStream
    3. Read data from InputStream, Write to FileOutputStream
    4. Close InputStream and FileOutputStream
    Applet
    1. Open a filedialog (Swing, AWT)
    2. Open file (FileInputStream)
    3. Connect to uploadServer (steps described above)
    4. Read FileInputStream, write OutputStream
    5. Close File and Socket
    This is just simpl and basic terms get you on the right track
    Jonas

  • WHen I choose an album, upload a file(s), just as the file(s) is uploaded the file I have chosen disappears and I am asked to choose album again. If I ignore this and drag a file onto the sceneline, I get the "where is the file " message" and when click o

    WHen I choose an album, upload a file(s), just as the file(s) is uploaded the file I have chosen disappears and I am asked to choose album again. If I ignore this and drag a file onto the sceneline, I get the "where is the file " message" and when click on the file it is looking for I get the message "This type of file is not supported, or the required codec is not installed". I have made many little films before but always have this problem now. Any suggestions?

    Margaret
    Although we are continents apart - Australia (Perth) vs North America (US), we will not let time zones interfere with getting your Premiere Elements 8.0/8.0.1 working.
    1. The usual Premiere Elements 8 drill.
    a. Are the automatic features of Background Rendering and AutoAnalzyer turned Off?
    For Background Rendering, see Premiere Elements workspace Edit Menu/Preferences/General. For AutoAnalzyer, see Elements Organizer workspace Edit Menu/Preferences/AutoAnalyzer Options.
    b. Are you running the program from the 8.0.1 Update? If not, see Help Menu/Update?
    c. Do you have the latest version of QuickTime installed on your computer with Premiere Elements 8.0/8.0.1?
    Apple - QuickTime - Download
    2. The usual computer drill....for your Windows XP 32 bit (SP3, I presume)
    a. Is computer opitimized, defragmented, etc.
    CCleaner - PC Optimization and Cleaning - Free Download
    b. Are you running your computer from a User Account with Administrative Privileges? That is important for Premiere Elements 8 as well as for its
    required QuickTime. In addition, right click the computer desktop icon for Premiere Elements 8 and select and apply Run As Administrator.
    3. Project Specifics
    For now, import your source media into the project from the computer hard drive using the project's Get Media/Files and Folders. Leave the Elements Organizer and Albums out of the equation for now. We will circle back to it soon after we decide everything else is working as it should be.
    a. You need to set a project preset. And, that project preset should match the properties of your source media. So important to know properties of source media.
    b. When you import your source media into a project you will get a red line over its content if the project preset is not a match - either because you set the wrong one or the program does not have a match for your particular video. That red line means that you are not seeing the best possible preview of what is being played back in the Edit area monitor. To get the best possible preview, you hit the Enter key of the computer main keyboard to get a rendered Timeline (red line goes from red to green after this type of rendering). That green line over your rendered Timeline indicates that you are now getting the best possible preview. This is solely a preview thing. Longer story, but I will leave it at that for now.
    c. Check Edit Menu/Preferences/Scratch Disks to assure that those Scratch Disks are being saved to a computer hard drive location with enough free space to accept them. Make sure that you do not have pile ups of previews files, conformed audio files, and conformed video files.
    See Local Disk C\Documents and Settings\Owner\My Documents\Adobe\Premiere Elements\9.0
    Never move, delete, or rename source files after they have been imported into a project which has been saved/closed. Otherwise, nasty media disconnect problems. You have only copies of media in Premiere Elements. The originals are on the hard drive, and the project must trace back to the originals where they were at import.
    Based on the above, try to start a new project. But, let me know ahead of time what you will be importing into the project. I am looking for
    Video
    video compression
    audio compression
    frame size
    frame rate
    interlaced or progressive
    pixel aspect ratio
    If you do not know, we could try to get that type of information from knowing the brand/model/settings for the camera that recorded the video.
    Photos
    Pixel dimensions and how many photos?
    Lots and lots of details, but eventually they all mellow into one workflow that you can customize for your projects.
    Please do not hesitate to ask questions or to ask for clarification. We can go at whatever pace you feel comfortable with.
    ATR

  • Uploading the file as a blob to oracle database

    Hi..I wrote a program to upload the files as a blob to the database. It works fine for JSP files but when i try to upload a css file...it gives "No more data to read from socket" exception. I have tried all combinations like trying to upload css file first and then a jsp file and then multiple jsp file and then a css file and so on, thinking that it might be a storage problem. But it gives an error only for the css files...could there be any delimiter kind of symbol or something in the css file which make the oracle think that it is the end of file? Just a guess...any help is appreciated...
    n btw i upload the file using the file input stream and then i use preparedStatement.setBinaryStream method ....
    TIA

    Damn it...I cant believe that i took this long to figure it out...the maximum size of the file that my blob can store is 4 kb...and all my css files are bigger than that...wasted so many hours on this...:(

  • UCCX 8.0 "Error while uploading the file. Please try again."

    I was on UCCX  version 8.0.2.11003-10 and i was able to upload an script with the same name as an old one (overwrite).
    Upgrade to  UCCX 8.0.2.11004-12 and now I am receiving the error: "Error while uploading the file. Please try again."
    There was a bug CSCth09248 that affected version 7 but supposed to be fixed on version 8 and was fixed on an earlier version. But after moving to a minor patch, problem came back...
    Any ideas?

    Hi,
    I belive the bug was initially opened to fix the issue when uploading script fails when using wizard to configure uccx.
    But now they have re-opened the same bug instead of opened a new one for the issue that you have.
    I looked at the case attached to that bug, case # 617145545. Below is the problem description that customer has which is same as yours and this bug has been re-opened to fix this particular problem.
    When I tried to upload a modified script with an existing file name, the message "script file already exists.
    Overwrite existing script file, continue?" comes up and when I select "OK" then,
    it dispaly Status "Error while uploading the file.  Please try again".
    If I remove an existing file first, it will upload fine.  
    Using UCCX Admin 8.0.2.11004-12 and UCCX Editor 8.0(2.0).
    Thanks
    Ankita

  • Images of gallery doesn't load when I upload the files on server

    The gallery works fine when the files is on my computer but when I upload the files on my server the images doesn't load.
    I'm using xml file to load the images. Here is the code of the gallery:
    function loadPlayList(url:String) {
              delete myMO.onMouseWheel;
              delete myKO.onKeyDown;
              for (var i in infostruc) {
                        root["_ref"+i] = root["_bmd"+i]=false;
              loadedAll = false;
              infostruc = [];
              for (var i in root) {
                        if ((root[i]._name.substr(0, 3) == "art" || root[i]._name.substr(0, 10) == "reflection") && (parseInt(root[i]._name.split("art")[1]) || parseInt(root[i]._name.split("reflection")[1]))) {
                                  root[i].swapDepths(root.getNextHighestDepth());
                                  root[i].removeMovieClip();
              current = 1;
              root.createEmptyMovieClip("loader", root.getNextHighestDepth());
              xmlData.load(url);
    function init(Void):Void {
              myMO = {};
              myKO = {};
              Mouse.addListener(myMO);
              Key.addListener(myKO);
              for (var i in infostruc) {
                        loader.clear();
                        loader.gradient_mc.removeMovieClip();
                        loader.attachMovie("default", "art", 1);
                        root["_shelveCDWidth"+i] = shelveCDWidth;
                        root["_shelveCDHeight"+i] = shelveCDHeight;
                        root["_frontCDWidth"+i] = frontCDWidth;
                        root["_frontCDHeight"+i] = frontCDHeight;
                        this["_bmd"+i] = new BitmapData(loader._width, loader._height);
                        this["_ref"+i] = new BitmapData(loader._width, loader._height);
                        this["_bmd"+i].draw(loader);
                        var mc:MovieClip = loader.createEmptyMovieClip("gradient_mc", loader.getNextHighestDepth());
                        matrix = new Matrix();
                        matrix.createGradientBox(loader._width, loader._height, reflectionRotation/180*Math.PI, 0, 0);
                        mc.beginGradientFill(reflectionFillType, reflectionColors, reflectionAlphas, reflectionRatios, matrix, reflectionSpreadMethod, reflectionInterpolationMethod, reflectionFocalPointRatio);
                        mc.moveTo(0, 0);
                        mc.lineTo(0, loader._height);
                        mc.lineTo(loader._width, loader._height);
                        mc.lineTo(loader._width, 0);
                        mc.lineTo(0, 0);
                        mc.endFill();
                        loader.art._alpha = reflectionAlpha;
                        loader.beginFill(reflectionBackgroundColour);
                        loader.moveTo(0, 0);
                        loader.lineTo(0, loader._height);
                        loader.lineTo(loader._width, loader._height);
                        loader.lineTo(loader._width, 0);
                        loader.lineTo(0, 0);
                        loader.endFill();
                        this["_ref"+i].draw(loader);
              for (var i:Number = count=0; count<stageWidth-(centerDistance*3); count += shelveCDSpacing, i++) {
                        var cArt:MovieClip = this.createEmptyMovieClip("art"+this.getNextHighestDepth(), this.getNextHighestDepth());
                        var rArt:MovieClip = this.createEmptyMovieClip("reflection"+(this.getNextHighestDepth()-1), this.getNextHighestDepth());
                        rArt.id = cArt.id=rArt.cid=cArt.cid=Number(i)+1;
                        rArt._x = cArt._x=stageWidth;
                        cArt.DistortImage(this["_bmd"+cArt.id]);
                        controlTheObject(cArt);
                        rArt.DistortImage(this["_ref"+cArt.id]);
                        controlTheObject(rArt);
                        var tmpFilter:BlurFilter = new BlurFilter(reflectionBlurX, reflectionBlurY, reflectionQuality);
                        rArt.filterArray = cArt.filterArray=[];
                        rArt.filterArray[0] = tmpFilter;
                        rArt.filters = rArt.filterArray;
                        tmask = mask.duplicateMovieClip("_mask"+cArt.id, this.getNextHighestDepth(), {_x:mask._x, _y:mask._y});
                        rmask = mask.duplicateMovieClip("_rmask"+cArt.id, this.getNextHighestDepth(), {_x:mask._x, _y:mask._y});
                        cArt.setMask(tmask);
                        rArt.setMask(rmask);
                        rArt._visible = cArt._visible=false;
              myMO.onMouseWheel = function(delta:Number):Void  {
                        if (delta>0) {
                                  next();
                        } else if (delta<=0) {
                                  previous();
              myKO.onKeyDown = function():Void  {
                        if (Selection.getFocus() != "_level0.goto") {
                                  if (Key.isDown(Key.RIGHT)) {
                                            next();
                                  } else if (Key.isDown(Key.LEFT)) {
                                            previous();
              scrollBar.scroller.onPress = function():Void  {
                        dist = this._parent._xmouse-this._x;
                        this.onMouseMove = function():Void  {
                                  tmp = 1+Math.ceil(((this._parent._xmouse-dist)-scrollBarStart)/(scrollBar._width-scrollBarStop)*(infostruc.length-1));
                                  if (tmp>infostruc.length) {
                                            tmp = infostruc.length;
                                  if (tmp<1) {
                                            tmp = 1;
                                  current = tmp;
                                  updateInfo();
              scrollBar.scroller.onRelease = scrollBar.scroller.onReleaseOutside=function ():Void {
                        stopDrag();
                        delete this.onMouseMove;
              scrollBar.left.onPress = function():Void  {
                        previous();
                        shifter = setInterval(previous, scrollerDelay);
              scrollBar.right.onPress = function():Void  {
                        next();
                        shifter = setInterval(next, scrollerDelay);
              scrollBar.onMouseUp = function():Void  {
                        clearInterval(shifter);
              scrollBar.onMouseDown = function():Void  {
                        if (this.hitTest(_xmouse, _ymouse, true) && !this.left.hitTest(_xmouse, _ymouse, true) && !this.right.hitTest(_xmouse, _ymouse, true)) {
                                  if (this._xmouse<this.scroller._x) {
                                            previous();
                                            shifter = setInterval(previous, clickDelay);
                                  if (this._xmouse>this.scroller._x+this.scroller._width) {
                                            next();
                                            shifter = setInterval(next, clickDelay);
              goto.restrict = "0-9";
              goto.onKillFocus = function():Void  {
                        if (!isNaN(Number(this.text)+1)) {
                                  if (this.text>infostruc.length) {
                                            this.text = infostruc.length;
                                  if (this.text<1) {
                                            this.text = 1;
                                  current = Number(this.text);
                        } else {
                                  this.text = current;
                        updateInfo();
              fscreen.onPress = function():Void  {
                        fscommand("fullscreen", !(this._currentframe-1));
                        this.gotoAndStop(!(this._currentframe-1)+1);
              slideShow.onPress = function():Void  {
                        if (this._currentframe == 1) {
                                  sliderShow = setInterval(function ():Void {
                                            if (current<infostruc.length) {
                                                      next();
                                            } else if (slideshowLooping) {
                                                      current = 0;
                                                      next();
                                  }, slideshowSpeed);
                        } else {
                                  clearInterval(sliderShow);
                        this.gotoAndStop(!(this._currentframe-1)+1);
              distance = Number(i);
              mask.removeMovieClip();
              fscreen.swapDepths(1102);
              slideShow.swapDepths(1103);
              scrollBar.swapDepths(1101);
              i2.swapDepths(1105);
              i1.swapDepths(1106);
              loader.removeMovieClip();
              loadNext();
              updateInfo();
    function concat(m1, m2):Object {
              var mat:Object = {};
              mat.a = m1.c*m2.b;
              mat.b = m1.d*m2.b;
              mat.c = m1.a*m2.c;
              mat.d = m1.b*m2.c;
              mat.tx = m1.a*m2.tx+m1.c*m2.ty+m1.tx;
              mat.ty = m1.b*m2.tx+m1.d*m2.ty+m1.ty;
              return mat;
    function updateInfo():Void {
              goto.text = current;
              info = infostruc[current-1].info;
              author = infostruc[current-1].auth;
              album = infostruc[current-1].album;
              displayAlternArt(root["_bmd"+(current-1)], artDisplay._width, artDisplay._height);
              scrollBar.scroller._x = scrollBarStart+((current-1)/(infostruc.length-1)*(scrollBar._width-scrollBarStop));
    function brightness(_prop:String, _old:Number, _new:Number, target:MovieClip):Void {
              var brightness_array:Array = [1, 0, 0, 0, _new, 0, 1, 0, 0, _new, 0, 0, 1, 0, _new, 0, 0, 0, 1, 0];
              target.filterArray[1] = new ColorMatrixFilter(brightness_array);
              target.filters = target.filterArray;
    function controlTheObject(mc):Void {
              if (mc._name.indexOf("reflection") == -1) {
                        mc.onPress = function():Void  {
                                  if ((getTimer()-this.pressTime<=doubleClickRegister && this.pressTime) || !doubleClickURL) {
                                            if (infostruc[this.cid].urlToGet) {
                                                      getURL(infostruc[this.cid].urlToGet, "_"+infostruc[this.cid].urlAction);
                                  this.pressTime = getTimer();
                                  current = this.cid+1;
                                  updateInfo();
              mc.watch("_brightness", brightness, mc);
              mc.onEnterFrame = function():Void  {
                        this._visible = true;
                        if (infostruc[this.cid].loaded && !this.loadedImage) {
                                  this.allowUpdate = true;
                                  this.DistortImage(this._name.indexOf("reflection")>-1 ? this._parent["_ref"+this.cid] : this._parent["_bmd"+this.cid]);
                                  this.setTransform(this.px1, this.py1, this.px2, this.py2, this.px3, this.py3, this.px4, this.py4);
                                  this.loadedImage = true;
                        if (Math.round(Math.abs(this._x-this.x))>=1 || this.allowUpdate) {
                                  if (this._name.indexOf("reflection") == -1) {
                                            this._y = centerY+((shelveCDHeight/2)-(this._parent["_shelveCDHeight"+this.cid]/2));
                                            if (this._x>=centerX+centerDistance) {
                                                      this.swapDepths(-this._x);
                                                      this.setSides(-(this._parent["_shelveCDWidth"+this.cid]/2), -(this._parent["_shelveCDHeight"+this.cid]/2)+((Math.sin(angle*Math.PI/180)*this._parent["_frontCDWidth"+this.cid])), this._parent["_shelveCDWidth"+this.cid]/2, -(this._parent["_shelveCDHeight"+this.cid]/2), this._parent["_shelveCDWidth"+this.cid]/2, this._parent["_shelveCDHeight"+this.cid]/2, -(this._parent["_shelveCDWidth"+this.cid]/2), (this._parent["_shelveCDHeight"+this.cid]/2)-((Math.sin(angle*Math.PI/180)*this._parent["_frontCDWidth"+this.cid])));
                                            } else if (this._x<=centerX-centerDistance) {
                                                      this.swapDepths(this._x);
                                                      this.setSides(-(this._parent["_shelveCDWidth"+this.cid]/2), -(this._parent["_shelveCDHeight"+this.cid]/2), this._parent["_shelveCDWidth"+this.cid]/2, -(this._parent["_shelveCDHeight"+this.cid]/2)+(Math.sin(angle*Math.PI/180)*this._parent["_frontCDWidth"+this.cid]), this._parent["_shelveCDWidth"+this.cid]/2, (this._parent["_shelveCDHeight"+this.cid]/2)-(Math.sin(angle*Math.PI/180)*this._parent["_frontCDWidth"+this.cid]), -(this._parent["_shelveCDWidth"+this.cid]/2), this._parent["_shelveCDHeight"+this.cid]/2);
                                            } else if (this.cid == current-1 || this.cid == current || this.cid == current-2) {
                                                      if (this._x>centerX-centerDistance && Math.floor(this._x)<centerX && angle-((this._x-(centerX-centerDistance))/centerDistance*angle)>autoJump) {
                                                                this.swapDepths(1002);
                                                                var sum:Number = this._parent["_shelveCDWidth"+this.cid]+((this._x-(centerX-centerDistance))/centerDistance*(this._parent["_frontCDWidth"+this.cid]-this._parent["_shelveCDWidth"+this.cid]));
                                                                var sum2:Number = angle-((this._x-(centerX-centerDistance))/centerDistance*angle);
                                                                var sum3:Number = this._parent["_shelveCDHeight"+this.cid]+((this._x-(centerX-centerDistance))/centerDistance*(this._parent["_frontCDHeight"+this.cid]-this._parent["_shelveCDHeight"+this.cid]));
                                                                this.setSides(-(sum/2), -(sum3/2), sum/2, -(sum3/2)+((Math.sin(sum2*Math.PI/180)*this._parent["_frontCDWidth"+this.cid])), sum/2, (sum3/2)-((Math.sin(sum2*Math.PI/180)*this._parent["_frontCDWidth"+this.cid])), -(sum/2), sum3/2);
                                                      } else if (this._x<centerX+centerDistance && Math.ceil(this._x)>centerX && angle-(((centerX+centerDistance)-this._x)/centerDistance*angle)>autoJump) {
                                                                this.swapDepths(1003);
                                                                var sum:Number = this._parent["_shelveCDWidth"+this.cid]+(((centerX+centerDistance)-this._x)/centerDistance*(this._parent["_frontCDWidth"+this.cid]-this._parent["_shelveCDWidth"+this.cid]));
                                                                var sum2:Number = angle-(((centerX+centerDistance)-this._x)/centerDistance*angle);
                                                                var sum3:Number = this._parent["_shelveCDHeight"+this.cid]+(((centerX+centerDistance)-this._x)/centerDistance*(this._parent["_frontCDHeight"+this.cid]-this._parent["_shelveCDHeight"+this.cid]));
                                                                this.setSides(-(sum/2), -(sum3/2)+((Math.sin(sum2*Math.PI/180)*this._parent["_frontCDWidth"+this.cid])), sum/2, -(sum3/2), sum/2, sum3/2, -(sum/2), (sum3/2)-((Math.sin(sum2*Math.PI/180)*this._parent["_frontCDWidth"+this.cid])));
                                                      } else {
                                                                this.swapDepths(1004);
                                                                this.setSides(-(this._parent["_frontCDWidth"+this.cid]/2), -(this._parent["_frontCDHeight"+this.cid]/2), this._parent["_frontCDWidth"+this.cid]/2, -(this._parent["_frontCDHeight"+this.cid]/2), this._parent["_frontCDWidth"+this.cid]/2, this._parent["_frontCDHeight"+this.cid]/2, -(this._parent["_frontCDWidth"+this.cid]/2), this._parent["_frontCDHeight"+this.cid]/2);
                                            } else {
                                                      if (this._x>centerX-centerDistance && Math.floor(this._x)<centerX && angle-((this._x-(centerX-centerDistance))/centerDistance*angle)>autoJump) {
                                                                this.swapDepths(1002);
                                                                var sum2:Number = angle-((this._x-(centerX-centerDistance))/centerDistance*angle);
                                                                this.setSides(-(this._parent["_shelveCDWidth"+this.cid]/2), -(this._parent["_shelveCDHeight"+this.cid]/2), this._parent["_shelveCDWidth"+this.cid]/2, -(this._parent["_shelveCDHeight"+this.cid]/2)+((Math.sin(sum2*Math.PI/180)*this._parent["_frontCDWidth"+this.cid])), this._parent["_shelveCDWidth"+this.cid]/2, (this._parent["_shelveCDHeight"+this.cid]/2)-((Math.sin(sum2*Math.PI/180)*this._parent["_frontCDWidth"+this.cid])), -(this._parent["_shelveCDWidth"+this.cid]/2), this._parent["_shelveCDHeight"+this.cid]/2);
                                                      } else if (this._x<centerX+centerDistance && Math.ceil(this._x)>centerX && angle-(((centerX+centerDistance)-this._x)/centerDistance*angle)>autoJump) {
                                                                this.swapDepths(1003);
                                                                var sum2:Number = angle-(((centerX+centerDistance)-this._x)/centerDistance*angle);
                                                                this.setSides(-(this._parent["_shelveCDWidth"+this.cid]/2), -(this._parent["_shelveCDHeight"+this.cid]/2)+((Math.sin(sum2*Math.PI/180)*this._parent["_frontCDWidth"+this.cid])), this._parent["_shelveCDWidth"+this.cid]/2, -(this._parent["_shelveCDHeight"+this.cid]/2), this._parent["_shelveCDWidth"+this.cid]/2, this._parent["_shelveCDHeight"+this.cid]/2, -(this._parent["_shelveCDWidth"+this.cid]/2), (this._parent["_shelveCDHeight"+this.cid]/2)-((Math.sin(sum2*Math.PI/180)*this._parent["_frontCDWidth"+this.cid])));
                                  } else {
                                            this._yscale = -100;
                                            this._y = centerY+((shelveCDHeight/2)-(this._parent["_shelveCDHeight"+this.cid]/2))+this._parent["_shelveCDHeight"+this.cid]+reflectionSpace;
                                            if (this._x>=centerX+centerDistance) {
                                                      this.swapDepths(-this._x-333);
                                                      this.setSides(-(this._parent["_shelveCDWidth"+this.cid]/2), -(this._parent["_shelveCDHeight"+this.cid]/2)+(Math.sin(angle*Math.PI/180)*this._parent["_frontCDWidth"+this.cid]), -(this._parent["_shelveCDWidth"+this.cid]/2)+this._parent["_shelveCDWidth"+this.cid], -(this._parent["_shelveCDHeight"+this.cid]/2), -(this._parent["_shelveCDWidth"+this.cid]/2)+this._parent["_shelveCDWidth"+this.cid], this._parent["_shelveCDHeight"+this.cid]/2, -(this._parent["_shelveCDWidth"+this.cid]/2), (this._parent["_shelveCDHeight"+this.cid]/2)+((Math.sin(angle*Math.PI/180)*this._parent["_frontCDWidth"+this.cid])));
                                            } else if (this._x<=centerX-centerDistance) {
                                                      this.swapDepths(this._x-333);
                                                      this.setSides(-(this._parent["_shelveCDWidth"+this.cid]/2), -(this._parent["_shelveCDHeight"+this.cid]/2), -(this._parent["_shelveCDWidth"+this.cid]/2)+this._parent["_shelveCDWidth"+this.cid], -(this._parent["_shelveCDHeight"+this.cid]/2)+((Math.sin(angle*Math.PI/180)*this._parent["_frontCDWidth"+this.cid])), -(this._parent["_shelveCDWidth"+this.cid]/2)+this._parent["_shelveCDWidth"+this.cid], (this._parent["_shelveCDHeight"+this.cid]/2)+(Math.sin(angle*Math.PI/180)*this._parent["_frontCDWidth"+this.cid]), -(this._parent["_shelveCDWidth"+this.cid]/2), this._parent["_shelveCDHeight"+this.cid]/2);
                                            } else if (this.cid == current-1 || this.cid == current || this.cid == current-2) {
                                                      if (this._x>centerX-centerDistance && this._x<centerX && !validateOk(this)) {
                                                                this.swapDepths(999);
                                                                var sum:Number = this._parent["_shelveCDWidth"+this.cid]+((this._x-(centerX-centerDistance))/centerDistance*(this._parent["_frontCDWidth"+this.cid]-this._parent["_shelveCDWidth"+this.cid]));
                                                                var sum2:Number = angle-((this._x-(centerX-centerDistance))/centerDistance*angle);
                                                                var sum3:Number = this._parent["_shelveCDHeight"+this.cid]+((shelveCDHeight/2)-(this._parent["_shelveCDHeight"+this.cid]/2))+((this._x-(centerX-centerDistance))/centerDistance*(this._parent["_frontCDHeight"+this.cid]-this._parent["_shelveCDHeight"+this.cid]));
                                                                this._y = centerY+sum3+reflectionSpace;
                                                                this.setSides(-(sum/2), -(sum3/2), sum/2, -(sum3/2)+((Math.sin(sum2*Math.PI/180)*this._parent["_frontCDWidth"+this.cid])), sum/2, (sum3/2)+((Math.sin(sum2*Math.PI/180)*this._parent["_frontCDWidth"+this.cid])), -(sum/2), sum3/2);
                                                      } else if (this._x<centerX+centerDistance && this._x>centerX && !validateOk(this)) {
                                                                this.swapDepths(998);
                                                                var sum:Number = this._parent["_shelveCDWidth"+this.cid]+(((centerX+centerDistance)-this._x)/centerDistance*(this._parent["_frontCDWidth"+this.cid]-this._parent["_shelveCDWidth"+this.cid]));
                                                                var sum2:Number = angle-(((centerX+centerDistance)-this._x)/centerDistance*angle);
                                                                var sum3:Number = this._parent["_shelveCDHeight"+this.cid]+((shelveCDHeight/2)-(this._parent["_shelveCDHeight"+this.cid]/2))+(((centerX+centerDistance)-this._x)/centerDistance*(this._parent["_frontCDHeight"+this.cid]-this._parent["_shelveCDHeight"+this.cid]));
                                                                this.setSides(-(sum/2), -(sum3/2)+((Math.sin(sum2*Math.PI/180)*this._parent["_frontCDWidth"+this.cid])), sum/2, -(sum3/2), sum/2, sum3/2, -(sum/2), (sum3/2)+((Math.sin(sum2*Math.PI/180)*this._parent["_frontCDWidth"+this.cid])));
                                                                this._y = centerY+sum3+reflectionSpace;
                                                      } else if (!validateOk(this)) {
                                                                this.swapDepths(995);
                                                                this._y = centerY+((shelveCDHeight/2)-(this._parent["_shelveCDHeight"+this.cid]/2))+this._parent["_frontCDHeight"+this.cid]+reflectionSpace;
                                                                this.setSides(-(this._parent["_frontCDWidth"+this.cid]/2), -(this._parent["_frontCDHeight"+this.cid]/2), this._parent["_frontCDWidth"+this.cid]/2, -(this._parent["_frontCDHeight"+this.cid]/2), this._parent["_frontCDWidth"+this.cid]/2, this._parent["_frontCDHeight"+this.cid]/2, -(this._parent["_frontCDWidth"+this.cid]/2), this._parent["_frontCDHeight"+this.cid]/2);
                                  this.allowUpdate = false;
                                  this._x -= Math.min(Math.max((this._x-this.x)/albumEase, -maxSlide), maxSlide);
                                  this.setTransform(this.px1, this.py1, this.px2, this.py2, this.px3, this.py3, this.px4, this.py4);
                                  if (this._x<deleteMinDistance && this._parent["_ref"+(this.cid+distance)]) {
                                            this.cid += distance;
                                            this._x = deleteMaxDistance;
                                            controlTheObject(this);
                                            this._visible = false;
                                            this.loadedImage = infostruc[this.cid].loaded;
                                            this.DistortImage(this._name.indexOf("reflection")>-1 ? this._parent["_ref"+this.cid] : this._parent["_bmd"+this.cid]);
                                  if (this._x>deleteMaxDistance && this._parent["_ref"+(this.cid-distance)]) {
                                            this.cid -= distance;
                                            this._x = deleteMinDistance;
                                            controlTheObject(this);
                                            this._visible = false;
                                            this.loadedImage = infostruc[this.cid].loaded;
                                            this.DistortImage(this._name.indexOf("reflection")>-1 ? this._parent["_ref"+this.cid] : this._parent["_bmd"+this.cid]);
                        } else if (Math.ceil(Math.abs(this._x-this.x)) == 0) {
                                  this._x = this.x;
                        if (this.cid+1>current) {
                                  this.x = (centerX+((this.cid+1-current)*shelveCDSpacing))+centerDistance;
                        } else if (this.cid+1<current) {
                                  this.x = (centerX+((this.cid+1-current)*shelveCDSpacing))-centerDistance;
                        } else {
                                  this.x = centerX+((this.cid+1-current)*shelveCDSpacing);
                        if (fadeType == "brightness") {
                                  if (this._x<fadePointMin+fadeDist) {
                                            this._brightness = -(250-((this._x-fadePointMin)/fadeDist*250));
                                  } else if (this._x>fadePointMax-fadeDist) {
                                            this._brightness = -(250-((fadePointMax-this._x)/fadeDist*250));
                                  } else {
                                            this._brightness = 0;
                        } else if (fadeType == "alpha") {
                                  if (this._x<fadePointMin+fadeDist) {
                                            this._alpha = ((this._x-fadePointMin)/fadeDist*100);
                                  } else if (this._x>fadePointMax-fadeDist) {
                                            this._alpha = ((fadePointMax-this._x)/fadeDist*100);
                                  } else {
                                            this._alpha = 100;
    function next():Void {
              if (current<infostruc.length) {
                        current += 1;
              updateInfo();
    function previous():Void {
              if (current>1) {
                        current -= 1;
              updateInfo();
    function displayAlternArt(art, width:Number, height:Number):Void {
              artDisplay.attachBitmap(art, 1);
              artDisplay._width = width;
              artDisplay._height = height;
    function loadNext():Void {
              if (!loadedAll) {
                        var num:Number = current-1;
                        if (infostruc[current-1].loaded) {
                                  var num:Number = current-Math.floor(distance/2)-1>=0 ? current-Math.floor(distance/2)-1 : 0;
                                  while (infostruc[num].loaded && num<infostruc.length) {
                                            num++;
                                  if (num>=infostruc.length) {
                                            var num:Number = current-1;
                                            while (infostruc[num].loaded && num>0) {
                                                      num--;
                                            if (num<=0) {
                                                      loadedAll = true;
                        var newLoad:MovieClip = this.createEmptyMovieClip("artLoad"+num, this.getNextHighestDepth());
                        newLoad.createEmptyMovieClip("art", newLoad.getNextHighestDepth());
                        newLoad._alpha = 0;
                        var mc:Object = {};
                        mc.number = num;
                        var artLoader:MovieClipLoader = new MovieClipLoader();
                        artLoader.addListener(mc);
                        artLoader.loadClip(infostruc[num].httpType+infostruc[num].art, newLoad.art);
                        mc.onLoadError = function() {
                                  infostruc[this.number].loaded = true;
                                  loadNext();
                        mc.onLoadInit = function(target:MovieClip) {
                                  tw = target._width;
                                  ty = target._height;
                                  if (_CDProportions == "auto") {
                                            if (target._width>target._height) {
                                                      target._width = Math.min(frontCDWidth, target._width);
                                                      target._yscale = target._xscale;
                                            } else {
                                                      target._height = Math.min(frontCDHeight, target._height);
                                                      target._xscale = target._yscale;
                                  root["_frontCDWidth"+this.number] = Math.min(frontCDWidth, target._width);
                                  root["_frontCDHeight"+this.number] = Math.min(frontCDHeight, target._height);
                                  target._width = tw;
                                  target._height = ty;
                                  root["_bmd"+this.number] = new BitmapData(target._width, target._height);
                                  root["_ref"+this.number] = new BitmapData(target._width, target._height);
                                  root["_bmd"+this.number].draw(target);
                                  var mc:MovieClip = target._parent.createEmptyMovieClip("gradient_mc", target._parent.getNextHighestDepth());
                                  matrix = new Matrix();
                                  matrix.createGradientBox(target._width, target._height, reflectionRotation/180*Math.PI, 0, 0);
                                  mc.beginGradientFill(reflectionFillType, reflectionColors, reflectionAlphas, reflectionRatios, matrix, reflectionSpreadMethod, reflectionInterpolationMethod, reflectionFocalPointRatio);
                                  mc.moveTo(0, 0);
                                  mc.lineTo(0, target._height);
                                  mc.lineTo(target._width, target._height);
                                  mc.lineTo(target._width, 0);
                                  mc.lineTo(0, 0);
                                  mc.endFill();
                                  target._parent.beginFill(reflectionBackgroundColour);
                                  target._parent.moveTo(0, 0);
                                  target._parent.lineTo(0, target._height);
                                  target._parent.lineTo(target._width, target._height);
                                  target._parent.lineTo(target._width, 0);
                                  target._parent.lineTo(0, 0);
                                  target._parent.endFill();
                                  target._alpha = reflectionAlpha;
                                  root["_ref"+this.number].draw(target._parent);
                                  infostruc[this.number].loaded = true;
                                  if (_CDProportions == "auto") {
                                            if (target._width>target._height) {
                                                      target._width = Math.min(shelveCDWidth, target._width);
                                                      target._yscale = target._xscale;
                                            } else {
                                                      target._height = Math.min(shelveCDHeight, target._height);
                                                      target._xscale = target._yscale;
                                  root["_shelveCDWidth"+this.number] = Math.min(shelveCDWidth, target._width);
                                  root["_shelveCDHeight"+this.number] = Math.min(shelveCDHeight, target._height);
                                  target._parent.removeMovieClip();
                                  updateInfo();
                                  loadNext();
    xmlData.onLoad = function(success:Boolean):Void  {
              if (success) {
                        for (var i:Number = -1; this.childNodes[0].childNodes[++i]; ) {
                                  var cNode:XMLNode = this.childNodes[0].childNodes[i].childNodes;
                                  var val1:String = cNode[1].childNodes[0].nodeValue ? unescape(cNode[1].childNodes[0].nodeValue) : unknownSong;
                                  var val2:String = cNode[2].childNodes[0].nodeValue ? unescape(cNode[2].childNodes[0].nodeValue) : unknownArtist;
                                  var val3:String = cNode[3].childNodes[0].nodeValue ? unescape(cNode[3].childNodes[0].nodeValue) : unknownAlbum;
                                  var val4:String = cNode[4].childNodes[0].nodeValue ? unescape(cNode[4].childNodes[0].nodeValue) : "./";
                                  var val5:String = cNode[5].childNodes[0].nodeValue ? unescape(cNode[5].childNodes[0].nodeValue) : undefined;
                                  var val6:String = cNode[6].childNodes[0].nodeValue ? unescape(cNode[6].childNodes[0].nodeValue) : undefined;
                                  infostruc.push({art:cNode[0].childNodes[0].nodeValue, info:val1, auth:val2, album:val3, httpType:val4, urlToGet:val5, urlAction:val6, loaded:false});
                                  root["_frontCDWidth"+i] = frontCDWidth;
                                  root["_frontCDHeight"+i] = frontCDHeight;
                                  root["_shelveCDWidth"+i] = shelveCDWidth;
                                  root["_shelveCDHeight"+i] = shelveCDHeight;
                        init();
                        loadStat = "";
              } else {
                        loadStat = "There was an error loading that data, sorry.";
    xmlData.ignoreWhite = true;
    loadPlayList("./albuminfo9.xml");
    loader._visible = false;
    mask._alpha = 0;
    scrollBar.scroller._y = 0;

    This won't work on most servers: "./albuminfo9.xml". It should be "../albuminfo9.xml". That may or may not solve the problem. Be sure that all of your files and folders are in the same relative location on the server as they are on your computer. Also be sure that the case for each referenced item is correct. Upper and lower case are sometimes more important on a server than they are on your computer. JPG is not the same as jpg. Be sure that your files are uploading correctly.

Maybe you are looking for

  • Error while Installing Oracle 11.5.9 on Win XP

    I am trying to install Oracle Applications 11.5.9 Vision Demo on Windows XP. My PC has following configuration:- Pentium IV 2.4 GHZ processor, 1GB RAM, 220 GB harddisk(D:) with another harddisk C: as 10 GB and another harddisk E: as 32 GB where I hav

  • FB60 can't reversed?

    Dear Gurus, I was made a Invoice through FB60 .it contain vendor   1000 cr TDS       100  cr ( It is cleared and submitted to Goverment) expense a/c  1100 db when i was done FB08 system show the error : document include cleared item). this is for TDS

  • Toshiba Bulletin Board screen size shrunk!

    Hello, I have been using the Toshiba Bulletin Board with no problems until recently when I tried to open it and the screen appeared as a tiny rectangle (around 50 x 20 pixels) on the top left corner of my screen.  I can't resize it back to it's origi

  • Hi, cannot convert RGB to CMYK...

    I cannot find such an option in the Elements? Can anyone help how can I convert the files to CMYK from RGB using this tool... Thanks ansu

  • DAC email notification not working.even if we get test mail.

    DAC clients are installed in Windows machine (Remote) and DAC servers are installed on UNIX platform. I have set up the smtp configuration in DAC client.i am also getting test mail. But after my schedule load completion i am not getting email notific