my flash reads the xml, but does not include the php tag...

my flash reads the xml, but does not include the tag php. I want to read my xml dynamically, Please help me.

Code:

Stop();

function randomOrder (targetArray)

{

var _loc2 = targetArray.length;

var _loc3 = [];

for (var _loc1 = 0; _loc1 < _loc2; ++ _loc1)

{

_loc3 [_loc1] = _loc1;

} / / end of for

var _loc4 = [];

for (var _loc1 = 0; _loc1 < _loc2; ++ _loc1)

{

_loc4 [_loc1] _loc3.splice = (Math.floor (Math.random () * _loc3.length), 1);

} / / end of for

var _loc5 = [];

for (var _loc1 = 0; _loc1 < _loc2; ++ _loc1)

{

_loc5 [_loc1] = targetArray [_loc4 [_loc1]];

} / / end of for

return (_loc5);

} / / End of the function

var randomNUM = '? '. n ="+ random (9999);

_root. LAN = 1;

var homehead;

HomeLink var;

var homelinkwindow;

var homebg;

var homeflash;

lamp var = Array();

promo var = Array();

var promobottom = Array();

var headimg = Array();

f_xmlwork2 = new XML();

f_xmlwork2.ignoreWhite = true;

f_xmlwork2. Load ("banner.php");

f_xmlwork2. OnLoad = {function (success)}

If (success) {}

trace ("XML loaded!');

f_xmlItemx2 = parseInt(this.firstChild.childNodes[0].firstChild);

f_totalx2 = f_xmlItemx2.length;

trace (f_totalx2);

var _loc12 = 0;

declarar a fundo imagem

homebg = this.firstChild.childNodes [0].firstChild.nodeValue;

f_headimg = this.childNodes [1];

for (var _loc2 = 0; _loc2 < f_headimg.childNodes.length; ++ _loc2) {}

Juju = f_headimg.childNodes [_loc2];

JJ = headimg.push ({headimg: f_headimg.childNodes [_loc2].attributes.headimg, bgimg: f_headimg.childNodes [_loc2].attributes.bgimg, msgimg: f_headimg.childNodes [_loc2].attributes.msgimg, leftthrow: f_headimg.childNodes [_loc2].attributes.leftthrow, rightthrow: f_headimg.childNodes [_loc2].attributes.rightthrow});

}

end for

allpromo = this.childNodes [2];

jjpromo = allpromo.childNodes;

for (var _loc2 = 0; _loc2 < allpromo.childNodes.length; ++ _loc2)

{

trace (jjpromo, [_loc2],.attributes.title);

JJ = promo.push ({img:. attributes.img jjpromo [_loc2], title: jjpromo [_loc2].attributes.title, url: jjpromo [_loc2].attributes.url, window: jjpromo [_loc2].attributes.window, info: jjpromo [_loc2] Sublst.ChildNodes(1).ChildNodes(0) [0] .nodeValue});

}

end of for

allpromobottom = this.childNodes [3];

jjpromobottom = allpromobottom.childNodes;

for (var _loc2 = 0; _loc2 < allpromobottom.childNodes.length; ++ _loc2)

{

trace (jjpromo, [_loc2],.attributes.title);

JJ = promobottom.push ({url: jjpromobottom [_loc2].attributes.url, window: jjpromobottom [_loc2].attributes.window, info: jjpromobottom [_loc2] Sublst.ChildNodes(1).ChildNodes(0) [0] .nodeValue});

} / / end of for

If (f_xmlwork2.loaded is true)

{

headimg = randomOrder (headimg);

for (var _loc2 = 0; _loc2 < f_headimg.childNodes.length; ++ _loc2)

{

trace (headimg, [_loc2], .headimg);

} / / end of for

play ();

} / / end if

}

}

trace (f_xmlwork2);

Stop();

PHP code:

<?

$link = mysql_connect("localhost","rnpac_eco","123");

@mysql_select_db ("rnpac");

$dir = "' banner /"; "

Dir1 $= "" products/img_pro / ";"

Dir2 $= "" universo/activities / ";"

