Controlling 2 videos with 1 control ?

when i import a video into flash 8 i can attach prebuild
controls to it. can i use these controls to control 2 videos at
once ?

i got it to work with the following code using custom ui
elements :)
thanks again to charles.crepin and maybe it will help
Nickels55.
var nc:NetConnection = new NetConnection();
nc.connect(null);
var ns1:NetStream = new NetStream(nc);
ns1.play("flv/Main_Teil_1.flv");
var vWin1:
Video;
vWin1.attachVideo(ns1);
var ns2:NetStream = new NetStream(nc);
ns2.play("flv/Main_Teil_2.flv");
var vWin2:
Video;
vWin2.attachVideo(ns2);
var nDuration:Number;
ns1.onMetaData = function(oData:Object):Void {
nDuration = oData.duration;
var btPause:Button;
var btPlay:Button;
var btStop:Button;
btPause.onRelease = function():Void {
ns1.pause();
ns2.pause();
btPlay.onRelease = function():Void {
if(ns1.time < Math.floor(nDuration) ){
ns1.pause(false);
ns2.pause(false);
} else {
ns1.seek(0);
ns2.seek(0);
};

Similar Messages

  • Possible to embed video with controls in FM PDF?

    I have a very specific end in mind, and I'd like to know from you folks who might have done this before if it's even possible, and if so, the steps to follow to achieve it. Here goes...
    I'd like to take an ordinary AVI file, convert it FLV in Media Encoder so it's of a manageable size, bring that into Flash in order to add controls to it (stop, start, pause, etc.), import the SWF file into FrameMaker and export a stand-alone PDF file than includes the video, without needing to reference any external files or servers or anything like that. Just one PDF file that includes the demonstration video and the means to run it.
    Right now the show-stopper seems to be it's possible to create a SWF file with controls, OR a SWF file that encorporates an embedded video source, but NOT BOTH at the same time. Anything that enables you to have controls seems to insist on referring to an external file, which I need to avoid.
    Then the problem becomes is it even possible to import such a SWF file, with working controls, into FM and thread it through to a PDF file where it will function as such?
    Anyone who can point me the way, I'd be much obliged. And thank you.

    Thanks, but I've seen that file before. While it's interesting to learn you can create links below a video to do this, the really ironic thing is that the PDF file contains video presentations making use of the controls that I'm looking to include (see graphic). In fact, it was this very document that got me interested in seeing how to do this in the first place. Now, I might be mistaken, but I don't think this is a solution available inside FrameMaker itself and I'm really after a cross-application procedure from someone who's done this in the past. I appreciate the input, though.
    From page 25 of the guide:

  • Batch process video to swf with controls??

    Hi,
    I have hundreds of QT videos that I need converted to .swf
    video WITH control bar and a watermark logo.
    I can batch process them to .flv using the Media Encoder, but
    I need them to be .swf in order to use them in Director 2004MX.
    Plus, I don't see where I can add a watermark using Media Encoder.
    I have CS3 and CS4 Master Collections so I assume there's got
    to be SOME way to do this batch processing.
    I did a few sample tests in Flash, bringing in the .flv file,
    attaching one of the prebuilt skins, adding a layer for the logo
    watermark, then exporting to swf. It works beautifully in my
    Director project. But to do this process 500 times would take
    forever.
    Any advice on how to batch to .swf video with control bar and
    watermark would be greatly appreciated.
    Thanks.
    -Karen

    Thank you Heathrowe I appreciate it.
    I guess as far as using the hotspot slicer in Fireworks, if I
    export to an SWF it doesnt make that a clickable section in the SWF
    file. Oh well. Would be a nice feature in the next version of
    Fireworks.

  • Creating model with Control and Design LV2009

    Hello,
    I'm trying to make a PI control model with Control and Design in labview 2009. I'm tyring to create the following transferfunction:
    D(z)=Kp+((Kp*Ki)/(1-z^-1))
    But labview adds by itself an extra z^-1 in the Numerator
    See the attachment what I have tried. I first want to create 1+(1/(1-z^-1)). What I'm I doing wrong ?
    Greetz,
    Jeroen
    Attachments:
    model.jpg ‏50 KB

    Jeroen,
    The two expressions "1+(1/(1-z^-1))" and "(2-z^-1)/(1-z^-1)" are equivalent to one another.  They just have the terms rearranged.  Since LabVIEW expresses a transfer function as a numerator and denominator, it is drawing the function as "(2-z^-1)/(1-z^-1)".  You aren't doing anything wrong.
    Chris M 

  • When unlocking my iphone with the camera slide, my volume controls won't work on video playbacks.  However, if I unlock the phone normally and open the camera roll I am able to watch my videos and control the volume.  Anyone else notice this?

    When unlocking my iphone 5 with the camera slide, my volume controls won't work on video playbacks.  However, if I unlock the phone normally and open the camera roll I am able to watch my videos with the control of the volume.  Anyone else notice this?
    Thank you.

    Who can help me what are the symbols of a moon and a lock with a partial circle around it not allowing me to turn on or off my phone

  • Controlling a video with swipe gesture

    I'm trying to control a video with swipeleft/swiperight events to play/playback a video. It does not work with built in actions. Should I code something? Is there any sample to help?
    Thank you.

    Just in case this article triggers some ideas
    How to add swipe gestures to video playback
    Thanks,
    Preran

  • Non-youtube-vimeo video embed with controls?

    Hi,
    I noticed in Heathrowe's code you could bring in video from a youtube style site with controls already or you can call a video from your public html folder. I see that it says that playback controls are coded in but they do not work.
    Can someone tell me how to get them to work?
    It pulls in the videos just fine but I have several videos that need to be larger than youtube and more than 1 a week on vimeo for a portfolio.
    Here is the code:
    //Sample One
    //Append Video
    var vid = $("<video width='352' height='155' controls='controls'>" +
    "<source src='http://www.w3schools.com/html5/movie.mp4' type='video/mp4' />" +
    "<source src='http://www.w3schools.com/html5/movie.ogg' type='video/ogg' />" +
    "This browser is not compatible with HTML 5" +
    "</video>");
    sym.$("vcontainer").append(vid);
    vid.attr('autoplay','autoplay');
    vid.attr('preload','auto');
    the control='controls' looks to be the part I need but it doesn't work. Do I need some sort of player shell sitting in my public html folder as well?
    Thanks!

    Hi Darrell!
    Thank you very much. You are too kind. If you have a donation page, I would love to support you. Your information has been more than worth the price of admission (which, in this case, has been completely free).
    On a side note, I boiled your code down to this:
    var myvideo = sym.$("vcontainer");
    var vid = $("<video controls width='350' height='250'>" +
         "<source src='http://www.w3schools.com/html/movie.webm' type='video/webm' />" +
         "<source src='http://www.w3schools.com/html/movie.ogg' type='video/ogg' />" +
         "<source src='http://www.w3schools.com/html/movie.mp4' type='video/mp4' />" +
         "This browser is not compatible with HTML 5" +
         "</video>");
    sym.$("vcontainer").append(vid);
    myvideo.css({"width":vid.width(),"height":vid.height()});
    If you have a donation page and I donate, maybe you could explain in detail how the rest of the code works with all of the devices that you have in your example? Just a note: It is absolutely unneccessary for me to get to that point with my website but, hey, I like to learn.
    I see you have the code to get the video to work in all apple products, Android and to detect a browser if none of those work.
    Otherwise, I'll still donate anyway if you have a paypal connection! I'll check your site for now but if not, maybe you should put one up! Making people pay for knowledge is one thing. Putting in valuable time without expecting to receive compensation is another and I"m fully appreciative and willing to donate if possible.
    Thank you so much.
    Scott

  • User Account Control Problems with Premier Elements 7 32 bit in 64 Bit Windows 7

    I found User Account Control Problems in other forums but didn't see much in Premiere Elements, so I hope this helps others who may be having problems with 32 bit programs in a 64 bit computor. When I first got my 64 bit I didn't have problems.
    Back in February I bought a Quad Core Desktop with Windows 7 64 bit. Haven't been on the forum for 7 months since I wrote in regarding importing video with the Pyro AV Link (Premiere Elements Tips and Tricks). I was having problems importing video which started after March 28 sometime, as that was the last time I didn't have a problem importing VHS. Took me a few months off and on to find out what worked.
    I started uninstalling Windows updates and any programs I had installed back to that point in time. Checked after uninstalling each item. The capture screen would come up on a delayed basis but clicking on capture did nothing. Although no driver is required for IE1394 (so they say) I read where some people using the Legacy driver had fixed some problems, so I switched to the Legacy. Seemed to work great (for a few minutes).
    I had even uninstalled and reinstalled PE7 but no difference. Finally I noticed a shield in the PE7 Desktop icon. Thats weird. Never had that before. Just decided to show up after I had done all of the stuff I mentioned. Turns out at some point in time since I've had the computor Windows 7 decided to flag my 32 bit program as misusing the 64 bit system. User Account Control. I never bothered too much with UAC and just clicked on the yes box wen it popped up asking if I wanted this or that to take control of my computor. I tried using the minimum setting for safety reasons, and then finally turned User Account Control off. Bingo! PE7 capture works again and still working.
    While I am not recommending that people arbitrarily turn UAC off, this appeared to be my problem. I would recommed that they try turning it off before uninstallin a bunch of stuff. Having a restore point may or may not have been a fix for me. I think one of the Windows Updates caused the problem but I am not going to uninstall any more stuff at this point, I have not been back on the internet or installed any more updates in my desktop. I am going to use my laptop for internet and used the desktop for video.
    I am guessing this could be a problem for any 64 bit systems trying to use 32 bit programs. IE: XP,Vista,Windows 7 64 bit. In Vista there is also Data Execution Prevention (DEP) which you can turn on or off, supposedly to prevent misuse of memory (as I understand it), but Win7 either doesn't have it or I haven't found where it's located.
    Maybe this has been covered in the forum somewhere and I missed reading it. Hope I am not too confusing. Anyway, whatever feedback you guys have would be great.  

    John,
        Thanks for your answer, and I did check out the link you suggested. However, I have Windows 7 Home Premium as most people have I think, and the XP program was not available. I started with Vista and now have Win 7. I never could navigate around in XP anyway so am content to just leave User Account Control off.
        Interesting side note to turning UAC off is that my desktop seemed to be using more of the CPUs, where half of them were "Parked" as I wrote in also about 7 months ago when I 1st got my desktop. I am pleased to say that video processing seems to go quicker with UAC off. Have to observe things some more to confirm.
        I just thought if others were having problems after installing Windows Updates and leaving UAC off worked then they could possibly pinpoint a problem.

  • Buttons to control video not working

    I have tried to make simple buttons to control play, stop, paus and play again of a video. When that did not work I found the below instructions, and made movieclips for the buttons to use with the imported FLVPlayback (with none skin).
    In step 2 I choose play (for the first play-button/movieclip).
    In step 3, there is no video to choose in the box - only my own movieclips.
    In step 4 - what's the difference?
    In step 5 - there is no setting field...
    Control video playback using behaviors
    Select the movie clip to trigger the behavior.
    In the Behaviors panel (Window > Behaviors), click the Add (+) button, and select the desired behavior from the Embedded Video submenu.
    Select the video to control.
    Select a Relative or Absolute path.
    If required, select settings for the behavior parameters and click OK.
    In the Behaviors panel under Event, click On Release (the default event) and select a mouse event. To use the On Release event, leave the option unchanged.

    what's the instance name of your component and show the code you used for your play button.

  • Control video wirelessly from Macbook

    I would like to control video on a television wirelessly from my macbook. I basically want to control playback on a television during a short film shoot. In a perfect world I would use iMovie so that I could easily scroll to and from some very specific points in the video depending on continuity during filming. And then, of course, it would play on the tv. We are looking for a real quick, no hassle, way of controlling this video.
    Will Apple TV wirelessly put what is on my macbook screen onto the television?????? If this were the case I could sync from iMovie and then play iMovie in full-screen mode and see it on the tv.
    That was long and wordy but I am looking for any suggestions that could help.

    no appleTV won't do this... appleTV allows you to access iTunes media (movies, music and online radio) wirelessly though an interface that appears on your TV...
    in addition you can play music from iTunes on you computer through the appleTV to you stereo system but there is no synonymous thing with video.
    but it sounds like you are really looking for a wireless video streaming solution... price depends on the quality of video you require
    Belkin Flywire - wireless HD 1080p video switch - $1500
    http://catalog.belkin.com/IWCatProductPage.process?Product_Id=459782
    SlingMedia Slingcatcher - wireless HD up to 1080i - $299
    http://www.slingmedia.com/go/slingcatcher
    sony and a few other manufactures also offer these...

  • How can I control video presentations on opening the browser.

    The way I work is to allow all tabs to stay open until I have read them or until I have just too many to manage!!! This means when I reopen the browser I may have 5 or 6 videos which open and begin to chatter. I need to be able to close all videos with one action otherwise I have to go through all tabs until I find the chattering culprits! Sometimes I can't even find all of them and I have an "unknown" chatterer which I can't get rid of. Please tell me if it is possible to control all with one action - without losing the tabs and how to do this. If it is not yet possible may I suggest a modification in the very near future which allows e to do this because it is wasting a lot of time for me when I should be working.
    Reply please to [email protected] ...soonest.

    You don't.
    There is no infrared receiver on the iPhone.

  • HT4689 In the video: mission control in action,we see many open windows which I don't have. How do they get there?,

    In the video: mission control in action in Mac 101,we see many open windows which I don't have. How do they get there?

    On modern MBairs, the F3 key will take you to Mission control.  Once there, hold the Option key down and you'll see  a tab with the "+" sign on it.  Pressing this will add another desktop.  You can assign apps to desktops or just drag them there.   Switching between desktops is done by swiping either 3 or 4 fingers across the trackpad. (depend on the option chosen in System Preferences > Trackpad).

  • How to add video's control bar?

    Today, I've searched 24 pages here for related discussion but no solution was found.
    These pictures I listed here were created by other people.
    I want to know how to add a control bar below the video? Is it to use the Insert->Video button of Adobe Presenter (0002.jpg), or use the Insert->video button of PowerPoint (0003.jpg)? When I insert a video (in .flv format), it shows like a white box in the original PPT (see 0004.jpg), looks different from the existing 0001.jpg.
    And after I published this PPT (with the white box-like video) locally, when this video slide loads, that video plays immediately, but I want pause/stop function.
    I also noticed if I try to import a video in .m4v (MP4 Video), PowerPoint says QuickTime is required.
    I used to insert video in year 2010, but I forget the details. Maybe at that time I inserted a video with pause/stop function, but I forget.
    Or, is it because a specific video format would naturally show the control button?
    0001.jpg
    0002.jpg
    0003.jpg
    0004.jpg

    Feng Sien wrote:
    What do you mean,
    "insert a SWF player that contains the video."?
    Think of Presenter as your SWF player. It has a play bar that shows at the bottom of the content (or bottom right in full screen). So you would be embedding a different player via the Insert Flash option in Presenter (could be a Captivate SWF if that helps with an example) which could then be told to play independantly of the Presenter SWF.
    Feng Sien wrote:
    After publication, the video file inside the assets folder has .flv files, which are converted by presenter during the publication process.
    Presenter would do the conversion when importing the videos, not on publication, but that is more semantic than anything. I seems like Presenter 10 is doing this for all files, including MP4's. Presenter 9 and 8 only did the FLV conversion for the supported non FLV or MP4 files.

  • Controlling animation with the movement of a mouse

    I know there are ways to control videos and swfs with the actions of a mouse in Flash Catalyst. But how can you set it so that the swf animation will go back and replay from the beginning once the mouse moves anywhere on the trigger? My animation plays once on rollover (which still does not suffice) but then stays on the last frame when I try to trigger it once more. Any Ideas?

    I'm actually curious about an answer to this question as well. I have rollover slidelets that will expand a tab when activated, but once the rollover has been completed, and a users mouse leaves the rollover area, it does not return to the original state, but instead the tab remains expanded. Is there any way to return an object to its original state once the mouse leaves the rollover area?

  • Captivate 7 event video playback controls not working

    Hi,
    I'm using Captivate 7 and published an mp4 event video with limited playback controls (only play, pause, back, and close) on the slide, since the event video controls won't show up once published. When I publish the HTML5 video (with or without seamless tabbing) the controls are not working. When I click play the video plays and I can pause it, but when I want to continue play, the controls are not working.
    I tried only to use the skins (clear, corona, and halo) given with the event video, but then I can't pause the video at all, since the controls are not showing.
    We need the video to play in HTML5 mode for iPads and computers, but we're at a loss with the controls. The video has got to be limited to only play, pause, back, and close - no scrubbing or forwarding. Any ideas?
    Thanks,
    Nat

    I know you will hate Captivate for this. But if you are publishing to HTML5, the skins you select here won't make any difference as HTML5 output comes with its own mysterious skin which is not visible until you publish and check.
    Here is how that skin looks when viewed in Google Chrome browser on my laptop running on Windows 7.
    Here is the skin I have used for that in the Captivate editor.
    The best way to test these outputs is from a webserver or SCORM Cloud.
    Sreekanth

  • MP4 video poster controls no longer functioning.

    MP4 video poster controls no longer functioning. Video loops back to the beginning even though the settings are to stop at the last frame. Also video is pausing on tap yet i have the 'Do Not Allow Pause' checked.
    Double checked the publish setting and it's set to v23, which when these features were released.
    Previous folios (published before v25) are working fine but new one using v25 tools is not working.

    Stop at Last Frame works fine for me using the v25 tools.
    Open your folio properties and make sure that v25 is selected. Then update the article containing the video. (In some cases, you can have a folio in one version with articles in a previous version if they haven't been updated.)
    Let us know how that goes.

Maybe you are looking for

  • Problem with wifi of iphone 4 with ios 7 - 7.1

    the problem is not I cant connect to the internet through wifi or its not i cant connect to wifi, the problem is i cant watch videos on youtube through wifi and i dont know why. i upgraded my iphone 4 from ios 7 to 7.1 but the problem still occurs. i

  • Vista and iTunes not recognizing iPod

    Hi, I just got a new laptop, with Windows Vista. When I plug my ipod in, the computer doesn't recognize that it's there. The ipod shows the charging symbol, but it doesn't show up in my computer or in itunes. Any ideas?

  • Had to wipe my mac, can I save my iPhone  data?

    I had to get a new Hard drive fitted which is obviously blank. I can get my music back into iTunes via my back up but can I restore my mac's address book and iCal from my iPhone?

  • Backup doesn't occur if computer sleeping

    I have a backup set to go start every night at 9pm.  In Task Scheduler Conditions it is set to Wake the Computer to run this task.  But it's not waking.  It waits until I wakeup  the computer in the morning.  When looking at the task's History in Tas

  • Service order as followup document for service order

    HI gurus, Can a service order be created as a followup for service ticket. The call agent creates a service ticket for a channel partner. The channel partner should open the service ticket and create a followup document service order for the service