Control two FLVPlayback by one seekBar or another controller

Hii
i have two FLVPlayback on stage i need to control the both videos by one controller when back or skip some second the both videos moved to the same second , i have created seekBar "seekbar_mc" at stage and typ the code
myflv1.seekBar =myflv2.seekBar =seekbar_mc;
it give me 2 slider on seekBar but i need one only can controlling the 2 FLVPlayback
any one can help me please ?!

1. add an EnterFrame eventlistener to the stage that checks if any seekbar is being scrubbed
http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/fl/video/FLVPlayback.ht ml#scrubbing
2.If yes:use
http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/fl/video/FLVPlayback.ht ml#playheadTime
to get the value the user scrubbed to
3.use at last: the seek function on the other flvComponent:
http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/fl/video/FLVPlayback.ht ml#seek%28%29
to synchronize both videos
when synchronized the seekbars should be in synch to
you should be able to translate that to the case were you have a third, central seekbar on stage:
Caveat: its highly unlikely that this double streaming will work efficiently in a web based environment.
If you want to have it functioning reliably you should abandon the flvplayback component (which is only good when it comes to streaming)
and preloading both your videos in total, before you allow the user to scrub.

Similar Messages

  • Control two functions on one button click

    Hello,
    first off, I am relatively new to actionscript 3.0. I was
    wondering if anyone knows how I can control two events on one (the
    same) button click. On click, the first function must jump the user
    to a particular frame label and at the same time trigger a second
    function which is a movie clip on that particular frame. I must
    note that the event listener is attached to an actual Button and
    not a movie clip.
    Any help would be greatly appreciated.

    Thanks for the quick response. I tried out your solution but
    I get the following error...
    TypeError: Error #1009: Cannot access a property or method of
    a null object reference.
    at index_fla::MainTimeline/rev()
    at index_fla::MainTimeline/resources()
    I also tried to create another event listener on Mouse_UP
    ex:
    topNav1_btn.addEventListener(MouseEvent.CLICK, resources);
    topNav1_btn.addEventListener(MouseEvent.MOUSE_UP, rev);
    but I get another strange error...
    ## [Tweener] Error: [object MovieClip] raised an error while
    executing the 'onComplete'handler.
    TypeError: Error #1009: Cannot access a property or method of
    a null object reference.
    at MethodInfo-218()
    at Function/
    http://adobe.com/AS3/2006/builtin::apply()
    at caurina.transitions::Tweener$/updateTweenByIndex()
    at caurina.transitions::Tweener$/updateTweens()
    at caurina.transitions::Tweener$/onEnterFrame()
    ## [Tweener] Error: [object MovieClip] raised an error while
    executing the 'onComplete'handler.
    TypeError: Error #1009: Cannot access a property or method of
    a null object reference.
    at MethodInfo-241()
    at Function/
    http://adobe.com/AS3/2006/builtin::apply()
    at caurina.transitions::Tweener$/updateTweenByIndex()
    at caurina.transitions::Tweener$/updateTweens()
    at caurina.transitions::Tweener$/onEnterFrame()
    any other thoughts? Thanks in advance.

  • How do I use the time capsule to share itunes music between multiple apple devices? Also, is it possible to control the music on one device using another, and how do you set this up?

    How do I use the time capsule to share itunes music between multiple apple devices? Also, is it possible to control the music on one device using another, and how do you set this up?

    unless i'm missing something, i think you got mixed up, this is easy google for walk throughs
    i'm assuming this is the new 3tb tc AC or 'tower' shape, if so, its wifi will run circles around your at&t device
    unplug the at&t box for a minute and plug it back in
    factory reset your tc - unplug it, hold down reset and keep holding while you plug it back in - only release reset when amber light flashes in 10-20s
    connect the tc to your at&t box via eth in the wan port, wait 1 minute, open airport utility look in 'other wifi devices' to setup the tc
    create a new wifi network (give it a different name than your at&t one) and put the tc in bridge mode (it may do this automatically for you, but you should double check) under the 'network' tab
    login to your at&t router and disable wifi on it
    add new clients to the new wifi network, and point your Macs to the time machine for backups

  • Can I control two Macs with one keyboard & mouse simultaneously?

    I'm presently the operator and head audio tech for a major Off-Broadway show. I'm running the show on Ableton Live 6 through a Mac Mini, using a MOTU 828mkIII as the Firewire audio interface to the console. "Show control" is basically straight music playback, plus arming and disarming loops, triggering sound FX cues, and stopping and starting playback. The show has been exceedingly stable, no real reason to worry - but the fact that I don't have a redundant backup system concerns me. Theoretically, I can use our Denon CD players to run the show off of discs I've burned, but it's only viable for me because I know the show; a sub running the show would be up the creek - and if we hit a snag and run out of loops, forget it. Furthermore, those of you who've worked with Live know that in a performance based/show control situation, you can remain in an audio loop indefinitely, without any worry of a CD running out of prerecorded loops. (This is a specific reason why we're using Ableton for this show - the music can keep "vamping" until automation and rigging give me the clear to proceed.)
    Considering that I'll be taking some time off this summer, I don't want this to be a concern for my sub(s), so I've charged myself with the task of building a redundant backup. Problem is, I'm not sure how to do it.
    What I've been looking at is a dual Ableton Live/Mac Mini/Firewire interface system. Basically, to duplicate what's running the show presently, and have it running in tandem while the main playback system goes to the house - but for both to be controlled by only one mouse, keyboard and screen, so there's no delay in the event of a crash. If one fails, I send the audio from the backup into the theatre. There would be no disruption of playback, except for the operator`s response time in switching to the backup`s audio output.
    Software like Synergy and Teleport let me share a single keyboard, mouse, and screen over two or more computers - +but only control one computer at a time+. And I've looked for KVM switches and USB "splitters" but they also seem to be toggle devices between one or another computer - which leads me to think I may have to network the two...
    Any ideas are appreciated, even the obvious ones, as I may have overlooked some or assumed some to be out of the question.
    That`s basically it - *simultaneous realtime* control of two computers from one keyboard and mouse. Both Minis performing the same task at the same time.
    Is there software/hardware that can do it, or can I network the backup as a "slave" that mimics the master?
    Thanks.

    Perhaps you could setup a parallel processing network:
    http://daugerresearch.com/pooch/
    The website was last updated 5 days ago according to Google. Hopefully their server will be back up soon. I noticed it wasn't connecting when I tried.

  • Fading between two pages & controlling one MC from another.

    Let me see if I can explain this properly. I usually use a motion tween and the alpha channel to fade movie clips in or out. What I am currently trying to do is fade one page out and another in, but it could be one of several MCs. I basically have four "pages" for a website including services, portfolio, about, and contact. I have icons on my navigation bar (which is going to be imported into my XHTML seperately so it can float them according to the users window size). The icons need to navigate between the pages and the pages need to fade in and out (eg. fade in the Services MC when the user clicks on the services icon, and fade out of it and into the Portfolio MC when the user clicks on the portfolio icon). Please keep in mind that the icons and pages are in completely different .fla/.swf files because I couldn't figure out how to float them in Flash after several hours of looking around online, but know I can easily do it using div tags + CSS in XHTML.
    If someone could quickly explain how to "gotoandplay" a label in a different .swf file (communicate between the .swf NavBar and my main .swf) as well as fade out of the current MC (whichever page the user is currently on) before fading into new page (according to the icon the user clicks on), I'm sure I could 'fill in the blanks' from the rest of the AS3 and Flash I already know. The page also needs to fade out of whatever page it's currently on when the user clicks on the hide button (located on the page in the main .swf file). There is also several subpages on each page (which shouldn't be a big deal if I can figure the rest of this out).
    I'm going to be using this same concept for nearly all of the websites I design & develop in the future and really need to know how to do this for the current site I'm working on. I would greatly appreciate any suggestions on how to accomplish these two things.
    P.S. Please keep in mind I'm not an advanced user in AS3, but am very computer savy, and have done my share of programming in the past. I looked around for hours online to try and complete this without using the forum, but have come up with links to dead tutorials and short answers left and right. I'm hoping I won't come across the same here.
    From what I've read so far I believe I can use tweening in ActionScript instead of a motion tween on the timeline to fade in and out of clips and believe that's the method to use to accomplish what I'm trying to do. Correct me if I'm wrong though.

    I'm not looking for a "tutorial created especially for me".... Just perhaps someone that can copy and paste some code from a similar project that they have done so I understand how to do it.
    You could have simply put here's a tutorial for how to use TweenLite to crossfade between four pages, and here's one that will let you pass information between two .swf files. If you recently watched the tutorials then it wouldn't take long to find them (maybe you have them bookmarked) and post a couple links.
    Anyways, I just found an excellent tutorial on how to crossfade using TweenLite (found here) and an article that explains how to pass information from one .swf to another (here). It took some searching and knowing exactly what I was looking for to find them, but that's a much better answer for someone looking to do those two things than I've found here (or elsewhere for that matter).

  • How do i play two sound file one after another

    Hi All,
    How do i play two sound file one after another using single AudioClip Component?.
    Advance in thanks
    Manivel

    AudioClip gives you very little control over what happens to the sound, it also isn't capable of playing long clips or waiting until a clip ends. It will play multiple clips over top of each other.
    To do what you want you should use the facilities of javax.sound. Here's a post with an example: http://forum.java.sun.com/thread.jspa?forumID=513&threadID=450768
    There is also a tutorial, but its example fails for long clips.

  • HT201368 what if I have two different librarys located in different areas , one on OS another on External. How Do I Join Them Two One Massive libary, As Well As Add More Collections To It, Where Can I Also Setup For Industry M-Audio Axiom 61 3rd Gen Contr

    what if I have two different librarys located in different areas , one on OS another on External. How Do I Join Them Two One Massive libary, As Well As Add More Collections To It, Where Can I retain These Extra Librarys?  Also Setup For Industry M-Audio Axiom 61 3rd Gen Controler...?

    >
    <IfModule mod_weblogic.c>
    WebLogicCluster 127.0.0.1:7005,127.0.0.1:7007,127.0.0.1:7003,127.0.0.1:7103,127.0.0.1:7104
    MatchExpression /app1
    </IfModule>
    <Location /weblogic>
    SetHandler weblogic-handler
    WebLogicCluster 127.0.0.1:7003,127.0.0.1:7005,127.0.0.1:7007,127.0.0.1:7103,127.0.0.1:7104
    DebugConfigInfo ON
    PathTrim /weblogic
    </Location>
    <IfModule mod_weblogic.c>
    WebLogicCluster 127.0.0.1:7003,127.0.0.1:7005,127.0.0.1:7007
    MatchExpression /app2
    </IfModule>
    <Location /weblogic>
    SetHandler weblogic-handler
    WebLogicCluster 127.0.0.1:7003,127.0.0.1:7005,127.0.0.1:7007
    DebugConfigInfo ON
    PathTrim /weblogic
    </Location>
    >
    This configuration is weird little bit. There is MatchExpression /app1 and MatchExpression /app2 and at the same time two <Location /weblogic> sections. Are you sure you understand what that configuration stands for?
    Try something like this ...
    <Location /app1>
    SetHandler weblogic-handler
    WebLogicCluster 127.0.0.1:7003,127.0.0.1:7005,127.0.0.1:7007,127.0.0.1:7103,127.0.0.1:7104
    DebugConfigInfo ON
    </Location>
    <Location /app2>
    SetHandler weblogic-handler
    WebLogicCluster 127.0.0.1:7003,127.0.0.1:7005,127.0.0.1:7007
    DebugConfigInfo ON
    </Location>
    where /app1 and /app2 are contexts of your weblogic applications.
    http://download.oracle.com/docs/cd/E11035_01/wls100/plugins/apache.html
    http://httpd.apache.org/docs/2.0/mod/core.html#location

  • WAD Help:  Need for one dropdown to control two characteristic InfoObjects

    All,
    I have a dashboard built in WAD that contains several charts.  There are several data providers and I have created a few simple dropdowns to apply filters.  Here lies my problem: 
    For one specific characteristic, "business unit", in one data provider the InfoObject is "0material_zgbu"(nav attribute of 0material).  In another data provider, the InfoObject is "0prft_ctr_zgbu" (nav attribute of 0prft_ctr).
    What is the best way to make the dropdown selection apply a filter to both characteristics?  Can I force a dropdown to control two characteristics?
    Should I create a hidden dropdown to control the 2nd and somehow pass the selected value to it using code?
    Any help or advice will be greatly appreciated.
    Thanks
    Rodney
    (fyi.... I am using version 2004s)

    If you feel both Drop Down Boxes will have Same values... then you can display only one Drop Down Box. Once you select any Value, you can trigger a command which will display values for both Data Providers.
    Let me know if you need any further explanation.
    Note: this will work only if both Drop Down Boxes has same Charecterstics Values.
    Nagesh Ganisetti.
    Assign points if it helps.

  • How can I use one motion controller to control two robotic independently?

    the help document says :
    Note  Configuring and clearing buffers is a processor-intensive operation on the motion controller that requires the allocation and deallocation of memory. You should configure and clear buffers only when motors are not moving and onboard programs are not running. For example, if you wish to execute three simultaneous contouring operations on axis 1, axis 2, and vector space 1 (with axes 3 and 4), you should first configure all three buffers before starting any of the operations. You can start the contour operations independently, and at different times, but should wait until all operations are complete before clearing any of the buffers.
    and i tried to conduct two contouring operation on two vector space. and tried to clear or configuring buffer for one vector when another one is still moving. so that i can start or end the movement at any time i want,and  it is ok.no error. but when i tried add a buffer  breakpoint output along with each vector movement. the bp doesn't work if the other vector is running . is there anyway to solve this problem.

    I think you've misunderstood what the dns attribute is for. The dns attribute returns the hostname of the client accessing your website, not the hostname of the website that linked to your website.
    For example, when someone using the Comcast ISP goes to a malicious website at example.com that loads images from your website at www.amigoo.net, the dns attribute will be something like "c-1-2-3-4.ca.comcast.net", not "example.com". ACLs are used for authentication and authorization of clients (not the websites those clients chose to visit), and they don't provide the functionality you're looking for.
    If I understand correctly, you want to prevent websites other than amigoo.net from linking to files in your d:/webserver/imat/pics_upload directory. You can achieve this adding the following lines to your obj.conf configuration file:
    <Object ppath="d:/webserver/imat/pics_upload/*">
    <Client referer="*~*amigoo.net">
    PathCheck fn="deny-existence"
    </Client>
    </Object>

  • How can I interact between two different frames in the same indesign template as well as from one template to another.

    I am looking for the best way (or any way) to interact between two different frames in the same indesign template as well as from one template to another. It's for a DPS app which needs to carry some button initiated data from one page to another and then present it in a table.

    There is no simple way to do it, as itunes wont let you use it on another computer without wiping the contents first.
    However if you really want to transfer songs to another computer then you could try this;
    * make sure that your ipod is accessible as a disk drive (ipod options)
    * when you plug your ipod into the computer you want to transfer to make sure you select "no" or "cancel" when it asks to wipe the contents. Leave the ipod connected and quit from itunes.
    * go to "my computer" and access the ipod directly. You probably have to select "view hidden files" from windows. You will see a lot of folders with odd names like ZX838aff with similar named files inside.
    * copy these files to a folder on your computers hardrive. Now remove the ipod and start itunes.
    * import the files from the folder you made in the last step.
    * Now your music is on itunes, but with unrecogisable names.
    This is the only way I have found to do it, but there may be another way, say with an application to do the hard work for you.
    Generic homebuild PC Windows XP
    Generic homebuild PC   Windows XP  

  • How do I go directly from one frame to another particular frame which is far away in the time line? (e.g the two frames are separated by 100 frames)

    How do I go directly from one frame to another particular frame which is far away in the time line? (e.g the two frames are separated by 100 frames). I mean, is it possible to take the playhead from one frame to another frame directly which is 100 frames away in the time line? Thanks for any reply.

    In the Timeline, go to the first frame and press M to put a marker on it. Go to the other frame you want to jump to and put a marker on that one too.
    Now press Ctrl+Semicolon to go to the previous marker - or Ctrl+Comma to go to the next marker.
    Andy

  • I created one iTunes account on one pc and another iTunes account on my current pc. How do I merge the two accounts?

    I created one iTunes account on one pc and another iTunes account on my current pc. How do I merge the two accounts?

    Csound1 wrote:
    iMatch works by matching or uploading the music in your iTunes account, it doesn't matter where the music came from as long as it now in your account, but if you purchased it with a different account you will need to be logged in
    No.
    As long as you computer is authorized for that iTunes account, the songs will work with iTunes Match. The user does not need to be logged in on that computer.
    Husband's computer and husband's iTunes account signed in.
    Songs from wife's iTunes account on computer and computer authorized for wife's account. Songs from both will work with iTunes Match.

  • I have two iTunes accounts, one for music and another for audiobooks.  I want to merge them and maintain only one iTunes account.  How do I do it?

    I have two iTunes accounts, one for music and another for audiobooks.  I want to merge them and maintain only one iTunes account.  How do I do it?

    You cannot.

  • Use one fpga vi to control two targets

    Hi,
    I have two fpga because I need more than 8 analogue output and analogue input.  I wonder if I can use one fpga vi to control two targets (the two FPGA boards I use are PCI-7833R) so that the outputs can be synchronized.  I think if it's possible it'll be easier to implement the synchronization between while loops,etc.  If it's not possible, how can I interface between between fpga.vi and make the synchronization possible and make two vi's talk to each other?  Thank you very much for your help!
    Thanks,
    Charles

    I have successfully ran the same code on two (2) different FPGA boards. The difference being that the host will use different Aliases to control the FPGA boards,
    Both FPGA Boards MUST be the same type ( I used PXI-7811s). 
    My program consisted of 6 individual communication portals and there was NO synchronization between boards
    Visualize the Solution
    CLA
    LabVIEW, LabVIEW FPGA

  • How do I move control of my ATV from one Mac to another in the same house?

    I have two iMacs in the office. I have ATV2 on my flat screen TV. I want to move control of ATV from one iMac running Snow Leopard to to the other running Lion, because of more and better content. Not sure how to accomplish this. Thanks for any help you can lend.

    Ok I understand that but my ATV only appears in the left control column of one iMac and not the other. Not the one I want to control it with.

Maybe you are looking for

  • STRUTS - Cannot retrieve definition for form bean null -aaaarrrrgh

    Hi Folks, my head hurts and i become crazy... i know that a lot of people asked this question before, but i did not found any suitable solution. I have simple a jsp page, containing a form which should be handled by struts. I tried everything, but i

  • Purchase not shown

    I've just noticed Motion which I bought, and downloaded from the App store no longer shows under my purchases. Others, are there. But not Motion. Whats up, and how do I get i back to show should I need to down load it again another day?!?!?!?

  • Techniques needed for Automated (OLE) PDF Creation from Word using Adobe 9

    My client currently uses Adobe 5, PDF Writer, Word and OLE automation to generate PDF files.  This is done on a server. A queue of Word documents are read. A watermark is added via a VB Macro. Then, also via a macro (below) a pdf file version of the

  • I cant view video on youtube and i cat download song from free mp3

    I cant view video on youtube and also i cant download song from free mp3 and i cant send pics on whats app. My internet is working but i can download application easily

  • Oracle VM Storage live Migration

    Good Morning, i am very new to Oracle VM. But i used to work a lot with other virtualization "Engines". Now i have got set a a new OVM Cluster. with 2 OVM Server (2.2). With SAN . So i got 2 SAN LUNS clustered over the 2 OVM Servers. I used to have S