XML file not load locally...

Hello

I created a project, and it uses an xml file that I used in the current folder in the src of the project (the project was born in D:\C Drive\Documents\SAP UX\go_green\wasl_DB\bin-debug). The path of the url I used in HTTPService is:

"< mx:HTTPService id ="srv"url =" assets/datafile.xml"result =" srvResultHandler (event) "fault ="srvFaultHandler (event)"/ >

It works fine when I run it through flex, IE, he gets the outcome of srvResultHandler. But when I moved the folder bin-debug on some other disk and on another folder, and when I tried to open the swf file, it fails. It is based on failure to srvFaultHandler, where I gave an alert message, "Error reading xml file.".

Can you get it someone please let me know where mistaken? I don't want to run this in any server, I want to run 3 desktops locally always...

Help, please...

-Deepak

Add a compiler argument -use-network = false in your setting of the project compiler:

-Right click on the project (it must be open), go to properties

-go to the section of the Flex compiler.

-Add the argument that precedes in the additional compiler arguments (you might have -local en_US already there, put a space after it and paste top one.)

It will be useful.

Tags: Flex

Similar Questions

  • File not loading completely

    I'm fetch of signals using nor-scope. I use 'Write to worksheet File.vi', but everytime I open the txt file with excel, there is error in saying that "file not load completely. I don't know how I can solve this problem. Thank you!

    Cory K wrote:

    Excel has a row 65536 and the limit of 256 columns.

    Which applies only to Excel 2003 and more. Excel 2007, for example, has a something like a 16 000 column limit and beyond 1 million rows.

  • IMAQdx attributes listed in the xml file not found in labview

    Hello

    Some attributes of my camera our watch camera (DALSA CamExpert) software but are not displayed in MAX.

    When I opened the xml file, I don't see a difference between the attributes shown and hidden.

    Why LabView displays all possible attributes?

    The sml file has specific requirements?

    Any ideas?

    Hello Eric,

    I solved the problem yesterday!

    I use a DALSA camera. Dalsa software downloads the XML file and saves it in a directory 'dalsa"on my local disk.

    National instruments software (MAX) downloaded XML file and saves it in another directory. The 2 files were not equal. I replaced the XML file OR the XML of Dalsa file and now I'm able to get all attributes.

    But thanks for your response!

    Kind regards

    Kim

  • By getting Unattended.XML file not recognized when booting from the USB key dvd

    I have prepared without supervision. XML file and put it in the root of the USB stick and kept Windows 7 OEM DVD player. Mentioned the path of the file catalog in unattended mode. XML. active all USB ports in the BIOS settings. But without surveillance. XML file is not acknowledged at the start. What could be the possible problem here? Can someone help out me?

    Hello

    Please contact the Microsoft community.

    I suggest you to send your request in the TechNet forums to get the problem resolved.

    Please visit the link below to send your query in the TechNet forums:

    https://social.technet.Microsoft.com/forums/Windows/en-us/82410df7-2e70-47C7-a9dc-7dba7c17fbf8/autounattendxml-will-not-load-from-USB-HDD?Forum=w7itproinstall

    Hope this information is useful. Please come back to write to us if you need more help, we will be happy to help you.

  • File not on local disk?

    I get suddenly - 'file' not on the local drive. DOWNLOAD - when I opened one of my sites the in dreamwearver. All files appear in the files Panel and if I double click on the file in the files Panel names the file opens. So obviously, he's here. But when I click to open the link shown in the tool bar above the page I open in dreamweaver, I get this error and the file does not appear. Also my direct view is wobbly

    Help

    Sorry for the inconvenience, we are actually aware of this problem and the solution technoted workaround for the same

    Copy of the known issues http://helpx.stage.adobe.com/dreamweaver/kb/known-issues-dreamweaver-1 31.le html doc

    • On Mac, if the same name as a folder in any volume volume is:

      • Failed to open the associated files in a Dreamweaver site.
      • The Dreamweaver welcome screen does not load.

    Change the name of the folder and try again.

    Reference:http://forums.adobe.com/message/5633342#5633342 for more info

  • Properties in WEB-INF\classes file not loaded

    Hello!

    For ADF BC4J, I have a file of properties directly in WEB-INF\classes.
    When I start the application in the JDeveloper's integrated WebLogic instance, then the file is picked up very well.

    But when I deploy on a stand-alone WebLogic Server (EAR, standard deployment to app FMW WAR), then the file is not taken, I can see in the output of debugging Houston. The file is ignored, probably BC4J ADF is unable to find the file. They find using:

    Thread.currentThread () .getContextClassLoader () .getResource ("BC4J.properties");

    Googling resulted in a couple of threads, but I found some workaround solutions, no solution that I could apply, because it is not load me the file.

    I tried the < prefer-web-inf-classes > in weblogic.xml, did not help.

    A person an idea of what I'm doing wrong. I could probably put the file somewhere in my field and add the directory in the classpath in setDomainEnv, but I'd rather file in the classes directory.

    Thank you!

    Sascha

    Hi Sascha,

    You can fall in the * "_wls_cls_gen.jar question" * "

    You should therefore consider load your files of properties otherwise mentioned in the following link:

    * Topic: wlscls_gen.jar question *.
    http://middlewaremagic.com/WebLogic/?p=408

    Rather than using: Thread.currentThread () .getContextClassLoader () .getResource ("BC4J.properties");

    Use the following

    Properties p = new Properties();
    InputStream stream=this.getClass().getClassLoader().getResourceAsStream("Info.properties");
    p.load(stream);
    

    Kind regards
    Véronique Mody

  • by using an XML file to load an XML file

    Hello

    I have a menu that is based on xml. If you click on a button in this menu, I want to read another xml file and then fill the page with the images that has been read from the second XML file. I'm getting one from the second. The error I get is text = Error #2124: loaded file is an unknown type. Is it because I can't use an XML file to read another XML file, or is it because my paths are confusing? I checked my paths several times, but maybe I'm missing something. My script is below.

    Thanks in advance

    var xml

    var menuXmlLoader:URLLoader = new URLLoader();

    var menuXmlList:XMLList;

    menuXmlLoader.load (new URLRequest("xml/xmlLabels.xml"))

    menuXmlLoader.addEventListener (Event.COMPLETE, xmlComplete)

    var thumbXmlLoader:Loader = new Loader();

    the var menu: mcMenu

    function xmlComplete(event:Event):void

    {

    xml = XML (event.target.data);

    menuXmlList = xml.children ();

    for (var i: int = 0; i < menuXmlList.length (); i ++)

    {

    menu = new mcMenu

    menu.menuTxt.text = menuXmlList [i] .attribute ("trackphotos")

    addChild (menu)

    menu.x = 10

    menu.y = i * 30 + 10

    menu.buttonMode = true;

    menu.mouseChildren = false;

    menu.mouseEnabled = true;

    menu.id = i

    trace (menu.id)

    //menu.addEventListener (MouseEvent.CLICK, showThumbs)

    }

    thumbXmlLoader.load (new URLRequest (menuXmlList [1] .attribute ("trackphotos")));

    addChild (thumbXmlLoader)

    }

    and thumbXmlLoader has a complete listener and the listener function that is not called?  show the code.

  • CR2 file not loading Photoshop Elements 10

    I recently bought a Canon 650 d and now I am unable to load files Raw CR2 in 10 elements for editing-it is coming with a message «Cannot open...» CR2 because it's the wrong type of file.  I have not had this problem before.

    You have two options:

    (1) upgrade to PES 11. 2 download and install the free Adobe DNG converter to convert your raw files to open in PSE10 universal Raw CR2 files and Adobe format (keep your originals as backups and to use the camera software factory - DPP)

    Windows download Click DNG Converter 7.3

    Mac download click DNG Converter 7.3

    You can convert an entire folder of images raw with a single click. See this quick video tutorial:

    You Tube click here for the DNG Converter tutorial

  • PSDX files not load into Photoshop even with the plugin

    I installed the Plugins of App Touch since creative Cloud applications, but when I try to open it in Photoshop CS6 I just get a Windows error "could not complete your request because it is not the right kind of document.

    Is there another way to load?

    If PSDX is not listed under the file types that might explain why you can not open it. I'll do some checking more and get access to Windows 8 and test me, but it will not be until tomorrow. You are using version 32 or 64-bit of Windows 8?

    As a temporary workaround, you should be able to convert a PSDX PSD file through creative cloud, he just choose the option to download and then choose PSD as file type.

  • XML does not load on the server, but works well on site!

    Hello

    I am facing a problem that really confused me! I have a video player that grabs an XML playlist. If the path is relative to the XML, it is very good and works but when enter an absolute path (which is located in another area) it does not work! Here it is:
    http://emstris.com/sample/doftelie/NewPath.html

    The strange thing is that it works very well when I test the movie locally in my flash!

    Have you had to face such a problem? Can you help me please?

    Kind regards
    Hadi

    Flash hit F1 and search for crossdomain.xml

  • Web Content overlay | Do not load local images

    Hello

    the tutorial for the content of the Web, Overlay said, you must place all images and scripts in the same folder as the HTML itself, when you use a local html page.

    example:
    index.html
    pic1.PNG

    Pic2.jpg

    Unfortunatlly it does not work. Why? Any ideas? The images do not appear on my device or the generator to glimpse of insanity.

    And Yes, if I open the html code in my browser (like firefox or chrome) it works well.

    It only works with images that are hosted online on a server.

    Thanks for responding.

    Bart

    It finally works!

    I tried a lot of things, but now I know the savings/failure/bug.

    Unfortunatlly Indesign uses an absolute link to the local Web page.

    example: C:/Jobs/Customers/CustomerFake/JobNo/v1/index.html

    If this URL is too long (more than 40 characters), it does not work.

    Initially, I thought my way was wrong, because I used German characters such as a or ss. But it's not bad. Its all about the length of the URL.

  • Why the images in my file not loading not when I load file to a HTML doc?

    I produce a HTML e-mail announcement that I discovered on a web browser. Firefox to view everything correctly, but he ceased to show the images. That's happened? I pasted in the code below. Please let me know what the problem is. The doc is displayed properly in Chrome. Thank you!

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html>
    <head>
    	<meta content="text/html;charset=UTF-8" http-equiv="content-type" />
    	<title></title>
    </head>
    <body alink="#0000ff" bgcolor="#e5dcd3" link="#000000" style="font-family: Verdana,Arial,Helvetica,sans-serif; font-size: 10pt;" vlink="#0000ff">
    <div style="width: 650px; margin: 0pt auto;">
    <table align="center" bgcolor="#ffffff" border="0" cellpadding="0" cellspacing="0" width="650">
    	<tbody>
    		<tr>
    			<td width="650"><img align="none" alt="SmallBCGVRHeader2" border="0" height="85" hspace="0" src="https://9c0b1b2065-custmedia.vresp.com/82f64e030c/SmallBCGVRHeader2.jpg" style="width: 690px; height: 85px;" title="SmallBCGVRHeader2" vspace="0" width="690" /></td>
    		</tr>
    		<tr>
    			<td style="padding: 10px; background-color: rgb(242, 242, 242);">
    			<div style="color: rgb(255, 255, 255); font-size: 13px; color: rgb(218, 165, 32); text-align: center; text-decoration: none;"><a href="http://baychoralguild.org">HOME</a> &nbsp;&nbsp; <a href="http://baychoralguild.org/aboutbcg">ABOUT</a> &nbsp;&nbsp; <a href="http://baychoralguild.org/concer" t="">CONCERTS</a> &nbsp;&nbsp; <a href="http://baychoralguild.org/tickets">TICKETS</a> &nbsp;&nbsp; <a href="http://baychoralguild.org/contribute">CONTRIBUTE</a> &nbsp;&nbsp; <a href="http://baychoralguild.org/press">PRESS</a> &nbsp;&nbsp; <a href="http://baychoralguild.org/contact">CONTACT</a></div>
    			</td>
    		</tr>
    		<tr>
    			<td valign="top">
    			<table border="0" cellpadding="0" cellspacing="0" width="100%">
    				<tbody>
    					<tr>
    						<td style="padding: 20px; border-color: rgb(102, 51, 0);">
    						<div style="text-align: center;"><img align="none" alt="Carmina Burana" border="0" height="162" hspace="0" src="https://9c0b1b2065-custmedia.vresp.com/library/1443560363/a7f3fa88e9/VRNov2015Header150DI.jpg" style="width: 640px; height: 160px;" title="Carmina Burana" vspace="0" width="648" /></div>
    						&nbsp;
    
    						<div style="font-size: 12pt; color: rgb(230, 161, 14); font-family: arial,helvetica,sans-serif; text-align: center;"><strong><em>November 20, 21 and 22 in Campbell, Palo Alto and San Francisco</em></strong></div>
    						<!--Body text-->
    
    						<table align="center" width="610">
    							<tbody>
    								<tr>
    									<td style="text-align: left; font-size: 10pt; font-family: arial,helvetica,sans-serif;">
    									<p>Dear Friends,<br />
    									<img align="right" alt="Instruments3" border="0" height="494" hspace="2" src="https://9c0b1b2065-custmedia.vresp.com/library/1447378200/ea6bce95dd/Carmina Instruments.jpg" style="width: 104px; height: 494px;" title="Carmina Instruments" vspace="2" width="104" /><br />
    
    Our <strong><em>Carmina Burana</em></strong> concert series begins next Friday, at the Campbell United Methodist Church. Rehearsals have been wonderful and great fun!  We're really enjoying singing this piece, and are very much looking forward to dress rehearsals next week with soloists, percussionists and the Ragazzi Boy's choir! <br />
    									<br />
    									It's not often that we perform with as many different kinds of percussion instruments as are called for in <em>Carmina</em>. Since the percussionists are typically in the back of the orchestra, it may not be easy to see what the instruments look like, especially when they are small or unusual. Just in case you are curious, I have included some images of some, at least, of the percussion instruments. Top to bottom down the right side are triangle, raganella (ratchet), glockenspiel, sleigh bells, snare drum, suspended cymbal, castanets, tubular bells, and the last image is xylophone with crotales (antique cymbals) across the top. Our performance will not have an entire orchestra between the audience and the performers, so you will be able to easily see the percussionists and pianists at work, not to mention the soloists.<br />
    <br />
    
    									<img align="left" alt="RolandHP605 2" border="0" height="141" hspace="10" src="https://9c0b1b2065-custmedia.vresp.com/library/1447378275/6d53328fbb/RolandHP605.jpg" style="width: 175px; height: 141px;" title="RolandHP605 2" vspace="10" width="175" /><br />
    									The instrument list also calls for two pianos and a celeste. The pianos will be two Roland HP605 professional level electronic pianos, lent for this performance by two of our Bass choir members, David Goodman and Kim McCall. We rehearsed with the pianos this week - not only do they have amazing sound but with a flick of a switch they turn into the celeste, or the flute or the horn!<br />
    									<br /><br />
    
    <strong><em>Carmina Burana</em></strong> performance dates, times and <a href="http://baychoralguild.org/contact/directions/"><span style="color:#000000;">locations</span></a> are listed below. Sanford's program notes are posted to the BCG <a href="http://baychoralguild.org/concert/"><span style="color:#000000;">Concerts</span></a> page. Tickets for all concerts will be available <a href="http://baychoralguild.org/tickets/"><span style="color:#000000;">online</span></a> or at the door.</p>
    									<div style="font-size: 9pt; font-family: arial,helvetica,sans-serif;">
    									<table align="center" height="50" width="615">
    										<tbody>
    											<tr>
    												<td align="left" width="32%"><b>Friday, Nov. 20, 8:00 pm</b><br />
    												Campbell United Methodist Church<br />
    												<a href="http://baychoralguild.org/contact/directions/#campbell">1675 Winchester Blvd, Campbell</a></td>
    												<td align="left" width="33%"><b>Saturday, Nov. 21, 8:00 pm.</b><br />
    												First Baptist Church<br />
    												<a href="http://baychoralguild.org/contact/directions/#fbc">305 North California Ave, Palo Alto</a></td>
    												<td align="left" width="34%"><b>Sunday, Nov. 22, 4:30 pm</b><br />
    												St Gregory of Nyssa Episcopal Church<br />
    												<a href="http://baychoralguild.org/contact/directions/#sf">500 De Haro Street, San Francisco</a></td>
    											</tr>
    										</tbody>
    									</table>
    									</div>
    									<!--Signature, etc.--> <span style="font-size:10pt;">
    &nbsp;Please join us! It's going to be a fantastic concert!<br />
    									<br />
    									&nbsp;Mary Holzer<br />
    									&nbsp;Bay Choral Guild Publicity </span></td>
    								</tr>
    							</tbody>
    						</table>
    						<br />
    						<a href="https://www.facebook.com/BayChoralGuild"><img align="middle" alt="find_on_facebook" border="0" height="44" hspace="250" src="https://9c0b1b2065-custmedia.vresp.com/7f464ae81d/find_on_facebook.gif" style="width: 144px; height: 44px;" title="find_on_facebook" vspace="0" width="144" /></a></td>
    					</tr>
    				</tbody>
    			</table>
    			</td>
    		</tr>
    		<tr>
    			<td colspan="3" style="text-align: center; background-color: rgb(244, 221, 187);"><span style="font-size: 8pt;">Bay Choral Guild: <a href="http://baychoralguild.org">http://baychoralguild.org</a> | P.O. Box 597, Los Alto, CA 94023 | [email protected]</span></td>
    		</tr>
    		<tr>
    			<td colspan="3" style="text-align: center; background-color: rgb(244, 221, 187);"><img align="none" alt="footer" border="0" height="48" hspace="0" src="https://9c0b1b2065-custmedia.vresp.com/61f94d1e13/footer.jpg" style="width: 600px; height: 48px;" title="footer" vspace="0" width="600" /></td>
    		</tr>
    	</tbody>
    </table>
    </div>
    </body>
    </html>

    I see a lot of images in your message in Firefox 42 (screenshot attached), so I think that the code works.

    You view the message in a private window? If so, could you verify content blocked, that is, a shield icon on the left end of the address bar. More information: Tracking in private browsing Protection.

    Otherwise: the problems that cause to not show images.

  • File not Visible locally skin or on server

    I am trying to create my first Flash Video. I created the my video source FLV file successfully. From there, it gets hairy.

    I'm using Flash Pro 8 and doing the following:

    Open the new flash document
    Importing video
    Select progressive download from a Web server
    Select the Skin "SteelExternalPlaySeekMute.swf".
    Finishing

    Video appear in the FLA document with correct skin.

    The parameters are:
    AutoPlay - true
    AutoRewind - true
    autoSize - false
    bufferTime 0.1
    Content path TheDog.flv
    cuePoints None
    fake isLive
    True MaintainAspectRatio
    skin SteelExternalPlaySeekMute.swf
    Fake SkinAutoHide
    TotalTime 0
    volume 100

    Then I click on publish files

    It publishes the file 'video_publish.swf' and 'video_publish.html' in the same folder as the file "TheDog.flv" and the file "SteelExternalPlaySeekMute.swf". I have download all four files on the server and the video plays well, but there is no control of playback, the skin if you want to. What Miss me.

    The URL of the video is at: http://trekkin.com/FLVTest/Video_Publish.html

    Any help is greatly appreciated.

    John

    As I have said - make your scene taller vertically. This is done by passing under the main menu modify-> Document (ctrl-j) and changing the height of at least 480 pixels high.

  • Problem loading an xml file if not placed locally.

    Hey!

    I started a discussion on my capture setting problem and I now reduced it now. It turns out it wasn't settings do not have caught. The swf file takes the fine settings, so this apparently isn't the issue. My problem is that it seems that the file won't loaded .xml. When I have my .xml and .swf file locally on my computer and it works, it works very well. When I place it on my web server the same way, it works fine. However, when someone puts my .swf in embedded on their Web site that the XML will not be loaded by the SWF for a reason any. Here's the AS3 code, load the xml file. He was works well all the way until I started playing with the call of the swf from different sources (web server of my friend in the integrating etc.).

    -loading of the external xml file.

    var urlRequest:URLRequest = new URLRequest ("http://www.website.com/folder/myfile.xml");

    var urlLoader:URLLoader = new URLLoader();

    var myXML:XML = new XML();

    var xmlList:XMLList;

    myXML.ignoreWhitespace = true;

    urlLoader.addEventListener (Event.COMPLETE, fileLoaded);

    urlLoader.load (urlRequest);

    function fileLoaded(event:Event):void {}

    the code to play with the xml file once loaded

    }

    It seems that fileLoaded() is never executed unless the swf runs locally or on my computer or my server or called directly in the browser (like by typing in the web address field). I really can't understand what is wrong. Any suggestion is appreciated!

    try to create a file crossdomain.xml with this information:

    http://www.adobe.com/xml/dtds/cross-domain-policy.dtd">     
    
  • shipment value of the PHP variable to Flash to load an xml file

    I would like to load an XML file to the local location or on the server to ignore the name of the file. I use PHP to send the name of the Flash file.

    Here it is the PHP code:

    <? PHP

    filesInDir ('C:\Documents and Settings\457305\My Documents\shrikant\Flash Tutorials\webassist');

    function filesInDir ($tdir)

    {

    $dirs = rewinddir(3) ($tdir);

    foreach ($dirs as $file)

    {

    If (($file == '.') |) ($file == '..'))

    {

    }

    else if (is_dir ($tdir. » /'. $file))

    {

    filesInDir ($tdir. » /'. $file);

    }

    on the other

    {

    echo "fileName = $file";

    }

    }

    }

    ? >

    And here is the Actionscript code loading:

    import flash.net.URLLoader;

    import flash.net.URLRequest;

    import flash.events.Event;

    to import flash.net.URLVariables;

    Stop();

    Set the PHP file to load

    var phpFile:String = " " http://localhost/WebAssist/test.php ";

    var cons_xml:XML;

    var xmlLoader:URLLoader = new URLLoader();

    Specify the property dataFormat of the URLLoader to be "VARIABLE".

    This ensures the variables loaded into Flash with the same variable names

    xmlLoader.dataFormat = pouvez;

    xmlLoader.load (new URLRequest (phpFile));

    xmlLoader.addEventListener (Event.COMPLETE, processXML);

    function processXML(evt:Event):void

    {

    trace (evt. Target.Data.FileName);

    cons_xml = new XML (evt.target.data.fileName);

    gotoAndPlay (2);

    }

    When I trace evt.target.data it displays "fileName = mainOpenEndedXML % 2Exml" and when I trace evt.target.data.fileName the file name is correctly displayed as 'mainOpenEndedXML.xml'.

    But in the two next lines where the loading is done that it does not load the file IE does not play the SWF to an xml file.

    I've searched the Internet to find answers, but not able to find solutions.

    Loading works fine if I insert the xml file directly in the code and the SWF in the XML file plays correctly. Here it is the code for the same thing:

    import flash.net.URLLoader;

    import flash.net.URLRequest;

    import flash.events.Event;

    to import flash.net.URLVariables;

    Stop();

    var cons_xml:XML;

    var xmlLoader:URLLoader = new URLLoader();

    xmlLoader.load (new URLRequest ("mainOpenEndedXML.xml"));

    xmlLoader.addEventListener (Event.COMPLETE, processXML);

    function processXML(evt:Event):void

    {

    cons_xml = new XML (evt.target.data);

    gotoAndPlay (2);

    }

    Any help on this would be greatly appreciated


    You said you use PHP to send the name of the Flash file.  If the php file you provide only the name of the xml file that you need to load, then you will have to load the xml file in the same way that you show in your last set of code where you say that load you it directly.

Maybe you are looking for

  • Stop iTunes rename files from Podcast

    I am running iTunes on Windows 10 12.1.5.21. It is renaming downloaded podcast files based on the title tag. How can I keep the original names in his diet, not to rename them?

  • MacBook 12 "and external monitors - experiences

    That I have not found much info on using a MacBook 12 "with external monitors (but have found problems), I thought I would post my experiences here for the benefit of other researchers: MacBook 12 "with Dell u3415w (3440 x 1440) via a USB - C adapter

  • AppleScript Error-1728 - failed to get document 1

    I'm trying to find out why my AppleScripts I use for automation of numbers do not work this month. I have several scripts that I built for the treatment of the expenditure reports and I ran them last time in February with no problems.  Whenever I now

  • Cannot download the update of El Capitan

    I have four Macs in my house and three of them upgrade 10.11.2 without problem. My Mac Mini, however, does not download the update in the App Store. I tried to restart the App Store that allows about 100 MB to download at once, but then it stops even

  • 20 Megs connection provider

    I have a 20 megs plan with my provider, is the Airport express supports this connection or I have limited speed?