Actionscript 3 :: Make Multiple Videoclips Play Simultaneous?

Apr 13, 2011

I am trying to do a little multimedia player where I have at least 9 small videoclips that I would like to place and play - all controlled by AS 3.0.

It might even be more than 9 clips, but they will show randomly in 9 places. A movie can switch viewport too.

I will preload them all into buffers and I would like to play them randomly at the same time.

This means that there could be 9 equally sized areas showing small movieclips including sound and random times.

Like this:

[1][2][3]
[4][5][6]
[7][8][9]

So its 1 Flash canvas/player showing them all at the same time.

Is this possible or will it crash Flash to play 9 movies including their sound? The movies might be of different length and will have to be reset and played many times, but I cant prerender the result as its randomly generated from user input.

like in... an example code of where to start? I've been thinking that I could put all the parts into one "sprite movie" and the play from frame XYZ for each "window" - but not sure how or if it will work..

View 2 Replies


Similar Posts:


ActionScript 3.0 :: Prevent Simultaneous Execution Of Multiple Button Threads?

May 20, 2010

My AS 3 program has multiple buttons. Users can select one and then immediately select another and this causes 2 threads that collide.  Once one button is executing, I want the other buttons to ignore clicks.

The problems are twofold:  1)  the first time the 2nd button attempts to execute (by checking lock), when it returns (from checking lock) and attempts to pick up processing where it left off, it seems to forget where it was and does not utlimately complete its task(s); possibly variables have been altered, it is difficult to say.  That is, AS 3 is unable to successfully pickup where it left off on the first button. the second problem is that AS 3 incorrectly returns to button 2 after the lock condition is cleared.  It persists and will execute that button.

View 2 Replies

ActionScript 2.0 :: Load Heirachy - Multiple Simultaneous Objects Being Loaded?

Jun 7, 2004

how flash handles multiple simultaneous objects being loaded? If I set two images loading into two empty movie clips in two consecutive lines of code, do they both load simultaneously or does the one that was called first load and then the second image load when the first has finished?

View 4 Replies

ActionScript 2.0 :: Flash Handles Multiple Simultaneous Objects Being Loaded?

Jun 7, 2004

how flash handles multiple simultaneous objects being loaded? If I set two images loading into two empty movie clips in two consecutive lines of code, do they both load simultaneously or does the one that was called first load and then the second image load when the first has finished?

View 4 Replies

Actionscript 3 :: AMFPHP Bad Version Error When Having Multiple Simultaneous Calls To Gateway?

Feb 19, 2010

I'm currently using AMFPHP 1.9 to make a simple flash game which uses a game server.Sometimes, I get this error (BadVersion) when there are simultaneous calls to the server.I've searched the web for some of the answers to this problem, and it seems they were answered back in 2004.Is there an updated version of how to solve this problem?I tried to change the globals.php parameters to use absolute path, like performing the below:

//$servicesPath = "services/";
//change to
$servicesPath = "/httpdocs/Flash/AMFPHP/services/";

[code].....

View 1 Replies

IDE :: Make Some Buttons That Play Different Parts Of Multiple Movie Clips?

Mar 10, 2010

I am trying to make some buttons that play different parts of multiple movie clips- and also link to a url. I also want to be able to click on a movie clip and make it play starting from a certain point (this is what I have been working on) I have this code

stop();
_root.frogdance.stop();
froggy.onRelease = function() {
_root.frogdance.play(4);
}

it is on an actions layer of my main timline- I am not sure if I put it in the wrong place or what- but it doesn't do ANYTHING when I click on it when testing the movie. I gave the frogdance movie clip the instance name 'froggy' in the properties panel. The rest of what I am working with will be buttons that do things- but I also want this movie clip thing to work...

View 1 Replies

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

ActionScript 3.0 :: Navigation Between VideoClips Using Next / Back Buttons

Nov 29, 2011

I can't use navigation between three videoclips by using next/back buttons. My videoclip instance name are..
chapter1
chapter2
chapter4

View 2 Replies

ActionScript 2.0 :: Modify The Audio Properties Of Videoclips?

