Woman in Distress

  • eva552
  • Born
  • Born
  • eva552
  • Posts: 1

Post 3+ Months Ago

OK here is my problem...

I have been challenged by this sight. I figured out alot of things on this sight but I am a little rusty in flash. I was given this project from another designer and had to translate most of it from german to english. I am supposed to have the following problems ironed out and uploaded by the end of the week, I have exhuasted all my resources and feel my job is on the line. This is what I have set up:


a parallax navigation setup which set up the site in three levels
a right click navigation
a down arrow key navigation

these in themselves wouldn’t be a problem until you start setting up video and audio files . When you leave the page with a right click, scroll, or down arrow key the sounds from your video/audio files continue to play. What I need is for them to shut off and for the music on the main timeline to activate again.

My client needs to install back buttons to go back one level, the previous designer set a home button in which takes you too far back obviously.

We also need to jump over to other pages on the same level in a few instances, again not an obvious maneuver.
And we need a line of text to go to destinations to go to the second level, we have icons above that do that but the client wants the text navigations in place as well.

The main timeline is in two frames. The as in the first frame is something like this:( I translated the comments from German to English as good as I could).

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. //



And this is the second frame:

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. };



I can send you two AS files as attachments to your email.

The sample site is at http://www.tmdesign.net/tmp/greenstonetest/index.html


If anyone feels up to the challenge please let me know , I would really appreciate the help.

-eva
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

Post Information

  • Total Posts in this topic: 1 post
  • Users browsing this forum: No registered users and 24 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
cron
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.