ࡱ> Root EntryRoot Entryp|YrRASH5LContents$GPage 1 NSymbol 4;  !"#$%&'()*+,-./01234567Symbol 3 Symbol 2Symbol 1[ CPicPage CPicLayer CPicFrame CPicShape>u3s40004?^ Calque 1OCPicPage CPicLayer CPicFrame CPicShapeww B>|4]>4BB>4]|>4B4|4|4?Yo Calque 1OCPicPage CPicLayer CPicFrame000?3 Calque 1OCPicPage CPicLayer CPicFrame?>c c @ @?yU Calque 1OCPicPage CPicLayer CPicFrame CPicSpritedbloc_mc<component metaDataFetched='true' schemaUrl='' schemaOperation='' sceneRootLabel='Squence 1' oldCopiedComponentPath='1'> </component> ?$]//initialisation _root.stop(); Stage.align = "tl"; Stage.scaleMode = "NoScale"; listedefilm = new Array("film1.swf", "film2.swf"); //comportement de nos blocs rouge (simulant les pop-up) MovieClip.prototype.fenetre = function(i) { //initialisation de notre bloc this.occurence = i; this.vitesseX = Math.random()*30-15; this.vitesseY = Math.random()*30-15; this._width = Math.random()*700+100; this._height = Math.random()*500+100; this._x = (System.capabilities.screenResolutionX-this._width)*Math.random(); this._y = (System.capabilities.screenResolutionY-this._height)*Math.random(); this.film = listedefilm[Math.round(Math.random()*(listedefilm.length-1))]; getURL("javascript:NewWindow"+this.occurence+"=window.open('"+this.film+"','newWin"+this.occurence+"','width="+this._width+",height="+this._height+",left="+this._x+",top="+this._y+",toolbar=No,location=No,scrollbars=No,status=No,resizable=No,fullscreen=No');NewWindow.focus();void(0);"); //action a repeter a la vitesse de l'animation this.onEnterFrame = function() { //test de colision for (i=0; i<3; i++) { //on ne fait pas le test avec notre occurence if (this == _root["bloc"+i+"_mc"]) { } else { if (this.hitTest(_root["bloc"+i+"_mc"])) { //si il y a colision on supprime l'occurence et on en cree une autre delete _root["bloc"+i+"_mc"].onEnterFrame; nouvellefenetre(i); } } } //deplacement du bloc this._x += this.vitesseX; this._y += this.vitesseY; if (this._x<=0 || this._x>=System.capabilities.screenResolutionX-this._width) { this.vitesseX = -this.vitesseX; } if (this._y<=0 || this._y>=System.capabilities.screenResolutionY-this._height) { this.vitesseY = -this.vitesseY; } this.Yfenetre = this._y; this.Xfenetre = this._x; //actualisation de la pop-up getURL("javascript:NewWindow"+this.occurence+".resizeTo("+this._width+","+this._height+");"); getURL("javascript:NewWindow"+this.occurence+".moveTo("+this.Xfenetre+","+this.Yfenetre+");"); }; }; //creation de bloc MovieClip.prototype.nouvellefenetre = function(i) { bloc_mc.duplicateMovieClip("bloc"+i+"_mc", i); _root["bloc"+i+"_mc"].fenetre(i); }; //creation des fenetres initiales (par defaut 3) for (i=0; i<3; i++) { nouvellefenetre(i); }  Calque 1O8 CDocumentPagePage 1 Squence 11@FpAڃ@Symbol 4 Symbole 4!@` Symbole 4pAڃ!@Symbol 3blocm @ Symbole 3pAڃ* @Symbol 2 Symbole 2@ Symbole 2pAڃ@Symbol 1 Symbole 12@ Symbole 1pAڃ#@>.hhhhhPropSheet::ActiveTab7641%PublishFormatProperties::htmlFileNamefenetresmultiple.html"PublishHtmlProperties::StartPaused0!PublishGifProperties::PaletteName PublishRNWKProperties::speed256K0PublishProfileProperties::nameParamtres Flash MXPublishFormatProperties::jpeg0Vector::Debugging Permitted0PublishHtmlProperties::Loop1"PublishQTProperties::MatchMovieDim1 PublishQTProperties::AlphaOption PublishQTProperties::LayerOptionVector::External Player4PublishHtmlProperties::UsingDefaultAlternateFilename1PublishHtmlProperties::Units0%PublishHtmlProperties::showTagWarnMsg1$PublishPNGProperties::OptimizeColors1PublishQTProperties::Width800&PublishRNWKProperties::singleRateAudio0&PublishRNWKProperties::speedSingleISDN0%PublishFormatProperties::projectorMac0'PublishFormatProperties::gifDefaultName1&PublishFormatProperties::flashFileNamefenetresmultiple.swfVector::Package PathsVector::Compress Movie1PublishGifProperties::Smooth1#PublishRNWKProperties::flashBitRate1200%PublishRNWKProperties::mediaCopyright(c) 2000PublishFormatProperties::html1$PublishFormatProperties::pngFileNamefenetresmultiple.pngVector::FireFox0(PublishHtmlProperties::VerticalAlignment1PublishHtmlProperties::Quality4"PublishGifProperties::DitherOption"PublishRNWKProperties::exportAudio1 PublishRNWKProperties::speed384K0!PublishRNWKProperties::exportSMIL1-PublishFormatProperties::generatorDefaultName1Vector::Override Sounds0!PublishHtmlProperties::DeviceFont0"PublishPNGProperties::FilterOption'PublishRNWKProperties::mediaDescriptionPublishFormatProperties::gif0(PublishFormatProperties::jpegDefaultName1(PublishFormatProperties::rnwkDefaultName1*PublishFormatProperties::generatorFileNamefenetresmultiple.swtVector::Template0Vector::Protect0Vector::Quality802PublishHtmlProperties::VersionDetectionIfAvailable0*PublishHtmlProperties::HorizontalAlignment1"PublishHtmlProperties::DisplayMenu1PublishGifProperties::Interlace0"PublishGifProperties::DitherSolids0PublishPNGProperties::Smooth1PublishPNGProperties::BitDepth24 bits avec AlphaPublishJpegProperties::DPI4718592PublishQTProperties::Flatten1#PublishFormatProperties::qtFileNamefenetresmultiple.movPublishGifProperties::Width800PublishGifProperties::Loop1PublishRNWKProperties::speed28K1!PublishRNWKProperties::mediaTitle$PublishRNWKProperties::mediaKeywordsPublishFormatProperties::flash1#PublishGifProperties::MatchMovieDim1#PublishGifProperties::PaletteOption"PublishPNGProperties::DitherOptionPublishJpegProperties::Quality80$PublishRNWKProperties::realVideoRate100000$PublishRNWKProperties::speedDualISDN0!PublishProfileProperties::version10PublishFormatProperties::projectorMacDefaultName1'PublishFormatProperties::pngDefaultName1-PublishFormatProperties::projectorWinFileNamefenetresmultiple.exeVector::Package Export Frame1PublishHtmlProperties::Align0#PublishPNGProperties::MatchMovieDim1#PublishPNGProperties::PaletteOption$PublishJpegProperties::MatchMovieDim1)PublishFormatProperties::flashDefaultName1%PublishFormatProperties::jpegFileNamefenetresmultiple.jpgVector::Omit Trace Actions0Vector::Debugging PasswordPublishHtmlProperties::Width800PublishHtmlProperties::Height600"PublishPNGProperties::DitherSolids0"PublishJpegProperties::Progressive0#PublishQTProperties::PlayEveryFrame0PublishFormatProperties::png0PublishFormatProperties::rnwk0(PublishFormatProperties::htmlDefaultName1-PublishFormatProperties::projectorMacFileNamefenetresmultiple.hqxVector::TopDown0Vector::DeviceSound02PublishHtmlProperties::UsingDefaultContentFilename1!PublishHtmlProperties::WindowMode0'PublishHtmlProperties::TemplateFileName~C:\Documents and Settings\mechkurt\Local Settings\Application Data\Macromedia\Flash MX 2004\fr\Configuration\Html\Default.htmlPublishGifProperties::Height600PublishPNGProperties::Interlace0PublishJpegProperties::Size0"PublishFormatProperties::generator0Vector::Report0&PublishHtmlProperties::ContentFilename(PublishHtmlProperties::AlternateFilename+PublishHtmlProperties::OwnAlternateFilenamePublishGifProperties::LoopCount'PublishGifProperties::TransparentOptionPublishGifProperties::MaxColors255%PublishPNGProperties::RemoveGradients0PublishQTProperties::Height600PublishRNWKProperties::speed56K1PublishFormatProperties::qt0Vector::Stream Compress7Vector::Event Format0Vector::Version7$PublishGifProperties::OptimizeColors1"PublishRNWKProperties::audioFormat00PublishFormatProperties::projectorWinDefaultName1Vector::Event Compress7Vector::ActionScriptVersion2PublishHtmlProperties::Scale0%PublishGifProperties::RemoveGradients0PublishPNGProperties::Width800PublishPNGProperties::Height600PublishJpegProperties::Height600 PublishRNWKProperties::speed512K0&PublishFormatProperties::qtDefaultName1$PublishFormatProperties::gifFileNamefenetresmultiple.gifVector::Stream Format0"PublishHtmlProperties::VersionInfoPublishGifProperties::Animated0&PublishGifProperties::TransparentAlpha128!PublishPNGProperties::Transparent0!PublishPNGProperties::PaletteNamePublishJpegProperties::Width800*PublishQTProperties::UseQTSoundCompression0PublishQTProperties::Looping0"PublishRNWKProperties::exportFlash1&PublishRNWKProperties::showBitrateDlog1(PublishRNWKProperties::speedCorporateLAN0"PublishRNWKProperties::mediaAuthor%PublishFormatProperties::defaultNames1%PublishFormatProperties::projectorWin0%PublishFormatProperties::rnwkFileNamefenetresmultiple.smil,PublishHtmlProperties::UsingOwnAlternateFile0PublishPNGProperties::MaxColors255%PublishQTProperties::ControllerOption0"PublishQTProperties::PausedAtStart0 CColorDef3PfP0PHP`Px333(3f<03CH3F`3Hxf0f30ff(0f5Hf<`f@x3330333xf3d03]H3Z`3Xx3333303f3PPH33Px`33Px33Pf30f33PHff3(PHf3<x`f3Cxf3Ffff`f03f0ffx0fkHfd`f`x3f033fPH3ffxPH3fdx`3f]x3fZff0f3fPHfff`ffP0xffPxffPH3HfHxH̙n`hx3H33x`3fx`3xx`3̙kx3dfHf3x`ff0xfx0xf̙dxf]`3`f``x`px3`33x3fx3x3xx3nf`f3xffxfxfxxfkx3xfxxxxx3x333f333xfxf3fffffxxH3 HfH(H2`8x`3 `f`̙`(`0xx3xfxx x(xPx3H33x`f3x`3(x`35x3<3`33xf3 x̙3x3(x323x33f3 333(xfH3fx`ff0xf(0xf<xfCf`3fxffx̙fxf(xf5fx3ffff ff((xH3x`f0x̙PPP`3xfx̙P̙(P<x3f̙(xx`3xfxPxPd`3xfx̙PPx3f(xx3fxx3f̙xx3ff`zf*]RL"PublishQTProperties::QTSndSettingsCQTAudioSettingsh