$sql = ' SELECT tbl_produto.id_produto, tbl_produto.produto, tbl_produto.legenda, tbl_produto.detalhe, tbl_produto.preco, tbl_produto.produto_cat_id, tbl_detalhe_produto.proprietario, tbl_detalhe_produto.local, tbl_detalhe_produto.qualidade, tbl_detalhe_produto.alcool, tbl_detalhe_produto.acidez, tbl_detalhe_produto.ph, tbl_detalhe_produto.informacao, tbl_detalhe_produto.gestor, tbl_detalhe_produto.condicionamento, tbl_detalhe_produto.detalhe_t, tbl_detalhe_produto.interesse, tbl_detalhe_produto.transporte, tbl_detalhe_produto.produto_id, tbl_imagem_produto.id_imagem tbl_imagem_produto.imagem1, tbl_imagem_produto.imagem2, tbl_imagem_produto.imagem3, tbl_imagem_produto.imagem4, tbl_imagem_produto.imagem5, tbl_imagem_produto.imagem6

OF tbl_cat_produto, tbl_produto, tbl_detalhe_produto, tbl_imagem_produto WHERE tbl_produto.id_produto = tbl_detalhe_produto.produto_id AND tbl_produto.id_produto = tbl_imagem_produto.produto_id ORDER OF RAND()';

$resultado = mysql_query ($sql)

