Actionscript :: Play Multiple Tracks In Sync Flash Builder?

Aug 6, 2011

I'm about to create some art installation using augmented reality and music. I'd like to implement some kind of sampler in it, but I can't find any way to do it.

It's gonna be a looper, I've got 12 files (each 8 seconds) and I want to play them synchronized - so they must start at the same time. this is example of something similiar to my project[url]... They must be controlled by changing volume (0 means off).

View 1 Replies


Similar Posts:


ActionScript 3.0 :: Make A Pause/Play Function For Multiple Audio Tracks?

Aug 13, 2009

I have a Flash file that has two music tracks. The player I built works well so far except for this, I am trying to make a Pause/Play button the works on either track. Right now it only works on one. With my limited knowledge of AS3 I tried different solutions but none worked.

Here is the SWF file; [URL]

You will see that the Pause/Play button only works on �Kiss My Dogg� which is track 1.

Here is the FLA file; [URL]

Below is some of the Script I wrote. The pause/play is the part I can�t figure out.

//function to load different tracks
function loadMusic(evt:MouseEvent):void{
//stop whatever is playing
SoundMixer.stopAll();

[Code].....

View 2 Replies

Media Server :: Play Multiple Videos In Sync?

Jul 20, 2011

I need to build a website which shows multiple instruments in a band, being played in sync.  Each camera/video block is a different instrument, and played together, they constitute an entire band.  I have been searching high and low for ways to do this, and it definitely appears that HTML5 is out.  It looks like standard FLV progressive download is out, too, because it's impossible to get 4-8 videos to sync perfectly.
 
I see on the FMS page that it has some abilities in synching.  How would one (conceptually) go about making a webpage where say 4-8 videos begin to buffer, then when ready, play in sync?  And they would also need to, when the location is changed, all sync to that location and rebuffer. 
 
The objective is so that the user can mute/solo each video's audio, to remove an instrument(s) from the "mix" at any time.An alternative way of doing this, I think, would be to just put the 4-8 videos together in video editing, and encode this into one video, but have each video's audio track be a separate audio channel.  If FMS can do multichannel audio on one video, this might work, if it could mix them in/out individually, as the user requires.

View 13 Replies

Flash :: How To Play Music Tracks In AS3

Dec 19, 2010

I need to play three musical tracks one after the other in a circle. It is necessary that its are not loaded again and were in the cache. I use this code. Everything works fine on localhost, but only works after restart the app on the server. And wrong to re-download tracks every time.

[Code]...

optObj.music - it is the object with the parameters that is called when the app starts or when i call a function change the settings.

View 1 Replies

ActionScript 2.0 :: Flash8 Mediaplayback Play All Tracks

May 26, 2009

I am working on a mp3 album collection project and I am using Mediaplayback component for playing the mp3 files, a List component to show all the tracks (and select one) and the songlists are stored in XML data located in one folder for each album. It is working fine, but I want to have a button to "Play all tracks" like when you place a CD in the Windows Media Player, that is, starting playing the first track and so on.... until the last one.

Here are the parts for the mediaplayback:

lista.addEventListener("change", ifchanging);
function ifchanging(evento) {
if (evento.type == "change") {

[Code]....

But it just play the last track. I think it must go on one of the events or in a if..else including the EventListener... I'm just beginning on ActionScripting and I am using parts of what I saw in other codes.

View 2 Replies

ActionScript 2.0 :: Flash8 Mediaplayback Play All Tracks?

Oct 13, 2009

I am working on a mp3 album collection project and I am using Mediaplayback component for playing the mp3 files, a List component to show all the tracks (and select one) and the songlists are stored in XML data located in one folder for each album. It is working fine, but I want to have a button to "Play all tracks" like when you place a CD in the Windows Media Player, that is, starting playing the first track and so on.... until the last one.

Here are the parts for the mediaplayback:

lista.addEventListener("change", ifchanging);
function ifchanging(evento) {
if (evento.type == "change") {

[code]....

that is for when you click (or press) on a selected item in the "lista" List.

I tried something like:
for (var i = 0; i<num_total; i++) {
player.setMedia(urlnow+"/"+lista.selectedIndex[i].data, "MP3");
player.play();
}

But it just play the last track. I think it must go on one of the events or in a if..else including the EventListener...

View 1 Replies

ActionScript 2.0 :: Flash8 : Mediaplayback Play All Tracks?

Sep 5, 2010

I am working on a mp3 album collection project and I am using Mediaplayback component for playing the mp3 files, a List component to show all the tracks (and select one) and the songlists are stored in XML data located in one folder for each album.It is working fine, but I want to have a button to "Play all tracks" like when you place a CD in the Windows Media Player, that is, starting playing the first track and so on.... until the last one.

Here are the parts for the mediaplayback:

lista.addEventListener("change", ifchanging);
function ifchanging(evento) {
if (evento.type == "change") {

[code]...

But it just play the last track. I think it must go on one of the events or in a if..else including the EventListener... I'm just beginning on ActionScripting and I am using parts of what I saw in other codes.

View 2 Replies

ActionScript 2.0 :: Xml Sheet - Navigate Between Each Cd To Play Tracks Within?

Apr 19, 2007

for the following xml sheet:

<playlist>
<cd thumb ="album_music/image.gif" albumtitle="album1" artistname="yoohoo" tracktitles="blah blah">[code]...

I have the following actionscript to navigate between each cd to play tracks within.i need the on release function to be corrected for me so that when u click on the icon - THE PARTICULAR cd is played which the icon represents. right now my on release function plays the first mp3 of the first cd no matter which icon u click on.

Code:

var item_spacing = 110;
var item_count = 0;
var tracklist = new Array();[code]....

View 2 Replies

ActionScript 2.0 :: Make A Player With Multiple Tracks And Songs

Jan 4, 2004

where on this site or another site can I find a good in dept tutorial or tutorials on control over music and sound IE loading, playing, and so on. I know the basics but im trying to make a player with multiple tracks and songs that are too big to just place in the flash movie

View 8 Replies

Actionscript 2.0 :: Creating A Mixer Interface That Plays Multiple Tracks At The Same Time?

Jun 10, 2009

New to flash and actionscript. Here's what I'm using:

Flash CS4
Actionscript 2

I'm creating a mixer interface that plays multiple tracks at the same time. I can play and stop all tracks, but I'm having a tough time figuring out how to pause/unpause the tracks. I have a [pause_btn] and an [unpause_btn] just don't know the code to get them working.

[Code]...

View 5 Replies

ActionScript 3.0 :: Control The Volume Of Multiple Audio Tracks Embedded Within A Movie Clip?

Jun 9, 2010

What is the script to control the volume of multiple audio tracks embedded within a movie clip?

View 1 Replies

ActionScript 3.0 :: Play 2 FLVPlayback In Sync?

Sep 15, 2010

I didn't find any solution in the past discussions, I want to sync two FLVPlayback in the stage.Now I quickly solved with a Countdown of about 10sec;one can choose a project from a ComboBox and the two FLV play when the countdown reaches 1. That's not the right way as they never play in sync the first time..
 
I think a BufferingBar can do the job, detecting the end of the buffer. but I don't know the code to add...
 
This is the code I use with the Countdown: 
 
cb.addEventListener(Event.CHANGE, changeHandler);function changeHandler(event:Event):void {   if(ComboBox(event.target).selectedItem.data != "")

[Code]...

View 15 Replies

Media Server :: Keep Multiple People In Sync From FMS?

Dec 11, 2009

I am trying to create a Flex application with a shared viewing experience for users watching video.  Specifically, there are a group of users in a virtual room, and one of them is the remote holder.  One approach is to have everyone have a video player, and then use our own protocol sent among the different Flash player instances to make sure people are in sync (we have our chat routed over XMPP for the people in the room).

However, we were wondering if there was a simpler way to do it using Flash Media Server.  Is it possible to create a synchronized viewing experience in FMS where everyone is always at the same point in the video?  And is it possible for 1 person to then have control over that stream (e.g. pause, play, seek, etc.) for everyone connected to that stream?

View 3 Replies

ActionScript 3.0 :: Sync Multiple SoundChannels And Animation?

Oct 26, 2009

I'm trying to synchronize 5 mp3 (128kbs 44hz stereo), each one in a different SoundChannel, and some animation. I've red a lot about the variable delay of the soundChannel, and how the "position" property return where the soundchannel should be, and not where it actually is. But I didn't find any real solution to these issues.

For the moment what i'm doing :

- load the 5 mp3 in their soundChannel

- start the soundChannels

- put a timer to check the first soundChannel position to change the animation

I've tryed to solve the delay between the soundchannels by resynchronizing them after a few seconds to the first soundchannel position, but it's only getting worse.

I'm using Flash CS4 / AS3 but I can easily go back to AS2 if needed. And I can embed the mp3 in the swf or using any other audio format.

View 5 Replies

ActionScript 2.0 :: CS5 - Make Beat And Music Play In Sync?

May 26, 2011

I have two different .wav loops. One is just the tune, and one is the beat. And when they play together right on each other in sync, it sounds great.I have a button on the stage. I want it so that the tune is playing by itself at first, but when hovering over the button, the beat comes in. And when hovering off the button, the beat disappears. The problem is, I don't know how to keep them in sync. The beat and tune get all off when I make it so that on hover it plays the beat.

View 1 Replies

ActionScript 2.0 :: Load 2 Swfs And Play In Sync On Webpage?

Feb 10, 2009

I have two swfs on a web page but need them to start playing at the same time. Problem is that one file size is bigger than the other, so one loads before the other and starts playing earlier.

Is there any code that can make a movie wait until the other one has loaded, then start playing in sync?

View 1 Replies

ActionScript 2.0 :: Any Way To Sync Two Sound Events To Play Simultaneously?

Jun 16, 2004

Is there a way to synchronize 2 sound events to play simultaneously? It's vital that they begin at the exact same time (aren't started asyncronously).

View 2 Replies

ActionScript 3.0 :: Play MP3 In Flash Builder

Mar 21, 2011

Im trying to trigger a sound (MP3), but i cant make it work.[code]I know the playSound() is firing as i can see the trace in the console.

View 6 Replies

ActionScript 3.0 :: Sync Multiple FlvPlayback Instances On Stage?

Jun 7, 2011

i have 4 flvplayback components on stage loading 4 different videos. How do i sync them?

I have ensured they are all fully buffered i.e fully loaded and then play them all at once. But they keep getting out of sync. I.e i am checking the sync with the playheadtime. I had written an timer/enterframe event to check for out of sync at and pause and seek times to the fastest playing player . But this happens for every second. i keep gettting a very jittery video with breaking sounds due to the constant pause /seek / play cycle.

How can we sync multiple flvplayback videos properly.

View 1 Replies

Flex :: Edit Multiple States At Once In Flash Builder 4?

Oct 12, 2009

While in Design mode in Flash Builder 4 (gumbo, beta 2), is it possible to edit multiple states at once? In the "states" window, it would seem like I should be able to shift-select multiple states so changes made will affect all the selected states, and if all are selected it will not add the state selector to the property in the mxml tag. No?

View 2 Replies

Actionscript 3 :: Create Multiple Scenes In Flash Builder 4?

Jul 27, 2011

Is it even possible? Working with just AS3 files in FB4, can I just somehow attach a new Scene object to the root scene?

View 1 Replies

Actionscript 3 :: Can Not Embed Play MP3 Sound Files In Flash Builder 4?

Mar 23, 2011

I am currently making a Flash Builder Project using Actionscript 3. I have come unstuck trying to embed and play MP3 sounds.I know that the MP3 file is loading as i have traces the bytes loaded, i have also traced the function which plays the MP3.

import flash.media.Sound;
public class Sounds
{[code]....

View 3 Replies

Flex :: Flash Builder 4 Release Build Multiple Files?

Dec 8, 2010

When i make a release build the folder is populated with a number of swfs. Are all these swfs necessary?Is there a option to generate one swf?

EDIT: The files I see are:

framework_4.5.0.18623.swf
osmf_1.0.0.16316.swf
rpc_4.5.0.18623.swf[code].....

View 2 Replies

Actionscript 3 :: Storing Multiple Images In A Variable With In Flash Builder 4.5

Dec 6, 2011

I have a flash assignment that. The assignment is to create an application for playing a card game, I have to create an MXML component that has two variables, one variable stores the image of the back of a playing card, the other variable has t store all 52 options of a front facing card (the second variable will store over 50 images).

I've written the variable for the back of the card image like this:

[Code]...

View 1 Replies

Flex :: Flash Builder: Embedding The Same Asset In Multiple Components?

Dec 23, 2011

If I embed the same asset (i.e. image or sound file) in multiple components within a Flex Application, does the compiled swf contain the asset (and it's file size) only once or once for each time it is embedded?

View 1 Replies

Flex :: Use Flash Builder To Run Multiple Mxml Files In One Project?

Mar 1, 2012

I imported an .fxp project into a Flash Builder and then observed there are 5 .mxml files in the src/(default package) directory. Silly question -- how to run each of these five files?

Since I've named the project differently than any of the .mxml files, whenever I try to run something it uses the default (empty) .mxml file named after the project. Deleting that empty mxml file didn't help anything. I also tried to clean the project, but nothing changes (although I see the directories refresh with the same contents). There are no html files in the bin-debug directory.

There must be some simple way to run those .mxml files that I'm missing.

View 2 Replies

Flex :: Auto-mate Build Of Multiple Swfs From Flash Builder 4?

Jun 10, 2010

I'm working on a project that has a Main.fla and a Preload.fla. I am doing all the coding in Flash Builder 4. Each time I want to test I have to go to Flash CS5, publish Main.swf and then run Preload.swf. Is there a way to automate this process so I can just press the "Run Main" button inside Flash Builder 4 and all that is done automatically?

View 1 Replies

ActionScript 3.0 :: Stream And Play Back Concurrently While Staying In Sync (concurrent Playback - Buffering Percentage)?

Nov 15, 2010

I have two identical-length videos that I need to stream and play back concurrently while staying in sync. The best I can do so far is keep them about a second apart, but I'm wondering if there's a way to force them to actually stay in perfect sync? Oh yeah: I'm using AS3. (Ideally, I'd just have a series of JPGs instead of the second video and load the relevant image via cuePoint, but that aspect is out of my control.)

Second, what's the best/ideal method of knowing what I can only think of as "percent buffered"? These videos I'm loading are hosted on a Flash Media Server (which I don't have control over or access to, short of loading files from it), and while bytesLoaded/Total works for progressive stuff, I know it doesn't work for streamed stuff. Full disclosure: I know very little about working with serving video in Flash (obvious, I'm sure)(I'm not using the FLVPlayback component.)

View 3 Replies

Flex :: Adobe Flash Builder: Make A Function To Play Embedded Video Starting From One Second And Ending In Another?

Apr 16, 2010

Adobe Flash Builder: How to make a function to play video starting from one second and ending in another? So I havein MXML simple video player tag. I need some function to play that video from second X to second Y and pause it. How to do such thing?BTW: we asume file is embeded into SWF.

View 1 Replies

Flash :: Text That Lists The Tracks Done In HTML?

Sep 25, 2009

I am looking to replicate the way the music tracks are presented on this website:[URL].. I'd like to create something somewhat similar, in which I can simply type out the name of each track and then have the small Play/Pause button icon. Are there any templates that are packaged with Flash CS4 for something like this? Otherwise, if you could point me in the right direction as to how it is constructed and/or a tutorial for creating. - But is the text that lists the tracks done in HTML? If so, then this is pretty simple really.

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved