Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations sizbut on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

get pic name from database then display that pic from file

Status
Not open for further replies.

pollux0

IS-IT--Management
Mar 20, 2002
262
US
this is the script on the first frame in the movie. The asp page should return the name of the jpg in the Name variable. Then the pic should be loaded into the movie.

**********************
function makeContainer() {
createEmptyMovieClip("container", 1);
container.loadMovie(picName);
loadVariables("asp.asp?Record=1", container);
picName = Name;
}
makeContainer();
**********************

if i replace

**********************
container.loadMovie(picName);
**********************

with

**********************
container.loadMovie("Trade-show-1.jpg");
**********************

the picture shows up but is not database driven like i want it to be

thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top