I have bought a flash template and hve made it dynamic ie it has dynamic text but now i want to have dynamic images as well. The code that I have for the same is working but whn i use it in the template it doesnt work.
Go to intelution.com and click on "products"; in the section "our links" I need replace it with "featured products" with images and text. now the text is fine but the images arnt working and the code im putting in the template is working fine outside.
The code is as follows:
loadText = new LoadVars();
loadText.load(" http://localhost/int/product.php");
loadText.onLoad = function(succes s) {
if(success){
photo1.html=tru e; photo2.html=tru e; prod1.html=true ; prod2.html=true ;
photo1.htmlText =loadText.photo 1; photo2.htmlText =loadText.photo 2;
prod1.htmlText= loadText.prod1; prod2.htmlText= loadText.prod2;
}
};
I thought of converting that part in a movieclip and then import in my template..... but as my knowledge of actionscript is limited (very) i couldnt work that out either.
Please an early response would be appreciated
Go to intelution.com and click on "products"; in the section "our links" I need replace it with "featured products" with images and text. now the text is fine but the images arnt working and the code im putting in the template is working fine outside.
The code is as follows:
loadText = new LoadVars();
loadText.load(" http://localhost/int/product.php");
loadText.onLoad = function(succes s) {
if(success){
photo1.html=tru e; photo2.html=tru e; prod1.html=true ; prod2.html=true ;
photo1.htmlText =loadText.photo 1; photo2.htmlText =loadText.photo 2;
prod1.htmlText= loadText.prod1; prod2.htmlText= loadText.prod2;
}
};
I thought of converting that part in a movieclip and then import in my template..... but as my knowledge of actionscript is limited (very) i couldnt work that out either.
Please an early response would be appreciated