Thread: [SOLVED] Making a new album
View Single Post
  #6  
Old 07-10-2009, 12:39 PM
leighp1
Guest
 
Posts: n/a
Question Isn't working for me...

Okay, what I did was to copy and paste the code that you gave into lines 61 - 68 and this is what I got.
function myFlashGallery (_src,_width,_height,_bgcolor,_divID,gallery) {
if (window.document.getElementById(_divID)) {
if (gallery == null){
gallery = 'gallery.xml';
}
window.document.getElementById(_divID).innerHTML=A C_FL_RunContentDiv( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0','width',_width,'heigh t',_height,'src',_src,'quality','high','pluginspag e','http://www.macromedia.com/go/getflashplayer','movie',_src,'bgcolor',_bgcolor,'a llowScriptAccess','sameDomain','allowFullScreen',' true','FlashVars','xmlFile='+gallery); //end AC code
AC_FL_RunContentDiv( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0','width','540','height ','418','src','flash/gallery/gallery','quality','high','pluginspage','http://www.macromedia.com/go/getflashplayer','movie','flash/gallery/gallery','bgcolor','#FFFFFF','allowFullScreen','tr ue'); //end AC code
} else {
alert("Div '"+_divID+"' not found ");
}
}


When I replace those lines I save it and copy it over the main.js right? It might be too early in the morning for me, so I will play with it until I see a reply though. Thanks for all your help. I really appreciate it.


Leigh

Last edited by leighp1; 07-10-2009 at 01:07 PM.