Multiple videos in flash

I'm very new to Flash. I'm going to have a motion graphics piece where a vid  will play for a short time, filling the screen, then shrink to a small  square thats in a grid of 6-9 small squares. Once it shrinks down, it  stops at its current frame. So there will be 6-9 small squares of the  last frame of 6-9 videos. Can this be accomplished in flash? These are  not interactive videos; they will automatically play when the first  appear. I think it would work better in after effects but we are using  flash (god knows why).
Ive attached what the video grid will look like. Think like all the vids in the brady bunch intro.

that looks pretty straight-forward.  with what part are you having trouble?

Similar Messages

  • Need advice on multiple videos in Flash Catalyst 5.5

    Hi,
    I am looking for some advice and I was hoping that some of you had already made some experience with what I am trying to achieve.
    Well, I need to be able to show something like 15-20 F4V-Files, each about 2-3 Minutes, in my project. Each movie is supposed to be triggered by a dedicated button, ideally all from one single state, so like a master state or so. I was wondering now, what would be the best approach.
    Can I simply create new stage and basically stack all videos on top of each other and have them played whenever needed or should I create a state for each of them. This would probably cause a mess too, as there is no option to organize the states in a smooth manner.
    Any good advice?
    Thanks,
    Christian

    Hi Christian
    I created something similar a while back. From my experience the most efficient way was to create a main page, then on it, a custom component, which hold 20 states within it. I linked the menu buttons to the various states within the custom component. Can't vouch that it's the best way, but it worked well for me.
    Kind regards,
    Darren

  • Can I broadcast multiple video chats using Adobe flash player and "RED5 flash server"?

    Hello...
    I've just joined today, and I had a question about RED5 & Adobe... Does anyone know if it is possible to broadcast multiple video  chats using Adobe flash player from "RED5 flash server"?
    Thanks,
    P.delafortune

    I am not sure whether any one of us has experience with RED 5 server - it would be best if you can post of RED 5 forums and try to get solution to your query. If you have any related query with respect to FMS - please feel free to post again.

  • Multiple video playback issues

    Hi All,
    I would dearly appreciaty any light anyone could shed on this issue - I have run into a couple of Flash bugs that have stumped me for quite a while, and my deadline is aproaching fast.
    Essentially, I would like to play back 3 reasonably high res videos (On2 VP6-S) simultaneously in one Flash App (using flash.video, netstream and netconnect - code only). Unfortunately, when I do this, the video playback drops a lot of frames, however, CPU usage does not go much above 50% - spread over both cores. I'm using a Core2Duo. If I play the same 3 videos simultaneously in 3 separate flash apps (FP10), they play much better (and use close to 100% CPU). I even tried creating it as an AIR app with 3 separate windows (NativeWindow), but that made little difference. I have lodged this as a bug via the Flash Bug Reporting System (http://bugs.adobe.com/jira/browse/FP-2341).
    And yes, I do need to be doing something as crazy as this - it is for a pretty cool kiosk app, so I know what hardware will be used (and it has a good Graphics Card).
    One promising workaround appeared to be playing back a single NetStream in multiple Video instances, as it is NetStream that does the decoding, so I could decode once and present it in 3 places. Two of my video objects are actually the same flv (on different monitors), so there would be a 33% saving right there. If necessary, I could encode both flvs into a single 1920x1200 flv (I've checked - it would play back ok) and then use video.mask to show the relevant bits.
    However, another bug has been reported at http://bugs.adobe.com/jira/browse/FP-920 saying this does not work - Video in the object that last called attachNetStream(ns) will play, all others will freeze. They do mention a workaround that gets both videos to play - reset the size of freezed videos on ENTER_FRAME event. However, I cannot get this workaround to work - my first video is empty (not even frozen).
    So there are a couple of things I would love any feedback on. Firstly, if anyone has insights on how I could get this to work. Secondly, if anyone could try the "multiple videos on one netStream with workaround" code below (simply copy, paste and point to a relevant flv) and let me know if it works and the versions of software they used, I'd be very thankful.
    ---------------Code Begins-------------
    import flash.events.Event;
    import flash.media.Video;
    import flash.net.NetConnection;
    import flash.net.NetStream;
    showRedrawRegions(true); // both the placeholders and the entire window redraws every frame.
    // When only video1 is attached, only video1's region is redrawing
    // When both videos are attached, both video's regions are redrawing, BUT video1 is empty.
    trace ("Capabilities.version = " + Capabilities.version); // = WIN 10,0,22,91 // in Flash CS4 10.0.2
    //var nc:NetConnection = new NetConnection( null ); // Got Eror: 1137: Incorrect number of arguments. Expected no more than 0.
    var nc:NetConnection = new NetConnection();
    nc.connect(null);
    // Connect nc here ...? Unnecessary in this case?
    var ns:NetStream = new NetStream(nc);
    ns.client = new Object(); // Simplest way to deal with cuePoints and metaData by doing nothing. For more, see http://blogs.adobe.com/pdehaan/2006/07/playing_back_flvs_with_actions_1.html
    var stream:String = "test.flv";
    var video1:Video = new Video(); // Defaults to size of 320x240
    var video2:Video = new Video(); // Defaults to size of 320x240
    video2.x = 320;
    addChild(video1);
    addChild(video2);
    ns.play(stream);
    video1.attachNetStream(ns);
    video2.attachNetStream(ns);
    // PROBLEM: Video in the object that last called attachNetStream(ns) will play, all others will freeze.
    // See WORKAROUND below for solution:
    //WORKAROUND to stop the first split stream from freezing:
    addEventListener(Event.ENTER_FRAME, onEnterFrame);
    function onEnterFrame(e:Event){
    video1.width = 320;
    video1.height = 240;
    trace ("video1.videoWidth = " + video1.videoWidth);
    trace ("video2.videoWidth = " + video2.videoWidth);
    // When only video1 is attached, video1.videoWidth = 1920, video2.videoWidth = 0
    // When both videos are attached, video1.videoWidth = 0, video2.videoWidth = 1920
    ---------------Code Ends-------------
    Letting me know what exact versions of the following software was used would help a lot:
    - Windows/OS (e.g. XP SP3).
    - App code was written in. (e.g. Flash CS4 IDE 10.0.2, Flash Develop 3.0.1).
    - App code was compiled in. (e.g. Flash CS4 IDE 10.0.2, Flex SDK 3.4.0.6955).
    - Type and Version of Flash Player used (e.g. Standalone Debug Flash Player v10,0,22,91).
    The versions I used are listed above.
    Lastly, for what it is work, I found three interesting/informative results, but they didn't help me:
    - When only video1 is attached, video1.videoWidth = 1920, video2.videoWidth = 0
      When both videos are attached, video1.videoWidth = 0, video2.videoWidth = 1920
    - When only video1 is attached, only video1's region is redrawing
      When both videos are attached, both video's regions are redrawing, BUT video1 is empty.
    - var nc:NetConnection = new NetConnection( null ); // Got Eror: 1137: Incorrect number of arguments. Expected no more than 0.
      So I had to change it to:
        var nc:NetConnection = new NetConnection();
        nc.connect(null);
      Does this mean my NetConnection class is different and maybe incompatible with this workaround?
    Many, many thanks,

    How to view/hear pretty much everything:
    Assuming you already run OS 10.4.9 or above and have Quicktime 7.2, and are using Safari 2 or 3, download and install (or re-install even if you already had them) the latest versions, suitable for your flavor of Mac, of:
    RealPlayer from http://uk.real.com/player/
    Flip4Mac WMV Player from http://www.microsoft.com/windows/windowsmedia/player/wmcomponents.mspx (Windows Media Player for the Mac is no longer supported, even by Microsoft)
    Perian from http://perian.org/
    Adobe FlashPlayer from http://www.adobe.com/shockwave/download/download.cgi?P1ProdVersion=ShockwaveFlash
    In Quicktime Preferences, under advanced, UNcheck Enable Flash, and under Mime settings/Miscellananeous only check Quicktime HTML (QHTM).
    In Macintosh HD/Library/Quicktime/ delete any files relating to DivX (Perian already has them).
    The world should now be your oyster!
    You should also have the free VLC Player from http://www.videolan.org/ in your armory, as this plays almost anything that DVD Player might not.

  • Playing multiple videos in sequence

    Hello all. I'm a complete newbie to Flash development, but
    have been thrown into it with not just a deadline, but a (to me)
    "complex" project. I have a Flash project which currently opens and
    plays a video as part of whats on "the stage". I now need to add 2
    more videos which will play, in sequence, after the first one
    finishes. I've gone through the tutorials, read the help files, and
    now I'm just feeling a bit "DUH" because I still can't figure out
    how to do this. Anybody out there care to help a poor ol' graphics
    guy avoid the bitter wrath of his boss?

    A single instance of FLVPlayback can handle multiple videos.
    I can't remember what the upper limit is. So you can switch between
    them based on user input. But I believe it can only ever play one
    at any one time. I've used FLVPlayback quite a lot but not for what
    you're describing, so can't answer from direct experience.
    Check out this page, and the trivial example at the end
    (whether its streaming or progressive is irrelevant here, streaming
    should work just as well, but perhaps you need to use SMIL files
    for the streaming contentPath?)
    http://livedocs.adobe.com/flash/9.0/main/00002980.html#wp3780233

  • Play multiple videos in sequence

    Hi,
    I've multiple videos stored in FMS and would like to merge them into a single video object in order to play all of them in sequence (so that a user thinks it's a single longer video). Is it possible?

    This is a link from 3.5 but have you tried this:
    http://www.overdigital.com/2009/08/02/flash-media-server-as-video-editingstitching-tool/

  • Multiple video displays

    Hi,
    I'm looking at different methods of sychronizing multiple
    videos accross multiple displays and wondered if the best way to do
    this would be via flash video of a media centre streaming to
    seperate machines and their displays, could anybody advise me on
    this.
    Thanks in Advance
    Jack

    With the new Mac Pro 2009-03 models, Quad-Core Intel Xeon.
    Is it possible to run eight Apple Cinema Display 30" monitors?
    Yes.
    This would require four single-slot Video Cards with two Dual-DVI outputs each.
    The default NVIDIA GeForce GT 120 512MB card has one Dual-DVI and one single DVI, so it would not do the job.
    No. It has one dual-link DVI port and one Mini DisplkayPort. With a Dual-Link Mini DisplayPort to DVI adapter it can run two 30" displays.
    <http://store.apple.com/us/product/MB571Z/A?fnode=MTY1NDA5OQ&mco=MjkyNjI0Mg>
    Likewise with the ATI Radeon HD 4870.
    It also can run two 30" displays when used with the adapter, but it uses too much power to use with three other cards.
    So what Video cards would be specified?
    Four NVIDIA GeForce GT 120 or ATI Radeon HD 2600 XT. You could also use three of these cards and one GeForce 8800GT. It has to be the one made for the 2008 Mac Pro (and is no longer being sold).
    Is this even possible?
    Yes.
    And is there enough power supply available for four such video cards?
    Yes. Apple sells (sold) systems with four of these cards.
    I understand the ATI Radeon HD 2600 XT Graphics 256MB GDDR3 is not compatible with the new systems, and it only offers one Dual-DVI & one Single-DVI port.
    No and no. It is compatible, and has two dual-link DVI ports.

  • Quicktime playing multiple videos question

    Hello Everyone.
    This is probably more of a html/java/flash based question but I thought I would start here as it revolves around the QT Player.
    I have a webpage
    http://www.drewwfilms.com/Temp/Ket/KetWedding.html
    On this page is the QT Player.
    Beneath the player are 3 buttons. When a viewer clicks one of those buttons I want it to load the respective video related to that button into the player without the browser loading a new page. Is this possible?
    Can someone steer me the right direction? Or help me out? I'm not even sure how to google search this. I tried Multiple Videos, 1 QT player Web - and I didn't get anything that helped.
    Thanks!

    I've been having this truly obnoxious problem ever since I installed Lion. Whenever I open a Quicktime video or a preview jpeg (and sometimes a Word document) - the last two or three documents I've viewed in these programs also open.
    This is the normal default mode for Lion which now "remembers" what documents (files, movies, images, etc) were opn when you last "Quit" each application. Either learn to close the documents before "quitting" the app or turn this feature off. (I.e., deselect the "System Preferences > Personal > General > Restore windows when quitting and re-opening apps" option.)

  • What is good practice for playing multiple video's in a single swf?

    Hello,
    I have build in the past a video wall with video's inside. After building this i came across some problems.
    If you have too many video players loading at once it takes a lot of processing and the tweens in the
    page while loading the video's where not moving fluidly, but more in a stuttering way.
    After lot's of test i found a good working solution.  I imported the flv video's into flash en exported them on the timeline
    as a embedded swf.  Then i externally loaded these swf files and that performed much better.
    Is it even good practice to load multiple video instances at once? I used this time the LoaderMax of greensock but the video's
    only play after it's completely loaded. I would like to find a way to progressive play all video's at.
    Does someone has experience with this?
    Regards,
    Chris.

    How about an XML file which supplies the title for each movie and the location or source of the video to be played?  Simple version below.
    <?xml version="1.0" ?>
    - <playlist>
    <video src="Gfx/video/Alex1.f4v" title="John Deere 330" />
    <video src="Gfx/video/Benni1.f4v" title="Hitachi Z240F" />
    <video src="Gfx/video/Scotti1.f4v" title="Hitachi Z350F" />
    <video src="Gfx/video/Scotti2.f4v" title="Hitachi Z350F" />
    </playlist>
    JR

  • Multiple videos on one page

    so i have created a website (which i haven't posted yet) in iweb- my question concerns video on iweb. on one page i have 5 videos that range from 20MB to 60MB, i would like these videos to download without a lot of wait time. curious what the wait time for this page would be? and also, would it be better to create a picture and then a hyperlink to each video? would that be faster? would preferably like to have multiple videos play on the page rather than hyperlinking to another page, but from what i've read, it sounds like it takes a while to download a page like that. also, i am not going to use mobileme, most likely godaddy.
    thank you.
    ben

    I just learned from toad yesterday...and I was where you were. I was afraid to try the code thing. But I kept pushing till I figured it out.
    I also publish with GoDaddy. They are very Mac friendly.
    My suggestion is that you upload your video file to Godaddy first. I used Cyberduck (free). When you get Cyberduck up and your file uploaded to the server, look (navigate) on the Cyberduck interface to the video file you have created the button for.
    Then, go to "Get Info" in the pulldown menu. You will see the URL that GoDaddy has assigned to the video (basically the Directory/Path).
    This is the info you want to put in the code part on iWeb where (in red) you replace the template text.
    To help you understand what Toad has published in red:
    1. the first red is where the URL path from the Cyberduck info goes.
    2. the second reds are the size of the Video you want to display. I find that 640x480 works very well.
    3. the last red is what your button will say: replace with "Click to Play"
    BIG HINT: Get Quicktime Pro. That interface will allow you to save your vide as a "Fast Start" video for uploading. I think this is Apple's equivalent of Flash.
    Once you get your stuff in place you will probably have to have a few phone sessions with Tech support at GDaddy. They can spot your mistakes and help get you up.
    Good Luck. This was all new to me and very intimidating - but 48 hours later I was able to have it all working.
    I even got it working on Network Solutions - but it was much more of a headache.
    For large video files, though, NetSol will let you put your videos on a Streaming Server for faster and more reliable service. Problem is that server only works with RealMedia and Windows Media Player...and who wants to convert all their QT files.

  • Playing multiple videos in single FLV instance.

    Hi, I'm trying to get a video application to work. The basic
    question I have is: can i get multiple videos on a flash streaming
    server to play in a single FLVPlayback instance? (I want the user
    to be able to choose the video based on a button, not play in
    succession.) Or do I have to set up a custom player using
    NetConnection and NetStream classes along with the
    NetStream.play(vidname) method ?
    I really need to be pointed in the right direction on this
    because the project is due asap.
    Thanks!!!

    A single instance of FLVPlayback can handle multiple videos.
    I can't remember what the upper limit is. So you can switch between
    them based on user input. But I believe it can only ever play one
    at any one time. I've used FLVPlayback quite a lot but not for what
    you're describing, so can't answer from direct experience.
    Check out this page, and the trivial example at the end
    (whether its streaming or progressive is irrelevant here, streaming
    should work just as well, but perhaps you need to use SMIL files
    for the streaming contentPath?)
    http://livedocs.adobe.com/flash/9.0/main/00002980.html#wp3780233

  • Aggregated Adobe Captivate Video in Flash Media Server

    Hey,
    Has anyone attempted to implement a captivate video into Flash Media Server?
    I specifically need to know if an aggregated Captivate video will work in Flash Streaming Server. The reason I am not sure that it will is because there are multiple .swf files that an Aggregated video must communicate with and I wonder if that will cause any issues.
    Please let me know if you've run into any problems, if this works, or if you have any other information.
    Thanks!

    So an Aggregated Captivate Video is basically a compilation of several other Captivate Videos. To see what I mean, open up Captivate
    go to File --> New Project-->Aggregator Project.
    Choose the .swf files of published projects that you want to run together as a single video (aggregated .swf).
    Then, publish the Aggregator Video and you will generate a .swf file that plays all the ones you selected previously.
    So basically I am worried that Flash Media Server won't work because the main video file (the aggregated .swf) uses the component .swf files to play.
    Any thoughts?

  • Multiple videos HELP!!

    I have a site with multiple videos on one page. When you load the page, they all load at the same time.Very bad. Takes forever. How can I keep multiple thumbnails on the one page, and have the site load one at a time? I understand hyperlinks are a possible answer, but I don't know how to do that with out making a separate page for each video. How about a flash video player? Anyone........Beuller??

    Here's another way to have multiple videos on one page and only have them load when you click the Play button: Opening Item in a New, Precisely Sized Window. This demo page has a number of videos on it using that method: PhotoPresenter Animated Slideshow Themes.
    OT

  • Compressing video for Flash

    Hello. I have a group of short movies shot for the web. Since I upgraded to the latest version of Compressor, I have had problems encoding the movies (made in FCP7), for delivery to Flash. When I bring them into Flash, it says that it 'doesn't recognize the format blah blah blah, although the videos might have been created for use on web or devices'.
    I tried making the videos .mov (this was the ideal format, as I seemed to be able to achieve the most efficient compression that way). I also tried encoding them as .mp4, but Flash still rejected them. I am at at total loss. The worst part is now I am, at least temporarily forced to use Adobe Media Encoder, and the file size is much larger and the quality is nowhere close to what I'm getting out of compressor. I'm sure that I'm probably missing something here, as I am relatively new to compressor, but I do know the program well enough to try all the obvious options.
    Any suggestions/tips for encoding movies in the latest version of Compressor for use in Flash?

    I guess I'm really trying to find out how Compressor encodes for Flash properly. I just get so much
    better quality and smaller files with Compressor.
    "BETTER QUALITY" is rarely objective. There are too many tradeoffs in bitrate, frame rate, frame size, codec tweaks, and multiple pass encoding runs. Flash is a wrapper, like Quicktime, sort of, and there are several true Flash encoders that use wildly different true Flash codecs and compression algorithms.
    Google and versiontracker both returned about 15 different products for the Mac and dozens for PC including some cards. Some are cheap.
    http://www.sothinkmedia.com/flash-video-encoder/
    http://www.video-to-flash-encoder.com/
    http://www.freedownloadscenter.com/Best/flash-encoder.html
    http://www.geovid.com/Flashto_Video_EncoderPRO
    http://www.kibisis.com/kibisis/index.asp/
    http://www.ustream.tv/higher-quality
    http://flash-video-encoder1.software.informer.com/
    http://download.cnet.com/Wondershare-Video-to-Flash-Encoder/3000-2194_4-10473277 .html
    Here's an obsolete Flash encoder comparison chart:
    http://www.mediacollege.com/adobe/flash/video/encoders/
    bogiesan

  • Using ControlBarSample to Play Multiple Videos

    I'm trying to modify the ControlBarSample to play multiple videos and I'm running into a wall. I've made a few simple modifications to the control bar sample to try to play a second video file. The problem I'm having is the control bar doesn't have a reference to the new video I play and therefore can't update it's view. I'd like to be able to remove the video element playing in the ParallelElement and add a new child MediaElement and have the controlbar refresh it's reference to the new target. Also the controlbar shouldn't have to reload itself, but should stay right where it is in the display list and in the root parallel element. Can someone guide through this? Here is my simple modification to the ControlBarSample class as a starting point.
    package
         import flash.display.Sprite;
         import flash.events.MouseEvent;
         import flash.text.TextField;
         import org.osmf.elements.ParallelElement;
         import org.osmf.events.MediaFactoryEvent;
         import org.osmf.layout.HorizontalAlign;
         import org.osmf.layout.LayoutMetadata;
         import org.osmf.layout.VerticalAlign;
         import org.osmf.media.*;
         import org.osmf.metadata.Metadata;
         [SWF(width="640", height="360", backgroundColor="0x000000",frameRate="25")]
         public class ControlBarPluginSampleMod extends Sprite
              public function ControlBarPluginSampleMod()
                   // Construct an OSMFConfiguration helper class:     
                   osmf = new OSMFConfiguration();
                   // Construct the main element to play back. This will be a
                   // parallel element, that will hold the main content to
                   // playback, and the control bar (from a plug-in) as its
                   // children:
                   osmf.mediaElement = constructRootElement();
                   osmf.view = this;
                   // Add event listeners to the plug-in manager so we'll get
                   // a heads-up when the control bar plug-in finishes loading:
                   osmf.factory.addEventListener(MediaFactoryEvent.PLUGIN_LOAD, onPluginLoaded);
                   osmf.factory.addEventListener(MediaFactoryEvent.PLUGIN_LOAD_ERROR, onPluginLoadError);
                   // Ask the plug-in manager to load the control bar plug-in:
                   osmf.factory.loadPlugin(pluginResource);
                   // button to play the next item
                   var label:TextField = new TextField();
                   label.text = "PLAY NEXT";
                   label.x = 10;
                   label.y = 3;
                   label.mouseEnabled = false
                   button = new Sprite();
                   button.buttonMode = true;
                   button.addChild( label );
                   button.graphics.beginFill(0x00FFFF,1);
                   button.graphics.drawRect(0,0,90,20);
                   button.addEventListener(MouseEvent.CLICK, onButtonClick);
                   addChild(button);
              // Internals
              private var osmf:OSMFConfiguration;
              private var rootElement:ParallelElement;
              private var button:Sprite;
              private function onPluginLoaded(event:MediaFactoryEvent):void
                   // The plugin loaded successfully. We can now construct a control
                   // bar media element, and add it as a child to the root parallel
                   // element:
                   rootElement.addChild(constructControlBarElement());
              private function onPluginLoadError(event:MediaFactoryEvent):void
                   trace("ERROR: the control bar plugin failed to load.");
              private function constructRootElement():MediaElement
                   // Construct a parallel media element to hold the main content,
                   // and later on, the control bar.
                   rootElement = new ParallelElement();
                   rootElement.addChild( constructVideoElement(VIDEO_HTTP) );
                   // Use the layout api to set the parallel element's width and
                   // height. Make it as big as the stage currently is:
                   var rootElementLayout:LayoutMetadata = new LayoutMetadata();
                   rootElement.addMetadata(LayoutMetadata.LAYOUT_NAMESPACE, rootElementLayout);
                   rootElementLayout.width = stage.stageWidth;
                   rootElementLayout.height = stage.stageHeight;
                   return rootElement;
              private function constructVideoElement(url:String):MediaElement
                   // Construct a metadata object that we can append to the video's collection
                   // of metadata. The control bar plug-in will use the metadata to identify
                   // the video element as its target:
                   var controlBarTarget:Metadata = new Metadata();
                   controlBarTarget.addValue(ID, "mainContent");
                   // Construct a video element:
                   var video:MediaElement = osmf.factory.createMediaElement(new URLResource(url));
                   // Add the metadata to the video's metadata:
                   video.addMetadata(ControlBarPlugin.NS_CONTROL_BAR_TARGET, controlBarTarget);
                   return video;
              private function constructControlBarElement():MediaElement
                   // Construct a metadata object that we'll send to the media factory on
                   // requesting a control bar element to be instantiated. The factory
                   // will use it to parameterize the element. Specifically, the ID field
                   // will tell the plug-in what the ID of the content it should control
                   // is:
                   var controlBarSettings:Metadata = new Metadata();
                   controlBarSettings.addValue(ID, "mainContent");
                   // Add the metadata to an otherwise empty media resource object:
                   var resource:MediaResourceBase = new MediaResourceBase();
                   resource.addMetadataValue(ControlBarPlugin.NS_CONTROL_BAR_SETTINGS, controlBarSettings);
                   // Request the media factory to construct a control bar element. The
                   // factory will infer a control bar element is requested by inspecting
                   // the resource's metadata (and encountering a metadata object of namespace
                   // NS_CONTROL_BAR_SETTINGS there):
                   var controlBar:MediaElement = osmf.factory.createMediaElement(resource);
                   // Set some layout properties on the control bar. Specifically, have it
                   // appear at the bottom of the parallel element, horizontally centererd:
                   var layout:LayoutMetadata = controlBar.getMetadata(LayoutMetadata.LAYOUT_NAMESPACE) as LayoutMetadata;
                   if (layout == null)
                        layout = new LayoutMetadata();
                        controlBar.addMetadata(LayoutMetadata.LAYOUT_NAMESPACE, layout);
                   layout.verticalAlign = VerticalAlign.BOTTOM;
                   layout.horizontalAlign = HorizontalAlign.CENTER;
                   // Make sure that the element shows over the video: element's with a
                   // higher order number set are placed higher in the display list:
                   layout.index = 1;
                   return controlBar;
              private function onButtonClick(event:MouseEvent):void
                   playNext(VIDEO_RTMP);
              private function playNext(url:String):void
                   rootElement.removeChildAt(0);
                   rootElement.addChild( constructVideoElement(url) );
              /* static */
              private static const VIDEO_HTTP:String = "http://mediapm.edgesuite.net/osmf/content/test/logo_animated.flv";
              private static const VIDEO_RTMP:String = "rtmp://cp67126.edgefcs.net/ondemand/mediapm/strobe/content/test/SpaceAloneHD_sounas_640_500_short";
              private static var ID:String = "ID";
              // Comment out to load the plug-in for a SWF (instead of using static linking, for testing):     
              //private static const pluginResource:URLResource = new URLResource("http://mediapm.edgesuite.net/osmf/swf/ControlBarPlugin.swf");
              private static const pluginResource:PluginInfoResource = new PluginInfoResource(new ControlBarPlugin().pluginInfo);

    It appears that this may be accomplished more easily if I do something similar to the StrobeMediaPlayback implementation. Looking at the StrobeMediaPlayback source code it looks like Adobe has done something a little different than their ControlBarPlugin, placing the controlbar and root media element inside separate MediaContainers and then adding those containers to the display list. Is this recommended over using the frameworks ParallelElements? If so, is communication between the control bar and root media element still a matter of just updating the target reference via metadata?

Maybe you are looking for

  • Windows VISTA Boot Camp?

    Would it be possible to run MS Windows VIsta with Boot Camp? or we will be only able to Install XP SP2. Thanks!

  • SAP Training Videos

    Hi, I came across a site selling SAP training videos at www.sapjuice.com . They are claiming these are brand new videos which are not available in the market yet. Has anyone tried these videos so far? If yes then please share your opinion about these

  • How to download dynamic table data into CSV format

    Hi, I have data in dynamic table <it_data>, and I want to download that into CSV format. so I tried to use FM SAP_CONVERT_TO_CSV_FORMAT but how to use this FM with dynamic table? here <it_data> type standard table, we can pass this to I_TAB_SAP_DATA.

  • h:form Vs form and their nesting!

    Hi all, (1) Is the nesting of HTML <form> tag allowed inside the JSF <h:form> tag? (2) Can we have two different form tags (be it in any combination : <h:form> followed by <form> OR <form> followed by <h:form> ) in a single jsp file in JSF? (3) Is th

  • Pricing Error - message no. vf073

    Hi All, Good day to you all! I have one issue related to the Pricing error in Invoice. User had created S.O., Invoice. But, when the invoice was saved a billing document was created but has no accounting document that was created. I then manually cre