ActionScript 2.0 :: Syncing Several Flash Files To Start At The Same Time?
Mar 27, 2007
Im working on a site which incorperates several flash movies on one html page.
I realy want all these flash movies to start at the same time so they fade out in sync.
[URL]
I cant seem to find any command in flash to start a seperate flash movie playing but im sure that there is one.
I have thought about 2 ways of achieving this but am not sure which is the best way. The first is to have an extra movie that checks to see if the others have loaded then when all 4 have loaded it then starts them all at the same time.
The other way is to have each movie send a variable when it is loaded, then when all the variables are checked a start function is sent either via javascript or php.
View 1 Replies
Similar Posts:
Aug 1, 2011
I've been working on this problem for months, can'f find a viable solution. I can get the main movieclips of the files to p with a mouseover action, but I really need three separate swf files to sync upon load.
View 1 Replies
Jan 16, 2010
I've got a swf which uses AS 3 to load separate audio (mp3) and video (flv) files. The reason they're separate is because the audio is just background music while the video is navigatable. The video kinda goes along with the audio, but it's not imperative that the two sync perfectly. However, the audio always starts playing before enough of the video has loaded to begin streaming.I'm at a loss as to how to get the two to at least START at the same time.
View 14 Replies
May 16, 2011
We developed one application in which a user can chat with a customer. But FLV size of user is double than that of customer FLV. At the time of playing we are getting problem of sync issue between FLV files. We are setting buffer size of 10 seconds. Is their any other way so that we can sync both FLV and an officer can view the communication of user and customer. Is DVR will do in sync? If yes then how?
View 7 Replies
Mar 30, 2009
I've developed an application which uses a (dynamic) XML file to load in several files; a maximum of four MP3 files and a number of JPG files.When everything has finished loading, the user can press a "Play" button. The application could be described as a "mixer"; it's used to give online music lessons and to facilitate this, the sheet music is loaded (cut up into into several JPGs) which move horizontally on the screen like a marquee, while the music it represents begins playback. The music exists of several MP3s so that the user can mute (e.g.) the vocals or the drums, allowing him to focus on (e.g.) the guitar.
So what's going wrong, is that the audio files are not playing in sync. They are all pre-loaded so any delay between files shouldn't be sought in the files not being fully loaded yet. For initiating playback in the application, I'm using a simple function with a for loop in it, which sets each instance of my sound class to start playing at position 0 of its timeline (I've added in highlighting for all of the "code" blocks in my post, to keep everything easy to read through):
Code:
function playSounds():void {
for (var iCnt:Number = 0; iCnt < aSound.length; iCnt++) {
// Start playback for each sound, at the time position set in the
[code]....
Seeing as this didn't work, I have no clue what I could give a shot next... so if anyone has any ideas or suggestions, it would be greatly appreciated! Something else I noticed, was that if I run the application on very fast PCs, the MP3s are almost always in sync, but the PC that I'm developing on isn't that sluggish either and they hardly ever run in sync on it - so it will form a problem for pretty much all of the people who will use the application.
View 1 Replies
Sep 2, 2009
i've a countdown flash and am reading the currentDate from client side ( user clock on windows ). i need to read the time from html for example and save it on var then strat time from it example: HTML Code:
[Code]...
View 11 Replies
Oct 7, 2010
I'm using ActionScript 2 and I already placed the progress bar on the stage assigned it the instance name ProgressBar0 but i'm confused on how to give it a label, have it start at a certain time and end at a certain and show the percentage complete in the label.
View 7 Replies
Jan 10, 2012
I have two arrays contains several movie clips. I used for loop to inject first array in timeline object succefuly. But then I realized, what the hack I will do about the second array I need to start them simultaneously and every array must have different destination at x and y.. Imagine banner 745x100px, I need to animate different movie clips from sides to some destination.
Code example:
import com.greensock.*;
import com.greensock.easing.*;
import flash.display.MovieClip;
var mainArray:Array= [amcMC, tantrumMC, blokMC, misMC, futMC, laoMC, cauMC, deepMC, plusMC, noMC, copMC ];
[Code] .....
I need to apply slightly different tweens on second array and trigger them simultaneously, or with small offset.
View 2 Replies
Jun 14, 2010
I realize this is probably an old thread, but does anyone have an actionscript example of how to create a custom start and stop time for a Flash video? In other words I'd like to be able to "bracket" the play time of a Flash video with custom start and stop times rather than start at the beginning and end at the end.
View 1 Replies
Jan 13, 2011
I have 2 flash banners (using ActionScript 2) on my web page, how can I make them start playing at the same time, after the page has fully loaded? Both .SWF files are embedded in HTML using the script provided by Adobe on object export. I created both in Flash CS4, but I have very little knowledge of flash. I read about "LocalConnection", but I have no idea how to implement it in flash.
View 2 Replies
Sep 27, 2011
Is it possible (in AS2 or AS3) to have a button that starts a video as well as an MC at the same time? The idea being that the video will play alongside a movieclip that contains animated quotes from the dialog of the video, so syncing would be critical to.
View 1 Replies
May 19, 2007
Ive just finished a flash web site that ive used a lot of XML for loading my images from thumbnails. Its works great.
Except it takes maybe 3-4 minutes to load. I think whats happening is its loading all the images in that XML file before it even shows the first thumbnail, so thats like 2MB its loading.
Is there a way to preload all of the xml files at the start on my Flash splash page?
Here is the link to what im explaining.
[URL]
View 5 Replies
Aug 17, 2011
Im starting experiment with Flash Builder for PHP mobile projects and I found it facinating. I could connect the app to a local database, but I was wondering how can I update the data of the mobile app from a website?
View 1 Replies
Sep 27, 2010
I've got a bit of a niche problem, in that I was tasked with making an animation for a 5760px X 1080px video wall. I tossed with the idea of doing a video in after effects instead but then decided the resulting file would be too large and encumbersome so I decided to pursue my other idea which was through flash. Now as you all probably know, maximum dimension for flash is half of what i need, 2880. So i made a half size mock up, got it approved and basically translated that into x3 1920x1080 fla's each containing a 3rd of the total animation, all synced for each other.
Now I need to figure out the best means of playing them together synced fullscreened on the video wall, which has just gone up. We are going to have a content management system that most likely will be able to sync the files but I'd really like the swf's to be able to sync without any help just incase sorta thing.
View 1 Replies
Nov 19, 2010
I am having a lot of trouble while syncing my Flash Builder Actionscript project with Subversion. I have read that the output folders bin, bin-debug and html-template should not be checked in to the repository. The project bin folder contains a lot of XML files and assets that other project members needs to access. The problem is that Flash builder ignores it.
Is there a way of setting up Flash Builder to override the ignored bin folder? If not, what other approach should I consider? Different folder structures?
/src (commited)
/bin (ignored)
/swc (commited)
I would really like to override the default "DO NOT COMMIT YOUR DEPLOY FOLDER" setting. Bounty it is.
View 5 Replies
Sep 15, 2008
I'm trying to use the Shared Library process for the first time with audio files and I'm not sure why it's not working. I've followed both processes from here:[URL] and have a library file called libTestAudio.swf with all the audio files set up right (see Flash file here [URL] My question is should the testAudio.swf ever grow in file size? When it has no content it is at 4Kb but when it has the shared library file added to the timeline it becomes 8Kb. Now this might sound small but I've tried this with much longer pieces of audio and the file size does get bigger for testAudio.swf . I was thinking that only the libTestAudio.swf file would increase in file size and testAudio.swf would remain at it's 4Kb size. Am i wrong there?
View 0 Replies
Jun 29, 2011
I have been trying to synch two different banners on a HTML page.
I have checked this link :: [URL]
But I am not sure if the localconnection is needed for what I am trying to achieve.
View 1 Replies
Oct 19, 2009
currently iv got 2 of the same movie clip. both containing an flvplayback component.One of them has a heavy blur effect, one of them doesnt.The blurred one is the 'reflection' of the other one, but the problem is they don't load at exactly the same time alot of the time. Is there any simple code that will make one wait for the other to load?
View 2 Replies
Sep 18, 2009
How do I play at video, but starting from say 20 seconds in?
View 1 Replies
Nov 16, 2009
I'm using this code and basically I want it to start like .5 seconds in.
ActionScript Code:
var nc:NetConnection = new NetConnection();
nc.connect(null);
[code]...
View 1 Replies
Feb 10, 2011
I want to make a countdown with a movieclip and timer... Example: I have a car as movieclip and it has to start driving @ 11-02-2011 at 09:00 and stop @ 12-02-2011 at 06:00. And when you close the page and re-open it again it doest start over but keeps driving the time it has to be.
View 6 Replies
Feb 5, 2010
I want to load several xml files at start up, so far I have managed to load one xml, but I'm getting puzzled how to load several xml files, heres my code on first keyframe:
ActionScript Code:
stop();
var xml1:XML;
// how to load this XML(one below) - with url "secondXML.xml" ??
var xml2:XML;
[Code]....
When XML has been succesfully loaded - it goes to Main keyframe, where the rest of the code is.
View 4 Replies
Oct 31, 2009
I am creating a flv player and sofar so good. But now I want to build in a start time for a part that isn't loaded yet.Currently you can click a spot in the progress bar, however if that part is not loaded yet it will simply jump to the end of the loaded bar instead of starting to load at the clicked point.i.e. I have a video of 1:45, it's loaded for 0:30, however I want to start playing at 1:00. Howe can I create this? I cannot get it to work with seek(70) as it still jumps to seek(30) (as this is loaded);
View 3 Replies
Jan 13, 2005
I've been asked to produce a flash production that at one point records a time. The basis is that when a object hits another objects (both set as movie clips) flash tells the user ina dynamic text field how long the collision took to happen. i have everything working except from the timer. it recognises that the collision happens and text appears in the text field to show that, but still no idea how to make flash start timing when the frame is started and stop (and show) when the collision is made.
View 1 Replies
Jun 22, 2011
The game is like Asteroids where four rocks are placed in the corners of the stage at the beginning and then start moving randomly around the stage. The problem is the timer used is started the moment that the flash file starts not the moment the player clicks the start button. So if you are on the start screen for 5 seconds before you click play when the game actually begins the rocks are where they would be after 5 seconds of play, which could be right over the player.
package {
import flash.display.*;
import flash.events.*;
[Code]....
View 2 Replies
Jul 21, 2009
i have a flash clip that i am trying to imbed into a joomla website of mine, and the problem is that it doesn't auto-start. If i open the swf file it will show a blank screen until i right click play or ctr+entr, on the website it simply doesnt show the flash. here is the link to the swf file [URL]
View 1 Replies
Apr 27, 2009
I have no idea how to use AS3 and I was needing to make my project looping 3 times from the start to the end but stopping on the last frame after the 3rd time it loops. I have no idea how to do this without copying all the frames.
View 2 Replies
Jan 18, 2012
I am creating flash uploader and want to start 10 uploadings at time.But flash upload only 2 files on domain at time, other references wait for something.In IE with ActiveX Player limitation is about 6 files at time.Is there any ideas how to change this limitation? For uploading I need to use FileReference.upload without creating URLRequest object from file data.
View 1 Replies
Feb 27, 2010
I have a Flash movie which is synched to an MP3 file by adding keyframes at the appropriate points to trigger actions.
In the *.fla file, and in an exported *.swf or *.exe Projector file the synching is retained perfectly. However, when I include the *.swf in an html file, the synching is lost. It would appear that either the MP3 file is playing at the right speed and the movie is lagging behind, or the movie is at the right speed and the MP3 is playing faster than it should.
I have matched the Audio Output stream to the MP3 file in the Publish Settings dialogue (both now 128kbps), but the drifting still occurs in an html page.
I am using Flash 8.0 on a PC running Windows XP Pro SP3. I have a quad-core Intel Xeon, and 4meg of RAM.
View 5 Replies
Jun 13, 2010
When I go to test my video the audio and video are playing at different playback speeds. I'm trying to create a video using Flash that requires events based on the song itself. how to make the audio and video play at the same speed during Timeline playback and testing?
View 1 Replies