- _root.attachMovie("turn","trun_mc",5);
- _root.attachMovie("turn2","trun2_mc",6);
- _root.attachMovie("designed","designed_bt",8);
- _root.attachMovie("pause","pause_mc",9);
-
-
- _root.createEmptyMovieClip("first_360",1);
- _root.first_360.attachMovie("my_360","mc_my_360",2);
- _root.attachMovie("designed","designed_mc",7);
- designed_mc._x=910;
- designed_mc._y=422;
- _root.createEmptyMovieClip("second_360",3);
- _root.second_360.attachMovie("my_360","mc_my_360",4);
- _root.second_360._x = first_360._x + first_360._width;
-
-
- var v=0;
- var stp=0;
- var largeur_scene=1004;
- var largeur_image=first_360._width;
- pause_mc.onRelease=function(){
- pause_mc.nextFrame();
- if (stp==0) {
- stp=1;
- }
- else {
- stp=0;
- }
- }
- trun_mc.onPress=function(){
- v=1;
- }
- trun_mc.onRelease=function(){
- v=0;
- }
- trun_mc.onRollOut=function(){
- v=0;
- }
-
-
- trun2_mc.onPress=function(){
- v=1;
- }
- trun2_mc.onRelease=function(){
- v=0;
- }
- trun2_mc.onRollOut=function(){
- v=0;
- }
-
- _root.onEnterFrame=function(){
-
- deplacement=_xmouse;
- deplacement=deplacement-(largeur_scene/2);
- if (v==1) {
- deplacement=deplacement/30;
- }
- else {
- deplacement=deplacement/70;
- }
- if (stp==1) deplacement=0;
- first_360._x=first_360._x-deplacement;
- second_360._x=second_360._x-deplacement;
-
-
- if (first_360._x>=largeur_scene){
- first_360._x=second_360._x-largeur_image;
- }
-
- if (second_360._x>=largeur_scene){
- second_360._x=first_360._x-largeur_image;
- }
-
-
- if (first_360._x+largeur_image<=0){
- first_360._x=second_360._x+largeur_image;
- }
- if (second_360._x+largeur_image<=0){
- second_360._x=first_360._x+largeur_image;
- }
-
- }
- stop();
-
_root.attachMovie("turn","trun_mc",5);
_root.attachMovie("turn2","trun2_mc",6);
_root.attachMovie("designed","designed_bt",8);
_root.attachMovie("pause","pause_mc",9);
_root.createEmptyMovieClip("first_360",1);
_root.first_360.attachMovie("my_360","mc_my_360",2);
_root.attachMovie("designed","designed_mc",7);
designed_mc._x=910;
designed_mc._y=422;
_root.createEmptyMovieClip("second_360",3);
_root.second_360.attachMovie("my_360","mc_my_360",4);
_root.second_360._x = first_360._x + first_360._width;
var v=0;
var stp=0;
var largeur_scene=1004;
var largeur_image=first_360._width;
pause_mc.onRelease=function(){
pause_mc.nextFrame();
if (stp==0) {
stp=1;
}
else {
stp=0;
}
}
trun_mc.onPress=function(){
v=1;
}
trun_mc.onRelease=function(){
v=0;
}
trun_mc.onRollOut=function(){
v=0;
}
trun2_mc.onPress=function(){
v=1;
}
trun2_mc.onRelease=function(){
v=0;
}
trun2_mc.onRollOut=function(){
v=0;
}
_root.onEnterFrame=function(){
deplacement=_xmouse;
deplacement=deplacement-(largeur_scene/2);
if (v==1) {
deplacement=deplacement/30;
}
else {
deplacement=deplacement/70;
}
if (stp==1) deplacement=0;
first_360._x=first_360._x-deplacement;
second_360._x=second_360._x-deplacement;
if (first_360._x>=largeur_scene){
first_360._x=second_360._x-largeur_image;
}
if (second_360._x>=largeur_scene){
second_360._x=first_360._x-largeur_image;
}
if (first_360._x+largeur_image<=0){
first_360._x=second_360._x+largeur_image;
}
if (second_360._x+largeur_image<=0){
second_360._x=first_360._x+largeur_image;
}
}
stop();