Controlling imported flv's

Hi.
I want to have a video imported in flash and controlled
through action script for pause and resume actions and maybe
replay.
I converted a .mov into a .flv and imported the flv in flash.
I did it that way because i need it to be in a certain spot with a
mask and only pauseble by click.
So is there any way to control the flv by click or i have to
load at runtime the whole thing and trigger it through action
script?

I have followed Dean's instructions but the Flash progress
slider and volume
slider's that are in Flash don't really work. You can click
on them and
drag them about a pixel but it seems as though Director is
grabbing the
mouse event before you can finish dragging the slider. The
play/pause
button in Flash works fine, I'm guessing because a single
mouseDown/mouseUp
gets through.
"womp" <[email protected]> wrote in message
news:g2u2gu$btj$[email protected]..
>I have a project where I'll be given FLV files. Which is
the best way to
>implement them.
>
> 1) add them to SWF files and use Lingo to control the
video?
>
> 2) create a self contained Flash file with all video
controls and use it
> as a sprite in Director?
>
> 3) use the FLV's by themselves, imported into Director
with Lingo
> controlling them?
>
> Thanks for any help
>
> Craig
>
>

Similar Messages

  • Control 2 flv movies with one button

    Hello,
    I am not even sure this can be done, but I am trying to
    control 2 flv's with one set of controls. The reason; We have
    footage of a talking head as one flv and footage of a microscope.
    Basically, the guy talks and moves the microscope around. These 2
    flv's have to be synched b/c the guy is talking and showing how
    things look under a microscope (the original footage was shot at
    the same time using 2 different methods - I imported both in
    Flash). So, my quandry is that I need one set of controls for both
    these flv's b/c if you pause the talking head, you also have to
    pause the scope. I tried to make both flv's a movie clip and
    control them that way, but got no where with that. I also tried to
    build my own skin with a Play and Pause Button for now, but only
    got as far as the code below. Basically, I can control one flv
    component, but not both at the same time. Any ideas would help - I
    am not sure if this is an AS issue, or a complete design issue, or
    if it can even be done at all - thanks much in advance...
    Jason

    I have discovered that what I wanted to do above is not possible in Livecycle. The only thing that works in the Livecycle script editor is the xfa.host.print from what I found.
    I was able to add a print button to a form that I scanned in that enabled me to print at 2 different printers at the same time. What I did was to first set up a mouse up action to execute a menu item (file>print) and then I added a second mouse up action to run the JavaScript below
    var pp = this.getPrintParams();
    pp.interactive = pp.constants.interactionLevel.automatic;
    pp.printerName = "\\\\DPDSVR\\Xerox WorkCentre 7435 PCL6";
    this.print(pp);
    This resulted in me being able to print to my default printer (HP) and the Xerox with just one click of the button.

  • How to load and display the external flv video files in dynamicly and the how to control the flv fil

    How to load and display the external flv video files in dynamicly using AS 3.0
    and  How to control the flv file  add the play paus button and add seekbar.
    I have using to load the flv file following code
    var flvPlaceHolder1:MovieClip = new MovieClip();
    var vid1:Video = new Video(734, 408);
    flvPlaceHolder1.addChild(vid1);
    addChild(flvPlaceHolder1);
    flvPlaceHolder1.x = 1059;
    flvPlaceHolder1.y = 152;
    var nc1:NetConnection = new NetConnection();
    nc1.connect(null);
    var ns1:NetStream = new NetStream(nc1);
    vid1.attachNetStream(ns1);
    var listener1:Object = new Object();
    listener1.onMetaData = function(evt:Object):void {};
    ns1.client = listener1;
    ns1.play("GV-1600 TURNING.flv");
    ns1.addEventListener(NetStatusEvent.NET_STATUS, statusChanged1);
    function statusChanged1(ns1:NetStatusEvent):void
             trace(ns1.info.code);
            if (ns1.info.code == 'NetStream.Buffer.Empty')
                 trace('the video has ended');
                 removeChild(flvPlaceHolder1);
                 //trace('removeChild');
                gotoAndPlay(1786);
    then how to add the play,paus ,full screen button    and   seekbar,volumebar.

    I have to Create the flash presentation for our company product
    In this presentation the left  side the text animation are displayed then right side the our product video is displayed.
    In this presentation i need the following option :
    1, The first product video and animation is finished then the next product is played
    2, then the video displayed  (size width and height 400x300) , I click this video to increase the size(ex:1000x700)
    3, then the playing video i control  it play, stop, paus button and volume bar, seek bar.
    4, then this presentation is displayed on 42 inches LCD TV so this full presentation is run full screen.
    I have finished first two steps 1 and 2
    the following are the screen short and code:-
    code :-
    var count=0;
    var flvPlaceHolder2:MovieClip = new MovieClip();   
    var vid2:Video = new Video(734, 408);
    flvPlaceHolder2.addChild(vid2);
    addChild(flvPlaceHolder2);
    flvPlaceHolder2.x = 1059;
    flvPlaceHolder2.y = 152;
    var nc2:NetConnection = new NetConnection();
    nc2.connect(null);
    var ns2:NetStream = new NetStream(nc2);
    vid2.attachNetStream(ns2);
    var listener2:Object = new Object();
    listener2.onMetaData = function(evt:Object):void {};
    ns2.client = listener2;
    ns2.play("GS-4000.flv");
    this.addEventListener(Event.ENTER_FRAME, BtnFadeIn2);
    function BtnFadeIn2(event:Event):void
        if (this.currentFrame == 387)
            /*flvPlaceHolder2.x = 30;
            flvPlaceHolder2.y = 140;
            vid2.width=1800;
            vid2.height=800;
            trace('Screen size is changed');*/
            if(count==0)
            flvPlaceHolder2.x = 30;
            flvPlaceHolder2.y = 140;
            vid2.width=1800;
            vid2.height=800;
            count++;
    ns2.addEventListener(NetStatusEvent.NET_STATUS, statusChanged2);
    function statusChanged2(ns2:NetStatusEvent):void
        trace(ns2.info.code);
        if (ns2.info.code == 'NetStream.Buffer.Empty')
                trace('the video has ended');
                 removeChild(flvPlaceHolder2);
                 //trace('removeChild');
                gotoAndPlay(433);
    flvPlaceHolder2.buttonMode=true;
    flvPlaceHolder2.addEventListener(MouseEvent.CLICK,home2);
    function home2(e:MouseEvent):void
        if(vid2.width==734 && vid2.height==408)
            flvPlaceHolder2.x = 30;
            flvPlaceHolder2.y = 140;
            vid2.width=1800;
            vid2.height=800;
        else
            flvPlaceHolder2.x = 1059;
            flvPlaceHolder2.y = 152;
            vid2.width=734;
            vid2.height=408;

  • Controlling an FLV with a DW behavior

    Is there piece of Javascript, or better yet, an extension out
    there that I can use to control an FLV in a DW page?
    I am developing e-learning pages using Dreamweaver, where
    video #1 plays and the learner has to answer a question about it.
    When they click a "Check My Answer" button, I want video #1 to stop
    so I can play video #2.
    The "Control Flash" behavior doesn't work on FLVs.
    Thanks,
    Mary

    On Fri, 14 Jul 2006 20:41:43 +0000 (UTC), "maryhowe"
    <[email protected]> wrote:
    > I am developing e-learning pages using Dreamweaver,
    where video #1 plays and
    >the learner has to answer a question about it. When they
    click a "Check My
    >Answer" button, I want video #1 to stop so I can play
    video #2.
    >
    > The "Control Flash" behavior doesn't work on FLVs.
    The Control Flash, or any other JavaScript solution, is
    unreliable at
    best. Your best bet would be to put the button in the Flash
    movie, and
    have it load the second movie.
    Gary

  • 2 out of 6 imported flv files pausing on frame 1 when published

    Hi,
    I have six Scenes, each scene has an imported FLV file.
    I have a 6 button menu that works fine when clicking from one scene to the other.
    The problem is is that videos 1 to 4 play fine when I switch to the scene, but FLV files 5 and 6 just stay paused at frame 1.
    If I test the Scene using Ctrl+ALT+Enter, the Scenes work fine.
    But Only if I either hit Ctrl+Enter to render the whole project, or if I publish the file, do the FLV files pause on frame 1.
    All 6 videos are coded exactly the same way.
    Any suggestions please?

    I'm wondering now if it some sort of memory thing or SWF limitation thing
    The Scenes are Lessons 1 to 6
    If I publish the SWF, then Lessons 1 - 4 play fine, 5 and 6 just sit at their frame 1 as if paused.
    If I move the scenes around to say: Lessons, 5, 6, 1, 2, 3, 4
    then 5, 6, 1 and2 play but now 3 and 4 are paused.
    so it seems it affects the last 2 of the six scenes.
    any one got any idea on why this might be happening?

  • Conclusion number for Control import book

    Hello experts,
    I have question regarding one data that is mandatory for Croatian foreign currency payment. That is the conclusion number for Control import book.
    My question is:  Is there any field in Purchase order that can be transferred to logistic invoice, and then to FI invoice so it can be seen in payment and we can fill that conclusion number in that field.
    Regards, Marina

    hi
    check with any order text field.

  • RAR 5.3 SP10 Mitigating Control Import Utility

    All -
    I exported my mitigating controls from a RAR 5.3 SP9 system and imported them into a 5.3 SP10 system. I received a successful confirmation of the import, but when I "searched" my mitigating controls there were duplicated mitigating control numbers. It looks like the import tool duplicated the mitigating control ID for every "monitor" assigned to the mitigating control number. For example, mitigating control MC00000001 with Monitor1, Monitor2, & Monitor3 equated to 3 entries of MC00000001. If I try to delete 2 of the 3 entries, I receive a "Successfully deleted" message and get the error "Exception!!. No relavent language message available in database for :0053". When I "search" again, the mtigating control is no longer there (as expected).
    I confirmed my mitigating control import file does not have the multiple entries.
    Any ideas?
    Thanks,
    Daniel

    Venky,
    Thank you for your response. The message issue actually wasn't the one that I was asking about, but thanks for the heads up. The main issue is that RAR (5.3 SP10) is multiplying mitigating control entries for the number of monitors assigned to the mitigating control. It appears to be an issue with SP10 as it did not occur in SP9. I'm trying to see if anyone knows what the fix is.
    Thanks,
    Daniel

  • Import flv - why the video get repeated on live?

    Captivate 5.5
    am using import flv option to insert flvs, flv size vary from 11 MB to 20 MB. the delivery method is progressive download.
    i have uploaded SWF and Flvs on Amazon, slide content is playing well but am facing A/V repeating problem in flvs, unfortunately its happening on strong bandwidth also - 2mbps, at any random time it occurs.
    my client facing same problem and am really not able to locate it.
    PLEASE HELP.... its urgent...

    Hi
    In Project window. Click on a video-clip and down left in this You see a coggwheel looking symbol.
    Click on this and bottom of the unfolding menu select - Adjust Crop Ken-Burns
    Now in viewer window click on top left most option (adjust) so that the full picture is shown.
    Yours Bengt W

  • Imported FLV Publish Compression Settings?

    I have a 5.2 meg FLV video a client has sent me. They want a
    getURL script at the end of the clip so the Web browser goes to a
    Web page after the clip is finished playing. To do this, I imported
    the FLV into a Flash FLA document as "Embed video in SWF and play
    in timeline".
    When I export this, the SWF is 5.2 megs, like the imported
    FLV. The JPEG Publish Settings don't affect that.
    Is there a way to compress imported FLV files?
    Thanks!

    The FLV file is already compressed but need not be placed in
    the FLV file
    creating the large file size. Rather, play the FLV as an
    external source.
    Done this way, the compiled SWF file can be kept quite small.
    See the FLVPlayback component in the ActionScript 2.0
    components of the Help
    files.

  • Does the FPS in the .fla document effect the FPS in an imported .flv?

    I think this may be related to another post I have, but I'm
    not sure?
    http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?catid=194&threadid=1265662&CF ID=45109516&CFTOKEN=f5a4ce0585fae4f3-66834EE8-E724-5FA7-C13B0CE0CCCB7A67&jsessionid=48305c 133dfd755d2f3b
    Does the FPS in the .fla document effect the FPS in an
    imported .flv? I notice the default FPS in a .fla is 12, but i
    think most of my imported .flv are about 30 fps, will this effect
    anything or does the flv overwrite the fla?
    Thanks!

    The FLV will play slow or fast if the rate is not the same as
    the fla file. If you import the file but select the progressive
    streaming method, the frames rates are separate for the flv and fla
    and don't effect each other. That is the method you want to choose
    most of the time, and it doesn't require a special server.

  • Premiere Pro CC wont open or import .flv files

    I just upgraded from windows 7 to 8.1.   Clean install.  Downloaded Premiere Pro CC, AE CC and a few others.   I cannot import or use .flv files in premiere pro.  It says file type is not supported.  Even if I export from AE as a flv premiere pro wont open it.  All my past projects with flv files show that media as off line.   Please help.   FLV always worked before. 

    Support for importing Flash content was removed in the latest patch. Please see this page: http://helpx.adobe.com/premiere-pro/kb/premiere-pro-cannot-import-flv.html
    If you search for "FLV 7.1," you'll find several threads on this topic. For example: http://forums.adobe.com/message/5818286#5818286

  • Import FLV Files--Perian

    I keep receiving errors when I try to import flv files into iTunes. Is there any possible way to actually import these.
    If no...I am curious as to how I imported one...just one!?!?! I downloaded using TubeTV. I don't know if this makes a difference, but when I downloaded a few from Safari, they would not import.
    Shniba

    I'm not sure, but it sounds like you're on an interesting path to discovery
    Some web browsers do different things with the same download operations behind the scenes. For example, downloading .bin images (from microsoft.com/mac, for example) with OmniWeb results in .bin images being saved to the default download folder, while using Safari results in .dmg files directly useable by OS X. Perhaps the TubeTV application you mention does some similar work to change the format of Flash Video files without doing any actual video recompression.
    My wildest/best guess at this point is that perhaps, since Flash Video is indeed capable of using QuickTime-compatible H.264 video and AAC audio, certain files may be inherently playable by QuickTime and other QuickTime-based applications, regardless of the presense of the .flv file extension. If this were true, it would at least partially explain why certain (but not all) Flash Video files would open with iTunes. Again, this is just wild guess, and I personally just use VLC to play these files.

  • Problem importing FLV

    I updated Adobe Premiere Pro cc to version 7.2.1 and this version does not read flv files you create with the previous version 7.0 cc
    in advance thank you very much for reading this and for the help

    http://helpx.adobe.com/premiere-pro/kb/premiere-pro-cannot-import-flv.html

  • How do I import .flv files to Adobe Premiere 12?

    How do I import .flv files to Adobe Premiere 12?
    thanks,

    XTimeTravelers
    If the details are as stated in your latest post, there are no inconsistencies here between us. Misunderstandings, probably.
    Photoshop Elements 11 and Premiere Elements 11 are standalone programs. Each comes with the same (but its own) Elements Organizer 11 and each with its own Editor section. When a given version (Photoshop Elements 12 and Premiere Elements 12 for example) is on the same computer, that version shares the same Elements Organizer catalog. All that being said....
    All you are saying is that you can import a .flv file into the Elements Organizer 11 that came with Photoshop Elements 11.
    a. Photoshop Elements 11 is a photo editor and will not support video (flv or otherwise). We agree on that.
    b. Elements Organizer 11 that comes with Photoshop Elements 11 does support the import of .flv files there for organizational purposes. And, you should be able to playback the .flv file in the Elements Organizer 11 (you may need VLC player, not sure on that requirement...but it is possible). You can do the same for Elements Organizer 12.
    All we are saying is the you cannot import a .flv file into the Premiere Elements Editor, be it for Premiere Elements Editor 11 or 12. And, you have not said that you have. All you are talking about is your experiences in the Elements Organizer 11 which should be the same for the Elements Organizer 12.
    So, we are in agreement on everything.
    Summary:
    You cannot import a .flv file into the Photoshop Elements Editor (any version) because it is a photo editor. You never claimed you did.
    You cannot import a .flv file into the Premiere Elements Editor (any version) even though it is a video editor. This particular video editor (11 or 12) does not support .flv.
    The Elements Organizer of these programs is another story where it is possible to import the .flv for organizational purposes and even playback.
    Does that make it all come together for you?
    Please review the above and then let me know if I am out of sync on what you wrote and how I have interpreted it.
    Thanks.
    ATR

  • Controlling external flv with ActionScript

    I'm using the NetStream Class to control the playback of an
    external flv. I've got a Pause/Play button using .pause, and Fast
    Forward and Rewind buttons using .seek. What I want to do is once
    the video is done playing to automatically reset back to the
    beginning of the video, allowing the user to press play to view the
    video again without having to reload the page. Right now when the
    video finishes, the user has to rewind the video in order to watch
    it again. I thought I could use .time to determine when the video
    reaches the end to go back to "0" in the video playhead but so far
    I have not been able to get this to work. Any ideas would be
    appreciated. Currently everything is done in frame one of the swf.
    Thanks.

    >>I think obviously there is a difference between FMS
    and Flash MX04. The documents I
    >>refer to are built into the help menu in Flash 7 and
    8 both include the onStatus event
    >>and absolutely no onPlayStatus event.
    Yeah you're right onPlayStatus isn't in the NetStream class
    Flash documentation as this is more about using this class for
    progressive download, whereas the documentation i linked to
    referred to the NetStream class used in FMS Client-side scripting
    for streaming video.
    >>I made a mistake. I meant NetStream.Play.Stop –
    which was very poorly named. That
    >>is what onStatus will return when it reaches the end.
    It isn't really "stop" it is "complete."
    >>So I tend to read it as such!
    NetStream.Play.Stop does seem to be very similar to
    NetStream.Play.Complete in progressive downloads. however i know
    you can't guarantee that NetStream.Play.Stop occurs at the same
    time as NetStream.Play.Complete in a streaming video through FMS,
    as a NetStream.Play.Stop can occur for reasons other than
    completion.
    >>...My guess is that when they took the bits from FMS
    into Flash MX04 they didn't do a
    >>very good job. They purposefully renamed onPlayStatus
    to onStatus...
    onStatus does still exist in FMS Client side scripting...
    >> – with a limited variety of events returned
    (What is Switch?)
    switch refers to playlists - only relevant to FMS streams.
    Anyway, it appears as though all of this talk of the FMS is
    moot regarding the original poster, as I've just had a look at
    skauty's posts in the Flash Media Server forums, ironically, and
    discovered that skauty is using progressive download and not FMS...
    Simple but important distinction...

Maybe you are looking for