Mar 15, 2009

how can you modify the audio properties of videoclips in flash i did some searching, and found options for modifying audio properties of audio files but unable to locate any modifable properties for video in flash

View 1 Replies

Media Server :: Videoclips - HTTP Dynamic Streaming?

Nov 8, 2011

I am a video producer for a Non-Profit and in the next couple of weeks we are launching an online training, half of which requires watching multiple different video clips for this particular training around 50 deferent online videos. I'm a bit experienced with encoding video for the web (FLV, H.264) but would love to know more about HTTP Dynamic Streaming. As of now we just use a progressive download type of playing.

We recently hired a web dev and knows servers a bit but didn't seem like he knew anything about HTTP Dynamic Streaming said maybe we should search the internet for an auto detecting flash player? Anyways, is this something that I should be looking into for our organization if we do a lot of online video? If we purchased Flash Media Server would this be all we need? Is there like a Dummies book on this subject?

View 7 Replies

ActionScript 3.0 :: Play Multiple Videos (all On Xml File) To Play On Button Action?

Jul 14, 2011

I am trying to make a swf with one FLV playback player and 6 buttons. I've got 6 different videofiles that I want to have linked to this swf. Some of the videos are quit large.When starting the Swf, the first video has to start, after playing it, it has to stop. Then you must be able to choose which video to play by clicking one of the buttons. I don't want to have small thumbnails of the video, just plain and simple buttons.I have to have all my files, both fla, swf and xml files in the same directory (I cannot have them stored in different folders, since I have to upload this to a cms system which has limited upload properties).
 
I've tried to find the right script on the internet, I'm not very good at scripting myselve, actually rather poor educated there.It seems to me that I have to make an xml file with a list of all my videos, I have my default swf ready, with a FLVplayback and buttons.Now there's just the coding part....

View 1 Replies

ActionScript 3.0 :: Multiple Videos To Play With Multiple Buttons?

Feb 4, 2010

I am creating a stand alone DVD to be used with Flash player. I am wanting to add different videos that play with different buttons. The following is the code I have for the video to play when the corresponding button is clicked..... My problem is how do I get that video to "leave" and stop playing when another button is pushed to play a different video.
 
