Actionscript 3: Need help loading slideshows 10-14 from an array. Slideshows 1-9 work fine.
Here is the code for the slideshow. I feel like the answer is in the function below but I don't know how to rewrite the code. I do not work in Flash very much except as a designer.
import flash.events.Event;
import flash.net.URLRequest;
import caurina.transitions.*;
import flash.display.Loader;
// General Set up items
var presModeSlides : Boolean = true;// shows slides or pictures when jumping to pres template
var currentSlideNumber : int = 0;
var slides : Array = [{numSlides:11 , directory:"01_Barcellos", title: "Welcome and Introductions", speaker:"Speaker: Michael Barcellos", university : "Bio-Rad Laboratories - USA" },
{numSlides:35 , directory:"02_Davis", title: "BioPlex® 2200 WW-Program: Past, Present and Future", speaker:"Speaker: Tamara Davis", university : "Bio-Rad Laboratories - USA" },
{numSlides:43 , directory:"03_Teste", title: "How to Integrate a BioPlex® System into Routine Testing", speaker:"Speaker: Laurent Teste", university : "Bio-Rad Laboratories - Marnes, France" },
{numSlides:18 , directory:"04_Mbwana", title: "Heterophillic Antibody Interference in Multiplexed Bead Immunoassay", speaker:"Speaker: Melody Mbwana", university : "Manchester Royal Infirmary, Manchester, UK" },
{numSlides:35 , directory:"05_YenLieberman", title: "Identification of False-Positive Syphillis IgG Results by using Semi-Quantitative Values in the Test Algorithm", speaker:"Speaker: Belinda Yen-Lieberman, PhD", university : "Cleveland Clinic - USA" },
{numSlides:36 , directory:"06_Marangoni", title: "Syphillis Diagnosis in the Modern Era", speaker:"Speaker: Antonella Marangoni, PhD", university : "University of Bologna S. Orsola - Bologna, Italy" },
{numSlides:17 , directory:"07_McDonald", title: "EBV Testing Algorithm on the BioPlex® 2200 System", speaker:"Speaker: David McDonald", university : "Laverty Pathology - North Ryde, Australia" },
{numSlides:20 , directory:"08_Link", title: "BioPlex® 2200 HIV Ag-Ab — A Mulitplex 4th Generation HIV Assay", speaker:"Speaker: Bill Link", university : "Bio-Rad Laboratories - USA" },
{numSlides:29 , directory:"09_Blasutig", title: "Comparison of the BioPlex® 2200 ANA Screen to Indirect Immunoflourescence in a Large Tertiary Care Center ", speaker:"Speaker: Ivan Blasutig, PhD, FCACB", university : "University Health Network - Toronto, Canada" },
{numSlides:21 , directory:"10_Yip", title: "Performance of BioPlex® 2200 Anti-dsDNA in Monitoring of Systemic Lupus Erytheratosus Disease Activity", speaker:"Speaker: Paul Yip", university : "University Health Network - Toronto, Canada" },
{numSlides:36 , directory:"11_Hurst", title: "The Transition from ELISA MIcroplate to BioPlex® for ENA/dsDNA Testing", speaker:"Speaker: Dr. Miriam Hurst, FRACP, FRCPA", university : "Labtests - Auckland, New Zealand" },
{numSlides:22 , directory:"12_Walker", title: "BioPlex® Celiac IgA and IgG Panels", speaker:"Speaker: Roger Walker, PhD", university : "Bio-Rad Laboratories - USA" },
{numSlides:14 , directory:"13_Tozzoli", title: "Autoantibody Profiling in Patients with Celiac Disease Evalution of the BioPlex® 2200 Celiac IgA abd IgG Panels", speaker:"Speaker: Renato Tozzoli, MD", university : "S. Maria delgi Angeli Regional Hospital - Pordenone, Italy" },
{numSlides:21 , directory:"14_Holding", title: "A Clinical Evaluation of Coeliac Screening on the BioPlex® 2200 System", speaker:"Speaker: Steven Holding, PhD, FRCPath", university : "Hull Royal Infirmary - Hull, UK" },
];
function doSlides(e:Event) {
currentSlideNumber = int(e.currentTarget.name.substr(1,1))-1;// Holds which set of slide to show
presModeSlides = true;// We're showing slides instead of pictures so set this to true
gotoAndStop("Pres Template");
}
