Multiple SWF's in one player

I'm trying to build a page with multiple swfs on one page in DWCS3. What I would like is to be able to  click on thumbnails and have the thumbnails bring up the swf in the main player. I have been able to code for wmvs -- but they don't work in mozilla.
Can anyone point me to some code or a tutorial? Is this more of a flash issue and do I have to learn major AS? I have been out of flash since 8.
Thanks.

Hi
Believe it or not this is quite simple (well maybe not so simple ), all you have to do is create an xml playlist and ... (sorry! just having one of my funny days), seriously here are the links to the tutorials, if you get stuck, let me know as I have done this for both types of server a number of times.
For streaming server - http://www.adobe.com/devnet/flash/articles/video_player_print.html .
For progressive (normal use) - http://www.adobe.com/devnet/flash/articles/video_playlist.html
PZ

Similar Messages

  • How to bundle a .FLA and multiple .SWF files in one .EXE?

    Hi,
    I have a .FLA file which uses loadMovieNum() to load various
    .SWF files when each one is called by the user clicking on a
    button. Each .SWF file also uses loadMovieNum() to call a second
    .SWF file. When I publish the .FLA file as a .SWF file it all works
    beautifully.
    Now I need to package the entire project into a Windows
    projector .EXE file for offline use on a computer without the Flash
    Player. When I publish the main .FLA file as a .EXE file, the .SWF
    files still load, although they blink before fully loading and
    displaying steadily.
    What I would really like to do is to bundle all the .SWF
    files into the .EXE file so when I send the finished project to the
    end user, they only have to deal with one file, rather than a
    folder with the .EXE file and multiple .SWF files.
    Is there a way to do this?
    I am using Flash 8 Professional.
    Thanks,
    Cam

    Since this isn't going to be web-based, why not include all
    the external swf files into the same Flash file and then use
    attachMovie?
    This will allow you to create one .exe file that would
    contain EVERYTHING. Since you aren't worried about loading speeds,
    you don't have to load the movie clips, but can simply create one
    large Flash file.

  • Multiple SWF files in one website

    Hi,
    I am a Flash newbie!!
    I am building my first website and have been advised to
    create each page as a seperate SWF file instead of using seperate
    scenes in the same SWF file.
    Before I get too deep into this project I want to make sure
    that this is the best way to do it?
    Also, One I have completed all the pages I will of course
    have about 10 different SWF files. Is it easy to create a Website
    using these files??? If so how is this done??
    thanks
    Liam

    Hi,
    Follow this simple tutorial...
    http://www.hed.swin.edu.au/design/tutorials/flash/smooth_transitions/index.php
    Hope this helps
    Cheers
    Alan

  • Multiple .SWFs in one HTML page

    Hi all,
    I'm trying to post multiple .swf objects into one html page.  The first .swf object plays fine, but the second one does not load.  I've searched all over for the answer, but I do not know what to do (plus, I'm a Flash noob).  My page is http://users.wpi.edu/~cdaley_jw/animation.html, so please feel free to check out my code.
    Dreamweaver tells me that swfobject.registerObject does not exist, or something like that, but I see this code being used elsewhere.  I have swfobject.js in my main folder, too.  I haven't the slightest clue what I'm missing.
    Thank you very much,
    Chris

    I'd suggest you get the second .swf working BY ITSELF on a separate, new, blank page before worrying about how to get two working on one page. Your problem may have nothing at all to do with the fact that there are two .swfs on the page.
    Looking in the cach after downloading your page,
    http://users.wpi.edu/~cdaley_jw/Daley_Christopher_Walk_Cycle.swf
    is downloading... but it's only the player, not the .flv file that it's looking to load and play.
    http://users.wpi.edu/~cdaley_jw/Daley_Christopher_Walk_Cycle.flv
    does exist on the server at the address above but is not being called by the video player... the .swf. So the problem may be that the url to the .flv is wrong in the .swf or is missing completely.
    You'll have to fix that first and then worry about 2 swf on one page. So step back, get that second .swf working on a page all by itself, then move on.
    Best wishes,
    Adninjastrator

  • Flash player 10.3.181.14 broke my site, loading multiple swfs into an array

    I load multiple swfs into an array, I add and remove the objects on the stage, this is for a rotating carousel.
    All the items locations are established in xml. If I only have one item loaded into the array it works fine, if I have more then one it will not a) play the swf, or b) show the swf.
    The swfs themselves contain code that fire events in the main container. Which cause other items to play or load.
    Is anyone else having this issue?

    Hi howet,
    EDIT:
    I've opened a flash bug in their bug system as I found I could reproduce the issue: https://bugs.adobe.com/jira/browse/FP-7071
    There are some workarounds I found on there.
    ORIGINAL MESSAGE:
    I was having a similar issue using a loading component which i've been using for several years with no issues. As with you the issue arose when loading multiple swfs (or even one swf and then a jpg) on 10.3 and above. It works fine on 10.2 and below still.
    I found a workaround whilst I look for a proper answer and that is to delay subsequent loads using a hacky setTimeout.
    For example:
    protected function manageLoaded (p_event : Event) : void {
    setTimeout(loadNext, 1);
    // following line breaks the gotoAndStop of loaded swfs.
    // loadNext();
    I hope this helps you too, let me know.
    Cheers,
    Dan.
    Message was edited by: Dan Wilkinson, 01/06/2011 11:37am BST (GMT + 1)

  • IE running under XP can't handle multiple SWF files, Why?

    I noticed that IE 8 running under Windows XP cannot handle multiple swf files in one page.
    Up to about 10 files is no problem they are loaded and we can play them ( buttons that start a small audio file).
    But more of these files in one page will stop IE.
    Firefox ( 3.6.28) runs them fine.
    And also IE 8 and/or Firefox under Windows 7 handles them perfectly.
    Has anyone any idea what can cause this and how to resolve this?
    Thanks,
    Onno Tomson
    The Netherlands

    Sorry...I still don't get it. What is it about Windows FUS that keeps iTunes from running running the process twice? It can run many other non-Apple windows apps in multiple user sessions (commercial apps, open source apps, audio/video apps, networked apps). I can even run two different virtual machines at the same time under two different user sessions.
    Why can iTunesHelper.exe run twice but iTunes.exe cannot? Why can I run Safari at the same time? Quicktime Player runs fine under multiple user sessions.
    Blaming it on Windows and/or FUS sounds like FUD. Can anyone give a valid technical reason? Semaphores? Mutexes? An admission (and explanation) that the Windows version is purposely crippled?

  • Concatenate two single frame swf's into one singleframe swf?

    Hi
    Is it possible to combine multiple swf's into one "single frame" swf?
    I have an flex application, that has a scroller with a swfloader inside, and the swfloader should load the "single frame" swf and it is possible to navigate up and down, via the scroller.
    Any help is appreciated.
    /Allan

    I've experienced the same thing sometime long in the past,
    and I probably did a frame by frame Print Screen to get around it.
    If it's single frame swf, then that's probably all you're going to
    get is one frame as an output.
    You may be able to incorporate a jpeg encoder of some sort to
    take snapshots as the piece animates in some form of loop fashion,
    but I'm not savvy in that dept.

  • Joining several swf files into one swf file

    hello everybody
    i've been dealing this issue for too long and decided to ask for  help - how can I unite 15 swf files which placed in one folder to a one swf file???
    i tried all kindes of merging softwares like "Join (Merge, Combine) Multiple SWF Files Into One Software" and "WinMerge" without success and tried to convert swf to flv (cause i found other merging software for flv files) but again...
    I have CS5 so if i'll have to open Flash for this i will, though i'm trying to avoid that and even then i'm gonna need full instructions.
    All i need is this simple thing so i'll appreciate very much any help
    Thanks & Good Day
    Keren

    Hi Ned
    Again - thank you very much.
    I've got the source files and i'm on the run now.. kind of..
    I did as you recomצended and used a code from one of the AS3 UILoader tutorials , and it seems to work:
    import flash.net.URLRequest;
    import flash.events.ProgressEvent;
    import fl.containers.UILoader;
    var myLoad1 = "fastflipPage.swf";
    var request:URLRequest = new URLRequest(myLoad1);
    loader.scaleContent = false;
    loader.addEventListener(Event.COMPLETE, completeHandler);
    loader.addEventListener(ProgressEvent.PROGRESS, progressHandler);
    loader.load(request);
    loader.load(request);
    function progressHandler (event:ProgressEvent):void
    status_txt.text = "Percentage Loaded" +
    Math.round(event.target.percentLoaded);
    function completeHandler (event:Event):void
    status_txt.text = "Loaded Done";
    So... i'm tring to find some answers to my next step : in the code above im loading only one file and i need to load 30 files so they could play one after another. i noticed that i can create many uiloader instances and load several external SWFs in the same scene without writing a script to each one of them... is that right? and if so, how can i do that???
    I'm full of hope to figure this task, meantime will look for more answers
    Thanks in advance
    Keren

  • Captivate player - Multiple SWFs per topic

    So, I am working with our (very patient) developer to deploy
    a 10 part Captivate movie using Captivate player.
    The problem is that each part (for example- Introduction) has
    more than one SWF file. I really don't want intro 1, intro 2, etc.
    Does this make sense?
    How do you deploy Captivate player if each sub-movie has
    multiple SWFs?
    Thanks.

    It's looks like the SWFLoader is crashing the browser. I
    update the source of the SWFLoader if a user clicks a datagrid
    row...like:
    mySWF.source = myDG.selectedItem.src
    //where mySWF is the id of SWFLoader
    Can I not update the source of SWFLoader like this? or do I
    have to handle this some other way?

  • Loading multiple swf's in runtime and playing them one after other

    Hi,
    I am looking for help in loading multiple swf's as a playlist and playing them one after other on top of the other, so here even we have to play with display list for the visiblity.
    Tried to load single files but not getting for multiple files, what will be the event with which the dynamically loaded swf switch to other.These file names will be mentioned in XML file.
    Please let me know your thoughts and will be greatfull if anybody can help with the script or any kind of tutorials.

    Hi,
    First of all am thanking you for showing your kind intrest towards this thread, and appreciate for spending time to work out this issue.
    I will explain you in deatil the issue what am facing,I am working on a project where basically dealing with flv player and videos, am trying to play multiple flv videos of a 3d human character who is speaking out a number like 3550.
    Here we are using multiple video files and joining them like videos where character says 3 then 1000 then  5 then 50.
    The issue here is after every video there is a fraction of second where the character is disappearing from the stage which we can't afford because all the numbers have to be played at once to show it as one single digit.
    So thought of trying swf's instead of flv so that we can omit the gap between the numbers, but even in this swf's also having same issue for a fraction of second the character is missing from the stage.
    I am looking for a solution to this, either the way can work out as flv or swf.For flv am trying to edit some player where we can remove the delay between the clips.
    I am attaching new swf where the character is speaking 3 numbers like 3,1000,40.You can notice there is a flicker between the swf's.
    Can we use Display list with which we can omit that gap.
    Looking for your thoughts and help.
    Thank you

  • Load multiple swf play one by one when required

    Dear Friends,
    i want to Load multiple swf play one by one when required, i mean, i want to reduce the loading time, so i cut my swf in to 2 portion, load both same time or load 2nd while 1st one playing and how can i show the 2nd one when first one finished?
    Thanks in advance,
    Regards,
    Syed Abdul Rahim

    see i write code for you may be it will helps you
    var vidno:int=1
    var totalvideos:int=10
    var ld:loader
    function loadvideo(str:String)
    addChild(ld)
    loader.load(urlrequest(str))
    loader.contentLoaderInfo.addEventListener(Event.Complete,loadnext)
    function loadnext(event:Event):void{
    removeChild(ld)
    if(vidno<totalvideos){
        vidno++
         loadvideo('vid'+vidno+'.swf')
    loadvideo(vid1.swf)
    try it..

  • Can i use multiple-Swfs in one page to implement the real multi-thread?

    When there are multiple .swfs  in one web page,  if there will be multiple instaces of flashPlayer and run in multiple thread ?-- Per Swf Per instance and Per thread, is it?

    hi,
       It will not work at all In web browser enviornment. If you considering to
    make a scheme in which u use two swfs one helper swf for background
    processing and another for Displaying Front End.Problem remains there if you
    manage to send data from your one swf to the other in same page using
    localConnection . When the processing starts in the helper swf whole page
    will going to be stucked for the period until the helper swf has done
    processing the data.So its no use at all. Altough this library can help you
    make time slice based threads http://code.google.com/p/async-threading/

  • Combining multiple SWFs into one then optimize file size

    I am new to Flash and have been asked to combine six
    different SWF files into one. What is the best way to do this? This
    seems like the file size would blow up. Can anyone share some
    thoughts on how to optimize the final file size so that it is
    managable?
    Thanks

    Ok I will take the last question first, since that is probably the easiest.end
    A merged file or a flattened file is the same thing as a composite.
    A merged file still has its transparency and data that is outside the canvas area.
    A flattened file is a merged file that is converted to a background layer that does not support transparency or data outside the canvas.
    A composite can be a merged copy of the existing layers if you use the multiple key strokes I mentioned above. Whereas a merged file is a composite of the original layers. So I personally use the term composite to mean a copy as merged and flatten already explain that process, no need to give them an additional term to mean the same thing.
    Generally blend modes work by selecting individual layers before changing the blend mode. However you can group the layers or convert them to a smart object and apply a blend to that group or object.
    Normally you set the blend mode as you work on each layer. But you could set all of them to overlay or reduce the opacity to 30 or 50 percent to see through all the layers, then adjust them later on.
    I am not sure how it works on the mac, but on windows you can select the blend text box then use the up and down arrow keys to change the blend mode to see how it looks.
    I recommend that you go through the free videos on layers, masks, opacity, and layer styles. This will help you dramatically. Also a few books on the subject will help has well.
    (free)
    http://creativesuitepodcast.com/
    http://kelbytv.com/
    http://tv.adobe.com/
    http://www.youtube.com/
    (pay)
    http://kelbyone.com/
    http://Lynda.com

  • Using a button to open an SWF in the same player...

    Hello,
    I seem to be having some trouble figuring out the proper kind of script that would allow me to use a button to call up and play a new SWF in the exisiting player (in this case, the projector). I am working on an interactive presentation which is now complete. However, I need a splash screen that opens on launch which offer different langauges. Each langauge has its own swf. I need a menu on the splash screen that the user can use to select their langauge by clicking the respective button that lanches that particular swf. Right now, I just need one button as the other langauge versions are still in production.
    With that said, is there an easy way to launch an swf from the splash screen? I have tried a few different actionscripts but I seem to be always coming back to loadmovie script (which I havn't really mastered yet). My early attempts would load the new SWF but the current one stays in the player. It is kind of a mess.
    Anyway, I am hoping there is a simpler option. I am a beginner at actionscript 3, so I am still figuring things out. I have worked with AS1 and AS2 and it seems those versions were linked swfs easier that AS3. I just want the button to leave the existing player and open the new swf (but leave the splash screen behind). This would function like website navigation, so I am not needing anything fancy. Most of the documentation I have read so far either assumes you want the swf to import and be part of the internal navigation or want multiple swfs loaded internally. That is definitely not what I want.
    Anyway, thank you in advance for any help/insight.

    Well, I think I got it working. The code I came up with seems a lot more simple than what I was experimenting with. I am pretty sure I did something earlier that was similar to this code but the current swf stayed with the player when the new one loaded, I am pretty sure the old swf is hiding underneath the new one but after some testing, the actual presentation is working as intended so I am waving the AS3 white flag and am accepting how this functions in its present state. I nearly gave myself a heart attack trying to get this simple function to work
    Anyway, heres my "final" code. If anyone sees something that should be adjusted, please let me know.
    play_iv.addEventListener(MouseEvent.CLICK, loadmain);
    function loadmain(event:MouseEvent):void {
                var prevu_english:Loader = new Loader();
                prevu_english.load(new URLRequest("assets/PreVu - English.swf"));
                addChild(prevu_english);
    Also, Thankyou Ned. You pointed me in the right direction. If I didn't keep looking at the loader class, I probably would have spent days doing trial and error until I got somewhere.

  • How does a pdf handle multiple SWFs at runtime?

    If a pdf has multiple SWFs in it, that get turned on and off multiple times, does each one run in its own instance of the Flash Player?
    If not, can they run separetely without problems?
    Can one SWF run for a while and then another SWF run, followed by a return to the first SWF to resume part way through or does it start it off from frame 1 again?

    When a Rich Media Annotation is activated it forms a new sandboxed instance of the FP runtime, so you can have several RMAs active at the same time without too many problems (aside from things like stealing focus from one another). They cannot see each other's libraries and you cannot share data directly between them as the LSO system is disabled, but basic string-form data can be tunneled via AcroJS if you know what you're doing.
    When an RMA deactivates, everything is wiped - Acrobat / Reader do not automatically store any 'resume data' but you can create a home-made resume system by coding the SWF to export/import state information to the PDF. You would have to ensure everything needed to 'resume' is packaged into the state data string, then read and parse it each time the SWF loads. Again, that data packet is not visible to other content.

Maybe you are looking for