Educators_btn.addEventListener(MouseEvent.CLICK,clickEducators);
function clickEducators(evtObj:MouseEvent)
{
gotoAndStop("OE")

[code]....

View 2 Replies

ActionScript 1/2 :: Simultaneous On / Off Sound Buttons?

Apr 1, 2009

I'm an intermediate flash user and I've made a file for my kids in class that has some sound on-off buttons. they are set to play once or loop depending on length by simple mouse click. they will play simultaneously if more than one is clicked individually on the page. I'm trying to make the page so the kids can just select the sound button icon, drag as many of them as they want (usually 2 -4 sounds at a time) into a box at the bottom of the page where they will then just play and loop. if they are dragged out of the box, that sound will stop. if another is dragged into the box it's sound will then join the ones that are already looping.

View 3 Replies

Flash :: Photoshop CS4 Open Simultaneous?

Dec 17, 2009

I am running Window 7 64 bit with 6 gb of RAM, two E5520 Xeons, two 10k raptors, one 320gb HD, and a ATI FirePro V5700. Brand New machine and a Fresh install of windows.
 
Everytime Photoshop CS4 is open it will cause Flash Cs4 to Crash. I can work in Flash without any issues until Photoshop is opened. Flash will usually crash in under 5 min with Photoshop open. I have tested this over and over and it is Photoshop causing Flash to crash. Does not matter whether I am running the 32 or 64 bit version of Photoshop. I am starting to believe it is a memory issue but I am not sure or how to fix if it is.I have tested the memory and it passed all tests. This is really killing my production time.

[Code]...

View 2 Replies

ActionScript 3.0 :: React To Simultaneous Key Presses?

Jan 26, 2011

I am familiar with taking in keyboard input in AS3. I was wondering if there was a way to capture and process simultaneous key presses.I don't mean when a user holds down, say, the up and left arrows at the same time and an object moves diagonally. I mean when they actually press down on the keys simultaneously, like in a video game where 2 simultaneous button presses performs a new action.Currently, I have a class that reads whenever a user presses a key and assigns it to an instance variable. Then, each frame, the class pushes the key into a storage array if the current key pressed doesn't match the last key pressed. Each key is stored for 60 frames before being dumped if it isn't processed.

View 3 Replies

Media Server :: Max Number Of Simultaneous Connections?

Feb 16, 2010

How is it possible to determine in advance the max number of simultaneous connection for my FMS?

View 2 Replies

ActionScript 2.0 :: How Does Moviecliploader Manage Simultaneous Downloads

Apr 12, 2010

I am using mcl ( moviecliploader ) class to download images for a photo book;

when a user mouseover's a thumbnail, the corresponding fullsize img is downloaded;

PROBLEM: 1 - a user can move their mouse quickly over many thumbs;

2 - mcl class doesn't seem to have a way to stop downloading

3 - therefore it is realistic that the mcl could be forced to download 10-15 images simultaneously

4 - possibly the thumb that the user actually wants is last in the que;

View 1 Replies

ActionScript 3.0 :: Reason To Set Max Simultaneous Loader Connections?

Jun 26, 2010

I'm learning on how to make que loader system. I'm loading in 30 images at once when the swf loads onto stage that contains moderate tween animations. I was wondering would I get better performance if I only allowed to load 5 images at once then next set 5 ect ect. rather than to load 30 images at once? I can't tell because my computer is very good so I can't hardly tell. Is this common practice?

View 2 Replies

ActionScript 2.0 :: Simultaneous Displaying Of Three Images In Photogallery?

Dec 28, 2006

Basing on the following script

[URL]

I would like to have a photogallery which instead of one picture at a time will display three pictures. take a look at the attached image to get a better idea about what I need.

View 1 Replies

ActionScript 3.0 :: Simultaneous Load (moved From Coffee Lounge)?

Apr 29, 2010

I have two flash ads that need to look as though they are interacting. is there a way to make sure they load at the same time so they can sync every time? they do not need to communicate with each other just load simultaneously so the animation lines up. can local connection object work for this?I suppose I could stager load em and plan the animation accordingly if simultaneous load gives issues. is there a proper way to load one ad and then the second say 10 frames in, ya know?

View 1 Replies

Media Server :: Restrict The Number Of Simultaneous Users?

Aug 3, 2011

I have changed the variable <MaxConnectionRate>2</MaxConnectionRate> base on the URL - "Limit connection requests",but more than 2 client can connect to the server.
 
Is that other settings to config to restrict the number of simultaneous users?
 
[URL]

View 4 Replies

Actionscript 3 :: Air Flex Uploads URLRequest Maximum Simultaneous

Sep 24, 2009

I'm trying to upload to amazon s3 using FileStream and UrlRequest.

But it seems I can only upload 2 files simultaneously.

Is there a reason for this? How can I work around this?

Also would this affect web service calls to a SOAP web service on the same domain?

View 2 Replies

Actionscript 3 :: Reproduce (several) Simultaneous Sounds In A Flash Player?

Mar 9, 2011

Im in the final steps of my Flash game, now I have to take care of the music/sound.And, I figure out that I'd need to reproduce several sounds simultaneously, sounds like gun shots, explosions, screams, etc, however, these sounds are short, < 1 seconds.So, how many sounds can I reproduce at the same time?, and what would be the best approach (what class to use, how, tips, etc) to achieve this?, considering my situation.

View 2 Replies

ActionScript 3.0 :: Testing Keyboard - Simultaneous Event Listeners

Mar 30, 2011

I have been been testing for keyboard events one key at a time. Now I want to test two keys being pressed or released at the same time. I am unclear on how to do this. Do I need to indicate this intention in the functions parameter
Code:
if(event.keyCode==keyboard.LEFT&&keyboard.keyCode.RIGHT);
isn't cutting it.

View 6 Replies

ActionScript 2.0 :: Do Simultaneous Cross Fade Of Images In A Slideshow?

Feb 17, 2004

I am trying to do simultaneous cross fade of images in a slideshow. The script here seems to have a very elegant method for cross-fading movieclips: [URL] However, I cannot get this script to work for images Anyone have a clue as to how to make this work with images? Let's say I have done: this.createEmptyMovieClip("photo", 200) and done a loadmovie of an iamge into the the MC. Here is the actionscript that I want to alter so that it will cross fade the iamges...

[Code]....

View 6 Replies

ActionScript 3.0 :: Handle Events With Two Simultaneous Keys (Ctrl + Other Key)?

Jun 25, 2008

I got this code

[Code]....

and it works but now I need to use two simultaneous keys for example Ctrl + S, is there a way to do that using actionscript 3?

View 14 Replies

ActionScript 3.0 :: Flash Maximum Number Of Simultaneous Sounds?

Nov 12, 2010

Currently my flash file will insert an object onto the stage when the user clicks onto the stage. each object will play and loop a sound (the user can select sounds and time before the sound loops for each object) but when I have many sounds playing at once, the sounds will suddenly stop and briefly come back before stopping again. Now I'm guessing there must be a maximum number for sounds simultaneously playing for a flash movie? If so, I'd like to know if there are any workarounds?At present, a sound playing about 2 times a second will be able to repeat roughly 30 times before it sound cuts out.

I added in functionality to stop a sound if it is attempting to trigger again in my play function to which I had a "cannot access a property or method of null object reference" output on the function and the sounds all started doing the same thing again. This happens the same as above, after 30 times playing 2 a second.Unless I've assessed the cause incorrectly, the only workarounds I can think of are to restrict the sound length and restrict the time before a sound loops - but this would ruin some of the aspects of what I wanted to create

View 2 Replies

ActionScript 3.0 :: Swf Won't Play - How To Make It Play

Apr 6, 2011

I have added the following code to my website and the swf file plays fine on my firefox browser... not in IE and not on anyone else's browser.

Code:
<DIV style="position: absolute; top:0px; left:825px; width:320px; height:200px"> <script type="text/javascript" src="http://healthyalibaba.com/flashobject.js"></script> <div id="flashcontent" style="width: 320px; height: 180px"></div> <script type="text/javascript"> var fo = new FlashObject("http://healthyalibaba.com/images

[code]....

View 1 Replies

ActionScript 1/2 :: Detecting A Simultaneous Mouse Click And Keyboard Imput

Jul 22, 2011

I am making the board game Shogi in actionscript 2 and I have a question on how to detect a particular imput.I have a movie clip on the stage, I want it so that if I hold down the keyboard button "p" and then click on the movie clip, it will go to the movie clip's frame 2 (not the entire flash project's frame 2, just the particular icon's frame 2. I need this because I am using movie clips as game pieces and in Shogi, certain game pieces can be promoted. I also was wondering how to detect what frame it is on.

View 3 Replies

AS3 :: Flash - Stop Simultaneous Browser And SWF Mouse Wheel Scrolling?

Dec 19, 2011

Essentially, I have flash content that scrolls on mouse wheel. It works fine, unless there is other content in the browser such that the browser's scrollbar is enabled - when that is the case, both the browser window AND my SWF scroll on mouse wheel. Is there any way to correct this behavior?

Similar question asked here:

disable mouse wheel scrolling while cursor over flex app?

which references the solution blogged about here:

[URL]

But the solution does not work on all browsers! While it works on some Windows browsers, it doesn't work at all on Mac OS X - it registers mouse wheel events in Firefox, but they are not getting fired at all in Chrome and Safari.

Now I know that (per the official Adobe InteractiveObject docs) mouse wheel is supposedly only supported on Windows systems, but the event is still fired by default on Mac OS X. Is this simultaneous scroll bug the reason it is not supported?

Edit: adding more info on above solution...

Note that the above solution basically uses ExternalInterface to send the following JavaScript to the "eval" function:

var browserScrolling;
function allowBrowserScroll(value) {
browserScrolling = value;

[Code]....

View 2 Replies







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