PDA

View Full Version : Images & Embedding HTML


TonyL
04-22-2002, 11:46 AM
Hi,

I'm using ASP to loop and display results from an access database in a completely Flash frontend. The code works fine and displays as I want it, but, I've just added images to each record in my db and want them to display next to the text in the content. I have written a HTML table into the ASP document via the response.write command but now it won't display anything at all. I have enabled HTML in the dynamic textbox in Flash. :confused:

Can anyone help with this?

Would it be easier to use MySQL and PHP and does anyone know how I could get hold of some sample code for this (Never done PHP or used MySQL before but it seems the way that everybody is going)

Thanks in advance

Tony

tg
04-22-2002, 03:41 PM
first check to see if it is your asp... run the asp page to display its contents without the flash front end. are the images showing up here?
i doubt it is the asp giving you problems...
flash5 can't load images dynamically like you want, unless they are inside a swf file. also if you are using an <img> tag inside your text box, good idea, but it wont work. flash doesn't support the <img> html tag.
if i'm off base with my guesses, post the code you are using (in flash) to see the images.

TonyL
04-22-2002, 03:58 PM
tg,

Thanks, I didn't realise that Flash didn't support it, I'm pretty sure that's what the problem is as the coding the table is straight forward no brainer stuff.

So if I make all of my image files .swf's and call in them with a response.write tag this should work...? Or is it not a easy as that.

(Full of ideas but can't execute a single on of them!!)

Cheers

Tony

tg
04-22-2002, 06:16 PM
if you make all your images swfs (flash5) or use regular jpgs (flashmx), then you can load them straight into flash using the loadMovie() action. you would need to make some type of link between the image and info so that the correct images loads next to the correct data.etc.