Show text after a video ends

Hi,
I imported a video (progressive) and would like some text to
appear after the video finishes. The video is in frame 1 and I
inserted a keyframe after that and added text. When I play the
movie all I see is the text blinking, no video. What did I do
wrong?
Thanks in advance.
Robert

Try this:
Add a stop action to frame 1
stop();
also, add this:
var myListener: Object = new Object();
myListener.complete = function(eventObj: Object) {
trace("media is Finished");
gotoAndStop(2);
myMedia.addEventListener("complete", myListener);
Make sure your video component has an instance name: myMedia
Add a stop action to frame 2.
test movie.
I am assuming your video is an FLV outside of flash right?
You are using the media display component
to display it right?
~~~~~~~~~~~~~~~~
--> Adobe Certified Expert
--> www.mudbubble.com
--> www.keyframer.com
~~~~~~~~~~~~~~~~
rodnyc29 wrote:
> Thanks for the reply, but how do I find the length of
the video? I would need to get it to the exact frame, right?

Similar Messages

  • Redirecting URL after flash video ends , help?

    Hi,
    I created this flash video SWF here:
    www.funduefoods.com (click
    "Watch Our Chocolate Fountain Video!"). When the video ends my
    client wants the page to be redirected to the Fountain page. Is
    there a simple action script code for this? I know one way is to
    embed the video into the timeline, then add a getURL code in the
    last keyframe, but I would rather have the video be a progressive
    download. Help???
    Thanks

    You could also add an event cuepoint to the end of the flv
    and use a listener for that cuepoint and trigger the getURL that
    way.
    It's easy to do and examples are in the Flash Help. Search
    'cuepoints'.
    Note: Cuepoints inserted with something like After Effects
    (the way I usually do it) have a greater accuracy than those added
    with Actionscript alone. Info about that is also in the help
    docs.

  • Flex Alert box not showing text after single inverted comma

    Hi friends,
    I am launching a flex app (swf) from a JSP page. i am sending a value using flashvars like below.
    flashvars.message = '<c:out value="${requestScope.message}"/>';
    This message consists a single inverted comma in between...ex:- L'impression des pages
    But when i want to show this message using alert box in flex like Alert.show(message);, it just shows
    'L'.  i mean it is not showing complete message. the text after inverted comma is missing....
    it will be great if anyone can help me here...
    Thanks,
    Krish

    Hi friends,
    I am launching a flex app (swf) from a JSP page. i am sending a value using flashvars like below.
    flashvars.message = '<c:out value="${requestScope.message}"/>';
    This message consists a single inverted comma in between...ex:- L'impression des pages
    But when i want to show this message using alert box in flex like Alert.show(message);, it just shows
    'L'.  i mean it is not showing complete message. the text after inverted comma is missing....
    it will be great if anyone can help me here...
    Thanks,
    Krish

  • Show text filled with video.

    I have a solid layer, a text layer and a video. I need to erase the solid layer only in the part where the text comes and show video behind it. How can I do this?

    Look up track matte in your AE manual. You might also search the AE community (that comes up with the online manual) for "text fill."

  • Skype chat window doesn't show text after a call

    After making a call with Skype, ANY chat window stops displaying text as you type in a message. Any ideas on how to fix this ? Skype 7.9 on MacOS Yosemite 10.10.3 Graeme 

    Please,  run the DirectX diagnostics tool (32-bit version).
    Go to Windows Start and in the Run box type dxdiag.exe and press the OK button. This will start the DirectX diagnostics program. Run this diagnostics and save the results to a file. Please, attach this file to your post.
    Be aware that you will have to zip this file before attaching it here.

  • Adding content after importing video

    I'm a newbie with an advanced question... I think. I imported
    a .flv file (about 5min) into frame 1 of layer 1. After the video
    ends, I want to add some closing effects (some gradients with text
    that pops up and says thanks for your time). Is there a way to do
    this in a nutshell? If this requires advanced actionscript or
    something harder, please say so and I'll have to source this out to
    someone. Thanks!

    Well,
    It's not that tough. It depends on what you mean by
    "advanced" actionscript. You can create a movie clip with your
    closing effects, and then load it when the video finishes. You
    would need: A listener to detect the end of the video, a movie clip
    to load, and code to load it. I am not sure how well you know
    flash, but poke around with those things and see what you can
    do.

  • After download and installation of PS PE12 I have problems starting the programm. After selecting video and new project nothing happens, only the colorbar below new project is showing

    New computer.
    After download and installation of PS PE12
    I have problems starting the programm, double clicking on the icon.
    After selecting video and new project nothing happens, only the colorbar below new project is showing, nothing happens.
    (expected was to activate the program and the sarting the PE12)
    PSE12 runs fine
    System:
    WIN8.1 / i7 /16GB RAM

    New computer.
    After download and installation of PS PE12
    I have problems starting the programm, double clicking on the icon.
    After selecting video and new project nothing happens, only the colorbar below new project is showing, nothing happens.
    (expected was to activate the program and the sarting the PE12)
    PSE12 runs fine
    System:
    WIN8.1 / i7 /16GB RAM

  • I just updated my 3gs to iOS5 and it keeps on saying cannot activate iphone.. after searching videos how to activate it.. i can't tap my three fingers because there is no clock showing on my screen. how do i go about it? help please.

    i just updated my 3gs to iOS5 and it keeps on saying cannot activate iphone.. after searching videos how to activate it.. i can't tap my three fingers because there is no clock showing on my screen. how do i go about it? help please.

    i have the exact same problem and im still currently trying to figure out how to activate it

  • Why does my email address show in texts on the receivers end?

    why does my email address show in texts on the receivers end?

    Receivers end where? In an email or a text message? Does this person have an iPhone?
    ~Lyssa

  • Jumping back to the dvd menu after video ends.

    Helloooo, I have Dvd Studio Pro 3.0.2.
    1. When my movie/video ends it just goes to a black screen. How do I make it so it goes back to the start of the dvd menu?
    I know I have to use a script or something its just how do I go about it. Is there any step by step instructions anywhere on the net for this type of thing. I have tried the dvd studio pro help and can't seem to find what i am after.
    2. Also I have TWO MENUS and the first menu is like the intro, and the second is the actual menu where you play movie etc...
    Can I make it so when the first menu is done playing the intro it goes to the second menu. Cause there is no timeline for the menu. I just want an intro and then the menu!
    Cheers

    This is the help stuff in the DVD STUDIO PRO saying about the JUMP thingy for the scripts.
    I have applied it and nothing happens.
    I know you have to put the JUMP command and then where you want to go. (Main Menu)
    Nothing happens I have tried for hours to try and get it and it doesn't go back when i use the simulator.
    1 Create a script and select it.
    2 Enter Ocean End as the script’s name.
    Note: Enter Beach End and Trail End as the names when creating the scripts for
    the other two tracks.
    3 In the Script Editor, select the first command line (Nop).
    4 In the Script Command Inspector, choose Jump as the command.
    5 To configure the jump command, choose Tracks and Stories > Beach > Marker 1 from
    the Jump To pop-up menu.
    Note: Choose Tracks and Stories > Trail > Marker 1 and Tracks and Stories > Shopping >
    Marker 1 when creating the scripts for the other two tracks.
    6 Add a compare function to the jump command to test to see if a Play All function is
    in process.
    • Select the Compare Command checkbox.
    • Choose GPRM 0 as the “Execute if” element to be compared to.
    • Choose equal (=) as the “is” compare operation type.
    • Choose Immediate as the “to” element type to compare.
    • Enter 1 as the “with value.”
    If GPRM 0 has a 1 in it (indicating the Play All function is in progress), this jump
    command occurs. If not, the script moves to the next command line.
    7 In the Script Editor, click the Add button.
    The next command line (Nop) is added to the script.
    8 In the Script Command Inspector, choose Jump as the command.
    9 To configure the jump command, choose Menus > Main Menu > Button 1 from the
    Jump To pop-up menu.
    All I am guessing is that how does it know when the movie finishes. I am just putting in a jump command in. like it seems i have to do something else.
    Help me please!!!!

  • How do i get video from my sony hx100 digital camera to my mac? after connecting the camera via the supplied usb cable, iMovie shows icons for 5 videos, but none will load.

    i've connected the camera to the mac using the supplied usb cable. imovie shows 5 icons for videos but all of them have the red circle with slash through them and the box to import them is grayed out.

    Get a nice Sony miniDV camcorder. It is not too expensive; it is small and easy to carry around to shoot your video. Most importantly, it will be instantly compatible with iMovie. You don't have to install any software, just connect it via FireWire (Sony calls this iLink) and you are good to go!
    I have had several Sonys and love them. You don't need one with fancy editing capabilities because you will edit your movies in iMovie. Just be sure that it has AV In and Out so you can import and export back to the camcorder.
    My current version is the small DCR HC-26. There are newer versions of that HC-30something and 40something. Look at the specs on Sony's website
    Some of them require the use of a dock to import and export. I am not really fond of that feature. I like just connecting directly to the camera.

  • VLC fullscreen sometimes makes screen stay black after video ends

    like the subject says, sometimes the screen just stays black when a video ends while VLC is in fullscreen mode.
    I'm using VLC 2.0.8.a-1. I got the laptop in April, just in time for Revision 2013, had the problem more or less from the start, so that's since version 2.0.5 or 2.0.6
    So far I haven't found a way to get things back to normal when it happens. I've tried
    press f
    press ESC
    close and reopen lid
    switch to console (screen just stays black, even on consoles)
    Apparently the only thing I can do is pop up a terminal window via shortcut and reboot.
    As far as I can tell /var/log/Xorg.[0,1].log doesn't tell what's going on.
    In case it's important, I've only experienced this on my Thinkpad T430, it never happend on my old ASUS laptop or on my desktop pc. An Intel issue maybe? The other two run on nvidia cards, the T430 does have an nvidia card in addition to the on-chip HD 4000 but I don't use it (I'd love to since the DP port is only usable with the nvidia card, haven't been able to make it work with bumblebee yet but that's a different issue).
    Any ideas? Which log and config files do you need?

    like the subject says, sometimes the screen just stays black when a video ends while VLC is in fullscreen mode.
    I'm using VLC 2.0.8.a-1. I got the laptop in April, just in time for Revision 2013, had the problem more or less from the start, so that's since version 2.0.5 or 2.0.6
    So far I haven't found a way to get things back to normal when it happens. I've tried
    press f
    press ESC
    close and reopen lid
    switch to console (screen just stays black, even on consoles)
    Apparently the only thing I can do is pop up a terminal window via shortcut and reboot.
    As far as I can tell /var/log/Xorg.[0,1].log doesn't tell what's going on.
    In case it's important, I've only experienced this on my Thinkpad T430, it never happend on my old ASUS laptop or on my desktop pc. An Intel issue maybe? The other two run on nvidia cards, the T430 does have an nvidia card in addition to the on-chip HD 4000 but I don't use it (I'd love to since the DP port is only usable with the nvidia card, haven't been able to make it work with bumblebee yet but that's a different issue).
    Any ideas? Which log and config files do you need?

  • Video ends and last frame remains showing

    I'm playing a very short video within a page. Once the video ends, the displayed image (the one that remains on screen) is the first frame of the video  - is there a way to make the last frame of the video remain on the screen?
    Thanks
    M

    For whatever reason I can't get this to work now. I've used the exact same settings as in your blog post. The video plays for the duration of the slideshow interval setting and then the third object state (a jpeg) appears.
    -Any ideas?

  • Flash CC shows that my trial has ended after I paid for it.

    Hi guys. I used Flash CC for a trial period and then yesterday I paid Adobe (got annual subscription). When I tried to open the Flash CC It still showed that the trial period has ended. I reinstalled the whole programm and still - it showed that the trial has ended.
    How can I get it to work?

    Hi Svagers,
    Try steps mention in given link:- http://helpx.adobe.com/creative-cloud/kb/convert-cs6-licensed-under-ccm.html
    Let us know if you need further help.
    Regards
    Sarika

  • Putting Text over a video is not working

    O.K.  I follow the instructions on putting text over a video (for iMovie 11), but every time I do this all I see is a black screen with the text in it.  I can't get the video to show up when I preview/play the video.  I have the same problem when trying to use the green screen feature as well.  Is there a setting or something that I need to change in iMovie?  If so what/where is it, because I am at my "witts end" trying to find it?

    I would suggest trashing the iMovie Preferences file. Instructions are here. (You should not need to trash the iApps preferences, just the iMovie one.)
    https://discussions.apple.com/docs/DOC-4061

Maybe you are looking for

  • [SOLVED] Vim : cterm=italic doesn't work

    I tried to change the colorscheme in Vim to have comments in italic like this : hi Comment guifg=#7C7C7C guibg=NONE gui=NONE ctermfg=gray ctermbg=NONE cterm=ITALIC But this make the comments' color inverted, which is very ugly, and they are not in it

  • Top of file gone missing, can it be recovered?

    Hi all, I had a file open in BBEdit Lite 6.1 for OS X and found that several pages off the top were missing, either by inadvertent edit error or bug. This I noticed after the file was saved. The file is a log file, so I always add to the end and leav

  • Slow(er) startup when using captive runtime on windows

    I  just converted two AIR apps from native exe installers (requiring AIR installed) to Captive Runtime relases (just a folder structure). One difference i see is that my applications now load a little slower (because of the packaged instead of instal

  • HT5372 iCloud icon on my iPad mini.

    Somehow, I have selected an option that has hidden the iCloud icon from my screen. How can I restore it?

  • Working with Arabic type in CS6

    I am producing artwork for a customer, they have provided a word document in arabic which is correct reading right to left, I have copied this into adobe, changed the font to Adobe Arabic, but the customer has said that it is still reading left to ri