shooooooooottttttt
sorry its for now anyways your products.xml file with CDATA tags in the description tags....the cdata tags are just the example from your tutorial....with a bolded title, the line breaks and the links....
This is a discussion on Products Exhibitor within the FlepStudio utilities forums, part of the Flash English category; yeah my parents are Italian but i was born and raised in the states and jsut moved back to south ...
yeah my parents are Italian but i was born and raised in the states and jsut moved back to south of rome a couple months ago so when im having problems with one of your english tutorials i read it in italian casue it helps me concentrate and focus....
heres the xml
HTML Code:<?xml version="1.0" encoding="UTF-8"?> <products> <category name="News"> <product name="Feb 28th 2008" thumb="" image="" price="" detailsURL=""> <description><![CDATA[<p align="left"><b>1 Novembre 2007, Frosinone</b> - siamo lieta di annunciare che, a partire dal 2 Feb 2008, l'azienda e il nuovo ed unico distributore ufficiale dei prodotti bla bla bla PDF</p>]]></description> <product name="Feb 2nd 1990" thumb="" image="" price="" detailsURL=""> <description> <p><a href="http://www.lorem-ipsum.info/"><i>Lorem ipsum</i></a> </p></description> </product> </products>
Last edited by Flep; 30-01-08 at 07:21.
shooooooooottttttt
sorry its for now anyways your products.xml file with CDATA tags in the description tags....the cdata tags are just the example from your tutorial....with a bolded title, the line breaks and the links....
Hi Maldor,
this is the correct XML you should use ( for 1 category and one product ):
and you get the description + CDATA tag as following:HTML Code:<?xml version="1.0" encoding="UTF-8"?> <products> <category name="category 1"> <product name="product 0" thumb="http://www.flepstudio.org/utilita/ProductsExhibitor/thumbs/thumb_0.jpg" image="http://www.flepstudio.org/utilita/ProductsExhibitor/images/pic_0.jpg" price="1.00 $" detailsURL="http://www.flepstudio.org"> <description><![CDATA[<p align="left"><b>1 Novembre 2007, Frosinone</b> - siamo lieta di annunciare che, a partire dal 2 Feb 2008, l'azienda e il nuovo ed unico distributore ufficiale dei prodotti bla bla bla PDF</p>]]></description> </product> </category> </products>
add that to your textfield:Code:node.firstChild.firstChild.firstChild.firstChild.nodeValue;
Code:des_txt.htmlText=node.firstChild.firstChild.firstChild.firstChild.nodeValue;
thanks for your reply flep .......this works fine on its own ......sorry if i didnt explain myself the best or put up the wrong code.....what i want to do is have the products display thing display html text in the the products display .....what i first tried to do is use the class from your HTML in XML tutorial which is the as3 code i posted earlier and add it as a class file to be imported along with the other classes ....the only problem with this is IT DOESNT WORk.....more staright forward question is what do i have to do to the Main.as file in your Product display thing in order for it to read html tags!.......
Hi
sorry, I don't get you... I thought you want to display html text into description textfield...
hey flep.....yeah that is what i want to do but it doesnt seem to be working...i am still seeing the html tags
you can check it out here if and when you have some time.........
thanks again for your help, time, effort, PATIENCE and forum.....
Hi Maldor
Open Product.as, function init.
You must write des_txt.htmlText=des;
thanks alot for your time flep.........if anyone needs a hand with this just drop a message here and after torturing flep i will be more than willing to help !
Hello there Flash Guru.
I would like to ask,
can i change the graphic interface of this amazing porduct illustration(i mean colors,buttons,etc)
and use it in my website?
Of course i dont know exactly how to do that but just asking before beggining with it
yes you can enrgy....the first thing you will need to do is downlaod Flash CS3 from adobe.there is a 30 day free trial version....from there you can download the file from fleps site and open it up and change it...flep gave me a lot of help on this and i endd up altering it quite a bit....if you have any mor e questions lemme know,im always poping in and out........
Bookmarks