Flash Video with option to switch subtitles live?

I have a FLash Video (.FLV) and I need to be able to add the option for viewers to switch Subtitle languages on the fly if need be.
Is it possible to use xml files or txt files with the text, and give the control to switch the text during playback?
Cheers

What I would do:
Set up the subtitles to work off of an XML file.
Then, add a button to toggle their display, and then, on click, set a boolean value that tells the SWF whether or not the subtitles should be displayed.
(This code is AS3, so would need converted if using AS2 - also, this code is just to give the gist of the technique, not be refined code that can be copy/pasted)
var dispSubs:Boolean = false;
function displaySubtitle():void {
     if(dispSubs){
          //code to display subtitles
dispSubsBtn.addEventListener(MouseEvent.CLICK,switchBool);
function switchBool(e:MouseEvent):void {
     dispSubs = !dispSubs;

Similar Messages

  • AE CS3: Crashes on export to Adobe Flash Video (with audio)

    I have a 10 second comp I'm rendering to Adobe Flash Video. The comp has a wav file on it.
    I have ram previewed the comp and it plays back just fine.
    When I render it to Adobe Flash Video via the render queue my comp crashes at 30 frames in everytime.
    However if I remove the wave file from my comp, AE will fully render the comp to an FLV file.
    I have also tried replacing the wav file with another random wav file - I get the same crash everytime at 30 frames in.
    I also made a comp from scratch and tried to render it to Adobe Flash Video with a wav clip and it crashes 30 frames in every time.
    Please note when it hits frame 30 on the render, a window pops up ( a dos type window ) and then the window closes along with AE right away leaving me with no error messages or even an error log. I was able to get a screen cap of the error and it's attached.
    I am running Windows Vista 64-bit and this is the first problem I've had with AE CS3.
    Is this a known issue and is there a workaround for this?
    -Charley

    My apologies, I just found this support page and it helped me fix my problem:
    http://kb.adobe.com/selfservice/viewContent.do?externalId=kb403633
    -Charley

  • HT6074 How can I watch flash Videos with the ipad with safari?

    I Have an iPad an I'll watch flash Videos with this. But there is no Flashplayer. Is there any Plugin?

    There is no Flashplayer for any iOS device and there never will be. Flash is replaced on iOS devices by HTML5 which is a superior technology endorsed by both Apple and Microsoft as well as almost everyone else in the industry except Adobe.

  • Export Flash Video With Transparent Background

    Is it possible to export an After Effects Comp to a Flash Video with a transparent background?
    I have made a simple animation with no background. I'd like to export the Flash Video to go on a web site. I'd like to keep the background transparent.
    Can this be done, and is there a checklist of what I need to select in "Make Movie"?
    Thanks!

    from "Render and export a composition as an FLV or F4V file":
    "To include the alpha channel in the FLV output, use the On2 VP6 codec and select Encode Alpha Channel in the Video tab of the export settings dialog box."

  • AE CS3 - Adobe Flash Video - Format Options causes crash

    Like the titles states. I see so many people say Adobe Flash Video is the way to go for export options yet AE always crashes on me when I choose it's - Format Options (from output module in the render queue).
    I use Flash all the time and it works fine but since I cannot access AE's FLV format options. Each time I press it AE just locks up.
    Is this one of things Adobe just never fixed in CS3? I don't care to read comments saying to use something else to render it. That isn't what I'm asking so save it. I created a simple object in AE and just want to see how it looks with FLV export. AVI looks fine but seems like everyone says it would look better as FLV. Since I cannot access the format options for FLV it is the worst option and very blurry so that leads me to believe it was one of those things Adobe just abonded in CS3.
    I searched and found nothing. I would continue my search but Adobe's choice for forum format couldn't be any slower. If Adobe can answer this question maybe I can shed some light on saving it's members some agony and teach them some PHP. This is rediculously slow and my worst forum puts this to shame.

    Thanks Todd, that's what I figured. I remember when Adobe bought it  from Macromedia so figured it was just something I couldn't do with this  older version. I just figured I see what all the noise was and thought maybe it might have been an update for a plugin or something stupid. I normally use Xvid and either output in MP4 or AVI any. I'm not a video guy so rarely use AE. Just been experimenting and it's still a little foreign to me.
    Appreciate the answer and your time!
    [personal attack removed by moderator]
    As for the forum, I have several times left "forum feedback" but hmmm, let's see. None of you, not even Adobe employees can say they aren't tired of how slow it is here. If I google something, I'm sure to see what links are from where and will always skip ones that start with "forums.adobe" unless I have expelled all other options which is rare. This isn't about you not thinking that's true, it's about what's on your nose and comparing my post count to your own, haha. Yes, I should have relaxed before my post and that comment but even back paging takes 30 seconds. Let me guess, you're going to say it's my bandwidth I suppose? I can upload 50mb a min, and on the right site download several hundred,,, not the issue, Take care now.

  • Flash videos play in preview, but not live website...

    I have embedded .FLV video files into my website.  The videos play in my preview browser with no problems.  When I upload them to my live site, and try to view them on the web, there is just a white space where they are supposed to be, and they do not play.  The url of the webpage with the video is :
    http://www.centrometalcut.com/Photos/abrasivephotos.asp
    I have searched for all kinds of answers and solutions, tried tons of different things, and I cannot seem to fix this. I am so frustrated, please help!!   Thanks.

    Hi,
    may I show you how I did it? (Translated from my German DW):
    Header 1
    Header 2
    Ganz neues Unterverzeichnis anlegen
    Datei html neu
    DesignMode:
    Einfügen Flash-Video
    Durchsuchen ---> myFLV.flv
    Skin: Halo Skin 3 (min. Breite 280)
    Breite 640
    Höhe 480
    alle Kästchen angeklickt
    create a really new subdirectory
    create a new html-file
    DesignMode: Insert Flash-Video
    search/browse ---> myFLV.flv
    skin: Halo Skin 3 (min. width 280) ( it's only my choice)
    width 640 ( it's only my choice)
    height 480 ( it's only my choice)
    I clicked all the boxes
    ---> And now up and away with ALL these files in a directory of your server:
    YourFlv.flv
    YourFlv.php (or YourFlv.html or ......
    Clear_Skin_1.swf (my choice, but created from DW)
    FLVPlayer_Progressive.swf (created from DW)
    Hans-G.

  • Flash video with no player

    I am trying to embed a flash (flv) file on a page. I want it
    to loop but NOT have a player overlay. If I embed a flash video I
    am forced to select and overlay with no options for looping. And if
    I embed as a regular flash file the video will apparently load in a
    browser (after having to ad .swf to the file name), but not play.
    So how do I get a flash movie on the page looping with no
    player overlay.

    Okay - I imported the flv into flash and exported it as .swf
    file. Now it's showing up on the web page but not looping. What am
    I missing?

  • Bug of Flash CS4 with option "Copia Movimento" !

    Dear users,
    I have installed the entire Suite CS4 Master Collection in ITALIAN Language. I have a Bug with FlashCS4 Professional.
    I have one PC with WindowsXPProx32Bit with FlashCS4 version 10.0;
    and another PC Core2Quad Q9650 with WindowsXPProx64Bit with FlashCS4 updated version 10.0.2.
    I receive the same error when I try to copy-paste the interpolation of motion from one object to another.
    Example:
    - I made one rectangle; created one Keyframe at frame 0, created another keyframe at frame 10 and moved the rectangle to the bottom.
    - Created the "Classic Interpolation" (translated in italian as "Crea Interpolazione Classica") from frame 0 to frame 10.
    - I created one Circle object; created one Keyframe at frame 10 and another keyframe at frame 20:
    - Selected the motion frames interpolated of the rectangle from frame 0 to 10 > Right Click with mouse > Selected the Option "Copy Motion" (translated as "Copia Movimento");
    But when I perform this "Copia Movimento" action, it appears the following message:
    "Si sono verificati i seguenti errori Javascript:
    Alla righa 2 del file "CopyMotion.jsfl":
    TypeError: file is not a function."
    This is a BUG !
    It appears over my x64Bit installation machine (FlashCS4 updated v.10.0.2) and also over my second x32Bit installation machine (FlashCS4 v.10.0)!
    1) How can I do to solve this issue?
    Another doubt that I have:
    I know the right-click command "Crea Intepolazione Forma" (Shape Interpolation).
    But:
    2) What are the differencies between the first right-click option menu "Crea Interpolazione Movimento" and the third option manu "Crea Interpolazione Classica" ?
    I have used "Crea Intepolazione Classica" for my test, to make an interpolation with the arrow over the frames in timeline.
    3) The option "Crea Interpolazione Movimento" what is it?
    - On Flash CS3 this option doesn't appear at all!
    Many thanks at all that response to my problem!
    Horsepower0171.

    Hi there,
    I found it!
    I never thought that this would solve my problem but here it comes..
    I used this setting for my textfield: AntiAliasType.ADVANCED.
    I must say that it looks great on screen, but that generates my problem when zooming in and test on collision.
    When I changed this setting to AntiAliasType.NORMAL it all works like it should be. The text looks less nice but I can live with that..
    Very strange.. but solved Hope this can help someone else. Still think that this is a bug
    Cheers Peter

  • Flash Video with DVD-like motion menus -- Is this possible?

    Hi all,
    I just joined this gropup. I have some SMIL 2.0 presentations
    with synchnorized multiple audio (several languages supported) and
    video as well as DVD-like still and motion menus. These are
    semi-transparent menus and actually are super-imposed over main
    playback area (root layout in SMIL).
    Can Flash Video has menus in it?
    Can this type of a/v synchronization and menuing be done in
    Flash Video?
    I don't want to write as SWF with menus since clips and # of
    menus on screen and placement might be different from video to
    video. These are for some training videos.
    To give a background, in SMIL I have an application server
    (Jboss) which is dynamically creating SMIL based upon database,
    user inputs and menu selections. What is basically sent back to the
    browser is SMIL page markup including playlist of clips up to next
    menu point. Once all clips are watched and user selects menu button
    to continue then a new SMIL is generated and processs repeated.
    I am thinking off porting this over to Flash Video because
    currently clients need RealPlayer (has SMIL 2.0) support to be
    downloaded and installed. Another local app to manage!
    Any ideas or recommendations?
    Thanks and kindest regards,
    -Mark

    You can build interactive DVDs with video and audio, but no Word documents (at least not as part of the interactivity). DVD SP can certainly be used to create interactive DVDs. The advantage is that interactivity will extend to DVD players, not just computers.
    If you want very rich interactive content, with Word docs, PDFs, etc. Then the best program would be Director. However there are some caveats with Director.
    1) The learning curve for Director is extremely steep. You would be better off hiring a freelancer who already knows the program, then spending all the time learning all the ins and outs of the program.
    2) Director is essentially a dead program. Since Adobe acquired it a couple of years ago, they have made no upgrades of the program. Nor have they made any announcements on continued development.
    3) The content you develop will only be playable on computers, not DVD players.

  • How to download flash video with firefox only?

    I leaned that I can download flash video clips using only firefox browser without using 3 rd party
    software,so when a video starts playing I select tools- page info -media, then I should select the video
    file and save it,I am looking for a file with swf extension in order to save it, but here is the snag as many video file names are so long that it is impossible to see the extension which is normally at the end of the name,what shall I do?

    Try with Firefox Addons
    *http://addons.mozilla.org/
    Try with RealTime Player - move an arrow over the flash video, realtime player shows a download link

  • Flash-Video with authentication

    I want to play flash videos from a University that require authentication on my iPad.
    But there seems no possibility because the usual flash player are not capable to do so.

    Hi Geoff,
    If you are using Spry 1.4 you can see this sample page which
    shows folks how to deal with HTML embedded in XML files:
    http://labs.adobe.com/technologies/spry/samples/data_region/HTMLFragsInXMLSample.html
    If you are living on the edge and trying out the Spry
    Pre-Release 1.5 Preview:
    http://labs.adobe.com/technologies/spry/preview/
    We added a new column type "html" which basically tells Spry
    to automatically entity decode your description text before
    inserting so you get what you want ... this means you don't have to
    set up an onPostLoad handler as mentioned in the sample above. It
    basically looks like this:
    var ds_video = new Spry.Data.XMLDataSet("myfoo.xml",
    "/my/xpath/node");
    ds_video.setColumnType("description", "html"); // This
    requires Spry Pre-Release 1.5 Preview
    If you want to try out the 1.5 Preview, just go to the URL
    above and download the SpryData.js.
    --== Kin ==--

  • Flash Video with components

    Hi all,
    I am aware there are a couple of different methods for
    playing/streaming FLV files in flash, one being the FLV Playback
    component and setting the path to the FLV file in the parameters
    panel and the other method using the (Library > New Video)
    method and actionscript using the netsream classes.
    I am using the latter option from above. I have an SWF file
    which via PHP i pass the name of the FLV file to be played as such:
    <object type="application/x-shockwave-flash"
    data="video.swf?newfile=<?php echo $file; ?>" width="340"
    height="240">
    <param name="movie" value="video.swf?newfile=<?php
    echo $file; ?>" />
    </object>
    This file is dynamiclly loaded and currently works great,
    however, i need to be able to have controls on this video componant
    so the user can stop/play the video at their own discretion and
    this is where I am stuck!
    unlike the FLV Playback component, the vidoe/actionscript
    method (as far as I can see) does not allow you to add these extra
    components so could someone confirm for me if this is true?
    Or alternatively how would I use the FLV Playback Component
    in my SWF file loading the FLV file dynamically?
    I hope that makes sense and I hope the answer is not to
    complicated
    Thanks in advance
    A Newbie

    I could help if you did the first method, but your method is
    out of my reach. Check out the forums over at
    http://gotoandlearn.com/forum/
    if nobody here is able to help you. That forum is mainly for flash
    video, so your odds of getting an answer are much better
    there.

  • Flash video with captions

    I'm inexperienced with Flash. A client has insisted on a captioned flash video file and we're trying to figure that out using CS5. I've followed the steps outlined in the Adobe help (I think), but when I test the movie, I get no captions. I see an error in the output tab under the stage:
    TypeError: Error #1090: XML parser failure: element is malformed.
    at fl.video::TimedTextManager/
    http://www.adobe.com/2007/flash/flvplayback/internal::xmlLoadEventHandler()
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at flash.net::URLLoader/onComplete() 
    I have no idea what this means. Here's what I've done: I dragged the FLV Playback component to the stage. I selected a skin that includes a caption button. I associated an existing flv video with it as its source. Than I dragged the FLVPlaybackCaptioning component to the stage. I set the flvPlaybackName to "flvplayback" which is what I named my FLVPlayback component. I set its source to "captions.xml" which resides in the same folder as the project. This captions file is actually Adobe's sample timedtext caption file that I'm using for testing. The first caption starts at 00:00 so I thought it should work with my video. 
    If anyone has a surefire method for making captions work with a flash video file, please let me know! 
    Thanks!

    Thanks for getting me on the right track, I have posted a request about "what is the best solution for synced caption" here but got no responce.
    I'm new to flash too, I only wanted to do a synced text and sound try, since I already had done it vbscript and javascript I wanted to try flash too.
    Look through your XML because XML is strictly, check that you doesn't have use "enter" in your text too.
    What I did was to write a simple loader and used timer to sync the text.
    I see now that I could have saved me some time, but done is done.
    You can look at the script I wrote here
    http://www.cicyzone.com/Lyrictest/Samples/FlashCaption.htm
    The Xml file that I used:
    http://www.cicyzone.com/Lyrictest/Xmlstream.aspx?ID=51998&T=Running+Up+That+Hill
    Now that flash have a component for captions was it more easy to find samples too.
    I looked at this but it is for CS3
    http://www.digital-web.com/articles/captions_flash_video/
    Thanks again, and I hope that some one here will help you.
    Cato

  • Flash video with too wide a frame when uploaded

    Hello,
    I have a short flash movie (.swf) having a width of 320px
    and a height of 240px. It works as expected locally (when I
    open the page with dreamweaver and FF2 or IE7) but as soon
    as I have uploaded the file to my website the movie gets a
    much smaller size and a wide grey frame around it in both
    browsers.
    I don't understand what's causing this and how I can prevent
    it.
    If you would like to see the problem, this is the page with
    the video (German language website).
    http://www.paul-westrich.de/Profile/meg_nigriventris_movie.php
    The video should be as big as the lighter grey frame.
    Paul

    hadrons123 wrote:
    there are other simple ways too...
    https://addons.mozilla.org/en-US/firefox/addon/6584
    https://addons.mozilla.org/en-US/firefo … form=linux
    but the thread is focussing on flash player CPU usage....
    II know most of these solutions. What I am most interested to is to play the videos with mplayer; preferably without having to download them first. What I am doing now if to use www.keepyoutube.com and give the url provided to mplayer. I would be interested in a firefox plugin that launch mplayer on the video URL (there was the media player connectivity but it has not been updated and did not work for flash).
    Last edited by olive (2011-11-18 16:06:54)

  • Flash Video With Flash Player On Password Protected Website

    Hi,
    I'm using the HTML widget to use the code for the JW flash player. I want it to play a flash video hosting on my iDisk.
    The site this is embedded on I've checked as password protected. HOWEVER...
    1) The visitor can see the site without asking for any name/password. But when they try to play the video they DO get asked for a name and password, but not the name/pass for the site. Instead the visitor is being asked for the MobileMe user name and password.
    How can I fix this?

    Where do you have the flash files located on your iDisk that you are linking to from within the HTML snippet?
    OT

Maybe you are looking for