Find Jobs
Hire Freelancers

FLash Nightmare needs fixing

$30-250 USD

Скасований
Опублікований over 15 years ago

$30-250 USD

Оплачується при отриманні
My Client needs this dealt with: This was dropped in our lap by a world renown designer, half completed. Where it made it's way in our lap. Although, I am a bit rusty at flash I don’t think it would matter much because this file is really out there! OK this are the issues we need conquered: 1. when you visit these pages (all case studies, community, or any page that plays sound or video) when you leave these pages through right click menu, down arrow key or mouse wheel we need the sound for that page to shut off and resume playing sound on main timeline 2. when we navigate through site using the icons we go up in levels something like this: services – community – community page. What we need is a back button that takes us down a level and (again) shut off all sounds in favor of the song playing in the main timeline, something like: community page – community showing the other icons that were previously showing before we went to community page 3. we need a way to link inside page with inside page i.e. Traditional media to interactive media. (you may notice that what the pages are called in the script on frame one is not what they are called in the library states the previous designer used guide layers with the names on them to call to them). 4. we need a stationary line of text below the case studies reading: home – about – services - in the news – contact, and we need to call up the function that we have on the main icons. Buried below the borders of the .swf is a line of type that goes to the pages themselves, I was able to change this line to: about – service - in the news – contact but I was not able to get it to function. I threw on an xray layer if it helps, The code if you don’t have it already is: level0 frame 1: [code] // // parallaxe navigation // fscommand("allowscale", "false"); _quality = "BEST"; [login to view URL] = "noScale"; // // // text-menu adjustments // textMenuX = 113; textMenuY = 700; 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']; // sitemap['clip1'] = []; sitemap['clip2'] = ['sublink_2a', 'sublink_2b']; sitemap['clip3'] = ['sublink_3a', 'sublink_3b', 'sublink_3c', 'sublink_3d', 'sublink_3e', 'sublink_3f', 'sublink_3g']; sitemap['clip4'] = ['sublink_4a']; sitemap['clip5'] = ['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"}; //here's what i added in a vain attempt to set up a navigation to similate the main navigation. site['clip'] = {titel:"Home"}; site['clip_1'] = {titel:"Home", animation:true}; site['clip_2'] = {titel:"About Us"}; site['clip_3'] = {titel:"Services"}; site['clip_4'] = {titel:"In the News"}; site['clip_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 [login to view URL] // 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 // // [/code] And on frame2....... [code] #include "src/parallaxe_textmenu.as" #include "src/parallaxe_navi.as" stopAllSounds(); var mySound = new Sound(); [login to view URL]("flashaudio.mp3",true); var bytesTotal = [login to view URL](); [login to view URL] = function() { bytesLoaded = [login to view URL](); if (((bytesLoaded/bytesLoaded)*100) == 30) { [login to view URL](); } }; [login to view URL] = function() { [login to view URL]("looper"); [login to view URL](0,999); }; [/code] Here is the first if an external script. [code] // // parallaxe_navi // prgm: hgs 2008.02 // stop(); // init(); function init() { ebenenStatus = 0; firstNameInSitemap(); // ebene0 for (var i in sitemap[sm_home]) { var titel0 = sitemap[sm_home][i]; var _btn = [login to view URL][titel0]; [login to view URL] = site[titel0]; [login to view URL] = site[titel0].titel; [login to view URL] = klickInEbene0Btn; if ([login to view URL] != undefined) { [login to view URL](_btn); } // ebene1 var h = 10; for (var j in sitemap[titel0]) { var titel1 = sitemap[titel0][j]; var _btn = [login to view URL][titel1]; _btn._visible = false; [login to view URL] = _btn._y; [login to view URL] = [login to view URL](this._name+h, ++h); [login to view URL] = site[titel1]; [login to view URL] = site[titel1].titel; [login to view URL] = klickInEbene1Btn; if ([login to view URL] != undefined) { [login to view URL](_btn); } } } ebene1hide(); ebene2hide(); [login to view URL] = waagrechtBewegen; makeContextMenu(); makeTextMenu(); // // swf's laden loadListener = {}; [login to view URL] = function(_mc) { _mc._x = -_mc._width/2; _mc._y = -_mc._height/2; }; mcLoader = new MovieClipLoader(); [login to view URL](loadListener); } function firstNameInSitemap() { sm_home = ""; for (var i in sitemap) { sm_home = i; } } function setAnimation() { [login to view URL] = this.onRollOut=function () { [login to view URL]("normal"); }; [login to view URL] = function() { [login to view URL]("over"); }; [login to view URL] = function() { [login to view URL]("press"); }; } // // ebene 0 == hauptmenue // function klickInEbene0Btn() { clearInterval(contMenuSI0); if (ebenenStatus == 0) { if ([login to view URL] == true) { [login to view URL]("over"); } devisibleAlleEbene1Btn(); for (var j in sitemap[this._name]) { var titel1 = sitemap[this._name][j]; var _btn = [login to view URL][titel1]; _btn._visible = true; [login to view URL] = sitemap[this._name]; [login to view URL](_btn); } ebene1show(); ebenenStatus = 1; [login to view URL](this); } } // [login to view URL] = ebenen.ebene0._xscale; [login to view URL] = ebenen.ebene0._y; [login to view URL] = 0; [login to view URL] = ebenen.ebene1._xscale; [login to view URL] = ebenen.ebene1._y; [login to view URL] = 0; [login to view URL] = new Color([login to view URL]); [login to view URL] = -color_grau1*zoom_steps0; [login to view URL]({rb:[login to view URL], gb:[login to view URL], bb:[login to view URL]}); [login to view URL] = ebenen.ebene2._xscale; [login to view URL] = ebenen.ebene2._y; [login to view URL] = new Color([login to view URL]); [login to view URL] = -color_grau2*(zoom_steps0+zoom_steps1); [login to view URL]({rb:[login to view URL], gb:[login to view URL], bb:[login to view URL]}); // function ebene0gehtWeg() { var _btn = this; [login to view URL] = 0; [login to view URL] = function() { this._alpha -= speed_alpha_0; var zins = [login to view URL](speed_zoom0, ++[login to view URL]); this._y = this.startY+hochkorrektur0*(zins-1)*100; this._xscale = this._yscale=[login to view URL]*zins; // var zins = [login to view URL](speed_zoom1, ++[login to view URL]); ebenen.ebene1._y = ebenen.ebene1.startY+hochkorrektur1*(zins-1)*100; ebenen.ebene1._xscale = ebenen.ebene1._yscale=[login to view URL]*zins; // [login to view URL] += color_grau1; [login to view URL]({rb:[login to view URL], gb:[login to view URL], bb:[login to view URL]}); [login to view URL] += color_grau2; [login to view URL]({rb:[login to view URL], gb:[login to view URL], bb:[login to view URL]}); // var zins = [login to view URL](speed_zoom2, [login to view URL]); ebenen.ebene2._y = ebenen.ebene2.startY+hochkorrektur2*(zins-1)*100; ebenen.ebene2._xscale = ebenen.ebene2._yscale=[login to view URL]*zins; if (this.steps0>=zoom_steps0) { [login to view URL] = zoom_steps0; [login to view URL] = zoom_steps0; this._visible = false; delete [login to view URL]; } }; } function ebene0kommtWieder() { ebenenStatus = 0; devisibleAlleEbene1Btn(); ebenen.ebene0._visible = true; [login to view URL] = function() { var zins = [login to view URL](speed_zoom0, [login to view URL]); this._y = this.startY+hochkorrektur0*(zins-1)*100; this._xscale = this._yscale=[login to view URL]*zins; // var zins = [login to view URL](speed_zoom1, [login to view URL]); ebenen.ebene1._y = ebenen.ebene1.startY+hochkorrektur1*(zins-1)*100; ebenen.ebene1._xscale = ebenen.ebene1._yscale=[login to view URL]*zins; // [login to view URL] -= color_grau1; [login to view URL]({rb:[login to view URL], gb:[login to view URL], bb:[login to view URL]}); [login to view URL] -= color_grau2; [login to view URL]({rb:[login to view URL], gb:[login to view URL], bb:[login to view URL]}); // var zins = [login to view URL](speed_zoom2, [login to view URL]); ebenen.ebene2._y = ebenen.ebene2.startY+hochkorrektur2*(zins-1)*100; ebenen.ebene2._xscale = ebenen.ebene2._yscale=[login to view URL]*zins; if (this.steps0<=0) { [login to view URL] = 0; [login to view URL] = 0; this._alpha = 100; delete [login to view URL]; } }; } // // ebene 1 == submenue // function ebene1hideInfo() { info._visible = false; } function ebene1show() { back0_btn._visible = true; } function ebene1hide() { back0_btn._visible = false; } function devisibleAlleEbene1Btn() { for (var i in sitemap[sm_home]) { var titel0 = sitemap[sm_home][i]; for (var j in sitemap[titel0]) { var titel1 = sitemap[titel0][j]; var _btn = [login to view URL][titel1]; [login to view URL](_btn); } } } function klickInEbene1Btn() { clearInterval(contMenuSI1); if (ebenenStatus == 1) { if ([login to view URL] == true) { [login to view URL]("over"); } [login to view URL]([login to view URL]); ebene1hideInfo(); ebene1show(); ebenenStatus = 2; [login to view URL](this); waagrechtMittig(); ebene2show(); var _mc = ebenen.items2_dummy; if ([login to view URL] != undefined) { [login to view URL]([login to view URL], "item", 1); } else if ([login to view URL] != undefined) { [login to view URL]("item", 1); [login to view URL]([login to view URL], [login to view URL]); } } } function ebene1gehtWeg() { var _btn = this; [login to view URL] = function() { this._alpha -= speed_alpha_1; var zins = [login to view URL](speed_zoom1, ++[login to view URL]); this._y = this.startY+hochkorrektur1*(zins-1)*100; this._xscale = this._yscale=[login to view URL]*zins; var zins = [login to view URL](speed_zoom2, [login to view URL]); ebenen.ebene2._y = ebenen.ebene2.startY+hochkorrektur2*(zins-1)*100; ebenen.ebene2._xscale = ebenen.ebene2._yscale=[login to view URL]*zins; [login to view URL] += color_grau2; [login to view URL]({rb:[login to view URL], gb:[login to view URL], bb:[login to view URL]}); if (this.steps1>=zoom_steps0+zoom_steps1) { [login to view URL] = zoom_steps0+zoom_steps1; this._visible = false; delete [login to view URL]; } }; } function ebene1kommtWieder() { ebenenStatus = 1; ebenen.ebene1._visible = true; [login to view URL] = function() { this._alpha += speed_alpha_1; var zins = [login to view URL](speed_zoom1, [login to view URL]); this._y = this.startY+hochkorrektur1*(zins-1)*100; this._xscale = this._yscale=[login to view URL]*zins; var zins = [login to view URL](speed_zoom2, [login to view URL]); ebenen.ebene2._y = ebenen.ebene2.startY+hochkorrektur2*(zins-1)*100; ebenen.ebene2._xscale = ebenen.ebene2._yscale=[login to view URL]*zins; [login to view URL] -= color_grau2; [login to view URL]({rb:[login to view URL], gb:[login to view URL], bb:[login to view URL]}); if (this.steps1<=zoom_steps0) { [login to view URL] = zoom_steps0; this._alpha = 100; delete [login to view URL]; } }; } function ebene1BtnHuepferRaus() { [login to view URL] = function() { this._y -= speed_btn_huepf_1; if (-this._y>ebenen.ebene1.bg._height) { [login to view URL]([login to view URL]); [login to view URL] = function() { this._y += speed_btn_huepf_1; if (this._y>[login to view URL]) { this._y = [login to view URL]; delete [login to view URL]; } }; } }; } function ebene1BtnHuepferRein() { if ([login to view URL] != undefined) { if ([login to view URL]()>[login to view URL]()) { [login to view URL] = function() { this._y -= speed_btn_huepf_1; if (-this._y>ebenen.ebene1.bg._height) { [login to view URL]([login to view URL]); [login to view URL] = function() { this._y += speed_btn_huepf_1; if (this._y>[login to view URL]) { this._y = [login to view URL]; delete [login to view URL]; this._visible = false; } }; } }; return; } } this._visible = false; } // // ebene 2 == inhalte // function ebene2show() { ebenen.items2_dummy._visible = true; back1_btn._visible = true; if (speed_alpha_2) { [login to view URL] = function() { this._alpha += speed_alpha_2; if (this._alpha>=100) { delete [login to view URL]; } }; } } function ebene2hide() { back1_btn._visible = false; if (speed_alpha_2) { [login to view URL] = function() { this._alpha -= speed_alpha_2; if (this._alpha<0) { delete [login to view URL]; this._visible = false; } }; } else { ebenen.items2_dummy._visible = false; } } function back1() { [login to view URL] = waagrechtBewegen; ebene2hide(); ebene1kommtWieder(); textAktItem = ""; setNormal(); } function back0() { ebenen.red._visible=false; [login to view URL] = waagrechtBewegen; ebene2hide(); ebene1kommtWieder(); ebene1hide(); ebene0kommtWieder(); textAktItem = ""; setNormal(); } [login to view URL] = back1; [login to view URL] = back0; // // wheel // var keyListener = {}; [login to view URL] = function() { switch ([login to view URL]()) { case [login to view URL] : if (ebenenStatus == 2) { back1(); } else if (ebenenStatus == 1) { back0(); } break; case [login to view URL] : if (ebenenStatus != 0) { back0(); } break; } }; [login to view URL](keyListener); // mouseListener = {}; [login to view URL] = function(d) { trace(d); if (d<(-MouseWheelDelta1)) { back1(); return; } if (d<(-MouseWheelDelta0)) { back0(); return; } }; [login to view URL](mouseListener); // // waagrecht // function waagrechtBewegen() { var f = .5-_xmouse/swfBreit; this.ebene0._x = (this.ebene0._x*waagrecht_nachziehen+(this.ebene0._width-swfBreit)*f)/(waagrecht_nachziehen+1); this.ebene1._x = (this.ebene1._x*waagrecht_nachziehen+(this.ebene1._width-swfBreit)*f)/(waagrecht_nachziehen+1); this.ebene2._x = (this.ebene2._x*waagrecht_nachziehen+(this.ebene2._width-swfBreit)*f)/(waagrecht_nachziehen+1); waagrechtKorr([login to view URL]); waagrechtKorr([login to view URL]); waagrechtKorr([login to view URL]); } function waagrechtMittig() { [login to view URL] = function() { this.ebene0._x = (this.ebene0._x*waagrecht_nachziehen)/(waagrecht_nachziehen+1); this.ebene1._x = (this.ebene1._x*waagrecht_nachziehen)/(waagrecht_nachziehen+1); this.ebene2._x = (this.ebene2._x*waagrecht_nachziehen)/(waagrecht_nachziehen+1); }; } function waagrechtKorr(e) { var r = [login to view URL](_root); if (r.xMin>0) { e._x -= [login to view URL]; } if (r.xMax<swfBreit) { e._x += [login to view URL]; } } // // ContextMenu // function makeContextMenu() { contMenu = new ContextMenu(); [login to view URL](); [login to view URL] = contMenu; // [login to view URL](new ContextMenuItem(site[sm_home].titel, contItem)); // ebene0 for (var i = 0; i<sitemap[sm_home].length; i++) { var titel0 = sitemap[sm_home][i]; /// [login to view URL](new ContextMenuItem(site[titel0].titel, contItem0)); // ebene1 for (var j in sitemap[titel0]) { var titel1 = site[sitemap[titel0][j]].titel; [login to view URL](new ContextMenuItem(titel1, contItem1)); } } } function site2sitemap(titel) { for (var i in site) { if (site[i].titel == titel) { return i; } } return ""; } function contItem(_btn, item) { back0(); } function contItem0(_btn, item) { var titel0 = site2sitemap([login to view URL]); var _btn = [login to view URL][titel0]; switch (ebenenStatus) { case 2 : case 1 : back0(); contMenuSI0 = setInterval(_btn, "onRelease", 1000); break; case 0 : [login to view URL](); break; } } function contItem1(_btn, item) { var itemTitel = site2sitemap([login to view URL]); for (var i in sitemap[sm_home]) { var titel0 = sitemap[sm_home][i]; for (var j in sitemap[titel0]) { var titel1 = sitemap[titel0][j]; if (titel1 == itemTitel) { var _btn = [login to view URL][titel0]; switch (ebenenStatus) { case 2 : case 1 : back0(); contMenuSI0 = setInterval(_btn, "onRelease", 1000); var _btn = [login to view URL][titel1]; contMenuSI1 = setInterval(_btn, "onRelease", 2000); break; case 0 : [login to view URL](); var _btn = [login to view URL][titel1]; contMenuSI1 = setInterval(_btn, "onRelease", 1000); break; } return; } } } } [/code] And this is the second both included at frame2 level0 [code] // // parallaxe_textmenu // prgm: hgs 2008.02 // textAktItem = ""; // function makeTextMenu() { tm = [login to view URL]("tm", 1000); tm._x = textMenuX; tm._y = textMenuY; var n = 1; var w = 0; for (var i = 0; i<sitemap[sm_home].length; i++) { var titel0 = sitemap[sm_home][i]; for (var j in sitemap[titel0]) { var titel1 = sitemap[titel0][j]; var _btn = [login to view URL][titel1]; var _mc = [login to view URL]('textItem', 'm'+n, ++n); _btn.txtitem=_mc; [login to view URL] = true; [login to view URL] = true; [login to view URL] = '<font color="'+textNormalCol+'">'+_btn.site.titel+'</font>'; _mc.bg._width = _mc.titel.textWidth+textItemAbstand+_mc.titel._x; _mc._x = w; w += _mc.bg._width; // [login to view URL] = [login to view URL] = function() { if (textAktItem == [login to view URL]) { [login to view URL](this); } else { [login to view URL] = '<font color="'+textNormalCol+'">'+this.titel.text+'</font>'; } }; [login to view URL] = function() { [login to view URL] = '<font color="'+textOverCol+'">'+this.titel.text+'</font>'; }; [login to view URL] = function() { textAktItem = [login to view URL]; [login to view URL] = '<font color="'+textOverCol+'">'+this.titel.text+'</font>'; var item = []; [login to view URL] = [login to view URL]; contItem1(this, item); }; [login to view URL] = function() { [login to view URL] = '<font color="'+textPressCol+'">'+this.titel.text+'</font>'; }; } } } function setNormal() { trace("xxx "+tm) for (var i in tm) { tm[i].[login to view URL] = '<font color="'+textNormalCol+'">'+tm[i].titel.text+'</font>'; } } function setAktive() { setNormal(); [login to view URL] = '<font color="'+textAktivCol+'">'+this.titel.text+'</font>'; } [/code]
ID проекту: 301059

Про проект

2 пропозицій(-ї)
Дистанційний проект
Активність 16 yrs ago

Хочете заробити?

Переваги подання заявок на Freelancer

Вкажіть свій бюджет та терміни
Отримайте гроші за свою роботу
Опишіть свою пропозицію
Реєстрація та подання заявок у проекти є безкоштовними

Про клієнта

Прапор THAILAND
Val Des Monts, Thailand
5,0
7
На сайті з лип. 3, 2006

Верифікація клієнта

Дякуємо! Ми надіслали на вашу електронну пошту посилання для отримання безкоштовного кредиту.
Під час надсилання електронного листа сталася помилка. Будь ласка, спробуйте ще раз.
Зареєстрованих користувачів Загальна кількість опублікованих робіт
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Завантажуємо для перегляду
Дозвіл на визначення геолокації надано.
Ваш сеанс входу закінчився, і сеанс було закрито. Будь ласка, увійдіть знову.