5 elements in XML. 1 does not.
HelloIM my XML there are 5 elements. Name, author, Image, Link and time. All the items are displayed via Item Renderer, but when I click on the image, the page relavent does not open. Any suggestion?
Thank you
Here are my 3 files.
<? XML version = "1.0" encoding = "utf-8"? >
"" < mx:Application xmlns:mx = ' http://www.adobe.com/2006/mxml ' layout = "vertical".
backgroundGradientColors = "[#eeeeee, #eeeeee].
Initialize = "titleService.Send ()" >
< mx:Script >
<! [CDATA]
Import mx.collections.ArrayCollection;
Import mx.rpc.events.ResultEvent;
import flash.events.Event;
import flash.events.MouseEvent;
[Bindable]
private var myData:ArrayCollection;
private void resultHandler(event:ResultEvent):void {}
myData = event.result.titles.title;
}
[]] >
< / mx:Script >
< mx:HTTPService id = "titleService".
URL = "" Data / NewTitles.Xml ""
result = "resultHandler (Event)" / >
< mx:Label text = 'New technologies' fontSize = "20" / >
< mx:TileList id = "myList" dataProvider = "{myData}.
itemRenderer = "view. MyRenderer.
width = "720" height = "600" verticalScrollPolicy = "off" / >
< mx:Label text = "{myList.selectedIndex}" / >
< mx:Label text="{myList.selectedItem.name}"/ >
< / mx:Application >
Here is the item converter
<? XML version = "1.0" encoding = "utf-8"? >
"" < mx:HBox xmlns:mx = ' http://www.adobe.com/2006/mxml '
width = "700" height = "100".
"25" paddingLeft = verticalScrollPolicy = "off" horizontalScrollPolicy = "off" >
< mx:HBox >
< mx:Image source = "assets / {data.image} ' buttonMode ="true"useHandCursor ="true"click ="{data.link}"/ >" "
< / mx:HBox >
< mx:VBox >
< mx:HBox >
< mx:Text text = "{data.name} '"
textAlign = "left" fontWeight = "bold" fontSize = "10" / >
< / mx:HBox >
< mx:HBox >
< mx:Text text = "{data.author} '"
Width = "650" condenseWhite = "true" textAlign = "left" / >
< / mx:HBox >
< / mx:VBox >
< / mx:HBox >
Here's the XML file
<? XML version = "1.0"? >
< title >
< title >
< name > the future of Windows < / name >
< author > successor Vistas may be the real winner for Microsoft. What Windows 7 has in store? Here is what we have learned so far < / author >
< link > http://www.pcmag.com/article2/0, 2817,2314409,00.asp </link & gt;
< runningtime > 9 < / runningtime >
VSTA.jpg < image > < / image >
< /title >
< title >
< name > QUARKXPRESS 7 new FEATURES < / name >
< author > Jay Nelson < / author >
< link > http://www.pcmag.com/article2/0, 2817,2314409,00.asp </link & gt;
< runningtime > 5 < / runningtime >
PCs < image > < / image >
< /title >
< title >
< name > PODCASTING WITH GARAGEBAND 3 < / name >
< author > Scott Bourne < / author >
< link > http://www.pcmag.com/article2/0, 2817,2314409,00.asp </link & gt;
< > 4.75 runningtime < / runningtime >
AMD.jpg < image > < / image >
< /title >
< title >
< name > iWEB ESSENTIAL TRAINING < / name >
< author > Garrick Chow < / author >
< link > http://www.pcmag.com/article2/0, 2817,2314409,00.asp </link & gt;
< runningtime > 3.5 < / runningtime >
charger.jpg < image > < / image >
< /title >
< title >
< name > EMAIL EFFECTIVE < / name >
< author > Jeff Van West < / author >
< link > http://www.pcmag.com/article2/0, 2817,2314409,00.asp </link & gt;
< > 6.5 runningtime < / runningtime >
gadgts.jpg < image > < / image >
< /title >
< title >
< name > MAC OS X SERVER 10.4 TIGER ESSENTIAL TRAINING < / name >
< author > Sean Collins < / author >
< link > http://www.pcmag.com/article2/0, 2817,2314409,00.asp </link & gt;
< > 9.25 runningtime < / runningtime >
GPS.jpg < image > < / image >
< /title >
< / title >
Use navigateToURL() on the click event of your image in the itemRenderer.
TS
Tags: Flex
Similar Questions
-
When I click on an RSS feed, I get this message. XML file does not appear to have any information of style associated with it. The same RSS feed works fine with internet explorer, any information would be helpful.
Here are the first 3 lines from what I get< rss version = "2.0" >
< String >
< title >You open a new empty tab?
Don't you see the text 'Click on the RSS buttonin the toolbar of navigation on this page?
Start Firefox in Firefox to solve the issues in Safe Mode to check if one of the extensions or if hardware acceleration is the cause of the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > appearance/themes).
- Makes no changes on the start safe mode window.
- https://support.Mozilla.org/KB/safe+mode
-
Firefox could not install this point because 'install.rdf' (provided by the element) is incorrect or does not exist. Contact the author to this problem.
The above statement is in the box pop up error every time, when I run Firefox. If I click on ok in the box of Firefox opens. How can I solve this problem of initialization/launch?
Start Firefox in Firefox to solve the issues in Safe Mode to check if one of your modules is causing your problem (switch to the DEFAULT theme: Tools > Modules > themes).
See the extensions, themes and problems of hardware acceleration to resolve common troubleshooting Firefox problems and troubleshooting questions with plugins like Flash or Java to solve common Firefox problemsIf this does not work in safe mode and then disable all your extensions and then try to find out who is causing by allowing both the problem reappears.
You can use "Disable all add-ons" window the startup of Firefox to solve the issues in Safe Mode to disable all extensions.
You will need to close and restart Firefox after each change via "file > exit ' (Mac: ' Firefox > leave";) Linux: "file > exit ') -
Adobe Photoshop Elements 12 for Mac does not in Applications. Tutorial for editing in iPhoto shows by selecting the Adobe software in Applications. Am I missing a step in product registration?
I answered my own question: there is a difference between "Download"and 'install'." Hunting the 'install' (1.5 hrs in my case) and align your passwords, Adobe ID, etc., then install. 15 min. The right choice appears in the Applications. However it is to understand why photo selected for editing in iPhoto does not display in the elements.
-
Photoshop elements 10 edition screen does not load
Photoshop elements 10 edition screen does not load. It was working fine, then I answered an update of Adobe. It has stopped working. I have re-installed Photoshop Elements 10 for MAC from the purchased disk. The Organizer works but not the Publisher. The Organizer is not able to call the editor either. I've uninstalled and reinstalled twice. I can't the editor to load its screen edition or images.
I'm really stuck.
It worked! Thank you. I am most grateful. (I use Lion, how strange to find the library!) At least 1 of 3000 engineers Apple does not know the word intuitive.
-
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.
-
XML file does not appear if it is a local file and XSLT file is on a server.
If I have a local XML file with a XSLT file local XML file is displayed as expected. If the two files are on my server again that the XML file is displayed correctly. However if the XML file is local and the XSLT file is on the server (and the XML file points to the file on the server) I get the following error:
Error loading stylesheet: an unknown error occurred (805303f4)
Using Firefox on a Mac 41.0.1.
This problem does not occur on Safari
No idea where I'm wrong? Research on the web there are suggestions about changing the mime, but'm not 100% sure what to do about it. In
Thank you
Brian
Guigs. Thanks for the information.
After doing some digging, I found this page:
http://enable-cors.org/server_apache.html
Following these tips, I added an .htaccess file in the directory on the server that contains my .xslt file, which contains the line:
Header set Access-Control-Allow-Origin "*"
And that seems to have solved my problem for Firefox!
Does not seem to solve the problem on Internet Explorer, but suspect it's a problem for another day (and maybe another forum).
-
Elements 14 OS version does not recognize my camera, it appears in the firewire system
14 used to recognize my camera the computer because of the items appears under system hardware, firewire osx operating system
Hi Dodger,
Thank you
Catherine
-
I bought the 12 photo shop elements. It came with a disc, but my mac does not have a disk. How can I download and enter my serial number on the disk for the installation?
You can download items online instead. Please see the following links for the files:
Photoshop elements 13, 12, 11, 10 | 9, 8, 7
First items 13, 12, 11, 10 | 9
Guinot
-
First 13 elements downloads but it does not work!
MyPE 13 WILL NOT function after apparently downloading. Had a tech on last night for hours until he realizes that he has downloaded 32-bit instead of 64. He presumed that it was the problem and the cat on the left after the download is finished, but IT IS STILL NOT FUNCTIONING! I can not get tech support today. H E L P!
Uninstall pre13, clean by http://www.adobe.com/support/contact/cscleanertool.html
and then install the 64 bit 13 meadow (if you have a 64-bit system).
Available downloadable Setup files:
- Suites and programs: CC 2014 | CC | CS6 | CS5.5 | CS5 | CS4, CS4 Web Standard | CS3
- Acrobat: DC, XI, X | 9,8 | 9 standard
- First Elements: 13 | 12 | 11, 10 | 9, 8, 7 win | 8 mac | 7 mac
- Photoshop Elements: 13 | 12 | 11, 10 | 9,8,7 win | 8 mac | 7 mac
- Lightroom: 6| 5.7.1| 5 | 4 | 3
- Captivate: 8 | 7 | 6 | 5.5, 5 | 1
- Contribute: CS5 | CS4, CS3 | 3,2
- FrameMaker: 12, 11, 10, 9, 8, 7.2
Download and installation help links Adobe
Help download and installation to Prodesigntools links can be found on the most linked pages. They are essential; especially steps 1, 2 and 3. If you click on a link that does not have these listed steps, open a second window by using the link to Lightroom 3 to see these "important Instructions".
-
elements of Adobe 13 does not load
I bought the first item 13 on April 11, 2015, and it does not load on my computer!
I see nothing attached and not answers to the questions I asked.
but your mention of a redemption code makes me think that you need to download PES 13. If so, use the link below.
and if you have any questions about how to exchange your serial number, Redemption Code help
Available downloadable Setup files:
- Suites and programs: CC 2014 | CC | CS6 | CS5.5 | CS5 | CS4, CS4 Web Standard | CS3
- Acrobat: XI, X | 9,8 | 9 standard
- First Elements: 13 | 12 | 11, 10 | 9, 8, 7 win | 8 mac | 7 mac
- Photoshop Elements: 13 | 12 | 11, 10 | 9,8,7 win | 8 mac | 7 mac
- Lightroom: 5.7.1. 5 | 4 | 3
- Captivate: 8 | 7 | 6 | 5.5, 5 | 1
- Contribute: CS5 | CS4, CS3 | 3,2
- FrameMaker: 12, 11, 10, 9, 8, 7.2
Download and installation help links Adobe
Help download and installation to Prodesigntools links can be found on the most linked pages. They are essential; especially steps 1, 2 and 3. If you click on a link that does not have these listed steps, open a second window by using the link to Lightroom 3 to see these "important Instructions".
-
I can't install 13 items. How can I download the 64-bit Installer?
Available downloadable Setup files:
- Suites and programs: CC 2014 | CC | CS6 | CS5.5 | CS5 | CS4, CS4 Web Standard | CS3
- Acrobat: XI, X | 9,8 | 9 standard
- First Elements: 13 | 12 | 11, 10 | 9, 8, 7 win | 8 mac | 7 mac
- Photoshop Elements: 13 | 12 | 11, 10 | 9,8,7 win | 8 mac | 7 mac
- Lightroom: 5.7.1. 5 | 4 | 3
- Captivate: 8 | 7 | 6 | 5.5, 5 | 1
- Contribute: CS5 | CS4, CS3 | 3,2
- FrameMaker: 12, 11, 10, 9, 8, 7.2
Download and installation help links Adobe
Help download and installation to Prodesigntools links can be found on the most linked pages. They are essential; especially steps 1, 2 and 3. If you click on a link that does not have these listed steps, open a second window by using the link to Lightroom 3 to see these "important Instructions".
-
Photoshop elements 11 Photo Editor does not open.
I had to do a system restore Win 7 and now to relaunch Photoshop 11, the Organizer will open, but Photo Editor does not open.
The restoration has probably corrupted your installation of Photoshop Elements. Re-install PES. You can find the installer here: https://helpx.adobe.com/photoshop-elements/kb/photoshop-elements-10-11-downloads.html
Benjamin
-
Photoshop elements 5.0 Organizer does not open all of a sudden
I use Photoshop Elements 5.0 for more than 10 years without any problem. Suddenly, the Organizer does not open. I can open the editor but not the Organizer. What the -?
Download and install the fix Photoshop Elements 5.0.2
Also, see message 8 of this thread: http://forums.adobe.com/message/3752226#3752226
-
What should I do if the download 12 elements of the trial does not work?
I tried to download the trial of 12 elements and the process goes to download Abobe Assistant, but it does not work. It gives me a message that it is not working properly. I tried a few times. I even installed Adobe Cloud. If I can't try this new feature, I won't buy it.
Hi roseyellow99,
Welcome to the community!
Either you can solve problems with the wizard to download here: http://helpx.adobe.com/creative-suite/kb/troubleshoot-download-assistant.html
Or download the product without the wizard to download here: http://prodesigntools.com/photoshop-elements-12-direct-download-links-premiere.html, follow the instructions very Important, otherwise the download does not start.
Thank you!
Ankit
-
Download for Photoshop Elements 11 pauses and does not
Download Photoshop elements 11 using Chrome. After several hours, the download stops and does not reume.
I downloaded Photoshop Elements directly from Adobe. I used the wizard to download provided by Adobe. Since this post, I was able to complete the download. My problem may have been a slow connection or Adobee at my end. I discovered that I have also been download hade a great update from Microsoft that may have hampered my efforts to download items. Thank you for your help.
Maybe you are looking for
-
Auto SMS sent from my iPhone 5 to this number SMS int ' l 447903553650 and loaded for free! No history of sms sent in my message box! How can I solve it?
-
HP office jet pro 6968: cartridge problem
Bought this printer about 3 months ago. Everything worked great until it Set up cartridge for black ink ran out. "I bought HP ink cartridges to replace, but when I replaced the cartridge set up, I got this error message on the printer screen:" cartri
-
HP Deskjet 3545 scanning show (exit Scan comes in pieces)
Hello I recently pruchanged HP deskjet INK advantage 3545 printer all in one, everything is very well expect to sweep. Whenever I am trying to scan something this device save several copies of this specific analysis into pieces, example - if I try to
-
Documents of users on the same computer
Best way to move permanently (transfer/copy/paste) the documents, Favorites, photos of other users on the same computer?
-
Lost product key (windows starter 7)
Hello! I have an Acer Aspire One Netbook D270. My hard drive died a week ago so I bought a new one and reinstalled windows 7 edition starter on this subject. My problem is that when I tried to look for my product key that is located under the netbook