ActionScript 2.0 :: Route One Audio Channel To Both?
Feb 21, 2010
I want to have a video with a different language on each channel, to give the viewer the possibility to switch dynamically. That's easily done with setPan, however you end up with the audio playing on only one channel, and that's pretty bad, specially if you watch in headphones. So my question is:
how do you take one channel from an FLV stream and send it to both speakers?
View 0 Replies
Similar Posts:
Jul 11, 2009
I have an mp4 file that i made and i made it 7.1 surround sound, and i'm pretty sure that this 7.1 surround sound works, as it can be played in VLC. i'm using netstream to load my files now. How do i make it so that flash can playback all 8-channels of sound?
View 3 Replies
May 26, 2011
I Am wondering if is possible to use one sound channel to play through an array of sounds? Perhaps by using a complete event or other means?
View 1 Replies
May 30, 2009
Calling channel.position on an ENTER_FRAME event, I notice that it's not being updated every frame, but it looks more like every frame and a half.
var sound:Sound = new Sound(new URLRequest('music.mp3'));
var channel:SoundChannel = sound.play(); // assume the sound is completely,
// totally, 100% loaded
[code]....
View 1 Replies
Sep 4, 2011
I want to know if it is possible to use javascript, flash or flex to make a youtube video player that is capable of controlling left/right audio channel volume. For example, mute the left channel and play right channel audio on both left/right speakers.
View 1 Replies
Aug 2, 2011
I have an FLV file that I want to be able to make a text box that acts as a password field.When the user enters the correct password, I want it to route the internet explorer page to a different website.
View 21 Replies
Jun 14, 2010
I have this object in Flex 4
[Code]....
It is a circle divided into 5 equal parts each 72 degrees. So each state you can see is increases the rotation by 72 degrees. I have a transition for the rotation when the state changes like so:
[Code]....
Being that this is a circle you can actually rotate CW or CCW to get to the right degree for the state. Usually the rotation-transition uses whichever is lower. For example to get from Classic to Centro (0 to 72) it goes CW. But this is not always the case. To go from Lace to Lido (144 to 216) it goes CCW. This is not desired sense it would make a much better transition to go CW because it requires less spinning of the circle to get to the desired degree.
View 1 Replies
Aug 9, 2011
In Actionscript, I'm trying to work out the best way to create the shortest route between two point on the map above. I have all the distances.
Algorithms like A* I dont think are relevant as it is near impossible to work out the heuristic distance.
I thought I could create a big array of all the nodes with the distances to any connected nodes and just iterate through until Ive found the the shortest distance, but this I know is very inefficient.
View 2 Replies
Jan 27, 2010
How I should get started to achieve two things. I am creating a map with places and routes between those places.
Objective 1: When a visitor hovers over a place name, I want a tooltip to show, which they can select to be taken to another html page to display information on that place.
Objective 2: When a visitor hovers over a line or path connecting two places, a tooltip shows to identify that route, and again when the tooltip is clicked, the visitor is taken to the route details html page for further information. I want the tooltip to show up anywhere along the path which is hovered over.
I want to know, how I should start to design this and what elements will be required to achieve this, especially the tool tips. And how easy is it to make a path highlight, like a button, when hovered over, can a path have different states?
Here is a image done in Fireworks of my objectives.
View 6 Replies
Aug 6, 2011
I would like to do something like this URl...but have the individual lines animate and show progress along a route. It needs to be a 'real' map so that I can feed in LAT/Longs for for the polylines. This is also a similar effect URL... but I don't need the map panning.I am aware of the google maps api for Flash but there doesn't seem to be any animation other than panning.
View 1 Replies
Sep 21, 2009
I have been learning about classes and oop programming with AS2. I think I have a very good idea of how it all works, but I'm lacking in one final area before I can truly say I'm coding in OOP. Currently, I use a contentmanager class to route all button commands through. This class handles the removal and preperation of the stage for content change, and then seperate classes handle the actual loading and placement of the new content.
So in a way, its not really OOP, just very well organized code. The next step is Event Management in AS2. I know it can be done, I read through a few tutorials, but get confused by it all. What I'm looking for now is two things.. a very good Event Management tutorial or article if anyone knows of any..
as well as a sample site that can be downloaded or viewed which has been written using OOP. I want this sample site, to re-evaluate how my current way of programming holds up compared to more proffessional examples...(Perhaps even we can turn this into a hot thread with examples of code and structures to help other developers trying to gain a grip on OOP..?)
View 7 Replies
Aug 21, 2009
so i finally decided to jump to as3 from as2! (yes, it took me some time XD) I have a better understanding of as3 after reading tutorials, however i have a problem/doubt: I have 2 movieclips on my main timeline with the name of the instances: OBJ_1 and OBJ_2. both have animations. OBJ_1 has a stop on its 1st frame; OBJ_2 has an action in its last frame:
[Code]...
View 9 Replies
Aug 6, 2010
If I import an FLV video is there any way to remove the audio, put the audio into a byte array, and then re-add the audio to the flv video?
View 1 Replies
Jan 4, 2012
In the scene there is a star and an AI player.what equation would take the AI player on the most direct route to the star...i.e guide it into the path of the star...just to make things clear, the star is static and the ai plaer is controlled by the computer. i think you have to make two variables distx and disty and use some sort of trigonometry on them but i'm not entirely sure on how to go along doing this.
View 9 Replies
Mar 5, 2005
Currently I am working on a map that will animate the drawing of a line between two points as soon as the user hovers over the end point. A good example of this can be seen on the home page of Jet2.com (the map of Europe).
It seems I am having difficulty with drawing the line dynamically. Of course, just drawing a still line between two points is easy, just use MoveTo() and LineTo(). However, having the line expand in an animation is quite difficult for me.
Here is what I've come up with so far:
Code:
// Create the clip
this.createEmptyMovieClip("drawing_mc",1);
// Declare variables
[Code].....
View 10 Replies
Apr 25, 2005
Im working on some actionscript drawing, right now Im drawing a curved line on a map to show a route for a shipping company, the line is red but I would like to color a portion of the line green for the completed portion of the journey.
View 10 Replies
Apr 8, 2010
I've been doing a number of pretty basic flash banner ads at the typical advertising size (728x90, 300x250, etc.) but the client wants to throw in some video for this upcoming batch. I've already been given the .flv movie file. It's about a minute long at 3 mb, but I'm only going to use about 4 seconds of it. My question is what is the routine/typical route to take when adding video to banners but also keeping under the file size limitations (around 37k)? I did some brief research and read about progressive downloading but wasn't sure what the typical direction was when delivering files like this to the vendors.
View 2 Replies
Aug 25, 2009
I ran a simple live video streaming application for the first time with actual users and ran into a couple of serious performance issues that had not turned up during testing. In this instance there was one video stream from a live web cam and used FMLE at 150 kbps using VP6 and MP3 @22k. There were 16 clients and everything worked pretty good for about 30 minutes. (although some clients said their audio and video were out of sync by up to 3 seconds)
Then individual clients would have either the video freeze or the video would continue and the audio would stop. These clints had to "disconnect" and then "connect" again to the application. This happened to all of the clients at one time or another for several minutes. I stopped and restarted the FMLE with progessively lower bandwidth settings down to 75 kbps but still clients were having the same issue.
I eventually stopped the FMLE and used the applications built in publisher at 45 kbps and that seemed to eliminate the freeze/dropping issue. But of course the video quality was very poor and some clients still reported that the audio was out of sync with the video. The server hosting the FMS application is a quad processor dell with lots of memory and network connectivity. The Flash Media Admin Console performance graph showed the total Bandwidth as 3 Mbps at maximum.
View 8 Replies
Mar 11, 2010
Anyone know of a skinnable audio player (or something similar to Windows Vista audio control in task bar) that i can embed in my website?
A player that can be customized to use a 'speaker' icon instead of a 'play' icon. When the speaker is clicked, the volume can be adjusted or turned off. The option of being able to autoplay and set the default volume level.
View 1 Replies
Aug 4, 2009
I am converting from .FLV's to .F4V. Video outputs fine but the audio sound stops after a few seconds from the beginning.I have tried many different settings for the audio with no luck. Also, tried on a colleague's machine who is running CS3, which works fine, so something is buggy in CS4...
View 1 Replies
Mar 11, 2010
Because the player optimizes framerate, antialiasing etc dependent on the performance capabilities of the platform upon which it is running, it was nearly impossible to ensure animation syncronization w/ audio. If the audio were on the timeline you could set sync params to stream, but if the audio is loaded programically forget it .. well until AS3 ..The following code throttles the player framerate to lock step the animation to the audio .. not perfect but the principal works ..
View 1 Replies
Sep 6, 2011
Let me first establish what I want to do:My user is able to record voicenotes on my website, add tags to said notes for indexing as well as a title. When the note is saved I save the path of the note along with the other info in my DB.Now, I have 2 choices to do the recording, both involve a .swf embedded in my site:
1) I could use Red5 server to stream the audio to my server and save the file and return the path to said file to my app to do the DB saving, seems rather complicated since I would have to convert the audio and move it to the appropriate folder that belongs to the user in a server side Red5 app, which I'm not very aware of how to build.
2) I could simply record the audio and grab its byte array, do a Base64 encoding on it and send it to PHP along with the rest of the data that is necessary (be it by a simple POST or an AJAX call), decode it on the server and make the file with the appropriate extension, audio conversion would also occur here using ffmpeg, this option seems simpler but I do not know how viable it is.
View 1 Replies
Apr 1, 2012
Is there a way to stream and audio line level feed rather than the audio from a computer's microphone?
View 1 Replies
Aug 25, 2009
I have an audio player that has a custom timeline and playhead. I am using a start and stop drag to move in the time line but the only way i can make it work is to have it play when ever I release the play head. I would like it to stay stopped if the player is paused and play if the player was playing.
[Code]...
View 5 Replies
Oct 25, 2009
The images for animation load okay. The sound loads okay. But the animation images need to be inserted in coordination with the sounds, which is difficult using only the ears There is a visual graph of audio levels in the library window, which I have seen appear in the timeline also but only momentarily. I do not know how to keep the audio graph on the timeline so as to know where to put the images. I can keep the graph open on the little library window when it is open but not on the timeline. how to keep the graph open on the audio track while I work on the image tracks.
View 1 Replies
Apr 13, 2011
My server is streaming binary audio data (mostly mp3 files) to a client (a browser). This client stores the audio data in memory.
What I'm looking for is a flash audio player that I can input the binary audio data so that it can play the audio file.
Preferably, the flash client is merely a bridge to Javascript so that I can handle everything in Javascript and simply use Flash's audio features, but this is not a requirement.
View 1 Replies
Apr 25, 2011
I have a single audio file, I'd like to avoid cutting it up.
I know I can use the sound class, mySound.play(150), to start at 150ms but haven't come across a way to stop the audio say after 500ms or at 650ms.
View 2 Replies
May 15, 2007
I'm looking for a (free) flash player that I can embed in my site and use to play a .m4a (.mp4 with AAC audio) file that will be obtained using a URL (i.e. it's not local to the server hosting the web page).I've tried searching on google for one, but either I'm searching wrong or no one has made such a thing. Ideally this would be very simple (small user interface with play button and maybe a progress bar) and it would be easy to have multiple instances of on an html page (can create the player with an <object> tag).
View 7 Replies
Feb 24, 2011
I am new in action script 3.0. i am trying to build an audio player which will stream audio(mp3 etc.) from wowza media server. the player needs to have a play button, stop/pause button, a play progressbar and a volume scroll bar. i am using NetStream object to paly the audio
View 1 Replies
Jun 15, 2009
I am creating an audio communication application. In that two users are able to communicate. But the problem is that some time in audio I am facing an echo problem.
View 2 Replies