Lupos
12-16-2005, 05:07 PM
ok so i have the remoting going fine... can pull infro from my DB all nice and easy and load into dynamic text boxs. which was a pin for me... now i need to load images into some of those panes.
the idea is that all my thumbnails are names by the upc of the item... so the code is something liek this
function getPageAll_Result(result) {
_root.NRText = result.items[0].Title;
_root.NUText = result.items[0].Features;
_root.NRImage = <img src="result.items[0].Upc + ".jpg"">;
}
now i know this is wrong... but i can't figure out how to write this out... normally i would use a loadmovie but a load movie specifies the target and since within a function the target is specified before the "=" sign so i dunnow what to do.
PLEASE help... need urgently
thanks.
the idea is that all my thumbnails are names by the upc of the item... so the code is something liek this
function getPageAll_Result(result) {
_root.NRText = result.items[0].Title;
_root.NUText = result.items[0].Features;
_root.NRImage = <img src="result.items[0].Upc + ".jpg"">;
}
now i know this is wrong... but i can't figure out how to write this out... normally i would use a loadmovie but a load movie specifies the target and since within a function the target is specified before the "=" sign so i dunnow what to do.
PLEASE help... need urgently
thanks.