Working with linked video files in Flash CS5

Hi,
I'm working on a project that involves making decisions that affect how a short film plays out.
The basic idea is link some video files to the flash file (don't embed because it loses a lot of quality) and have buttons appear at the end of each clip that will link to another place on the timeline where another video clip will play. Pretty simple.
However one problem I have encountered is the only way I can make the buttons appear after the video is finished, is by dragging out the single frame of video on the timeline to whatever length in seconds it is multiplied by the number of frames per second.
This is very tedious and not very effective despite solving the problem.
Is there some way to maintain each linked clip in a single frame and only move to the next frame (which contains the relative buttons) after the video is finished?
Of course if there is an even more effective way to do this please let me know as well.
Thanks,
Aaron

What you really want have is this:
Instead of using the timeline you should use Code to organize your application.
So you will have only one frame and only one scene and only one flvComponent.
import fl.video.FLVPlayback;
import fl.video.VideoEvent;
//Assuming you have 9 Videosegments to choose from
var videoNr:uint = 9;
// the buttons to navigate to the segments
for (var i:uint=0; i<videoNr;i++){
   var currentButton:String = "btn_"+i;
  this[currentButton].addEventListener(MouseEvent.CLICK, playSegement);
// the array to store the names of the videosegments
var videoArray:Array = new Array();
for (var i:uint=0; i<videoNr;i++){
  var currentVideo:String = "video_"+i+".flv";
  videoArray.push(currentVideo);
//hide the buttons whenever the video plays and vice versa
flvPlayer.addEventListener(VideoEvent.PLAYING_STATE_ENTERED, hideButtons);
flvPlayer.addEventListener(VideoEvent.STOPPED_STATE_ENTERED, showButtons);
flvPlayer.fullScreenTakeOver = false;
function hideButtons(e:VideoEvent):void{
for (var i:uint=0; i<videoNr;i++){
   var currentButton:String = "btn_"+i;
  this.getChildByName(currentButton).visible = false;
function showButtons(e:VideoEvent):void{
for (var i:uint=0; i<videoNr;i++){
   var currentButton:String = "btn_"+i;
  this.getChildByName(currentButton).visible = false;
// or make a switch clause where you define which buttons are visible after which segment
//switch(i){
//only 1 and 2 are visible after Segmenet 0 has played
//case 0: this.getChildByName("btn_1").visible = true;this.getChildByName("btn_2").visible = true;break;
//only 3 and 4 are visible after Segment 1 has played
//case 1:  this.getChildByName("btn_3").visible = true;this.getChildByName("btn_4").visible = true;break;
//function to choose from the videos
function playSegment(e:MouseEvent):void{
  var whichButton:String = e.currentTarget.name.substr(4,1);
  //gives the IndexNr of the Video that should play
  flvPlayer.source = videoArray[uint(whichButton)];
  flvPlayer.autoplay = true;
// you want the actual video to stop on the last frame
   flvPlayer.autorewind = false;

Similar Messages

  • Software available for working with large video files?

    Hello,
    I'm working in PP CS6. I was wondering if there are any workarounds or 3rd party plugins/software that
    make working with really large video files easier and faster?
    Thanks.
    Mark

    Hi Jeff,
    Thanks for helping. This is the first time I shot video with my Nikon D5200. It was only a 3 minute test clip
    set at the highest resolution, 1920x1080-60i. I saw the red line above the clip in PP CS6 and hit the enter
    key to render the clip.
    It took almost 18 minutes or so to render the clip. This is probably normal but I was wondering if there is
    a way to reduce the file size so it doesn't take quite as long to render. I just remember a few years back
    that when the Red camera was out, guys were working with really huge files and there was a program
    from Cine something that they used to reduce the file size and make it more manageable when editing.
    I could be mistaken. I've been out of the editing look for a few years and just getting back into it.
    Thanks.
    Mark
    Here's my PC's components list you asked for:
    VisionDAW 4U 8-Core Xeon Workstation
      2 Intel QUAD-Core Xeon 5365-3.0GHz, 8MB, 1333MHz Processors
      16GB 667MHz Fully Buffered Server Memory Modules (2x2GB)
      Microsoft® Windows® Windows 7 Ultimate (x64)
      WDC 250GB, Ultra ATA100, 7200 rpm, 8MG Buffer Main OS HD
      2 WWDC 750GB, SATA II, 7200 RPM, 16MB Buffer HD (Raid 0)
      2 WDC 750GB, SATA II, 7200 rpm, 16MG Buffer HD (Samples)
      2 WDC 1TB Enterprise Class, SATA II, 7200 RPM, 32MB Buffer Hard Drive
      MOTU 24 I/O (main) / MOTU 2408mk3 (slave)
      Plexor PX-800A 18X Dbl. Layer DVD+/-RW Optical Drive
      Buffalo BuRay Drive (External) BR-816SU2 
      Front Panel USB Acess
      Integrated FireWire (1394a) interface
      Thermaltake Toughpower 850W Power Supply
      3xUAD1 Universal Audio Cards
      NVIDIA QUADRO FX 1800 / Memory 768 MB GDDR3
      CUDA Parallel Processor Cores / 64
      Maximum Display Resolution Digital @60Hz = 2560x1600
      Memory Interface 192Bit
      Memory Bandwidth (GB/sec) / 38.4 GB/sec
      PCI-Express, DUAL-Link DVI 1
      Digital Outputs 3 (2 out of 3 active at a time)
      Dual 25.5" Samsung 2693HM LCD HD Monitors

  • Working with HD m2ts files to get best video out burned on disk.

    Working with m2ts video files, how to get best video output.  I have Pinnacle 12U and the video picture that is produced on a burned disk is much better then what is produced in Adobe Premieme PRO CS4.  I would like to continue to use Premieme Pro, but unless I can archive at least the same quality of video it would be hard to make the switch.  I must be missing something???  HELP!!

    More input,  the media file output is VTS.VOB format from Adobe and from Pinnacle it is m2ts.  When you stop the playback m2ts is real sharp and the the VOB is not as clear.  During the playback the m2ts disk is so much better than the Adobe VOB format.
    Does anyone know if this is the best format that Adobe can produce?   It's a shame that with the great High Definition picture that you can now get out of a personal movie camera, that Adobe cannot produce the same quality picture out on disk!!

  • Raw files from the new Nikon D810 will not open with either Photoshop CS5.1 or Lightroom 4.  When will a real Adobe solution be available to work with Raw (NEF) files in their native format, using CS5.1 and LR4?

    Raw files from the new Nikon D810 will not open with either Photoshop CS5.1 or Lightroom 4.  When will a real Adobe solution be available to work with Raw (NEF) files in their native format, using CS5.1 and LR4?

    Clarification: this is a user forum; you are not addressing Adobe here.
    The answer to your question as phrased is: never.
    CS5 is history and it is not longer supported.  There will not be any updates or bug fixes for CS5.
    You need to convert the raw NEF files from your D810 to raw DNGs using the free, standalone Adobe DNG Converter 8.6 RC (beta), the first version ever to support that camera.. 

  • I need to work with the RAW files on a SONY RX100III. I use Photoshop CS5 and a Mac operating system OSX 10.6.

    I need to work with the RAW files on a SONY RX100III camera. I use Photoshop CS5 and a Mac operating system OSX 10.6. Is there an Camera RAW upgrade or an alternative program that works here?

    You don't. Since you have an Intel Mac, buy a Mac OS X 10.6 DVD from the online Apple Store.
    (71894)

  • Open Flash CC 2014 file in Flash CS5 (was: hello)

    is there anyway to open flash cc 2014 file in flash cs5 and work on the files

    Flash CS5.5 lets you open any newer file. But you can save down to older versions (back to CS5) with CS6 if you have access to it. Flash CC does not give you the option to save down.

  • Why can't i open video file in photoshop cs5?

    why can't i open video file in pts cs5?
    i've already installed quick time but when i open video file, it appeared this
    can you help me with this problem please?
    ps: sorry for my bad English ToT

    We need to know the exact source of the file and what system you're on. Could simply be an unresolvable compatibility issue/ unsupported format.
    Mylenium

  • Importing Word Files With linked Excel files

    I have a word document with linked excel files that appear as linked images in word. When these images are clicked it opens it up in Excel where I can edit them which is fine. However, I would like to import the word doc into adobe indesign with editable tables - not images. Is there a way I can do this?
    Importing, exporting, converting. Nothing seems to work besides manually bring in the separate excel doc in one by one but that will be very time consuming at my end.
    Thanks for any feedback.

    AFAIK, that won't work. InDesign doesn't support OLE.
    You may need to convert those Excel tables to Word tables before placing into ID.
    Bob

  • Working with converted .mov files in Premiere Elements 2

    I recently got a digital camera that records .mov clips with H.264 technology. I use it for back up when Im having problems with my regular camcorder. Of course I can work with these .mov files in QuickTime Pro with no problem. But in order to work with them in Premiere Elements 2, it appears I have to export it into the .avi format first. After exporting in QuickTime Pro, when I bring the new .avi file up into Premiere Elements, the color quality is retained, but much of the resolution is lost. Its very pixelated. I understand that .avi and .mov work differently in the way information is stored avi in chunks and mov in streams, but Im wondering if there is a way I can work around this. The reason why I got QuickTime Pro initially was to be able to convert my finished .avi videos made in Premiere Elements 2 into MPEG-4 files using the H.264 codec for better quality. And Im doing that all the time now with no problem. So I am wondering if when I reconvert the .mov clip thats been converted into .avi back into mpeg-4, will the resolution be restored? That is part of my question. The other part is regarding the initial conversion process. Are there settings in QuickTime Pro for converting .mov to .avi with as little loss in resolution as possible? The manual doesnt address this issue specifically. Any ideas or suggestions? OS is Windows XP Media Center edition, computer Sony Vaio dual processor. Thanks, Judy

    Hi again Steve. I'm so embarrassed. After my initial reply to your message I went to the Adobe site to see if they even made Premiere for Mac and learned they don't. I also read a review in Wired that says Premiere 6 is just as good if not better than iMovie which they say has actually been downgraded. I'm using Premiere 2, so I thought I might consider upgrading. Then I watched "Steve's Story" and realized it was you. (Your daughter is a cutie! Adobe must love you.) So my question is this: Would my problem be solved by simply upgrading to Premiere 4? If I do that, would it be compatible with regard to catalog integration with Photoshop Elements 4 or would I have to upgrade to Elements 6? If I upgraded the whole package would my current Photoshop Elements 4 catalog transfer with all tags intact? This is vital for me to know because I rely on them heavily. I realize that I would be skipping a version in the upgrade. Is that possible? Does that matter? Please read my reply to Bill because it explains why I want to use those particular .mov files. Another question for you. I use your excellent book a lot. If I upgrade will it become useless? Finally, since you're the expert, let me tell you what I'm really aiming for and get your advice. I need to start composing my own musical soundtracks to my videos. I want to do it as I'm viewing the timeline. Therefore, I know I need to invest in a midi-capable keyboard or controller and software. The problem is that there are few controllers compatible with Windows XP Media Center Edition. I am told I would need to disable the XP Media Center registry keys for anything to work which wouldn't matter because I don't use Media Center features anyway (like TV hookup, media player, etc.). But messing with the registry sounds a little complex and dangerous to me. There's got to be an easier way. Do you have any advice or recommendations? Can you point me to any helpful resources? Now you see why I want a Mac? Everyone says all this kind of stuff would be so much easier with a Mac. Problem is I have a limited budget and would like to make the most with what I have. I hope I haven't overtaxed you with my questions. Thanks for your patience! Judy

  • RTMP with a video file as source?

    So the question is: Can I use FMLE with a video file (format?) as origin instead of using a camera? I know it beats the purpose of FMLE but if it can be done it would be of great use to us.
    Thanks in advance

    Hi Shashin,
    I think there is some documentation that states how to best do this... Did you look into the doc for this (search for master detail files)?
    However if this is a warning and your code works fine and loads correctly I would leave it as is.
    Jean-Pierre

  • 'Lost' or 'un-linked' video files in iPhoto 11

    Hi Everyone,
    In a nutshell, it seems that iPhoto can't find most of my video files, even though they are still there on the HDD. Additionally, it won't let me drag them onto / into the app.
    Just updated to the latest iphoto 9.2.1 and the video files in my library (apart from some recent ones) won't play. If i click the thumbnail, the page goes to a ! in a triangle. If there is an image next to it on the thumnail page, that image will load. With the video file, if i go to File > Reveal in Finder > 'Modified File' /or/ 'Original File', they're both greyed out, which implies that iPhoto has 'lost' the file.
    If i do the same with the image file, i can reveal the original in the finder, and see that the video file (ie .mov) is still there alongside the image file, and if i double click it, then it loads in quicktime and plays perfectly. If i try to drag that file into iphoto, i get the error
    Unreadable Files: 1
    The following file could not be imported. The file is in the iPhoto Library.
    (It then gives me the true path and file name).
    I have started up iPhoto with Cmd (or whatever it is) and ticked all of the boxes to rebuild the folders etc, but it doesn't work, and the fault remains.
    At least i have the files (have heard some horror stories about iPhoto 11) but can anyone tell me how to get it all back working?
    Cheers, and thanks in advance
    slaterk
    ps MP 3,1 OS 10.7.2

    Thank you Terence for taking the time to reply - and thank you v v v much for giving me the answer!
    Using iphoto library manager to rebuild the library meant that i could then add the images that weren't showing up, to get a full library back again.
    Incase anyone else is coming after me:
    i rebuilt the library with iPLM
    went to the old iPhoto library and showed the contents of the package (right click on the iPhoto file)
    Dragged over whole folders full of images / videos from the 'Masters' folder
    Told it to ignore duplicates.
    Also i found this, though it's dependent on you not having opened the library with iPhoto 11:
    http://iphoto11.wordpress.com/2010/10/26/iphoto-11-fix/
    though it may help someone.
    Cheers

  • Can I use InDesign cs6 to open and work with PM6.5 files?

    Can I use InDesign cs6 to open and work with PM6.5 files?

    Lrak wrote: "It sounds like I should to that before endeavoring to transfer the manuscript?" (re-link)
    It should be much easier to re-link in the Pagemaker file, as, with any luck, you can get the filenames from the Graphics Manager.  After conversion to InDesign, any out-of-date linked images get their names converted to something like "image 123.jpg", and are themselves converted to an embedded low res representation of the image.  Even vectored art.  Pretty hard to figure them out, unless you are VERY familiar with the file, which you may be.
    It may be that any cropping gets lost, too?  I do prepress work, we do some set up for our customers, but most comes in pretty much ready to go, so I don't often have to did too deep into fixing such issues. On the other hand, any problem that can happen has probably crossed my desk, or it seems that way some days!

  • How to link pdf file in flash by xml ??

    how to link pdf file in flash by xml ??

    try to give <a href="your address">My Pdf</a>
    and your textfield should be html enabled
    mytextField.html=true
    mytextField.htmlText=your xml text

  • Hi! I´m having problems with showing video files in Qlab on my Macbook Air. A sound/video technician told me to "blow out" my Mac. Was told to use  cmd+ r  when restarting. Is this the right way?

    Hi! I´m having problems with showing video files in Qlab on my Macbook Air. It started suddenly. Consulted a sound/video technician who told me to "blow out" my Mac. Was told to use cmd+r  when restarting. Is this the right way to clean up my Mac? And is it likely that some kind of bug is causing problems for Qlab to show video files? I´ve already tried with a bunch of different video files and sometimes Qlab plays them and sometimes not. I need the Qlab playlist for a theatre show and only have a week until showtime so starting to really worry. Is there anyone out there who can help?

    Your Mac runs maintenance in the background for you.
    Command + R gives you access to restore, repair, or reformat the drive using OS X Recovery
    No idea why that was suggested.
    You may have a third party video player installed that's causing an incompatibility issue.
    Check these folders:
    /Library/Internet Plug-Ins/
    /Library/Input Methods/
    /Library/InputManagers/
    /Library/ScriptingAdditions
    ~/Library/Internet Plug-Ins/
    ~/Library/Input Methods/
    ~/Library/InputManagers/
    ~/Library/ScriptingAdditions
    The first four locations listed are in the root-level Library on your hard disk, not the user-level Library in your Home folder.The tilde (~) represents your Home folder.
    To access the Home folder in OS X Lion or Mountain Lion, open the Finder, hold the Option key, and chooseGo > Library.

  • Advice needed: The way to solve out of memory problem (or the way to work with big csv files)

    Hello:)
    I'm in trouble: I have a big csv file (over 5gb of web-analytics data) and my 64 bit excel (and 6gb ram)
    I cant load file to data model because of it's size. There is an error "out of memory" in power query. 
    This is the first time when I encountered such a problem.
    What options do I have to work with such a file? To increase memory in my computer? Would it solve the problem? How much do I need to work with 6gb csv? 
    Or may be I can upload my data somewhere to azure and work with it there? 
    So the problem - is there any way to deal with big files using power query? Or I need to become a developer and learn sql or other languages? 
    Thanks in advance.
    Max

    Hi Miguel!
    Thanks for your answer. 
    I've tried to load this file on virtual pc from azure cloud with this config:
    I have increased memory limit in power query settings:
    And still, the proble is the same:
    What I do wrong? 

Maybe you are looking for

  • How to add a locally stored video file to a presentation

    Hi all , I want to add a locally stored video file to a presentation .What is the url that i need to use.. Ur help is much appreciated Thanks

  • ITunes transfers

    I know similar questions have been asked before. But I'd like to try again with what I believe is a slight different variation (although I still expect the same "sorry, it can't be done" answer). My wife has been using her gmail address for her iTune

  • Time Capsule crashes my MacBook Pro

    Hi, I have just got back from a shopping trip with my shiny new Time Capsule. I have it set up as my wireless base station and am connected to the net. Problem I am having is that when Time Machine starts preparing to back up my MacBook Pro crashes a

  • Get the "Controldata" in GET ORDER response

    hi all i am calling get order web service ,however can i get the "Controldata" of the order in response?,which we define for the order items.

  • Does Oracle Business Intelligence Suite support cliper, fox and dms

    Hi all, Does Oracle Business Inteliigence Suite Enterprise Edition support reports dates from follow tables and databases: cliper DBF FOX visual DBF DMS unisys Oracle 9.0 and 10g Is there any examples, demos or dopcumentations? thanks in advanced Gor