Xml based file path problem on Windows

Hi
I'm having a problem with a Flash based slideshow based on
the tutorial one from here
http://www.adobe.com/support/flash/applications/jpeg_slideshow_xml/index.html
I've added a timed nextSlide function but basically left the
actionscript the same apart from that.
The problem is that the file works fine in a html file on any
Mac browser I care to test in, Firfox,Netscape,Safari and even
IE5.2 but when I try it in Windows IE6 or firefox, no picture s or
titles show. I've tried this under parallels from a "shared"
folder, and also on a real pc from the website.
I also tried the original tutorial file and it doesn't seem
to work either.
Can anyone cast any light on this problem?
I thought it was the different way paths are defined on Mac
& Windows ie / vs \ so I put everything at the same level and
redefined the paths in the xml to be at the same level , but still
no go on Windows.
Help! please!

Hello!
Does anyone have any idea what the problem is with this?
The example is from the support section of this site and it
doesn't work. Surely an Adobe support person has a comment.

Similar Messages

  • Path problem in windows os

    Dear friends,
    some time I meet a strange class path problem under windows enviroment. that is, the class path uses "/" to splite directory while not "\". so java will report error message like "NoClassFoundError: com/boland/...". I think there should be a way to adjust this environment problem. but I don't know how to set this. I will greatly appreciate if you happen to know this and let me know.
    Best wishes,
    Sam

    You reported an error in a package statement or reference. This is nothing to do with the OS folder structure per se, altho that is how it is implemented on a given platform like windows. Classpath statements are NOT platform independent, due to path separator issues. You should not use a system-wide classpath variable anyway, as this is really quite bad practice. Instead, create a run script for you program, and put the -cp switch in there. In any case, you should be referencing packages (separated by dots) in there anyway, not actual paths.

  • File path problem

    I have looked an read through almost all the file path problem post possible and I am still having issues maybe one of you guys can help me, here are my files
    I am doing this as an example so that I can apply it to all of my file problems....
    Harold Timmis
    [email protected]
    Orlando,Fl
    *Kudos always welcome
    Attachments:
    pathexample.zip ‏122 KB

    First of all, to troubleshoot the problem it would help to put some filepath indicators at each point so that you can see what is going on. Also, in your exe having an error dialog "Simple Error Handler.vi" to let you know what LabVIEW didn't like in the exe.
    Now, when you run a top level ("Main.vi") and use the "Current VI's Path " in the development mode it returns <Filepath>\"Current path"\Main.vi. So stripping once will get you to  <Filepath>\"Current path" .    Now if you make it into an exe the "Current VI's Path" returns <Filepath>\"Current path"\"Name.exe"\Main.vi so you are "nested" one deeper.
    I use the following construct to determine whether the vi is being used as in the development environment or as an exe, the parse the path accordingly, although in this instance it is used to supply different directory names to a little more complex file system.
    Putnam
    Certified LabVIEW Developer
    Senior Test Engineer
    Currently using LV 6.1-LabVIEW 2012, RT8.5
    LabVIEW Champion

  • XML source file path (LINUX vs. WINDOWS)

    Hello, we are sourcing data from XML for a project. RPD development is being done in Windows and then the RPD is getting deployed to the Linux env.
    How can i make sure the path translate from Windows to Linux?
    Windows path can be C:\myobieedata\region.xml
    How can this be translated into Linux path?
    Your help is appreciated.
    Regards,

    Just edit the connection pool to use the valid location of the files in Linux and copy that RPD over to the linux box. You can even edit it 'on-line' on the Linux environment and make the change there.
    As an example I'd check the sample sales connection pool that was configured when you installed OBIEE on Linux and observe the difference to the sample sales connection pool when you installed on windows.

  • File path problems between mac and PC

    hi
    I'm having some issues with file paths, done a lot of searching online, here and on creative cow and no answers to be found (same question asked a few times though).
    I'm working on projects on a MAC and then collecting files (project only) to a watch folder on a PC for rendering.
    Most of the really big files (.R3D) are located locally on the PC but a few files are on a server.
    I can work on them fine on my Mac but when the project comes across to the PC it can find the files located on one of its drives (the same drive as the project source folder) but loses the filepath to the server and to the other internal drive as well.
    I have to open the project on the PC and repoint to the missing footage and then save which is a real pain in the #@$% and kind of defeats the purpose of the distributed rendering.
    how can I set absolute paths for the PCs from my MAC ????
    cheers../daniel

    Hey, sorry Mylenium, but this statement is not true. I was almost convinced to give up after reading this, but I managed to make a working conversion tool shortly after.
    This is the method in After Effects, I am pretty sure that it can work in the rest of the adobe suite as well.
    All you need to do to get the paths to update to windows format is to:
    1. Select "Save as xml" and save an .aepx.
    2. Open the .aepx in text edit.
    3. Perform a find for "/Volumes" and replace with "//<MountPointOnThePC>" (for example I have the drive as a network drive on the pc so I swap the <MountPointOnThePC> to the name of my mac as that is the path on the pc machine)
    4. Perform another find for "MacPOSIX" and replace with "Win"
    5. Save your file and you will be able to open in on a pc with all the files online.
    Disclaimer, I built this to work on my set up using a mac server and a pc render farm for after effects. Please back up your projects before opening them and editing them.
    Hope this helps anyone else trying to do the same.

  • File path problem in jsp

    Hi techies,
    I am having a jsp ,which is having the following fields,
    url
    driver
    userName
    Password
    Location of the file
    Here is my jsp code
      <table rows=6 cols=2>
                   <tr>
                        <td>Enter url</td>
                        <td> <input type="text" name="url" value ="<%= url%>"></input></td>
                   </tr>
                   <tr>
                        <td>Enter DriverName </td>
                        <td><input type="text" name="driver" value="<%= driver%>"></td>
                   </tr>
                   <tr>
                        <td>Enter UserName </td>
                        <td><input type="text" name="userName"></td>
                   </tr>
                   <tr>
                        <td>Enter Password </td>
                        <td><input type="password" name="passWord"></td>
                   </tr>
                   <tr>
                        <td>choose the backupXml file</td>
                        <td><input type ="file" name ="xmlFileName"></td>
                        <input type="hidden" name ="xmlFile" >
                   </tr>
                   <input type="hidden" name ="resubmit" >
              </table>
                   <br>
                   <input type="button" value="submit" onClick ="doSubmit()" >
                     For the first time I am sending request to the servlet and after checking the conditions we will get one confirmation box.
    If we click ok (i.e true) ,we have to again send the same data to the servlet.
    I am keeping all the variables in a session in servlet and retrieving in to jsp, but the problem is ,when again sending request to servlet , I am missing file name,but I am getting file path(i.e c:/sun/appserver/bin/) only.
    I need to get c://sun/appserver/bin How can i get entire path??
    Here is my servlet code
    File f = new File(xmlFileName);
      String     xmlFilePath = f.getAbsolutePath();     
    System.out.println("xmlFilePath"+xmlFilePath);
    session.setAttribute("xmlFile",xmlFilePath);Here is my java script code
    function init() {
         <%
              if(message !=null && messageType != null && messageType.equals("ALERT")){ %>
              var mss = confirm("<%=message%>");
            //  alert(mss);
               if(mss == true)
          var user = '<%=session.getAttribute("user")!=null?session.getAttribute("user"):"0"%>';
            var pass = '<%=session.getAttribute("pass")!=null?session.getAttribute("pass"):"0"%>';
         var xmlF = '<%=session.getAttribute("xmlFile")!=null?session.getAttribute("xmlFile"):"0"%>';
                    alert("inside if"+xmlF);               
                    document.forms[0].resubmit.value = "true"
                    document.forms[0].userName.value =user;
                    alert(document.forms[0].userName.value);
                    document.forms[0].passWord.value=pass;
                    alert(document.forms[0].passWord.value);
                    document.forms[0].xmlFile.value=xmlF;
                    alert(document.forms[0].xmlFile.value);
                    doSubmit();
              else
                   alert("else");
         <% } %>
    function doSubmit() {
                       alert(document.forms[0].userName.value);
                       alert(document.forms[0].passWord.value);
                        alert(document.forms[0].xmlFileName.value);
                document.forms[0].submit();
                         }

    Thanks for u r reply Mr.Prasad.
    Sorry for the delay for reply.
    My scenario is in 2 phases
    Phase 1. I am taking input from the front end using jsp and writing the contents in to a file and then downloading that file on to my desktop.(Now let us say this one as file downloading)
    Phase 2. Now I had designed a page,which locates the downloaded file by using the following tag.
                        <td><input type ="file" name ="xmlFileName"></td>
        In the downloaded xml file I am having applicationid. I am checking whether the application id already xists in the database (or)not.
    If already exists in the database , the end user will get one confirmation msg,saying application already exists in the database.
    If the user clicks ok again the request has to go to the servlet.
    Now the actual problems are
    1. When I locate the file on the desktop let us say c:\desktop\krish and click on submit button, it is locating to the file that is present in the server(this is the case for the first time means before checking the application id in the database).
    2. when the end user clicks "ok" on the confirmation box , I am not getting the file name,that has to be submitted to the servlet.
    Can u plz help me how to resolve this issue.
    regards,
    Krish

  • Dynamic file path problem....

    Hello & thanks for your attention
    I am trying to modify the action script(2) of a XML photo slideshow
    I want to make it pull the photo array from a dynamic XML file
    Yet nothing I try seems to be working - I was hoping someone could look at these snippets and tell me if I'm doing something incorrectly
    Objective:
    To make the swf file - pull its photo array - from a dynamic XML file path
    Scenario:
    http://www.reallivingtours.com/tours/viewTour.php?id=2092
    When that URL is called by a browser
    An XML file called 2092.xml is created in a /tmp/ directory
    viewTour.php passes the ‘dynamic’ file path to the swf via the params
    <param name="movie" value="slideshow.swf?file=tmp/<?php echo $tourID; ?>.xml">
    <param name="flashvars" value="&file=tmp/<?php echo $tourID; ?>.xml">
    The original AS2:
    var xml:XML = new XML();
    xml.ignoreWhite = true;
    _root.xmlPath == undefined ? xml.load("settings.xml") : xml.load(_root.xmlPath);
    The modified AS2 - I've done:
    var filePath:String = new String();
    filePath =_root.file;
    var xml:XML = new XML();
    xml.ignoreWhite = true;
    _root.xmlPath == undefined ? xml.load(new URLRequest(filePath)) : xml.load(_root.xmlPath);
    Can you see anything I'm doing incorrectly?
    Thank you very much for your time and attention
    Benn

    Thanks to webqa - I've gotten a little closer to resolving this
    my debugging tells me that i have an undefined error
    I'm thinking - xml.load(filePath)
    is not recognizing the string as a file path to the XML
    Does anyone have any suggestions? thank you
    var filePath:String = new String();
    filePath =_root.file;
    var xml:XML = new XML();
    xml.ignoreWhite = true;
    _root.xmlPath == undefined ? xml.load(filePath) : xml.load(_root.xmlPath);

  • Deploying war file on Tomcat: file path problem

    Hello all,
    i am using my eclipse ide for automatically deploy my webapplication to Tomcat. For Database connectivity i configured hibernate. To configure hibernate i am using the following code:
    package de.wfm.hibernate.hibernateUtil;
    import org.hibernate.HibernateException;
    import org.hibernate.Session;
    import org.hibernate.SessionFactory;
    import org.hibernate.cfg.Configuration;
    public class ESDBFactory {
         private static SessionFactory sf;
         private static Session session = null;
         private static String pathToCfgFile = "de\\"
                             + "wfm\\hibernate\\hibernateUtil\\esdb.cfg.xml";
         public static synchronized Session getSession() throws HibernateException {
              if (session==null) {
                   if (sf==null) {
                        sf = new Configuration()
                             .configure(pathToCfgFile).
                             buildSessionFactory();
              session = sf.openSession();
              return session;
    }When i use this in the ide all is fine. But when i export my application to a war file and deploy it on Tomcat i got the exception:
    2006-07-28 10:06:10 StandardWrapperValve[Urlaubsplanung Servlet]: Servlet.service() for servlet Urlaubsplanung Servlet threw exception
    javax.faces.FacesException: #{User.doLogin}: javax.faces.el.EvaluationException: org.hibernate.HibernateException: de\wfm\hibernate\hibernateUtil\esdb.cfg.xml not foundHow to avoid this? What do i have to do to set the file path correctly?
    Regards,
    ak

    hmm.. ic
    The .war file when drop in the webapps dir and u restart tomcat, it auto create a dir with your .war filename and the content of .war file is copied to there.
    Am i rite to say so?
    And wat about the web.xml?
    If i need to add users and password how can I accomplished it in tomcat web.xml?
    Last but not least, thanks for taking the time to reply. :D

  • Help File Path Problem

    Hi,
    I recently upgraded to a new computer and I have Develope toolbox and some other extensions from Web Assist and curiously when I click on HELP button in any of them I receive in error message like the one below.....virtually all of the error messages are the same. I known that it is a path problem, but when I follow the path indicated in the error message I find the file exactly where it should be on the computer.....hmmmm...any ideas out there?
    Firefox can't find the file at /MacHD/Users/jimelander/Library/Application Support/Adobe/Dreamweaver 9/Configuration/Shared/DeveloperToolbox/classes/temp.htm

    I think un install ADDT then reinstall it..
    Hope this helps
    Mohnkhan
    http://www.mohitech.com

  • E7 file transfer problem in Windows 7

    Hi,
    I have trouble transferring files in Explorer in WIndows 7. When trying to copy a video file to the mass storage Video folder in the phone the copy fails every time. When using another machine with Windows XP it works ok. Is there a specific problem with the user rights in Win7? (running admin rights does not help)

    Ok then I haven't tried file transfers on win7 machines yet will check if the same happens to me, thought you were trying to tranfer a bigger size file. Have you tried transferring using Ovi suite btw?.
    If a reply has solved your problem click Accept as solution button, doing it will help others know the solution. Thanks.

  • Help Files Path Problem

    Hi,
    I recently upgraded to a new computer and I have Develope
    toolbox and some other extensions from Web Assist and curiously
    when I click on HELP button in any of them I receive in error
    message like the one below.....virtually all of the error messages
    are the same. I known that it is a path problem, but when I follow
    the path indicated in the error message I find the file exactly
    where it should be on the computer.....hmmmm...any ideas out there?
    Firefox can't find the file at
    /MacHD/Users/jimelander/Library/Application
    Support/Adobe/Dreamweaver
    9/Configuration/Shared/DeveloperToolbox/classes/temp.htm

    OleLena wrote:
    > Firefox can't find the file at
    /MacHD/Users/jimelander/Library/Application
    > Support/Adobe/Dreamweaver
    > 9/Configuration/Shared/DeveloperToolbox/classes/temp.htm
    I'd check to ensure that you have the latest versions of the
    WebAssist extensions as this may have been fixed. I seem to recall
    seeing this issue when the primary browser (from Dreamweaver's
    perspective, the one that F12 or preview in browser opens up) is
    not open when the help is accessed. Try having your browser open
    and then access the help.
    Danilo Celic
    |
    http://blog.extensioneering.com/
    | WebAssist Extensioneer
    | Adobe Community Expert

  • Logical file path problem in lsmw

    Hi folks,
    I created logical file  path in FILE tcode. its created and assigned physical file path to logical file path.
    then i am assigning that logical file path into lsmw step (specify file step).
    under specify file i am assigning into import data and convert data.
    once read data step completed read data must be save under this physical file but data is not saving under this path.
    can any one help me out this..
    1.can any one help how to create physical file in file tcode
    2.how to assigne that physical file to lsmw step specify file

    Hi Srikanth,
    There is no need to create the logical file path using the FILE transaction.
    Under Specify file step, you need to give your local file path in LEGACY DATA Section.
    Please check the below link in using the LSMW step by step.
    http://wiki.sdn.sap.com/wiki/display/ABAP/LSMWStepsin+Detail
    Hope this helps.
    Regards,
    Satish Kanteti

  • File path problem in background job spool

    Hello ,
    i have probelm in file path of the background job in spool.
    i have selection screen
    Radiobutton : p_local
    parameter: path1.
    Radibutton: p_applicatioserver
    parameter: path2.
    if i keep program in background job, it will alwas take second option.
    Now user selected first option and executed job in abckground. File stored in the spplication server with corect file  path name. (path2)
    But when i go to sm37 entered job name and checked the spool, it gives me the file path name path1. but i need the file path1 in the background spool. my question whether i need to change the file path name in program or whether i have to change the setting
    Regards,
    zub

    First of all, local is not an option in background job; you can only save to the apps server, and your program should take that into consideration by checking for sy-batch = 'X', for example.  You should be checking in your at selection-screen to be sure the user has not chosen local path and file and background job.

  • Xml action file upload problem. No roles created

    Hi all
    I'm trying to upload to a SAP WAS 6.40 Server an action xml file through visual administration console.
    My xml action file defines the actions and the roles. I can upload it it has no effects on the system (the roles are not created in my system). I have stopped and started my SAP WAS, but it has no effects.
    Can anybody help me?
    Here is a part of my xml action file:
              <PERMISSION CLASS="es.metromadrid.siar.autorizaciones.Autorizacion" NAME="MenuParametrosJubilacionesParcialesPermission" VALUE="" /></ACTION> <ACTION NAME="ActionMenuParametrosJubilacionesParcialesDisplay" ><DESCRIPTION LOCALE="es" VALUE="Parámetros Jubilaciones Parciales"/><PERMISSION CLASS="es.metromadrid.siar.autorizaciones.Autorizacion" NAME="MenuParametrosJubilacionesParcialesPermission" VALUE="" />

    I've now found that the upload operation, when run from Safari, can also fail without the dynamic action/processing graphic option set to no. After the page submit the URL goes to the wwv_flow.accept procedure, runs for about 20 or so seconds and then fails.
    This is starting to sound like a bug, but whether the bug is in Apex or in Safari I'm not sure at this point. It would appear to be Safari given that it works fine in the other browsers I mentioned, but it would be nice to get some independent feedback or verification of this situation.
    If you have any ideas about this situation I am all ears. Thanks.
    Earl
    BTW, I did a search on metalink and didn't come up with anything right away. I'll try again but I'm not holding my breath.

  • File path problem and getCodeBase Usage

    I have a java application and read data from file.
    I create file by File file=new File("F:\MyProgram\.txt');
    if I want to give my file to relative path name, HOw can i give. I can move my program to jar file or exe and move to anywhere.
    How can i give file to move anywhere by only give folder name and don't need to give full path name?
    How can I use getCodeBase to give file path name?

    You need to use resources and the URL class, here's an example:URL resourceLocation = getClass().getResource("/configuration.txt");That will give the location of the configuration file regardless of how you've packaged the software. If you need to read the file from a static context use "ClassName.class" in place of "getClass()".

Maybe you are looking for