Loading Absolute Paths

Hi,
I'm new to flash and I'm creating a flash mp3 player and have
questions about loading paths. I'm trying to find out if it's
possible to load absolute paths that are outside the document root
of my website. The reason why I want the mp3's outside the document
root is because I don't want the mp3's to be accessible for
download. Here is the code that I'm using to try to accomplish this
task....
var getSong:LoadVars = new LoadVars();
var sndTrack:Sound = new Sound();
var pauseMs:Number = 0;
getSong.load("mp3loader.php");
getSong.onLoad = function(lSuccess:Boolean):Void {
if (this.theSong) {
txt_field.text = this.theSong
} else {
txt_field.text = "Song Not Found";
if (lSuccess) {
sndTrack.loadSound(this.theSong, true);
sndTrack.onLoad = function(sSuccess:Boolean):Void {
if (sSuccess) {
sndTrack.stop();
play_btn.onRelease = function() {
sndTrack.start(pauseMs, 0);
stop_btn.onRelease = function() {
pauseMs = 0;
sndTrack.stop();
pause_btn.onRelease = function() {
pauseMs = sndTrack.position / 1000;
sndTrack.stop();
} else {
txt_field.text = "Song Could Not be loaded";
The path that would be returned by the php file would be
something similar to "/var/www/mp3s/mp3file.mp3 and the swf file
could be located at "/var/www/public_html/player/mp3player.swf". If
flash does not have the capability to load files outside of the
document root of the website can you give alternatives to
accomplish the same thing?
Thanks
Dana H.

you can't prevent your mp3's location from being discovered
by moving them to a different server.

Similar Messages

  • Loading External SWF using Absolute Path

    Hi,
    I am having trouble loading an external swf on a server using the absolute path. This external swf uses webcam streams and is loaded in the original swf file using the URL request code. I can load other swfs but just not that one. I have set the permission of the external swf to allow write/read/execute. Any help is apprieciated.
    P.S. I have also tried changing the location and name but still doesn't help.
    //Loads the augmented SWF into the main timeline.
    var request:URLRequest = new URLRequest("http://www.reminisce.me/files/jz_AR.swf");
    var loader:Loader = new Loader()
    loader.load(request);
    arHolder.addChild(loader);
    arHolder.x=300;
    arHolder.y=125;
    Thank you for your help in advance.
    -John

    I can´t get the linked swf to run in any browser, are you sure that it compiled right?

  • PDX index - how to remove absolute path to it?

    I have a PDF and using File > Properties > Document Properties > Advanced tab have browsed to a Search Index, and added it to the PDF (I've added a big Search button that the user can press to search the entire, large, collection of PDFs).
    The search index path that the Browse form puts in the Search Index: field points to a location on our network e.g. \\Server1\application\PDFs\index.pdx
    This works fine when I'm running it locally, but when the PDF + index gets installed on a PC outside of our network the user gets a error telling them that it can't load the index.
    I want to edit the path in the Search Index: field so that it is relative e.g. PDFs\index.pdx (the same location as the PDFs and the index file + folder), but the Search Index: field is greyed out and uneditable!  I seem to be stuck with a useless absolute path.
    Question: Is there any way of making the path to the PDF relative and not absolute? We need to put the PDF collection onto our software distribution DVD, and the customers will install it to their own PCs/network locations.
    (I'm using Acrobat Pro X ver 10.1.8 on Windows 7 Ultimate SP 1, and the target audience will be using Acrobat Reader)

    I think the problem is kinda fixed.
    I created the library and index on a network drive and created a "start PDF" file at the same location.  I opened the "start" file and used Ctrl-D > Advanced > Search index to add the name of the .pdx file.
    I emailed the "start file" to someone else on the network.  They downloaded it and double clicked it.
    * They happened to be using the new 2015 Pro DC version.  The message about the index associated with this document (...) could not be located. appeared. The path was expecting the .pdx file to be below the download directory.
    * I clicked OK.
    * Pressed Ctrl-Shift-F for advanced search.
    * Clicked Show more options (because that user had never used Advanced Search) - and the index file was displayed in the look in field.
    * Entered a search term and it worked perfectly.
    I retested it using a Dropbox location.  Created the "start PDF" file and emailed another person, not on the same network, but sees the same Dropbox folder.  They use Acrobay XI v.11.0.10.
    * The file was downloaded and double-clicked.
    * Pressed Ctril-Shift-F - same index could not be located message - and again the .pdx file was assumed to below the download directory.  But nothing auto-magically fixed itself. 
    The only solution here is to provide user with a link to the .pdx file on their desktop.  When they double clicked it, Acrobat opens with the index loaded.
    (Depending on the user, the other alternative is to add the index to the index list.)

  • Absolute path to E:\Hudson in org.flexunit.assert() etc

    Hi there,
    I'm attempting to use flexrunner in a linux project. So far everything has been smoothly, thanks. Just pached my SDK vith linux air 2.6 runtimes and ran (a slightly modified) demo project. It seems like there is a build in path to E:\hudson .... in the flexunit-4.1.0.8-flex_4.1.0.16076.swc file is there a way to get the source for this project and build the libraries ensuring that I get the correct path set?
    Platfrom: Ubuntu 10.04
    ant: 1.8.x
    flex sdk: 4.5.1 pached with linux air 2.6 runtimes
    flexunit: 4.1.0-8
    absolute path bolded below
    Cheers,
    John
    jodi@ubuntu:~/ccm_wa/ME_ECS/BES3_devel~jodi1/BES3_devel/ui/unittest$ ant -f build.air.xml
    Buildfile: /home/jodi/ccm_wa/ME_ECS/BES3_devel~jodi1/BES3_devel/ui/unittest/build.air.xml
    init:
    compile:
        [mxmlc] Loading configuration file /home/jodi/ccm_wa/ME_ECS/BES3_devel~jodi1/BES3_devel/make3/flex/frameworks/air-config.xml
        [mxmlc] /home/jodi/ccm_wa/ME_ECS/BES3_devel~jodi1/BES3_devel/ui/unittest/target/bin/Main.swf (498693 bytes)
        [mxmlc] Loading configuration file /home/jodi/ccm_wa/ME_ECS/BES3_devel~jodi1/BES3_devel/make3/flex/frameworks/air-config.xml
        [mxmlc] /home/jodi/ccm_wa/ME_ECS/BES3_devel~jodi1/BES3_devel/ui/unittest/target/bin/TestRunner.sw f (1011075 bytes)
    test:
    [flexunit] Validating task attributes ...
    [flexunit] Generating default values ...
    [flexunit] Using the following settings for the test run:
    [flexunit]     FLEX_HOME: [/home/jodi/ccm_wa/ME_ECS/BES3_devel~jodi1/BES3_devel/make3/flex]
    [flexunit]     haltonfailure: [true]
    [flexunit]     headless: [false]
    [flexunit]     display: [99]
    [flexunit]     localTrusted: [true]
    [flexunit]     player: [air]
    [flexunit]     port: [1024]
    [flexunit]     swf: [/home/jodi/ccm_wa/ME_ECS/BES3_devel~jodi1/BES3_devel/ui/unittest/target/bin/TestRunner.s wf]
    [flexunit]     timeout: [60000ms]
    [flexunit]     toDir: [/home/jodi/ccm_wa/ME_ECS/BES3_devel~jodi1/BES3_devel/ui/unittest/target/report]
    [flexunit] Setting up server process ...
    [flexunit] Starting server ...
    [flexunit] Opening server socket on port [1024].
    [flexunit] Waiting for client connection ...
    [flexunit] Found AIR version: 2.6
    [flexunit] Created application descriptor at [/home/jodi/ccm_wa/ME_ECS/BES3_devel~jodi1/BES3_devel/ui/unittest/target/bin/flexUnitDesc riptor.xml]
    [flexunit] Executing '/home/jodi/ccm_wa/ME_ECS/BES3_devel~jodi1/BES3_devel/make3/flex/bin/adl' with arguments:
    [flexunit] '/home/jodi/ccm_wa/ME_ECS/BES3_devel~jodi1/BES3_devel/ui/unittest/target/bin/flexUnitDesc riptor.xml'
    [flexunit]
    [flexunit] The ' characters around the executable and arguments are
    [flexunit] not part of the command.
    [flexunit]
    [flexunit] Client connected.
    [flexunit] Setting inbound buffer size to [262144] bytes.
    [flexunit] Receiving data ...
    [flexunit] Sending acknowledgement to player to start sending test data ...
    [flexunit]
    [flexunit] 9/29/2011 23:42:11.580 [INFO] FlexUnit4 Running 3 Tests
    [flexunit] <testcase classname="org.flexunit.demo::SampleTest" name="testSampleIgnore" time="0" status="ignore"><skipped /></testcase>
    [flexunit] 9/29/2011 23:42:11.618 [INFO] FlexUnit4 org.flexunit.demo::SampleTest.testSampleIgnore I
    [flexunit] 9/29/2011 23:42:11.621 [INFO] FlexUnit4 org.flexunit.demo::SampleTest.testSampleFailure .
    [flexunit] <testcase classname="org.flexunit.demo::SampleTest" name="testSampleFailure" time="70" status="failure"><failure message="FAIL! - This is a sample test that will fail." type="org.flexunit.demo::SampleTest.testSampleFailure" ><![CDATA[FAIL! - This is a sample test that will fail.
    [flexunit]     at org.flexunit::Assert$/fail()[E:\hudson\jobs\FlexUnit4-Flex4.1\workspace\FlexUnit4\src\org \flexunit\Assert.as:294]
    [flexunit]     at org.flexunit.demo::SampleTest/testSampleFailure()[/home/jodi/ccm_wa/ME_ECS/BES3_devel~jod i1/BES3_devel/ui/unittest/src/test/flex/org/flexunit/demo/SampleTest.as:8]
    [flexunit]     at Function/http://adobe.com/AS3/2006/builtin::apply()
    [flexunit]     at flex.lang.reflect::Method/apply()[E:\hudson\jobs\FlexUnit4-Flex4.1\workspace\FlexUnit4\sr c\flex\lang\reflect\Method.as:244]
    [flexunit]     at org.flexunit.runners.model::FrameworkMethod/invokeExplosively()[E:\hudson\jobs\FlexUnit4- Flex4.1\workspace\FlexUnit4\src\org\flexunit\runners\model\FrameworkMethod.as:201]
    [flexunit]     at org.flexunit.internals.runners.statements::InvokeMethod/evaluate()[E:\hudson\jobs\FlexUni t4-Flex4.1\workspace\FlexUnit4\src\org\flexunit\internals\runners\statements\InvokeMethod. as:72]
    [flexunit]     at org.flexunit.internals.runners.statements::StackAndFrameManagement/handleTimerComplete()[ E:\hudson\jobs\FlexUnit4-Flex4.1\workspace\FlexUnit4\src\org\flexunit\internals\runners\st atements\StackAndFrameManagement.as:138]
    [flexunit]     at flash.events::EventDispatcher/dispatchEventFunction()
    [flexunit]     at flash.events::EventDispatcher/dispatchEvent()
    [flexunit]     at flash.utils::Timer/tick()]]></failure></testcase>
    [flexunit] 9/29/2011 23:42:11.763 [WARN] FlexUnit4 org.flexunit.demo::SampleTest.testSampleFailure F
    [flexunit] 9/29/2011 23:42:11.775 [INFO] FlexUnit4 org.flexunit.demo::SampleTest.testSampleError .
    [flexunit] FlexUnit test testSampleIgnore in suite org.flexunit.demo.SampleTest was ignored.
    [flexunit] <testcase classname="org.flexunit.demo::SampleTest" name="testSampleError" time="108" status="error"><error message="ERROR! - This is an error" type="org.flexunit.demo::SampleTest.testSampleError" ><![CDATA[Error: ERROR! - This is an error
    [flexunit]     at org.flexunit.demo::SampleTest/testSampleError()[/home/jodi/ccm_wa/ME_ECS/BES3_devel~jodi1 /BES3_devel/ui/unittest/src/test/flex/org/flexunit/demo/SampleTest.as:13]
    [flexunit]     at Function/http://adobe.com/AS3/2006/builtin::apply()
    [flexunit]     at flex.lang.reflect::Method/apply()[E:\hudson\jobs\FlexUnit4-Flex4.1\workspace\FlexUnit4\sr c\flex\lang\reflect\Method.as:244]
    [flexunit]     at org.flexunit.runners.model::FrameworkMethod/invokeExplosively()[E:\hudson\jobs\FlexUnit4- Flex4.1\workspace\FlexUnit4\src\org\flexunit\runners\model\FrameworkMethod.as:201]
    [flexunit]     at org.flexunit.internals.runners.statements::InvokeMethod/evaluate()[E:\hudson\jobs\FlexUni t4-Flex4.1\workspace\FlexUnit4\src\org\flexunit\internals\runners\statements\InvokeMethod. as:72]
    [flexunit]     at org.flexunit.internals.runners.statements::StackAndFrameManagement/handleTimerComplete()[ E:\hudson\jobs\FlexUnit4-Flex4.1\workspace\FlexUnit4\src\org\flexunit\internals\runners\st atements\StackAndFrameManagement.as:138]
    [flexunit]     at flash.events::EventDispatcher/dispatchEventFunction()
    [flexunit]     at flash.events::EventDispatcher/dispatchEvent()
    [flexunit]     at flash.utils::Timer/tick()]]></error></testcase>
    [flexunit] 9/29/2011 23:42:11.885 [ERROR] FlexUnit4 org.flexunit.demo::SampleTest.testSampleError E
    [flexunit] <endOfTestRun/>
    [flexunit] 9/29/2011 23:42:12.044 [INFO] FlexUnit4 Time: .314
    [flexunit] 9/29/2011 23:42:12.045 [WARN] FlexUnit4 There were 2 failures:
    [flexunit] 9/29/2011 23:42:12.046 [WARN] FlexUnit4 FAILURES!!! Tests run: 2, 2 Failures:
    [flexunit] FlexUnit test testSampleFailure in suite org.flexunit.demo.SampleTest failed.
    [flexunit] FlexUnit test testSampleError in suite org.flexunit.demo.SampleTest had errors.
    [flexunit]
    [flexunit] Stopping server ...
    [flexunit] End of test data reached, sending acknowledgement to player ...
    [flexunit] Closing client connection ...
    [flexunit] Closing server on port [1024] ...
    q [flexunit] Analyzing reports ...
    [flexunit]
    [flexunit] Suite: org.flexunit.demo.SampleTest
    [flexunit] Tests run: 3, Failures: 1, Errors: 1, Skipped: 1, Time elapsed: 0.178 sec
    [flexunit]
    [flexunit] Results :
    [flexunit]
    [flexunit] Tests run: 3, Failures: 1, Errors: 1, Skipped: 1, Time elapsed: 0.178 sec
    [flexunit]
    BUILD FAILED
    /home/jodi/ccm_wa/ME_ECS/BES3_devel~jodi1/BES3_devel/ui/unittest/build.air.xml:81: FlexUnit tests failed during the test run.
    Total time: 3 minutes 11 seconds

    Rupert:
    I think all of the AIR/SDK changes, etc. are red herrings. I think you have a relatively simple problem. The key is in the first error you posted.
    "method not implemented org.flexunit.internals.runners.statements::IAsyncHandlingStatement/org.flexunit.internals .runners.statements:IAsyncHandlingStatement::handleBindableNextSequence()
       over-binding 0 in org.flexunit.internals.runners.statements::ExpectAsyn"
    This is telling you that something you claim implements IAsyncHandlingStatement doesn't have a required method, named handleBindableNextSequence. This is a big clue. handleBindableNextSequence is a required method of this interface if you are building the library with the Flex extensions. This method is not required if you build the library without these extensions (ActionScript only)
    So, I would wager you have one of two things happening.
    Scenario A, you have two copies of FlexUnit4 in different projects or libraries. One of them is a Flex4 ActionScript Only version, and one is a Flex version and the linker is confused as well causing these errors to occur at runtime.
    Scenario B, one your libraries is referencing and/or building FlexUnit 4 classes into it. Then in your test project you are using a different copy of FlexUnit 4 during test and again, you have a mistmatch of AS-only versions and Flex versions.
    Unless you are using a beta version of FlexUnit, which you didn't mention, the core libraries have not changed since last december and this particular class hasn't changes since nearly a year before that.
    I can replicate that error if I setup two projects on my machine and mix the versions of the FlexUnit4.swc as I mention above.
    Mike

  • URLLoader breaks with an absolute path

    I call a php program from my Flash AS3 movie. So long as I use a relative path it works fine. If I change it to an absolute path, it breaks. This Flash file is destined to be an app, so I know have to use an absolute path. Any thoughts? Here's my code, below with the relative path shown in red. If I change that to a full path it breaks. Full path is http://www.parallaxdesigngroup.com/gg/dictTestDropDown/php/controlpanel.php
    function processLogin ():void
    var phpVars:URLVariables = new URLVariables();
    var phpFileRequest:URLRequest = new URLRequest("php/controlpanel.php");
    phpFileRequest.method = URLRequestMethod.POST;
    phpFileRequest.data = phpVars;
    var phpLoader:URLLoader = new URLLoader();
    phpLoader.dataFormat = URLLoaderDataFormat.VARIABLES;  
    phpLoader.addEventListener(Event.COMPLETE, showResult);
    phpVars.systemCall = "checkLogin";
    phpVars.term     = term.text;
    phpLoader.load(phpFileRequest);

    Thanks. Fiddler is great, I didn't know about it. With the relative path I can see the proper data in textview being passed back to Flash from PHP. But with the full path, Fiddler labels the session URL as /crossdomain.xml and in the response textview I can see file not found type of info:
    <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
    <html><head>
    <title>302 Found</title>
    </head><body>
    <h1>Found</h1>
    <p>The document has moved <a href="http://parallaxdesigngroup.com/pageNotFound.html">here</a>.</p>
    </body></html>
    Weird that a full path would fail.Here is my full path copied and pasted out of Flash, and if you put it in the browser you can see it doesn't give you file not found. It doesn't do anything in the browser because its purpose in life is just to pass stuff back to Flash.
    http://www.parallaxdesigngroup.com/gg/dictTestDropDown/php/controlpanel.php
    So I now know what is happening, but am not sure what to do to make the full path work. Any further thoughts greatly appreciated!

  • Call Executable​, absolute path doesnt work as expected

    Hi all,
    i have a problem with the step call executable.
    I configure the step (call a .exe or bat file) with absolute path.
    As long as Teststand runs with the seq-file loaded all works fine.
    The problem shows up when i close the seq-file and reload it later.
    Then the configuration seems to be ok (still the absolute path).
    But when i execute the seq-file it runs the .exe or .bat file as it only has
    the relative path in the configuration.
    I know that, because it wanna load some files from the same folder
    and it doesn't find them after reloading the seq-file.
    Sincerely Stefan Bölsterli

    I use Teststand 3.0

  • Function that finds the absolute path of a file

    Hi,
    I'm creating an application using the SDL framework.
    The following code gives me the absolute path for the file "caisse.jpg", which is located in my application bundle. Then, I can use the value of "cstrURL" to load the image with IMG_Load(cstrURL);
    #import <CoreFoundation/CoreFoundation.h>
    int main(int argc, char *argv[])
    CFURLRef url = CFBundleCopyResourceURL( CFBundleGetMainBundle(),
    CFSTR("caisse"),
    CFSTR("jpg"), //extension du fichier
    NULL );
    const char* cstrURL = CFStringGetCStringPtr(
    CFURLCopyFileSystemPath(url,kCFURLPOSIXPathStyle),
    CFStringGetSystemEncoding()
    printf("URL: %s", cstrURL);
    return EXIT_SUCCESS;
    But I have many files to load for my application. I tried to create a function that would take as parameter informations about the image, and then automatically find the absolute path of this image.
    ( void imgPath(char name[], char ext[], char destination[] ---> name = "image", ext = "jpg", destination is a variable in which the function puts the absolute path of the file)
    How can I do that? What bugs me is the use of the CFSTR macro in the code I have...
    Thank you very much
    FRANKY

    The CFSTR macro can only use a constant string as parameter, not a variable one.
    You can use instead CFStringCreateWithCString if the parameter is a C String (char *).
    Additionaly, I think the input parameters of your imgPath function must be of char* type, not char. And the output parameter char** (but it would be easier to know with the function source code).

  • Getting absolute path of a file in a webapp without using servlet/JSP

    Hi all,
    I need a small clarification. Is it possible to reterive the absolute path of a file present in a tomcat web application without using Servlet/JSP. I have a normal java class which uses this file to read the configuration parameters. I like to know whether I need to create a seperate servlet which will read the parameters from web.xml.

    Hi all,
    I need a small clarification. Is it possible to
    reterive the absolute path of a file present in a
    tomcat web application without using Servlet/JSP. What if the file is in a WAR? What do you do then?
    I
    have a normal java class which uses this file to
    read the configuration parameters. There are other, better ways to do this.
    I like to know
    whether I need to create a seperate servlet which
    will read the parameters from web.xml.What do you really want it for? You shouldn't need an absolute path. Use the class loader to get an InputStream.
    %

  • Deployment utility is not removing absolute path

    I'm using the deployment utility in TestStand 3.5 to create an image.  When I run the imaged sequence file I get an error  because TestStand tries to load a vi that is already loaded.  This only seems to happen with VIs that have absolute paths defined in the original test sequence.  My understanding was that TestStand removed dependencies on absolute paths during the build.  Do I need to remove the absolute paths in the original sequence file before using the build function?

    Ray,
    the UUT_Control.vi is loaded from in another sequence step as you suggested (the first call to UUT_Control does not use an absolute path) .  I also found the following info in the users manual :
    The TestStand Deployment Utility also performs processing on sequence
    files in order to remove absolute paths. ....The deployment utility corrects this potential problem by changing
    absolute path references in sequence files to relative paths that initiate from
    one of the following search directories:
    • Current sequence file directory
    • TestStand installation directory
    • Windows\System32 directory
    • Windows directory
    If the target file is located outside of these directories, TestStand uses a path
    that is relative to the installation directory and then adds the installation
    directory to the list of default search paths during the installation.
    My target file is outside the directories and I'm not creating an installation directory, just an image, so that is probably why TestStand is leaving the absolute path reference.
    Thanks for the help
    Bill

  • Grouping by absolute path

    Hello everyone, I have this small problem:
    My xml is as follows:
    <XXKSAPAYANALYSIS>
    <P_ASSIGNMENT_SET_ID></P_ASSIGNMENT_SET_ID><P_PAYROLL_ID>145</P_PAYROLL_ID><P_CONSOLIDATION_SET_ID>82</P_CONSOLIDATION_SET_ID><P_DATE_EARNED>31-MAR-14</P_DATE_EARNED><P_DEPARTMENT></P_DEPARTMENT><P_REPORT_TYPE>Detailed</P_REPORT_TYPE>
    <LIST_G_PERSON_ID>
    <G_PERSON_ID>
    <PERSON_ID>30053</PERSON_ID>
    <ASSIGNMENT_ACTION_ID>8910070</ASSIGNMENT_ACTION_ID>
    <ASSIGNMENT_SET_ID>208292</ASSIGNMENT_SET_ID>
    <ASSIGNMENT_SET_NAME/>
    <ASSIGNMENT_ID>30019</ASSIGNMENT_ID>
    <CF_PAYROLL_NAME>KSA Company Payroll</CF_PAYROLL_NAME>
    <CF_SORT_ORDER>99</CF_SORT_ORDER>
    <EMPLOYEE_NAME>Alqahtani, Saeed</EMPLOYEE_NAME>
    <EMPLOYEE_NUMBER>0009</EMPLOYEE_NUMBER>
    <EMPLOYEE_JOIN_DATE>2011-07-12T00:00:00.000+04:00</EMPLOYEE_JOIN_DATE>
    <EMPLOYEE_END_DATE/>
    <INPUT_VALUE_NAME>Pay Value</INPUT_VALUE_NAME>
    <EMPLOYER>KSA Company Riyadh</EMPLOYER>
    <EMPLOYEE_GOSI_NUMBER>374119974</EMPLOYEE_GOSI_NUMBER>
    <GOSI_ANNUITIES>Yes</GOSI_ANNUITIES>
    <GOSI_ANNUITIES_JOIN_DATE/>
    <GOSI_HAZARDS>Yes</GOSI_HAZARDS>
    <GOSI_HAZARDS_JOIN_DATE>11-OCT-01</GOSI_HAZARDS_JOIN_DATE>
    <USER_STATUS>Active Assignment</USER_STATUS>
    <GOSI_REFERENCE_SALARY>5600</GOSI_REFERENCE_SALARY>
    <POSITION_NAME>HUMAN RESOURCES MANAGER-RIYADH</POSITION_NAME>
    <JOB_NAME>Manager</JOB_NAME>
    <LOCATION_NAME>KSA-Riyadh</LOCATION_NAME>
    <NATIONALITY_NAME>Saudi Arabian</NATIONALITY_NAME>
    <EMP_SERVICE_PERIOD_CURRENT>1 Year(s), 6 Month(s), 29 Day(s)</EMP_SERVICE_PERIOD_CURRENT>
    <EMP_SERVICE_PERIOD_PAYROLL>2 Year(s), 8 Month(s), 19 Day(s)</EMP_SERVICE_PERIOD_PAYROLL>
    <TICKET_VALUE>0</TICKET_VALUE>
    <TICKET_CLASS/>
    <TICKET_DESTINATION/>
    <TICKET_TYPE>Not Eligible</TICKET_TYPE>
    <DATE_EARNED>2014-03-31T00:00:00.000+04:00</DATE_EARNED>
    <STANDARD_FLAG>N</STANDARD_FLAG>
    <DEPARTMENT>KSA-Riyadh-Human Resources</DEPARTMENT>
    <EFFECTIVE_DATE>2014-03-31T00:00:00.000+04:00</EFFECTIVE_DATE>
    <PREV_MONTH_RESULT>0</PREV_MONTH_RESULT>
    <ELEMENT_NAME>Employer GOSI Hazards</ELEMENT_NAME>
    <REPORTING_NAME>Employer GOSI Hazards</REPORTING_NAME>
    <CLASSIFICATION_NAME>Employer Charges</CLASSIFICATION_NAME>
    <RESULT_VALUE>112</RESULT_VALUE>
    <EMPLOYEE_JOIN_DATE>2011-07-12T00:00:00.000+04:00</EMPLOYEE_JOIN_DATE>
    <EMPLOYEE_END_DATE/>
    <UNPAID_LEAVE_DAYS>0</UNPAID_LEAVE_DAYS>
    <ANNUAL_LEAVE_DAYS>0</ANNUAL_LEAVE_DAYS>
    <SICK_LEAVE_DAYS>0</SICK_LEAVE_DAYS>
    <EXAM_LEAVE_DAYS>0</EXAM_LEAVE_DAYS>
    <HAJ_LEAVE_DAYS>0</HAJ_LEAVE_DAYS>
    <UMRAH_LEAVE_DAYS>0</UMRAH_LEAVE_DAYS>
    <UNPAID_LEAVE_HOURS>0</UNPAID_LEAVE_HOURS>
    </G_PERSON_ID>
    </LIST_G_PERSON_ID>
    </XXKSAPAYANALYSIS>
    Now in BI Publisher, I am trying to do something like:
    <?for-each-group:/XXKSAPAYANALYSIS/LIST_G_PERSON_ID/G_PERSON_ID[../CLASSIFICATION_NAME='Earnings'];./REPORTING_NAME?>
    So basically group person_id by reporting name, where classification name is earnings
    I could use //G_PERSON_ID[CLASSIFICATION_NAME='Earnings'], but I have a matrix report. This portion of code is supposed to go into a repeating group and my report is running really slowly. I am trying to speed it up by using an absolute path. Can anyone help with this?

    Hope you have installed EBS specific desktop client (for R12.1.3, patch - 12395372) and have developed RTF using that.
    Whats the exact error in CP log file?

  • How can I get the server absolute path of virtual directory?

    Problem context:
    absolute path of my application at JRUN server is
    c:\testing
    nd url is
    http://kaspak/test
    ( kaspak is a machine local to server i-e client nd server r at same machine )
    I m uploading a file nd saving it at server.
    PROBLEM:
    server save my uploaded file at
    C:\Program Files\Allaire\JRun\servers\default
    [ a path where server is installed ]
    while I want to save it at directory
    c:\testing\uploadfiles
    How can I achieve this???
    waiting for quick reply..
    KasPak

    here is a function for which u said,
    protected void readAndSaveFile(MultipartInputStreamHandler in,
    String boundary,
    String filename,
    String contentType) throws IOException
    A utility method that reads a single part of the multipart request that represents a file, and saves the file to the given directory. A subclass can override this method for a better optimized or differently behaved implementation.
    again saving a file, or uploading a file is no problem,
    but saving a file at our desired location,
    nd this can only be done if we know reall/absolute path of our application at server,
    i-e we need an API which can tells the absolute path of our application.
    e.g
    our application url is http://kaspak/testcode
    we need its absolute mapping to directory on server
    e.g it it is at c:\testcode
    if we get the absolute path then we can pass it in above function or in File class constructor.
    isn't it??
    I think in this way i can save file at other location.
    But how i can get absolute path?????
    thanks for ur reply,
    nd waiting for ur reply again.
    wbw
    kaspak

  • How can you determine the absolute path to a dynamically created NetStream object?

    We are trying to implement video captioning with a freeware component, ccforflash. This requires us to provide an absolute or relative path  to our NetStream object. How can we determine this path in Flash CS5 AS3?
    From the CCforFlashCS5 documentation:
    "2. Object name and path
    Type the name and path.  This is the instance name of the object with which CCforFlashAS3 will synchronize. It must be spelled correctly, since CCforFlashAS3 will query the object with this name for timing information in order to synchronize the captions. The path must also be included; either relative to the CCforFlashAS3 component (i.e. this.parent) or the absolute path from the main level of the movie (root)."

    It would be easier if the NetStream object was created on an easily identifiable place on the timeline. This player has an MVC architecture. The NetStream object is created in a subclass to Model class, which is itself a subclass of the EventDispatcher object. The View class access it via an interface.
    As you can guess, it's not that straightforward to determine where the NetStream object is located on the timeline. This is compounded by the fact that the NetStream object does not have a name property.
    I've tried methods like these, but they only work for the DisplayObject class:
    public static function displayObjectPath( avDisplayObject : DisplayObject ) :String
    var lvPath:String = "";
    do
    if( avDisplayObject.name ) {
    // var obj_name:String = (avDisplayObject.name == 'root1') ? 'root' : avDisplayObject.name;
    if (avDisplayObject.name != 'root1') {
    lvPath = avDisplayObject.name
       + ( lvPath == "" ? "" : "." + lvPath );
    } else {
    trace("displayObjectPath() NO NAME avDisplayObject="+avDisplayObject);
    } while( avDisplayObject = avDisplayObject.parent );
    return lvPath;
    } // displayObjectPath
    private  function showChildren(d:DisplayObjectContainer):void {
    trace("showChildren()");
    if (d.numChildren>0) {
    for (var c:Number = 0; c < d.numChildren; c++) {
    trace("showChildren c=",c," name=",d.getChildAt(c).name);

  • What are the reasons for using absolute paths to embedded objects in word?

    Hello,
    hopefully someone can answer me the question why word always stores the absolute paths to linked objects? We use Word for documentation and these documents are stored in a version control system and sometimes several persons are working on a document. Because
    of the absolute paths stored in the document all users would need to have the same directory structure so that the links would work for every person.
    For linked objects it's not even possible to change the absolute paths to relative paths.
    Additionally I would like to know what the difference between a "Graphic" and "Picture" object is. A graphic can be inserted by selecting "INSERT" -> "Pictures" and a "Graphic" doesn't seem to have a field
    function and always uses absolute paths. "Graphics" can be inserted by selecting "INSERT" -> "Quick Parts" -> "Field..." -> "IncludePicture" and it's possible to use relative paths for "IncludePicture"
    objects and it's possible to show the field function of a "Picture" object.
    Regards
    Martin

    This seems to be by design, not too much information about this. The thread below should be helpful for you to understand it:
    https://social.technet.microsoft.com/Forums/office/en-US/6d4445e1-cdc5-4b3b-9355-9081c963fdd9/unable-to-use-relative-object-links-in-word-office-2010-sp1
    Also, from the thread below, you will find some workarounds for this issue:
    http://windowssecrets.com/forums/showthread.php/102080-Relative-Paths-in-Word-Fields-(All)?p=584769&viewfull=1#post584769
    Aravindhan Battepati

  • How to get the absolute path of logicalhost server domain on Windows Sun

    i am reading a file from Xsql Folder, that is located in the logicalhost Sun\AppServer\domains\domain1\applications\j2ee-apps.(IN Sun Application Server)
    I am pretty sure that using the absolute path will solve this issue, so my first question is: How to get the absolute path of logicalhost server domain on Windows?
    i tried with System.getProperty("com.sun.aas.instanceRoot").
    but i am able to retrive Sun\AppServer\domains\domain1 upto this .i am unable to retrive Sun\AppServer\domains\domain1\applications\j2ee-apps.
    please suggest me how u can get absolute path in sun application server

    Take a look here

  • How to get the absolute path of logicalhost server domain on Windows?

    My logicalhost server domain behaves strangely. I am reading a file from collaboration definiton, that is located in the logicalhost/is/domains/domain1/config folder. I thought, that this folder is used as an application root folder so I can read files like ./file from there. And it worked.
    But then I've installed the domain as a Windows service, restarted the PC. When the domain1 gets started, I get exceptions saying that the file can't be found. Then I restart the domain (in domainmgr.bat) and it works again.
    I am pretty sure that using the absolute path will solve this issue, so my first question is: How to get the absolute path of logicalhost server domain on Windows?
    And my second question is: Why does this happen?

    The default folder for a Windows Service is the system32 folder contrary to the instance root folder when starting it as a normal process.
    That's the why, haven't tried the how, but you should be able to get the value by calling System.getProperty("com.sun.aas.instanceRoot").
    Hope this helps
    Paul

Maybe you are looking for

  • ASA5510 ASDM 6.0 GUI console login issue

    HI All, I have Cisco5510 running with ADSM 6.0 version, I was able to access it fine since few months but suddenly I am unable to login through that. Its prompting for username and password and loading it to 100% but not opening the GUI console. I fe

  • Print Event Details (absorbed into convert to PDF)

    Hi All, i want to print events list into a PDF document please help me how to do that.It is very urgent.Please give me reply immediately. Anybody have code please send me.. Thanks in advance.......

  • ALEAUDIT with wrong SNDPRN/RECPRN

    Hello, I have setup an IDoc scenario R/3-XI-R/3 which works correctly for sending IDocs and receiving answer IDoc. The sendinf R/3 system creates the IDoc with controlrecord: ReceiverInformation: LI#LF#VEND1 SenderInfo: KU#AG#CUST1 In XI this informa

  • How to record itunes visualizer and use it in imovie?

    I want to record iTunes Visualizer (with music) and put that footage on iMovie. First of all, how do i record the visualizer?? I was on youtube and i found a bunch of visualizer videos, so i know it is possible to record it. I have iTunes 10, iMovie

  • HT1766 what to do if i forgot the password

    I can not unlock my ipad