PDA

View Full Version : Display Dynamic images?



rball
04-01-2003, 11:27 AM
I have a list of images that I wish to display depending on an action. Simple hur? Well not exactly, i don't want to setup loads and loads of image placeholders and hide or unhide depending on the action - too many.
What I want is to dynamically display, say a file reference (c:\image1.bmp) on the page for one action and maybe (c:\image2.bmp) for another - is this possible.

I've heard some talk about using Html, write out to file with variable name etc. but this means using the brower window.

Can anyone think of another way - i.e. one image placeholder and mulitple images depending on action.

Cheers

Lorne
04-01-2003, 11:41 AM
I don't know if this would work, but you could try replacing the actual files (in the Data folder) at run time.

I've never tried it, but in theory it might work.

yosik
04-01-2003, 01:08 PM
Why not use a variable in the file name, thus changing the filename at run time?
Yossi

rball
04-01-2003, 03:20 PM
Can't be done on an Image Object.
Worm has come up with the answer by using the Media Player
Thanks Worm

Corey
04-01-2003, 07:50 PM
Don't nobody forget the looooonely old web object which does it too. Thenew powertips CD has one lesson dedicated to dynamic page content. It's finally done this week and all that jazz...

Corey Milner
Creative Director, Indigo Rose Software (http://www.indigorose.com)

Worm
04-01-2003, 08:00 PM
Yep, that too. I misread the post. When he mentioned not wanting to use the Web Browser, I automatically thought he was speaking of the WebBrowser Object.

Corey
04-01-2003, 08:29 PM
Don't nooobody forget the looooonely old flash object which can load and dispense dynamic content better than Iron Chef Italian...

Corey Milner
Creative Director, Indigo Rose Software (http://www.indigorose.com)

Lorne
04-02-2003, 09:12 AM
Don't nooooobody forget the looooonely old...um...