or die ("Nao faith possible realize a consulta.');

$row1 = mysql_fetch_array ($resultado);

$sql = "SELECT tbl_sub_universo.id_subuniverso, tbl_sub_universo.subuniverso, tbl_sub_universo.universo_id, tbl_actividade.id_actividade, tbl_actividade.entidade, tbl_actividade.legenda, tbl_actividade.subuniverso_id, tbl_actividade.det, tbl_actividade.preco, tbl_actividade.data, tbl_detalhe_actividade.actividade_id, tbl_detalhe_actividade.periodo, tbl_detalhe_actividade.descricao, tbl_detalhe_actividade.programa, tbl_detalhe_actividade.informacoes, tbl_detalhe_actividade.actividades, tbl_detalhe_actividade.localizacao, tbl_detalhe_actividade.locais, tbl_detalhe_actividade.servicos, tbl_imagem_produto.id_imagem. tbl_imagem_produto.imagem1, tbl_imagem_produto.imagem2, tbl_imagem_produto.imagem3, tbl_imagem_produto.imagem4, tbl_imagem_produto.imagem5, tbl_imagem_produto.imagem6, tbl_sub_universo tbl_imagem_produto.actividade_id, tbl_actividade, tbl_detalhe_actividade, tbl_imagem_produto WHERE the tbl_actividade.id_actividade = tbl_imagem_produto.actividade_id AND tbl_actividade.id_actividade = tbl_detalhe_actividade.actividade_id ORDER OF RAND() ';

$resultado = mysql_query ($sql)

or die ("Nao faith possible realize a consulta.');

$row2 = mysql_fetch_array ($resultado);

' $query ='SELECT * FROM tbl_banner ORDER OF RAND() ';

$resultado = mysql_query ($query);

echo "<?" XML version=\"1.0\"? " >

< home_left_headline >

< bgimg > '. $dir2. ". $row1 ['imagem1'].' < / bgimg >

< / home_left_headline >

< home_flash > ';

While ($row = {mysql_fetch_array ($resultado))}

"" echo "< swf headimg =" ' bgimg = "" msgimg = "" leftthrow = "" rightthrow = "" > < / swf > '; "

}

echo "< / home_flash > ';"

echo "< promotop >

"< img class =" "title =" "" url = "" > <! " [CDATA []] > < / promo >

"< img class =" "title =" "" url = "" > <! " [CDATA []] > < / promo >

< / promotop > ';

mysql_close ($Link);

you would not see this trace php if your php has been setup correctly.  Upload your files and repeat the test.

Tags: Adobe Animate

Similar Questions

  • ERROR: ' we found your application uses iOS identifier for advertising but does not include the functional ad.

    I just create my new Single Edition App, but Apple rejected my application because:

    "We found your application uses iOS identifier for advertising but does not include.

    feature ad. This is not consistent with the terms of iOS Developer

    "License program, as required by the App Store Review Guidelines."

    https://iTunesConnect.Apple.com/WebObjects/iTunesConnect.woa/Wo/10.0.0.7.3.0.9.3.3.1.0.13. 3.1.1.11.3.1.0.6.1.1

    What does that mean? What should I do? I already created another unique edition correctly...

    Rebuild your simple editing application and then try again to Apple. We have released a fix for this Friday.

    Neil

  • Laptop has 'charge battery' led flashing with charger connected, but does not turn

    I am with the following problem:

    (1) my laptop won't turn. Even when it is connected to the charger. I tested 3 different Chargers work.

    (2) sometimes the light which indicates "charger plugged" does not illuminate. And when it turns on, the "battery charge" stops flashing. In this case, when I try to power on my laptop, it starts to launch upward, but in a few seconds, he turned down.

    It's a DV4-2160us.

    What could happen and what could I do?

    I have the same problem, I have a solution , however: the order of output power: first plug in the socket and then into the laptop, works fine for me if I have no batery, if I, it dose n t of material order, it could be useful

  • for months now, I can't watch anything with flash, as it insatlls but does not work, it is defined as still active in the list of addons, and the permissions are active

    I 35.01 FF and can't watch videos requiring flash, it installs ok (or seems as indicated in addons with correct version number) and is set to "always active" in the addons, and I set the permissions on some sites to 'always', but nothing helped. I have now returned to use IE, I would prefer to use FF, but this problem is driving me crazy.
    Thanks in advance

    Dear john99 Further info, I disabled plugins RealPlayer and as you can imagine, they seem to interfere, I activated the flash stopped again, them off and flash now works. Thanks for you input it was greatly appreciated. I can now safely, go back to my beloved FF :)

  • Adobe flash player download it but does not install correctly

    Hi all

    I downloaded the latest version of Adobe flash player. Otherwise my mac (version 10.9.2.) will not play videos etc on the internet.

    I tried a lot of things. I followed everything and done Adobe guidelines so that I didn't have any version of Adobe flash player on my macbook more. After that I run a clean install of the latest Adobe flash player, but it always stops at 75%, saying: "unable to install".

    I hope someone or adobe's fix for this problem. Maybe from time to adobe to update the latest version of flash player...

    Best regards

    Oscar

    Please try the installer in offline mode:

    http://fpdownload.Macromedia.com/pub/flashplayer/latest/help/install_flash_player_osx.dmg

  • Flash Player installs fine, but does not work in firefox

    Adobe flash player doesn't seem to work on my firefox. I try to watch anything that uses the flash and he suggests that install it. I have re-installed flash and shockwave flash as well as firefox about 5 times now. nothing works. It seems to work on Google chrome, but I want to continue to use firefox.

    Searching the Internet has failed me, and I can't find all the topics with solutions.

    I hope someone here can help or at least point me in the right direction.

    I had the same problem you had for a long time until I found this forum Vincent. Little by little, I've collected some clues and I hope not too late to share my research with you. Heres how I fixed thanks to Carl E. Myers, who gave me the answers to identify the problem.

    The way in which I discovered that the problem is when I saw the control/flashplayer Panel noted Carl E, the Flash ActiveX and plugin are not installed as 32 bits in which I will explain later. From what you post, it's very likely your problem as well.

    so here's how to solve this problem:

    http://www.Adobe.com/support/flashplayer/downloads.html

    1. on this page, you will see

    Download Windows Flash Player (for IE) 11.2 ActiveX control content debugger (EXE, 3.93 MB)

    Download and installation

    2. the same page, you will see

    Download the Windows Flash Player 11.2 Plugin (for Netscape compatible browsers) content debugger

    That should do it. Why?

    Flash from Adobe installed as a 64-bit installation!

    Your computer is a 64-bit, like mine, so that's why ie and firefox are not picking up our installation of Adobe Flash, because Adobe Flash automatically installs on windows system you are running. It's a big problem we users of 64-bit because some applications are NOT 64 bit but more so compatible (if necessary). For example, Mozilla Waterfox is a 64-bit application that is built to our windows and you would see that the flash would work without problem because flash has been installed as a 64-bit. In addition, IE64bit, another proof that should be able to achieve as well, but not to be confused with IE as it is a 32-bit application.

    Plugins and activex controls you have installed are manual installation 32 bit and that you now understand why it will now work for firefox, ie and other browsers 32 bits that needed it. Apples to apples now.

    PS even if which should fix, I highly recommend using Waterfox instead of Firefox because it is surprisingly fast and way better live for your windows.

  • Reads music CDs, but does not recognize blank CD - r

    I have long used Nero or Roxio to burn some CD - Rs without problem. I recently tried to install Exact Audio Copy (EAC), which has worked flawlessly for years on my old computer, but all attempts to plant resulted in the Blue Screen Of Death, so I uninstalled it. I can still play music CDs, but none of the burning (Nero, Roxio, Windows Media Center) programs recognize blank CD - r (and Yes, I always use the same type and brand of CD - R). I also tried the Microsoft Fix It solution center, who acknowledged the problem but no solution offered. Any suggestions?

    Hello

    1. is this Microsoft fix it tool display error message associated with CD/DVD not getting not recognized?

    You can follow the steps below and check if that helps you solve the problem.

    You can temporarily try to remove or uninstall the writing software CD or DVD of third party such as Nero or Roxio installed on the computer and check if you are able to access the CD / DVD. If it works fine, you may need to contact the manufacturer of the software to check if you need to make changes to write to DVD.

    If you have Norton Installed on the computer, you can try disabling the software Norton temporarily to see if it solves the problem. Subsequently reactivate after verification.

    If the previous step fails, then check the condition of the disc on the computer using Manager devices and post back with the details.

    Also check the updated drivers available for the DVD player by visiting the website of the automaker.

    Open the Device Manager

    http://Windows.Microsoft.com/en-us/Windows-Vista/open-Device-Manager

  • 6510 will print using the Wi - Fi connection but does not include connection eprint

    I have a new printer 6510. The implementation went very well and it gave quality printing results in a few minutes until I tried to add ePrint for her.  The printer is connected to my computer via a wireless router for the wireless works. On the Web Services allow that I am advised to refer to the computer for progress, but the computer requests a Code that must come from the printer.  How can I move this forward.  I know that the printer must perform an analysis to update online as the first part of the process and it begins to connect but never gets anywhere.  Ideas welcomed...

    Oops. Sort it myself.  Suddenly realized the SSID of the router address was the original generic setting.  Changed to a single address and the printer took life... I think this would be clearly a lot... but for now, I'll give me 5 stars

  • ERROR. We found that your application uses iOS identifier for advertising but does not include the ad feature.

    Hello

    We have introduced an application using DPS Enterprise and had this error. I saw on the forum that it came early this year and a fix has been released, so no reason for this again? We use the latest versions.

    Graham

    Apple sometimes incorrectly reports apps with this error on review. There is no identifier advertising in use at the DPS. The dismissal of the appeal and tell them the app includes iOS identifier for advertising and ask them to check again.

    Neil

  • Windows Media Player does not include the CD Label/Insert manufacturer as it did before as I have re-installed Windows.

    original title: WHERE CAN I FIND WINDOWS XP MEDIA CENTER EDITION 2005 CD LABEL MAKER DONWLOAD?

    I HAVE A WINDOWS MEDIA PLAYER INSTALLED ON MY COMPUTER, BUT DOES NOT INCLUDE THE CD LABEL/INSERT MAKER THAT HAD MY ORIGINAL COMPUTER UNTIL I REPLACED MY HARD DRIVE. THE NEW WINDOWS THAT HAS BEEN INSTALLED IN MY NEW HARD DRIVE DID NOT INCLUDE THE LABEL MAKER FEATURE.

    Hi TerryodO'Donnell.

    The manufacturer of your computer would have installed extra software on your computer to create CD labels.

    So, you can use LightScribe system software to create CD labels.

    For more information, see:

    Forget the Sharpie: create your own disc labels

    Note: The information given in the link applies to Windows XP as well.

    Important: This response contains a reference to third party World Wide Web site. Microsoft provides this information as a convenience to you. Microsoft does not control these sites and no has not tested any software or information found on these sites; Therefore, Microsoft cannot make any approach to quality, security or the ability of a software or information that are there. There are the dangers inherent in the use of any software found on the Internet, and Microsoft cautions you to make sure that you completely understand the risk before retrieving any software from the Internet.

  • My partner loves Cityville and Frontierville. Recently she can't read. He keeps asking him to download flash player 10. It does not cure the problem. I can still play these games on main pc

    My partner loves Cityville and Frontierville. Recently she can't read them on his laptop. He keeps asking him to download flash player 10. It does not cure the problem. I can still play these games on main pc

    As a general rule, it allows to uninstall completely all the previous versions of Flash Player before installing a new one.  See the following articles:

    Uninstall Flash Player: http://kb2.adobe.com/cps/141/tn_14157.html
    Troubleshoot Flash Player installation: http://kb2.adobe.com/cps/191/tn_19166.html
    Common download problems and installation of Flash Player: http://www.adobe.com/products/flashplayer/support/index.html

  • I have trouble reading my Yahoo email. It highlights a message but does not open the e-mail message.

    Hello. I have trouble reading my yahoo mail. It highlights a message, but does not open it. Can someone help me?

    Thank you.

    Contact Yahoo support. It's their program.

  • my dvd - rw cd playback, but does not read the dvd.

    I have computer fz190 portable vaio, the interesting thing that, previously, my laptop read DVDs and now does not read, while my device to read the CD.

    Hi MAHDI roozzi,.

    1 when was the last time it was working fine?
    2. what happens when you try to play a DVD?
    3. you receive an error message?
    4. you have any CD to third parties | DVD burning software installed on the computer?

    First run the fix it tool available in the link below and check if it works.
    Your CD or DVD drive cannot read or write media
    http://support.Microsoft.com/GP/cd_dvd_drive_problems

    If the previous step fails and then uninstall any third-party CD | DVD burning software installed on the computer and check.

    I hope this helps!

    Halima S - Microsoft technical support.
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Adobe Flash is installed but does not work.

    Shows that Adobe Flash is installed but does not work.  whenever I try to watch a video, it says I need to install adobe flash

    original title: adobe flash

    Why do you send the original to a download of the Adobe Reader software, poster when their question Abobe Flash Player?

    The current version of Adobe Flash Player is 11.2.202.235

    http://get.Adobe.com/flashplayer/

  • Flash Player installs but does not work

    I've recently upgraded to Flash 11.6.602.171. I am running Windows 7 x 64 and IE 10 (32-bit edition). Installation said successefully Flash installed, but embedded Flash content does not appear on the web pages. All I see is a blank section where should appear the flash content. Still works fine before, it started just after an upgrade to the latest version. Shockwave Flash object is enabled in Internet Explorer. Go to Flash in my control panel shows that the latest version activex controls are installed. Here's what I've tried;

    • Through all installation and uninstall procedures set out on the Adobe web site. No differerence.
    • I uninstalled Flash and checked that it is uninstalled as described on the web page of Adobe Version 'find' according to the
    • Reinstall Flash and it says "Flash installed successfully."
    • Go to the page to find the Version and the Flash object is not displayed. When the page is loaded a gray area appears, then disappears, and no flash object shows. Do right click makes up the menu of the flash objects and I can access the Flash drive configuration manager, but can not display flash content.
    • I uninstalled and reinstalled 3 times and get the same results.
    • Videos YouTube work fine. Only embedded objects do not work.

    Another thing I noticed is that Silverlight video does not show as well. Move the mouse around section of the white screen where video Silverlight should be, the mouse pointer changes to the finger and I click, playback of video with audio but no video. I also noticed that aero live preview on my taskbar now shows white screens with icons instead of a real overview of the windows. I think this may be a video display problem, but have no idea as to how to proceed.

    Any help is greatly appreciated

    Issue is resolved for now. By reading another post, I came across this;

    http://forums.Adobe.com/message/5112973

    I posted my find there. The bottom line is by uninstalling Windows update kb2670838, all my problems disappeared. Feel like lately I spend hours and hours the weekend to try to resolve the problems as Microsoft Updates create the Wednesday and Thursday of the previous week. Thank you Microsoft!

    Mike

Maybe you are looking for