ya que tengo otros .swf llamados info1,info2..que uno contiene videos otro informacion,etc y cuando pico en otro chapter (video1,video2...)por ejemplo video que se quiten las fotos del medio?muchisimas gracias.
Código :
import flash.geom.Rectangle;
var clipsToLoad:Array = new Array();
clipsToLoad.push( {type:"info1",
url:"info1.swf",
rect:new Rectangle(-10,115,200,320) } );
clipsToLoad.push( {type:"info2",
url:"info2.swf",
rect:new Rectangle(-10,400,200,320) } );
clipsToLoad.push( {type:"info3",
url:"info3.swf",
rect:new Rectangle(640,115,200,320) } );
clipsToLoad.push( {type:"info4",
url:"info4.swf",
rect:new Rectangle(640,400,200,320) } );
clipsToLoad.push( {type:"displayArea",
url:"display_fade.swf",
rect:new Rectangle(300,375,200,200) } );
clipsToLoad.push( {type:"miniaturas",
url:"miniaturas_simple.swf",
rect:new Rectangle(145,600,500,150) } );
clipsToLoad.push( {type:"chapters",
url:"chapters.swf",
rect:new Rectangle(655,430,110,200) } );
var chapterData:Array = new Array();
chapterData.push ( { ID:"ch1", name:"Galeria 1"} );
chapterData.push ( { ID:"ch2", name:"Galeria 2"} );
chapterData.push ( { ID:"ch3", name:"Galeria 3"} );
chapterData.push ( { ID:"ch4", name:"Galeria 4"} );
chapterData.push ( { ID:"ch5", name:"Galeria 5"} );
//chapterData.push ( { ID:"ch6", name:"Galeria 6"} );
//chapterData.push ( { ID:"ch7", name:"Galeria 7"} );
//chapterData.push ( { ID:"ch8", name:"Galeria 8"} );
var imageData:Array = new Array();
imageData.push ( { ID:"i1",
name: "1",
url:"images/image1.jpg",
thumbnail:"thumbnail1",
chapterID:"ch1",
caption:"this is my first image" } ) ;
....
photoController = new PhotoController(this, clipsToLoad, imageData, chapterData);