Loads PHP vars loading cache

Hello

I have a program that loads the PHP variables.  At the end of the day, I will be responsible for producing the PHP but I have to be sure that the flash load variables.  In my own tests using a simple PHP file, once the variables are laoded, subsequent changes to the variables don't have not recorded until I cleared my cahce.  I was leading these test on my local server so maybe that is not a question online.

But if anyone has any knowledge about this or knows how to make sure new variables are loaded each time the flash application to load PHP, I'd be gateful for the information.

Best,

Chris

If you asssign a random variable to the url string for the php file it does not load the cache... something like...

var fileToLoad: String ="http://www.domain.com/yourData.php?nocache=" + Math.Random ();

Tags: Adobe Animate

Similar Questions

  • 0x80073B01: the resource loader cache isn't loaded MUI entry

    Hello world

    I run Vista ultimate ed. and whenever I try to run an application like:
    -regedit.exe,
    -CCleaner.exe,
    -systempropertiesremote.exe,
    -systempropertiesprotection.ex,
    -systempropertiesadvanced.exe,
    -Explorer.exe,
    -etc...
    I have the following error: 0x80073B01: the resource loader cache isn't loaded MUI entry.

    When I try to run the process for example: devmgmt.msc I get the message: "no program no is associated with this file to perform this action. "Create an association by using the"Set Associations"application in the control panel.

    Last week, I put a few system variables in order to use java on the command prompt and I lost all the values of the variable PATH, no apparent problem until I run CCleaner yesterday (memory cleaner and registry).

    I don't know why but I also found the CatRoot2 directory in the sandbox and I restored it.

    I suppose that one of these causes are involved in the issues that I have on my computer. But the question is to know how to restore my computer without having to format.

    Thank you much, long in advance, for your help.
    Waiting for your answers.

    REDA.

    Hello

    Finally, I fixed my computer. I have just re-installed the English language pack via windows update.
    Thank you Diana for all your help, you're so nice :).

    Good day and best wishes for the new year.

    REDA.

  • Issue user account controls? message "resource loader cache not have loaded MUI entry" you try to run Norton System works on cd with UAC.

    I am running vista Home premium, upgraded from xp. I can't run norton system works setup cd with controls (UAC) user account enabled and on. I get the message "resource loader cache has no load MUI entry" I can run from cd with disabled UAC and offshore. What should I do to fix this?

    Hi David e. Sunderland

    Method 1
    When you are working on your computer and install a new program, the installation suddenly fails. Now, you're left with a partly installed program. You try to install the program again, but you're unsuccessful. Or, maybe you have problems trying to remove an old program because the installation files are damaged.

    Problems installing and uninstalling programs on Windows computers
    http://support.Microsoft.com/kb/2438651/

    Method 2
    You can try to install the program to boot.

    How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7
    http://support.Microsoft.com/kb/929135
    Note:
    follow step 7 of section of boot KB929135 to the computer in normal mode.

    Method 3
    Run the Norton System Works as an administrator and check if it helps

    How to enable an application to run once with a full administrator access token in the UAC?
    http://Windows.Microsoft.com/en-us/Windows-Vista/how-do-I-allow-an-application-to-run-once-with-a-full-administrator-access-token-in-UAC

  • Bulk loading cached using dumps

    Hello
    I can load the values from table in my application at startup using dumps adapter. do we not have any method in the cache
    store.

    Thank you
    -Trapani

    Hi thiru,.

    If you know all the keys of the table must be loaded into the cache, then you simply issue a cache.getAll () keys into manageable pieces.

    If you do not know the key, then you will need to write an application of custom loader which acts as a cache client and updates the data in the cache.

    You must also notify the cache store in advance that it is a preload, there is NO need to rewrite the data in the DB. This can be done either by an attribute that is designated for this indicator in the value of the cache itself, or the cache store cannot read a specific key replicated a cache to see if the phase preload is ongoing or not.

    Also, please see the following page:

    http://wiki.tangosol.com/display/COH34UG/pre-loading+the+cache

    Best regards

    Robert

  • "The resource loader cache has not loaded MUI entry".

    I get this message whenever I try to make updates, restore my printer, put on a new appliance of backup etc.  I watched the old messages and tried to do the things suggested.  I made sure that I am on as administrator, but when I do as suggests: sfc/scannow command - I get the SAME message.

    Can someone help me please?

    Thank you

    GiannaTM

    try to do this after disabling UAC, (if that did not make sure that you re-enable the UAC)

    If your problem is with windows update so only trt runs this tool

    http://support.Microsoft.com/mats/windows_update/

  • "The resource loader cache have loaded MUI entry".

    I get this error message whenever I try to install a program. The most important thing is the required program to connect to my wireless internet device.
    I read some of these forums and see some of the options available. The problem is that when I try to run the Vista System File Checker I receive the SAME error message, so I can't run this program. I wouldn't have problems with malware as I have Norton anti-virus installed and running on my system.

    SO I would try a system restore or install an upgrade of vista repair, but I'm not sure these process. I would like to know what, if any, information you lose by running these processes and they will solve the problem?

    Any help would be appreciated!

    Hello

    • What were the changes made before the problem occurred?
    • What program are you trying to install?
     
    I suggest to run this fix and try to install the program you are trying to install.
    Problems installing and uninstalling programs on Windows computers
  • Make PHP Vars to Flash

    Hello everyone, well I worked on it for awhile, I googled the hell out of him, and I can't find what I'm looking for. Can anyone help.

    I have a PHP file that works alone, when I ECHO them that they appear correctly in the browser, but I can't seem to switch to Flash. What I would do, is to succeed each one in their own box of Txt. I guess I don't know how to convert that I echo a VAN in flash so I can then put it in a box of text dyn. Here is the PHP Code. Thank you. (and yes I enclose only the end of the echo of the code, I do not understand where PHP takes the date of the DB - thought it was unnecessary).

    LoadVars flash is expected as the URL encoded name/value pairs.

    Look for the top in the address bar of your browser. Everything after the "?" is an example of how it should be done the echo of php. No '.
    "or other no tags, no whitespace etc.

    echo 'myval1 = Hello & myval2 = all';

    Which will decode the loading in a LoadVars instance as properties of the LoadVars instance (for example myLV)
    myLV.myval1 string "Hello".
    myLV.myval2 string 'world '.

  • AS3 URLLoader.load does not

    I have a Flash app that I use to capture an image of the webcam and save the image in a database of the server using ASP Classic. I used to use NavigateToURL. Since the recent security updates (I tested with Flash 14.0.0.145) I went to URLLoader.load. It works on my local test environment, but does not on the server on the customer site QA, otherwise said, ASP does not receive the data and the picture is not stored in the DB (I have absolutely NO ACCESS to the server from the client).

    • It is NOT between the domains. The Flash swf file is on the same server / the same domain as the page I load of.
    • Load triggers the completeHandler and I don't get any errors (but loader.data is empty, don't know what to look at to see the number of bytes sent?)
    • In the ASP page, I tried to Request.TotalBytes storage to see if I get something but it does not work (no data entry is made).

    Ideas of things to try, the solution?

    Code:

    function UploadImage(e:MouseEvent):void {
      var previewW:int = 94;
      var previewH:int = 118;
    
      var CropRectX:int = CropRect.x + 83; 
      var CropRectY:int = CropRect.y + 28.5; 
    
      //create a bitmap the size of the crop box
      var croppedBD:BitmapData = new BitmapData(CropRectCurrWidth, CropRectCurrHeight, false, 0x0000CC44);
      //create a rectangle relative to the cropbox in the video pane
      var rect:Rectangle = new Rectangle(CropRectX, CropRectY, CropRectCurrWidth, CropRectCurrHeight);
    
      var pt:Point = new Point(0,0);
      //copy the pixels from the crop area to the new bitmapData object
      croppedBD.copyPixels(cameraCaptureBD, rect, pt);
    
    
      var jpgEncoder:JPGEncoder = new JPGEncoder(100); // argument is the quality parameter
    
      var jpgStream:ByteArray = jpgEncoder.encode(croppedBD);
    
      //source: http://stackoverflow.com/questions/597947/how-can-i-send-a-bytearray-from-flash-and-some-form-data-to-php
      var loader:URLLoader = new URLLoader();
      configureListeners(loader);
      var header:URLRequestHeader = new URLRequestHeader("Content-type", "application/octet-stream");
      var request:URLRequest = new URLRequest(SaveURL);  //value: "SavePhoto.asp"
      request.requestHeaders.push(header);
      request.method = URLRequestMethod.POST;
      request.data = jpgStream;
    
      try 
      {
      loader.load(request);
    
    
      try 
      {
      navigateToURL(new URLRequest(DoneURL), "_top");  //DoneURL = "PrintPassesFrame.asp#" & [passID Num]
    
    
      } catch (error:Error) 
      {
      msg.text = msg.text + error.message;
      }
    
      } catch (error:Error) 
      {
      msg.text = msg.text + error.message;
      }
    
             function configureListeners(dispatcher:IEventDispatcher):void {
                dispatcher.addEventListener(Event.COMPLETE, completeHandler);
                dispatcher.addEventListener(Event.OPEN, openHandler);
                dispatcher.addEventListener(ProgressEvent.PROGRESS, progressHandler);
                dispatcher.addEventListener(SecurityErrorEvent.SECURITY_ERROR, securityErrorHandler);
                dispatcher.addEventListener(HTTPStatusEvent.HTTP_STATUS, httpStatusHandler);
                dispatcher.addEventListener(IOErrorEvent.IO_ERROR, ioErrorHandler);
            }
    
    
             function completeHandler(event:Event):void {
                var loader:URLLoader = URLLoader(event.target);
      msg.text = msg.text + "completeHandler: " + loader.data;
        
                var vars:URLVariables = new URLVariables(loader.data);
      msg.text = msg.text + "The answer is " + vars.answer;
    
            }
    
    
             function openHandler(event:Event):void {
      msg.text = msg.text + "openHandler: " + event;
            }
    
    
             function progressHandler(event:ProgressEvent):void {
                trace("progressHandler loaded:" + event.bytesLoaded + " total: " + event.bytesTotal);
      msg.text = msg.text + "progressHandler loaded:" + event.bytesLoaded + " total: " + event.bytesTotal;
            }
    
    
             function securityErrorHandler(event:SecurityErrorEvent):void {
      msg.text = msg.text + "securityErrorHandler: " + event;
            }
    
    
             function httpStatusHandler(event:HTTPStatusEvent):void {
      msg.text = msg.text + "httpStatusHandler: " + event;
            }
    
    
             function ioErrorHandler(event:IOErrorEvent):void {
      msg.text = msg.text + "ioErrorHandler: " + event;
            }
    }
    

    I can't help you with that.

    use a network Analyzer to see what is happening.

  • Error in FireFox and Chrome when evoking the PHP contact form

    I get the following error during the presentation on the contact page of my site in Firefox. Chrome does not display an error, but does not work. IE works fine and sends the e-mail.

    Error #2044: Unmanaged by securityError:. Text = Error #2048: security sandbox violation: http://www.greenclouddesign.com/index.swf cannot load data from http://staging.greenclouddesign.com/php/flashcontact.php.
    at::contact_51/sendData() [index_fla.contact_51::frame1:22] index_fla

    My AC3 code


    enter_btn.addEventListener (MouseEvent.CLICK, sendData);

    function sendData(evtObj:MouseEvent):void
    {
    const SCRIPT_URL:String = "http://www.greenclouddesign.com/php/flashcontact.php";
    var request: URLRequest = new URLRequest (SCRIPT_URL);
    var variables: URLVariables = new URLVariables();

    These depend on what calls the script expects to this
    variables.frmemail = email_txt.text;
    variables.frmname = name_txt.text;
    variables.frmcomment = comment_txt.text;

    Request.Data = variables;

    depends on if the script uses POST or GET
    Request.Method = URLRequestMethod.POST;

    var urlLoader:URLLoader = new URLLoader();
    urlLoader.load (request);
    root.gotoAndPlay ("home");
    }

    Any help is appreciated

    update your flash player IE and it will probably fail too.

    you have an error in security sandbox because those who resemble different areas to Flash.  a solution would be to use a cross-domain permissions file.   another would be to use a local php (to your swf) file to send and load data cross-domain and then sent to your swf file.

  • score update Flash and php

    Hi there, I wonder if someone can help me with this dashboard of php... our developers aren't being very useful...

    So problem is the score Panel is introduced at the beginning if the request and at the end to show your score when the game is over. The problem I have is refreshing scores (by replacing the current text in the boxes) rather than simply add the text again in the dynamic text boxes...

    Here is my code: -.

    tab var = "game1score" ;// updated for each game / / game2score, game3score...

    filesend var = 'receive.php ';

    var modesend = 'post';

    This is called when the scores are displayed at the beginning of the game

    private void onHighScoresButtonClick(event:MouseEvent):void {}

    var receptobjet = variableTransaction (filesend, modesend, tab, false, false);
    highScoresPage.rejouerButton.visible = false;
    highScoresPage.blueMan.visible = false;
    removeChildAt (0);
    addChildAt (highScoresPage, 0);
    }

    function variableTransaction (modesend, file tab, var1, var2) {}

    var URLload = new URLLoader();
    var URLrequest = new URLRequest (file);
    var variables: URLVariables = new URLVariables();

    variables. Tab = tab;
    variables.var1 = var1;
    variables.var2 = var2;

    If (modesend == 'post') {}
    URLrequest.method = URLRequestMethod.POST;
    } Else if (modesend == 'get') {}
    URLrequest.method = URLRequestMethod.GET;
    }

    If (var1 == false & & $var2 == false) {}

    URLload.dataFormat = pouvez;
    URLrequest.data = variable;
    URLload.load (URLrequest);

    URLload.addEventListener (Event.COMPLETE, modeComplet, false, 0, true);
    } else {}
    URLrequest.data = variable;
    URLload.load (URLrequest);

    var receptobjet = variableTransaction (filesend, modesend, tab, false, false);
    }

    }

    function modeComplet(event:Event) {}

    for (var p:uint = 1; p < = 10; p ++) {}

    var currentPseudo:String = 'Nick' + p;
    var currentScore:String = 'score' + p;

    If (event.target.data ["Nick' + p]) {}
    highScoresPage [currentPseudo] .appendText (["nickname" + p] event.target.data);
    If (event.target.data ["score" + p]) {}
    highScoresPage [currentScore] .appendText (["score" + p] event.target.data);
    } else {}
    highScoresPage [currentPseudo] .appendText ("\n");
    highScoresPage [currentScore] .appendText ("\n");
    }
    }
    }
    }

    private void gameEnd(event:Event):void {}

    Nick var = highScoresPage.pseudo0.text;
    var score = highScoresPage.score0.text;

    filesend var = "send.php";
    var modesend = 'post';

    variableTransaction (filesend, modesend, tab, nickname, score);

    var persoArray:Array = [gamePage.a1, gamePage.a2, gamePage.a3, gamePage.a4, gamePage.a5];
    var animalArray:Array = [gamePage.b1, gamePage.b2, gamePage.b3, gamePage.b4, gamePage.b5];
    var persoHitArray:Array = [gamePage.h1, gamePage.h2, gamePage.h3, gamePage.h4, gamePage.h5];
    var animalHitArray:Array = [gamePage.h6, gamePage.h7, gamePage.h8, gamePage.h9, gamePage.h10];
    for (var i: uint = 0; i < persoArray.length; i ++) {}
    (persoArray [i]) .removeEventListener (MouseEvent.MOUSE_DOWN, persoMouseDown);
    (persoArray [i]) .removeEventListener (MouseEvent.MOUSE_UP, persoMouseUp);
    (persoArray [i]) .buttonMode = false;
    }
    for (var j: uint = 0; j < persoArray.length; j ++) {}
    (animalArray [j]) .removeEventListener (MouseEvent.MOUSE_DOWN, animalMouseDown);
    (animalArray [j]) .removeEventListener (MouseEvent.MOUSE_UP, animalMouseUp);
    (animalArray [j]) .buttonMode = false;
    }
    for (var k: uint = 0; k < persoHitArray.length; k ++) {}
    (persoHitArray [k]) .visible = true;
    }
    for (var l:uint = 0; < animalHitArray.length; l ++) {}
    (animalHitArray [l]) .visible = true;
    }

    buttons.rulesButton.removeEventListener (MouseEvent.CLICK, onRulesButtonClick);
    buttons.startGameButton.removeEventListener (MouseEvent.CLICK, onStartGameButtonClick);
    buttons.highScoresButton.removeEventListener (MouseEvent.CLICK, onHighScoresButtonClick);
    buttons.infoButton.removeEventListener (MouseEvent.CLICK, onInfoButtonClick);
    completePage.linkButton.removeEventListener (MouseEvent.CLICK, onLinkButtonClick);
    mainTimer.removeEventListener (TimerEvent.TIMER, incrementCounter);

    countdownTimer.removeEventListener (TimerEvent.TIMER_COMPLETE, levelEnd);

    countdownTimerEnd.removeEventListener (TimerEvent.TIMER_COMPLETE, gameEnd);
    highScoresPage.rejouerButton.removeEventListener (MouseEvent.CLICK, onRejouerButtonClick);
    psuedoPage.goButton.removeEventListener (MouseEvent.CLICK, onGoButtonClick);

    gamePage = null;

    removeChildAt (0);
    addChildAt (highScoresPage, 0);

    highScoresPage.rejouerButton.visible = true;
    highScoresPage.blueMan.visible = true;

    }

    What do you mean by "every time" that I go to the page of best scores?   What happens when you click on the button of best scores?

  • problem with sending xml to php with URLRequest

    Okeay if someone could tell me what that is I am doing wrong? I get the following errors when I try to send the xml file to a php and write it in the xml file: #2044 Error: unhandled ioError:. Text = Error #2032: error flow.

    And my code is the following:

    Main application:

    <? XML version = "1.0" encoding = "utf-8"? >
    "" < mx:Application xmlns:mx = ' http://www.adobe.com/2006/mxml ' creationComplete = "LoadXML ()" layout = "absolute" > "
    < mx:Script source = "VieraskirjaScripti.as" / >
    < mx:DataGrid x = "10" y = "10" valueCommit = "out (event)" id = "mygrid" width = "245" height = "312" variableRowHeight = "true" > "
    < mx:columns >
    < mx:DataGridColumn headerText = "Vieraskijan merkinnät" textAlign = "center" fontFamily = "Georgia" fontSize = "15" fontWeight = "bold" = "col1" dataField >
    < mx:itemRenderer >
    < mx:Component >
    < mx:VBox >
    < mx:Text fontFamily = "Georgia" fontSize = "12" fontWeight = "normal" textAlign = "right" text = "{data.". Nimi} kirjoitti: "/ >"
    < mx:Text fontFamily = "Georgia" fontSize = "12" fontWeight = "normal" textAlign = "right" text = "{data.". Viesti} "/ >"
    < mx:Image source = "{data.". Kuva} "/ >"
    < / mx:VBox >
    < / mx:Component >
    < / mx:itemRenderer >
    < / mx:DataGridColumn >
    < / mx:columns >
    < / mx:DataGrid >
    < mx:Button = "201" x = "348" id = "Valamo" click = "LisaaUusi ()" label = "Button" / > "
    < mx:Button = "298" x = "348" label = "Save" click = "SaveXML (); grab. Text = str "/ >"
    < mx:TextArea = "263" x = "10" height = "312" width = "194" id = "grab" / >
    < / mx:Application >

    VieraskirjaScripti.as:

    ActionScript file
    Import mx.collections.XMLListCollection;
    Import mx.collections.Sort;
    Import mx.collections.SortField;
    flash.net import. *;
    import flash.events.Event;
    private var str:String;
    [Bindable]
    private var myXML:XML = new XML();

    private void LoadXML (): void {}
    var XML_URL:String = "Vieraskirja.xml";
    var myXMLURL:URLRequest = new URLRequest (XML_URL);
    myXMLURL.method = URLRequestMethod.POST;
    myXMLURL.data = myXML
    var myLoader:URLLoader = new URLLoader (myXMLURL);
    myLoader.addEventListener ("complete", xmlLoaded);
    }

    private void xmlLoaded(evtObj:Event):void {}
    var loader: URLLoader = URLLoader (evtObj.target);
    myXML = XML (loader.data);
    trace (myXML.Elements ('Merkinta'));
    mygrid.dataProvider = myXML.elements ('Merkinta');
    out (evtObj);
    }

    private void SaveXML (): void {}
    var PHP_URL:String = "Vieraskirja.PHP";
    var myPHPURL:URLRequest = new URLRequest (PHP_URL);
    myPHPURL.method = URLRequestMethod.POST;
    myPHPURL.contentType = "text/xml" ;// ' application/xml ';
    myPHPURL.data = myXML;
    var mySaver:URLLoader = new URLLoader (myPHPURL);
    mySaver.addEventListener ("complete", phpSaved);
    }
    private void phpSaved(evtObj:Event):void {}
    var Watch: URLLoader = URLLoader (evtObj.target);
    Str = saver.data;
    }
    private void LisaaUusi (): void {}
    var mychild:XML = < Merkinta >
    Pasi < Nimi > < / Nimi >
    123456789Pasi987654321 < Viesti > < / Viesti >
    Hymio02.gif < Kuva > < / Kuva >
    < Indeksi > 9 < / Indeksi >
    < / Merkinta >
    myXML = myXML.appendChild (mychild);
    trace (myGrid.DataProvider);
    mygrid.dataProvider = myXML.elements ('Merkinta');
    }

    private void sort(event:Event):void {}
    If (!) () mygrid.dataProvider == null)) {}
    var ac:XMLListCollection = XMLListCollection (mygrid.dataProvider);
    trace (AC);
    var sort: sort = new Sort();
    fate. Fields = [New, SortField ("Indeksi", true, true, true)];
    AC.sort = sort;
    AC. Refresh();
    Event.preventDefault ();
    }
    }

    N my php file:

    <? PHP
    $file = fopen ("Vieraskirja.xml", "w +") or die ("could not open XML file");
    $xmlString = $HTTP_RAW_POST_DATA;
    If (! fwrite ($file, $xmlString)) {}
    Print "error writing to an XML file.
    }
    print $xmlString. » \n » ;
    fclose ($file);
    ? >

    I just can't understand this

    EDiT: my vieraskirja test. XML looks like this:

    <? XML version = "1.0"? >
    < Vieraskirja >
    < Merkinta >
    Pasi < Nimi > < / Nimi >
    TestiViesti < Viesti > < / Viesti >
    Hymio02.gif < Kuva > < / Kuva >
    < Indeksi > 1 < / Indeksi > < / Merkinta >
    < Merkinta >
    < / Vieraskirja >

    A mistake is in your XML file. You have an additional label to at the end. It should be:



    PASI
    TestiViesti
    Hymio02.gif
    1

    But your error message looks like there is an error of path to locate your xml file or your PHP file. Make sure that the xml file is in the same directory as your swf file and also the PHP path is correct. When I tried your code on my system, it worked fine once I put the PHP path:
    var PHP_URL:String = "" http://localhost/Vieraskirja.PHP "; "

    Vygo

  • Table written in flash or php in charge (they are equal but the first work and secondly only)

    Hello

    I must be crazy, because I see no difference between a diractly table written in actionScript and the other a charge from php to do the same thing (create empty textfields and add table items to each of them)

    can someone explain this to me?

    as:

    var array_de_familias:Array = new Array ("Collection", "Top 10", "News", "Info", "Staff", "Goddies", "Contacts");


    loaded from php

    familias = unescape (gerarFamilias.vars);
    familias.sort ();
    familias.splice (0,1);
    var array_de_familias:Array = new Array (familias);

    output of PHP:

    var = 'Collection', 'Top 10', 'News', 'Info', 'Staff', 'Goddies', 'Contacts',


    Thank you

    I am fine thank you. Then, I misunderstood you.
    PHP:
    <>
    echo "vars = Collection, Top 10, News, news, personal, Goddies, Contacts";
    ?>
    As:
    var gerarFamilias:LoadVars = new LoadVars();
    gerarFamilias.load("php/gerarFamilias.php");
    gerarFamilias.onLoad = {function (sucesso)}
    If (success) {}
    var array_de_familias:Array = new Array();
    array_de_familias = This.vars.Split (",");
    trace(array_de_familias[0]);
    }
    }

  • PHP variable and xml processing

    Hello
    I have a problem that is driving me crazy! I have a php file that creates an xml from a sql query string. The problem is that I need to use a variable from a swf file to create the query. All this should happen when I click a button on the swf page. The xml file is created no problem, but the variable is not used. I am able to use these POST variables in other php files. As you can see it the php file is called two times in the script action. What is the problem. The line: xmlData.load ("get_max_sess.php"); is very good. I stuck one on one-loadVariablesNum ('get_max_sess.php', 0, 'POST'); After the fact and that do not work. is there a confilct by calling the same file twice? The function sendAndLoad isn't an option? My php file is included below.

    Thank you very much. I really hope you can help me!

    ****************************************************ACTION SCRIPT**********************************

    {call_btn.onRelease = Function ()}

    function processXMLData (success)
    {loadVariablesNum ('get_max_sess.php', 0, 'POST');}
    If (success)
    {


    var rootNode = this.firstChild;

    var contentNode = findNode (rootNode, "guit_vol");
    guitVol = getValue (contentNode);

    var authorNode = findNode (rootNode, "guit_pan");
    guitPan = getValue (authorNode);

    var contentNode = findNode (rootNode, "guit_vis");
    visGuit = getValue (contentNode);

    _root.guitVis.gotoAndStop (visGuit);

    affect of musician objects xml information

    _root.guitObj.drag._y = guitVol;
    _root.guitObj.drag._x = guitPan * 2;


    }

    on the other

    {
    Content = "today's news is not ';
    }

    }

    function getValue (node)
    {
    If (node & & node.firstChild)
    Return node.firstChild.nodeValue;
    Return ' ';
    }

    function findNode (node, nodeName)
    {
    If (node.nodeName is nodeName)
    return the node;
    for (var i = 0; node.childNodes & & I < node.childNodes.length; i ++)
    {
    var foundNode = findNode (node.childNodes , nodeName);
    If (foundNode! = null)
    Return foundNode;
    }
    Returns a null value.
    }

    var xmlData = new XML();
    xmlData.ignoreWhite = true;
    xmlData.onLoad=processXMLData;//when xml data loads that runs the function above
    xmlData.load ("get_max_sess.php"); load the XML from this location

    Stop();
    }

    ****************************************************PHP FILE**********************************



    <? PHP

    user_id $= $_POST ['user_id'];

    database query for records
    $connection = mysql_connect ('localhost', 'm27849_martin', 'Geraldine1') or die ("cannot
    to connect! ») ;
    mysql_select_db('m27849_liveroom') or die ("cannot select database!");
    $query ="
    SELECT a.guit_sess_id, a.guit_vol, a.guit_pan, a.guit_vis, b.bass_sess_id, b.bass_vol, b.bass_pan, b.bass_vis, c.drum_sess_id, c.drum_vol, c.drum_pan, c.drum_vis
    OF guit_info a, bass_info b, drum_info c, users_sessions d
    WHERE d.session_id = (SELECT max (a.session_id) FROM users_sessions a WHERE a.user_id = ' $user_id ')
    AND a.guit_sess_id = d.session_id
    AND b.bass_sess_id = a.guit_sess_id
    AND c.drum_sess_id = b.bass_sess_id
    ";
    (SELECT userid from auth WHERE username = "martin")
    Insert here a variable to call the relevant line (session)
    $result = mysql_query ($query) or die ("' error in query: $query.". ")
    mysql_error());

    $doc = new DomDocument ('1.0');
    The first item we create in the XML document is known as the root element. Each must have 1 and 1 single element XML document root. In this example I have called 'root', but you can use any name you like (such as the name of the PHP script that runs). Note that you need to create the item and insert it in the document with two functions.
    create the root node


    While ($row = {mysql_fetch_assoc ($result))}
    $user = $doc-> createElement('session');
    $user = $doc-> appendChild ($user);

    foreach ($row as $fieldname = > $fieldvalue) {}
    Note that here I create a new item for the field and then insert it as a child of the database line current, such as identified in $occ.
    $child = $doc-> createElement ($fieldname);
    $child = $user-> appendChild ($child);

    Now, I have to add the value of the field as a text node, then inserted as a child of the current node of the field, as identified in $child.
    $value = $doc-> createTextNode ($fieldvalue);
    $value = $child-> appendChild ($value);
    These loops are not completed as long as they treated each column of each row that has been retrieved from the database.
    } / / foreach
    } / / While



    echo $doc-> saveXML();
    echo $doc-> saveXML ($child);

    mysql_close ($Connection);


    from: http://www.tonymarston.net/php-mysql/dom.html
    ? >

    Hello
    I broke down after a lot of back and forth and the-ING! Apparently, you CAN send a variable and then load the xml. Thanks a lot for your advice and your interests. I am very grateful.

    Marty group

    Discover my code below...

    user_id = 147;
    {submit_button.onRelease = Function ()}

    function processXMLData (success)
    {
    If (Success)
    {_root.status_id = "Success"

    var rootNode = this.firstChild;

    var contentNode = findNode (rootNode, "guit_vol");
    guitVol = getValue (contentNode);

    var authorNode = findNode (rootNode, "guit_pan");
    guitPan = getValue (authorNode);

    var contentNode = findNode (rootNode, "guit_vis");
    visGuit = getValue (contentNode);

    Batch = visGuit;

    etc...

    }

    on the other

    {
    Content = "today's news is not ';
    }

    }

    function getValue (node)
    {
    If (node & node.firstChild)
    Return node.firstChild.nodeValue;
    Return ' ';
    }

    function findNode (node, nodeName)
    {
    If (node.nodeName is nodeName)
    return the node;
    for (var i = 0; node.childNodes & I)
    {
    var foundNode = findNode (node.childNodes , nodeName);
    If (foundNode! = null)
    Return foundNode;
    }
    Returns a null value.
    }

    var xmlData = new XML();
    xmlData.ignoreWhite = true;
    xmlData.onLoad = processXMLData;
    xmlData.load ("get_max_sess.php");
    var id: LoadVars = new LoadVars();
    ID.user_id = user_id;
    ID. UserName = _root.username;
    id.sendAndLoad ("get_max_sess.php", xmlData, "POST");
    }

    Basic idea of http://www.permadi.com/tutorial/flashXMLNewsExample/index.html - thanks!

  • Beginner jQuery is having trouble with the links and the page redirect and page caching.

    Hi all

    I'm trying to update an old legacy of multipage site (each page has headers html etc.), adding jQuery Mobile. Most of the time it goes well, but I'm having some problems with the links, the redirect of the page, and caching.

    I write javascript like this...

    < script >

    -do things - then-

    Window.Location.Replace ("Page1.html");

    < /script >

    and links like this


    < a class = "-ui ui-btn-b btn tsize1" href = "page2.html" rel = "external" > page 2 < /a > "


    CACHING ISSUES


    On many pages - such as those that I have problems with, I've added no caching of code as...

    < head >

    < META HTTP-EQUIV = "Pragma" CONTENT = "no-cache" >

    < META HTTP-EQUIV = "Expires" CONTENT = "-1" >

    ... more...

    < head >

    Problem: for example, I can go to Page 1 and click on a link to go to page 2 and page 2 has the lines "no cache" header. The problem is that a fresh change of page 2 does not appear even with no cache lines above and even if I hit refresh in the browser that I thought it was supposed to reload the page (live get of the site). On the contrary, it seems to continue to see the old content before the update.

    In another case I could be on page 21 and click on a link that goes to the publicationfootnote22 and made a few treatment database and then goes to the page33. In this case, my fees top22 updates are not appearing and showing just the old cache data.

    Q: what is the best way, at least while I am writing code, to force the Page to refresh (non-cache), I can see my updates all the time, because otherwise it becomes very confusing because I'm sure you know.

    Thanks in advance: Dave

    Hi Dave,.

    Are you handy with your developer tools? It's always where I head when I need to look inside something. Before getting anywhere in addition or developed, check the response code you get for the page request and see what is the numeric code. If it is 200, you get a new copy. If it is 304 then your browser is striking the same content or something in your UI is to preserve the previously loaded document fragment.

    Photos make it easy, Chrome this is grabbing a small page for the first time and with disable cache enabled, and we get the status code 200:

    If I keep refreshing with "Disable cache" activated so I keep getting GET/200, copy fees.

    However, delete the "disable cache" to speed things up and the server and the client negotiate and check if she even needs to send you the document (if she thinks she's changed), and if not, of course you GET/304, or "load cache:

    Whenever I update I get GET/304, hitting the cache.

    Make sure your requests are GET/200 if you expect not to be cached.

  • Cannot create the READONLY cache

    Dear all,

    We try to create a Readonly cache. Here are the details:

    Con1: command > dssize

    PERM_ALLOCATED_SIZE: 307200
    PERM_IN_USE_SIZE: 9585
    PERM_IN_USE_HIGH_WATER: 9585
    TEMP_ALLOCATED_SIZE: 65536
    TEMP_IN_USE_SIZE: 10915
    TEMP_IN_USE_HIGH_WATER: 13728

    Con1: command > cachegroups;

    Group cache CACHEADM. TEST:

    Group cache type: read-only
    AutoRefresh: Yes
    AutoRefresh Mode: incremental
    AutoRefresh State: paused
    AutoRefresh interval: 5 seconds
    AutoRefresh Status: ok
    Aging: No aging set

    Table roots: HR. BIGDATA
    Table type: read-only

    Group 1 found cache.

    Con1: command > call ttgridstatus;

    < MYGRID1_alone1_1: Update member phase 9 >

    1 row found.

    But when trying to LOAD the CACHE, we get following error:

    Con1: command > test LOAD CACHE GROUP COMMIT EACH 256 LINES;

    5056: cache will fail: = < error Oracle > error_type, error_code = < 1740 >,.

    ERROR_MESSAGE: ORA-01740: missing double quote in identifier

    The command failed.

    and once again if if run the command above, we get

    Con1: command > test LOAD CACHE GROUP COMMIT EACH 256 LINES;

    799: unable to connect to the daemon. check the status of demon

    The command failed.

    but the devil is running...

    Help, please?

    You are able to view the statement of 'create a cache...'?

    Thank you

Maybe you are looking for