944,052 Members | Top Members by Rank

Ad:
Jun 9th, 2005
0

preloader for database content possible??

Expand Post »
hello there

I have a website here:

www.jonathanpilling.co.uk

Its easier to explain my problem by viewing the website, once it loaded up click on photo gallery in the navigation bar, then when the small image loads up, click it.

This is my problem - once the small image is clicked a large image should eventually be displayed - what i want to do is create a preloader for the large image.

the problem is all images are stored on a server and linked to by a database. Flash communicates with PHP (which grabs all necessary info out of the database i.e. in this case the location of the image on the server).

I have a function, in which the image location (php gets this information from the datbase) is loaded into a loadMovie object/holder:

n.htmlText += imageHolder.loadMovie (this["Image"+e]);

when the function is called flash communicates with a PHP script and grabs the necassary info - in this case the image location (something like images/pic.jpg) that is displayed in the 'Image' table in the database is displayed.

the same method is used for the displaying the large image too, when the thumbnail is clicked the same function is called and the large image is displayed in the same way.

can i use a preloader for the large image?

can anyone help here im totally lost

My second question is this:

on the home page of my site, you should see 3 paragraphs of text. This test is taken from a database and displayed in a dynamic textfield. Is it posssible to take a single word from that text and create a link on it??

Again, the same function is used to display the content from the database, this is a snippet where the content is loaded in the function:

n.htmlText += this["Content"+e];

The problem is that each paragraph is taken from the database in one go, i.e. the code above handles the first paragraph. Is it possible to create links on a single word in that paragraph??

Please help im totally stuck!!!

I hope that my post made sense - any questions just ask.

regards Jonathan
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
jpmad4it is offline Offline
4 posts
since Jun 2005

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Graphics and Multimedia Forum Timeline: i need an Actionscript Book
Next Thread in Graphics and Multimedia Forum Timeline: Photoshop lighting effect nightmares





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC