Une femme en détresse

  • eva552
  • Born
  • Born
  • No Avatar
  • Inscription: Aoû 12, 2008
  • Messages: 1
  • Status: Offline

Message Août 12th, 2008, 8:06 am

OK, voici mon problème...

J'ai été contesté par ce spectacle. J'ai découvert beaucoup de choses sur ce spectacle, mais je suis un peu rouillé en flash. On m'a donné ce projet à partir d'un autre concepteur et a dû traduire la plupart de celui-ci de l'allemand vers l'anglais. Je suis censé avoir les problèmes suivants aplanies et transféré par la fin de la semaine, j'ai exhuasted toutes mes ressources et sentir mon travail est sur la ligne. C'est ce que j'ai mis en place:


une installation de navigation de parallaxe qui a créé le site en trois niveaux
une navigation clic droit
une flèche vers la touche de navigation

ces mêmes ne seraient pas un problème jusqu'à ce que vous commencer à mettre en place des fichiers vidéo et audio. Lorsque vous quittez la page avec un clic droit, défilement, touche de flèche ou vers le bas les sons de vos fichiers audio / vidéo continuera à jouer. Ce dont j'ai besoin est pour eux de couper et de la musique sur le scénario principal d'activer à nouveau.

Mon client a besoin d'installer Retour boutons pour remonter d'un niveau, le concepteur précédent établi un bouton dans la maison qui vous emmène trop loin en arrière de toute évidence.

Nous avons également besoin de sauter par dessus d'autres pages du même niveau dans quelques cas, de nouveau pas une manoeuvre évidente.
Et nous avons besoin d'une ligne de texte pour aller vers des destinations pour aller au second niveau, nous avons des icônes ci-dessus qui font cela, mais le client veut que les navigations texte en place aussi bien.

Le scénario principal est dans deux cadres. Comme pour la première image est quelque chose comme ceci: (j'ai traduit les commentaires de l'allemand vers l'anglais aussi bon que je pouvais).

Code: [ Select ]
//
// parallaxe navigation
//
fscommand("allowscale", "false");
_quality = "BEST";
Stage.scaleMode = "noScale";
//
//
// text-menu adjustments
//
textMenuX = 113;
textMenuY = 760;
textItemAbstand = 12;
//
textNormalCol = "#444444";
textOverCol = "#007899";
textPressCol = "#000000";
textAktivCol = "#222222";
//
//
// button-menu adjustments
//
sitemap = [];
// mc's der ebene0 == mainmenu:
sitemap['home'] = ['mainlink_1', 'mainlink_2', 'mainlink_3', 'mainlink_4', 'mainlink_5'];
//
// mc's der ebene1 == submenu:
sitemap['mainlink_1'] = [];
sitemap['mainlink_2'] = ['sublink_2a', 'sublink_2b'];
sitemap['mainlink_3'] = ['sublink_3a', 'sublink_3b', 'sublink_3c', 'sublink_3d', 'sublink_3e', 'sublink_3f', 'sublink_3g'];
sitemap['mainlink_4'] = ['sublink_4a'];
sitemap['mainlink_5'] = ['sublink_5a', 'sublink_5b', 'sublink_5c'];
//
// titel: name für ContextMenu
// sitemc: instancename of the site contents
// siteswf: or indicate the link to an external swf
// animation: 1 when the button animates.
//      in the button a mc must be found with the instancename animation
//      and then picture name: normal - over - press
site = [];
site['home'] = {titel:"Home"};
site['mainlink_1'] = {titel:"Home", animation:true};
site['mainlink_2'] = {titel:"About Us"};
site['mainlink_3'] = {titel:"Services"};
site['mainlink_4'] = {titel:"In the News"};
site['mainlink_5'] = {titel:"Contact"};
//
site['sublink_1a'] = {titel:"History", siteswf:"sites/team.swf", animation:true};
site['sublink_1b'] = {titel:"Mission", sitemc:"mission"};
site['sublink_1c'] = {titel:"Personel", sitemc:"staff"};
//
site['sublink_2a'] = {titel:"History", sitemc:"mission"};
site['sublink_2b'] = {titel:"Personnel", sitemc:"print"};
site['sublink_2c'] = {titel:"Branding", sitemc:"branding"};
site['sublink_2d'] = {titel:"TV ad", sitemc:"staff"};
//
site['sublink_3a'] = {titel:"Strategic Marketing", sitemc:"branding"};
site['sublink_3b'] = {titel:"Interactive", sitemc:"web"};
site['sublink_3c'] = {titel:"Print", sitemc:"staff"};
site['sublink_3d'] = {titel:"Television", sitemc:"staff"};
site['sublink_3e'] = {titel:"Radio", sitemc:"staff"};
site['sublink_3f'] = {titel:"Outdoor / POP", sitemc:"staff"};
site['sublink_3g'] = {titel:"Community", sitemc:"clients"};

//site['sublink_3b'] = {titel:"Works", sitemc:"works"};
site['sublink_4a'] = {titel:"Archive", sitemc:"works"};
site['sublink_4b'] = {titel:"Audio", sitemc:"audio"};
site['sublink_4c'] = {titel:"Images", sitemc:"images"};
//
site['sublink_5a'] = {titel:"Phone & Email", sitemc:"address"};
site['sublink_5b'] = {titel:"Employment Opportunities", sitemc:"contact"};
site['sublink_5c'] = {titel:"Google Link", sitemc:"bigbad_b"};
//
// mc's der ebene2 == contents pages:
// team --> team2
// mission --> mission2
// ...
//
//
//
// diverse parameter
//
swfBreit = 1000;
swfHoch = 750;
//
// absorb lateral movment 2..20
waagrecht_nachziehen = 8;
//
// speed_alpha_0 + speed_alpha_1 blenden die bilder für ebene0 und ebene1 aus.
// when they are null – empty- then the animation will run markedly faster
//
// zoom_steps0=13 das zoomen besteht aus 13 stufen. also z.b. 1.05 hoch 13 == 188%
// hochkorrektur0=3 das bild bewegt sich je stufe um 3 punkte nach unten
//or zooming is comprised of 13 steps so, for example …… height correction
//0=3 the picture moves itself every step 3 points(?) or pixels (?) down
//
zoom_steps0 = 13;
speed_alpha_0 = 2;
speed_zoom0 = 1.05;
hochkorrektur0 = 3;
//
zoom_steps1 = 13;
speed_alpha_1 = 2;
speed_zoom1 = 1.03;
hochkorrektur1 = 2;
//
speed_zoom2 = 1.01;
hochkorrektur2 = 1;
//
//hochkorrektur is height correction
//
// ebene1: btn huepfgeschwindigkeit or hopping rate
// is markedly slowed down by the process of the simultaneous scaling
speed_btn_huepf_1 = 40;
// color_grau1 das bild wird beim vorzoomen heller, nach hinten dunkler, je zoomstufe
// color_grau1=0 fuer immer normale helligkeit.
color_grau1 = 0;
//
// ebene2 inhalte: ein-/ ausblenden, wenn == 0 dann kein blenden
speed_alpha_2 = 10;
color_grau2 = 0;
//
// one may simply forget about blur, since through the scaling process, the 2000 pixel size picture becomes wider than 2880,
//and flash simply suspends the bluring)
//
//as a mac user I own no mouse with a wheel
// im script mouseListener.onMouseWheel
// so schnell drehen, gehe zurueck zur mittleren ebene
//or spin as fast as to go back to the middle instance? Is ebene instance?
MouseWheelDelta1 = 3;
// so schnell drehen, gehe zurueck zur 1. ebene
MouseWheelDelta0 = 6;
// works also with down arrow and right arrow – button
//
//
  1. //
  2. // parallaxe navigation
  3. //
  4. fscommand("allowscale", "false");
  5. _quality = "BEST";
  6. Stage.scaleMode = "noScale";
  7. //
  8. //
  9. // text-menu adjustments
  10. //
  11. textMenuX = 113;
  12. textMenuY = 760;
  13. textItemAbstand = 12;
  14. //
  15. textNormalCol = "#444444";
  16. textOverCol = "#007899";
  17. textPressCol = "#000000";
  18. textAktivCol = "#222222";
  19. //
  20. //
  21. // button-menu adjustments
  22. //
  23. sitemap = [];
  24. // mc's der ebene0 == mainmenu:
  25. sitemap['home'] = ['mainlink_1', 'mainlink_2', 'mainlink_3', 'mainlink_4', 'mainlink_5'];
  26. //
  27. // mc's der ebene1 == submenu:
  28. sitemap['mainlink_1'] = [];
  29. sitemap['mainlink_2'] = ['sublink_2a', 'sublink_2b'];
  30. sitemap['mainlink_3'] = ['sublink_3a', 'sublink_3b', 'sublink_3c', 'sublink_3d', 'sublink_3e', 'sublink_3f', 'sublink_3g'];
  31. sitemap['mainlink_4'] = ['sublink_4a'];
  32. sitemap['mainlink_5'] = ['sublink_5a', 'sublink_5b', 'sublink_5c'];
  33. //
  34. // titel: name für ContextMenu
  35. // sitemc: instancename of the site contents
  36. // siteswf: or indicate the link to an external swf
  37. // animation: 1 when the button animates.
  38. //      in the button a mc must be found with the instancename animation
  39. //      and then picture name: normal - over - press
  40. site = [];
  41. site['home'] = {titel:"Home"};
  42. site['mainlink_1'] = {titel:"Home", animation:true};
  43. site['mainlink_2'] = {titel:"About Us"};
  44. site['mainlink_3'] = {titel:"Services"};
  45. site['mainlink_4'] = {titel:"In the News"};
  46. site['mainlink_5'] = {titel:"Contact"};
  47. //
  48. site['sublink_1a'] = {titel:"History", siteswf:"sites/team.swf", animation:true};
  49. site['sublink_1b'] = {titel:"Mission", sitemc:"mission"};
  50. site['sublink_1c'] = {titel:"Personel", sitemc:"staff"};
  51. //
  52. site['sublink_2a'] = {titel:"History", sitemc:"mission"};
  53. site['sublink_2b'] = {titel:"Personnel", sitemc:"print"};
  54. site['sublink_2c'] = {titel:"Branding", sitemc:"branding"};
  55. site['sublink_2d'] = {titel:"TV ad", sitemc:"staff"};
  56. //
  57. site['sublink_3a'] = {titel:"Strategic Marketing", sitemc:"branding"};
  58. site['sublink_3b'] = {titel:"Interactive", sitemc:"web"};
  59. site['sublink_3c'] = {titel:"Print", sitemc:"staff"};
  60. site['sublink_3d'] = {titel:"Television", sitemc:"staff"};
  61. site['sublink_3e'] = {titel:"Radio", sitemc:"staff"};
  62. site['sublink_3f'] = {titel:"Outdoor / POP", sitemc:"staff"};
  63. site['sublink_3g'] = {titel:"Community", sitemc:"clients"};
  64. //site['sublink_3b'] = {titel:"Works", sitemc:"works"};
  65. site['sublink_4a'] = {titel:"Archive", sitemc:"works"};
  66. site['sublink_4b'] = {titel:"Audio", sitemc:"audio"};
  67. site['sublink_4c'] = {titel:"Images", sitemc:"images"};
  68. //
  69. site['sublink_5a'] = {titel:"Phone & Email", sitemc:"address"};
  70. site['sublink_5b'] = {titel:"Employment Opportunities", sitemc:"contact"};
  71. site['sublink_5c'] = {titel:"Google Link", sitemc:"bigbad_b"};
  72. //
  73. // mc's der ebene2 == contents pages:
  74. // team --> team2
  75. // mission --> mission2
  76. // ...
  77. //
  78. //
  79. //
  80. // diverse parameter
  81. //
  82. swfBreit = 1000;
  83. swfHoch = 750;
  84. //
  85. // absorb lateral movment 2..20
  86. waagrecht_nachziehen = 8;
  87. //
  88. // speed_alpha_0 + speed_alpha_1 blenden die bilder für ebene0 und ebene1 aus.
  89. // when they are null – empty- then the animation will run markedly faster
  90. //
  91. // zoom_steps0=13 das zoomen besteht aus 13 stufen. also z.b. 1.05 hoch 13 == 188%
  92. // hochkorrektur0=3 das bild bewegt sich je stufe um 3 punkte nach unten
  93. //or zooming is comprised of 13 steps so, for example …… height correction
  94. //0=3 the picture moves itself every step 3 points(?) or pixels (?) down
  95. //
  96. zoom_steps0 = 13;
  97. speed_alpha_0 = 2;
  98. speed_zoom0 = 1.05;
  99. hochkorrektur0 = 3;
  100. //
  101. zoom_steps1 = 13;
  102. speed_alpha_1 = 2;
  103. speed_zoom1 = 1.03;
  104. hochkorrektur1 = 2;
  105. //
  106. speed_zoom2 = 1.01;
  107. hochkorrektur2 = 1;
  108. //
  109. //hochkorrektur is height correction
  110. //
  111. // ebene1: btn huepfgeschwindigkeit or hopping rate
  112. // is markedly slowed down by the process of the simultaneous scaling
  113. speed_btn_huepf_1 = 40;
  114. // color_grau1 das bild wird beim vorzoomen heller, nach hinten dunkler, je zoomstufe
  115. // color_grau1=0 fuer immer normale helligkeit.
  116. color_grau1 = 0;
  117. //
  118. // ebene2 inhalte: ein-/ ausblenden, wenn == 0 dann kein blenden
  119. speed_alpha_2 = 10;
  120. color_grau2 = 0;
  121. //
  122. // one may simply forget about blur, since through the scaling process, the 2000 pixel size picture becomes wider than 2880,
  123. //and flash simply suspends the bluring)
  124. //
  125. //as a mac user I own no mouse with a wheel
  126. // im script mouseListener.onMouseWheel
  127. // so schnell drehen, gehe zurueck zur mittleren ebene
  128. //or spin as fast as to go back to the middle instance? Is ebene instance?
  129. MouseWheelDelta1 = 3;
  130. // so schnell drehen, gehe zurueck zur 1. ebene
  131. MouseWheelDelta0 = 6;
  132. // works also with down arrow and right arrow – button
  133. //
  134. //



Et c'est la seconde image:

Code: [ Select ]
#include "src/parallaxe_textmenu.as"
#include "src/parallaxe_navi.as"
stopAllSounds();
var mySound = new Sound();
mySound.loadSound("flashaudio.mp3",true);
var bytesTotal = mySound.getBytesTotal();
this.onEnterFrame = function() {
    bytesLoaded = mySound.getBytesLoaded();
    if (((bytesLoaded/bytesLoaded)*100) == 30) {
        mySound.start();
    }
};
mySound.onSoundComplete = function() {
    mySound.attachSound("looper");
    mySound.start(0,999);
};
  1. #include "src/parallaxe_textmenu.as"
  2. #include "src/parallaxe_navi.as"
  3. stopAllSounds();
  4. var mySound = new Sound();
  5. mySound.loadSound("flashaudio.mp3",true);
  6. var bytesTotal = mySound.getBytesTotal();
  7. this.onEnterFrame = function() {
  8.     bytesLoaded = mySound.getBytesLoaded();
  9.     if (((bytesLoaded/bytesLoaded)*100) == 30) {
  10.         mySound.start();
  11.     }
  12. };
  13. mySound.onSoundComplete = function() {
  14.     mySound.attachSound("looper");
  15.     mySound.start(0,999);
  16. };



Je peux vous envoyer deux fichiers en pièces jointes à votre courrier électronique.

Le site de l'échantillon est au http://www.tmdesign.net/tmp/greenstonetest/index.html


Si quelqu'un se sent à la hauteur s'il vous plaît laissez-moi savoir, je serais vraiment apprécier les aider.

-eva
  • Anonymous
  • Bot
  • No Avatar
  • Inscription: 25 Feb 2008
  • Messages: ?
  • Loc: Ozzuland
  • Status: Online

Message Août 12th, 2008, 8:06 am

Afficher de l'information

  • Total des messages de ce sujet: 1 message
  • Utilisateurs parcourant ce forum: Aucun utilisateur enregistré et 29 invités
  • Vous ne pouvez pas poster de nouveaux sujets
  • Vous ne pouvez pas répondre aux sujets
  • Vous ne pouvez pas éditer vos messages
  • Vous ne pouvez pas supprimer vos messages
  • Vous ne pouvez pas joindre des fichiers
 
 

© 2011 Unmelted, LLC. Ozzu® est une marque déposée de Unmelted, LLC