Professional :: Get 2 SWFs To Play At The Same Time?
May 16, 2011I have two animated SWFs on the same web page and I am trying to get them to play at the same time when only clicking on one of them. How do I make this happen?
View 1 RepliesI have two animated SWFs on the same web page and I am trying to get them to play at the same time when only clicking on one of them. How do I make this happen?
View 1 RepliesI need to tweak some code that i have. I have a container file that loads all the swfs, and what's happening is that as the container loads each file (files load from an xml file) it plays pretty well.The next time the swfs play, though, i'm seeing a lot of artifacts during transitions. so i need to unload the movieclips rather than letting them load on top of eachother? here's the container file:
Code:
// import tweener
import caurina.transitions.Tweener;
// delay between slides[code].....
I'm building a website made up of different swf pages. After some initial troubles, I have now managed to connect each one and they now all link to each other, however I have a couple of strange problems that I cannot work out.I have one page that contains a non-editable text scroll box, which when previewed in the seperate file works fine, but when it appears in the test for the linked files the scroll box turns into a blank editable text box. I don't understand why this is happening?
My second problem is with my photos page. The page has image thumbnails for the user to click on which displays a larger version of the photo using fade in animation. Again, this works fine when I preview the individual page, however when I test it through the linked files the animation automatically plays and cycles through all the photos. It doesn't do it when previewed individually.
Does anyone have any ideas? I'd be so grateful as I need to have this sorted by the end of the day. I'm using CS4.
[Code]...
I am trying to make an animation that will pause and start again after a certain time. The problem is I don't have any experience with Actionscript (or programming of any sort for that matter)..I found this link that appears to explain how it's done, but I can't seem to replicate it. I'm not even sure which version of Actionscript this is.. [URL]
View 5 RepliesI made a simple 15 second animation. When I play it in the program (not published yet), it plays fine. When i publish it however (I have tried both flash published and HTML published), it plays about 3/4's of the way, and restarts. The second time through (and from then on), it plays fully, just fine. How do I stop this?
View 1 RepliesI am using Flash CS4. To illustrate, I created a new flash file and added a short tick sound to the library. I set the properties of the sound to export to Actionscript and named the class "overSound". I added a Movieclip object to the stage to represent a button and gave it an instance name of "overButton". On frame 1 of the main timeline I added the following code:
[Code]...
I made a game as the same site URL..Anyone knows how to prevent user open and play game on multiple browser windows at a time?I used flash control to embed flash into aspx page and connect to sql server
View 4 RepliesI'm testing Live streaming with FMSS. The stream is pushed to FMSS buy Adobe FMLE software. Streaming works fine until I reach 1300-1400 simultaneous connections.No matter what the encoding ratebit is (150kbps or 2000kbps) the stream is no longer play from time to time (5-8 seconds).
The CPU (2xIntel Quad) is loaded less than 20% and memory used is about 2 GB (there is plenty of memory installed 32G). The OS is RedHat 5.3 64bit platform. Network uplink maximum rate is 4Gbps.I disabled the Queue but the problem still persist.
how to close two swf�s at the same time and de main stils open course , i show the figure.the button close is in contacts.swf and the foto.swf is a button inside contacts.swf and when we click opens a foto.swf. Its possible to close the same time the 2 swf�s?
View 5 RepliesI'm making a site in flash and I wanted to add something to it. The site consists of a main swf that loads external swfs into blank movie clips when you click a button. The thing is, I want it to load swfs relative to the time. I have a clock in a movie clip and I want a 'day' swf file to load when the time is within a specific time frame. Then I want it to load a 'night' swf file if the time is anything beyond that. how would I go about doing this?
View 1 RepliesWhy can't I get my FLVs and F4Vs to play out of a browser window but they'll play out of explorer through the Adobe Media player?Once I convert them to be SWFs, they play out of a browser but they're still humungous and take a lot of time to play. 400Mgs as an FLV/F4V and 200Mgs as a SWF. Is there a way to shrink them down to a much smaller file size? These were video recordings of long presentations.
View 1 RepliesI know this is a very basic question and one that I know the anwser to, but it's been a while since I've used Flash and the solution is escaping me right now. I'm loading external swfs into my main swf and they should just be playing automatically. When I test in Flash, the system works. Upon loading the swf into an HTML page, the system seems to shut down. It seems liike the exteranl swfs aren't even loading. This is what I've got so far.
[CODE]...
How to make one swf make another swf play on the timeline, both swf on the same page. I need it so when I rollover the first swf it begins to play the timeline but as soon as I roll over that swf, it causes another swf on the webpage to play its timeline as well.
View 1 Repliesit's possible to use play and stop methods on an instance of an SWF that's been embedded into class using the Embed metatag?I've not been able to get it to work, and have read that it's not possible with video, so am wondering if the same is true for any SWF?
View 4 RepliesI'm trying to use an array adapted from AS2 script to load random swfs called "koan_1.swf" or "koan_2.swf" etc into a "koan_loader_mc" on the stage. Each "koan_#.swf" has code in its last frame to both advance the "shuffle" array in the action script in the first frame of the stage and to load the next koan swf. The code below -- almost -- works, but....?
Frame on main stage:
// creates function called at the end of koan_#.swfs
function shuffle(a:Array) {
for (var ivar = a.length-1; ivar>=0; ivar--) {
[Code]...
I made a music Player swf and it works properly by itself.I recently tried to load it into my main FLA for my website by using Import to Library,and then I dragged it from there into my canvas.For whatever reason, upon rendering it does not work at all, it shows up but none of the functions work and the music doesnt play.Also I tried doing it like this:
I made a preloader that would load the Swf and it actually worked and the functions were all there,however there were 2 problems.First problem was that I did not know how to control where it loaded so it was over my main text and not in the right area.Second problem, for whatever reason the preloader would re run and load the SWF again everytime a function went off (like clicking on one of the buttons or rolling over something that had a color tween) which resulted in it loading like a bunch of the same swf and being a problem.
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?
Complete idiot question but I know how to load and external swf and have buttons to start them playing. I was looking have them play and then load another and play.I f someone could point me in the right direction to even research this.
Code: Select allvar mcl:MovieClipLoader = new MovieClipLoader();
var mclL:Object = new Object();
mcl.addListener(mclL);
[code].....
I'm not sure when this started, but when I publish any movie (fp9 or fp10) in the IDE, my SWFs aren't appearing in my browsers (release player 10,1,102,64) ONLY WHEN I'm viewing the swf/html that are on my web server.I can view the local SWF/html if I open those files locally in the browser? I'm on a Mac and I've deleted all my Flash CS4 preferences.
View 13 RepliesYou can only code in the "Main Timeline" or root. But how does that work with loaded SWFs? Like Is there a Stage for each SWF, or only one for everything? Also, how does _lockroot come into play to affect debugging?
View 0 RepliesI have a time line of 1441 frames my frameRate is 24 fps so it takes 1 minute exactly to complete the timeline animation I want to Display the Remaining time as file starts I need formula to place in ENTER_FRAME event which displays the time left
View 2 RepliesMy client has approx 12 different presentation .swf's all with a beginning, middle and an end (phew!). I need to build an interface that views those 12 individual presentations as thumbnails on a single page and allows my client to click and drag whichever ones they wish to use into a separate little container above and in-doing so create a new required running order (left to right) each time they use my interface... so that once they have decided that running order they can somehow use the result for their required presentation. They will be using this interface ongoing throughout the year for various presentations all that will require maybe just a few of those individual swf's in different orders.
View 6 Replieshow to sequentially play external SWFs loaded into the main timeline?
I have several SWF files with short videos embedded in them. I wish to load these external SWF files into my main timeline as follows:
User Presses Button -> Play Video Clip in External SWF#1 -> Once Video Clip in External SWF#1 has Finished -> Play Video Clip in External SWF#2.
I tried achieving this by adding: var endmovie:Boolean = true; to the end of each video clip inside the external SWFs (e.g. 1.swf) then cycling through an if statement in the main timeline to see when this condition was meet:
ActionScript In Main Timeline:
Code:
var mc_Loader = new MovieClipLoader();
mc_Loader.addListener(this);
[Code].....
How is the best way to go about achieving this? Am I on the right track? (By the way, using .FLV or one long external SWF file is not really an option due to long loading times...
I play games on Pogo and have never had a problem with their Flash Games until released Daily Hot Shots. It doesn't load fully and I've done EVERYTHING I know to do to get it to play. No errors show up. I can play ALL the other flash games but this one. When I right click, the name of the site's owners do not show up....I have the settings showing though Not all of the game loads and that's the problem. I've tried uninstalling and reinstalling....tried a different browser and have the same exact problem. THIS GAME WILL NOT PLAY.
View 2 RepliesSo i've made my .swf files. The only thing is they all play at full screen when i play them using my web browser. I need them to play at 548 x 408. when i open the .fla and go to properties it says the size IS at 548 x 410 but it can't be if its playing full screen.
View 2 RepliesI would like to play two videos (progressive), on top of each other. Nothing serious. But the second video contains multiple counters that has to play synchrone (with other words:simultaneously) with the first video.The second video (which is much smaller than the first) will preload much quicker and thereby starts playing earlier than the other video. Is there a way to start the video's at the same time and play them in progressive mode? (embedding is not an option because of the large filesize)
View 1 RepliesThis thread i speak of is about how to play certain .swf's or MC's during the morning/afternoon/night.
I know for a fact i've seen this thread here before, but i just can't find it. Or if anyone wants to let me know how to accomplish this without the previous thread, that would be great also.
Is there a way to pause the playback for a set amount of time then resuming without any interaction from the viewer?
View 1 RepliesI want to play 2 audio in same time is it possible.....
View 3 RepliesI need the movie to play just once (the top header) per user session and then other pages not to restart the same movie from the beginning...At the same time protection against hotlinking should remain. Is it possible to make this without storing the swf file on the user's machine?[code].,,.
View 12 Replies