Visualizzazione dei risultati da 1 a 2 su 2

Discussione: unload e sound flv

  1. #1

    unload e sound flv

    Ragazzi ho un problema con un file FLV, o meglio due
    vi spiego

    ho caricato un FLV in un SWF e quest'ultimo in un altro swf con
    on (release) {
    loadMovieNum("flash/video1.swf", 1);
    }

    nel fare lunload succede che il suono dell'flv rimane

    on (release) {

    unloadMovieNum(_level1);
    }

    Questo è il primo problema, il secondo invece riguarda il tastino del sound generale del sito

    Con lo script che segue blocco il sound della pagina, il problema è che blocca anche quello dell'FLV, io vorrei rendere indipendente il suono del mio FLV

    il tasto per il suono generale ha questo script
    on (release) {
    _root.soundstatus="off"
    }

    mentre il controllo è questo
    onClipEvent(load)
    {
    _root.soundstatus="on";
    _root.mySound = new Sound(_level0);
    _root.mySound2 = new Sound(_level1);
    _root.mySound3 = new Sound(_level2);
    _root.mySound4 = new Sound(_level3);
    _root.mySound5 = new Sound(_level4);
    maxvolume=100;
    minvolume=0;
    }

    onClipEvent(enterFrame)
    {
    if(_root.soundstatus=="on") {step=5}
    if(_root.soundstatus=="off") {step=-5}

    maxvolume+=step;

    if (maxvolume>100) {maxvolume=100;}
    if (maxvolume<0) {maxvolume=0;}

    _root.mySound.setVolume(maxvolume);
    _root.mySound2.setVolume(maxvolume);
    _root.mySound3.setVolume(maxvolume);
    _root.mySound4.setVolume(maxvolume);
    _root.mySound5.setVolume(maxvolume);
    }


    chi può aiutarmi??
    grazie

  2. #2
    Grazie ragazzi...ho risolto tutto....

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.