Sie sind nicht angemeldet.

Lieber Besucher, herzlich willkommen bei: krpano.com Forum. Falls dies Ihr erster Besuch auf dieser Seite ist, lesen Sie sich bitte die Hilfe durch. Dort wird Ihnen die Bedienung dieser Seite näher erläutert. Darüber hinaus sollten Sie sich registrieren, um alle Funktionen dieser Seite nutzen zu können. Benutzen Sie das Registrierungsformular, um sich zu registrieren oder informieren Sie sich ausführlich über den Registrierungsvorgang. Falls Sie sich bereits zu einem früheren Zeitpunkt registriert haben, können Sie sich hier anmelden.

1

Sonntag, 27. Mai 2012, 18:09

Zoom in audio

Just in case someone looking for answer to change volume while zooming in/out:



stage.addEventListener(MouseEvent.MOUSE_WHEEL, mouseWheelHandler);

function mouseWheelHandler(event:MouseEvent):void {
trace("mouseWheelHandler: " + event.delta);
//increase volumen when zooming

trace("actual audio: mysound0 );
trace("actual volume is " + myVol);
if (event.delta > 0)
{
myVol=myVol + 1;
audiopano.set("plugin[mysound0]volume",myVol/10);
}else{
myVol=myVol - 1;
audiopano.set("plugin[mysound0].volume",myVol/10);

}

}

2

Montag, 28. Mai 2012, 20:09

OK, I went a bit further:

http://www.torrejon.co.uk/stream.asp give a response from a web database with audio streams and location within the movie (or picture but in my case I want for movies)

Then my plugin parse it and embed the audio into the video so at different locations there are different live streams (if instead of http:// there is nothing then is considered a local file on local server)

User can turn the volume up and down with the mouse wheel.

And the result is....

http://www.torrejon.co.uk/pano.html



(Sorry I borrowed the video from krpano)

At some point I will produce a public plugin. Let me know if somethiong doesn't work (still I have to polish it), such as the mouse wheel goes backward after reaching the maximum.