TotalTime action for Flash Video help

I'm trying to use totalTime action on MediaDisplay component
in Flash 8 to
set the duration of the external FLV video to some value: the
movie is 360
sec long, i tried to set its duration to 300 sec by applying
the action
_root.myDisplay.totalTime = 300;
The controler component adapts to the new totalTime value and
when the movie
reached 300 sec the slider stopped at the end of slider bar.
BUT, the movie
still went on plying beyond 300 sec, and the slider just
stood still at the
end point of the slider bar.
How can i REALY adjust the total playable time of the flv?
Thanks!

Fishy? I like fish! Had it for dinner last night.
When you add a cuepoint the Media Component instance fires an
event 'cuePoint' and you use the listener to respond to that event.
When the event gets fired an event object is passed to the cuePoint
event handler of the listener object. The event object contains the
name of the event and the time. The name of the cuepoint is
accessible with:
eventObj.target.name
and the time with:
eventObj.target.time
Nothing fishy about it.

Similar Messages

  • Best export for flash video

    I have completed an edit of a 7 minute teaser for a feature film and need to export it to be displayed online in a flash player. The footage is HD 1080i, 29.97fps and edited in the Animation coded. My experience with best exports for flash conversion is very limited so please bare with with.
    1) Is it possible to export directly from FCP to a flash file? If yes, would that be a good idea, or should I use third party softwares for better results?
    2) Which third party softwares are recommended for flash conversion? And what export compression should I use in FCP for best flash conversion results?
    3) Any other tips and tricks to get the best quality for flash video display?
    Any help would obviously be greatly appreciated. Thank you.

    When I have quality HD video that I want to export for flash, I compress it with h.264 codec. Then, with the new version of Flash, you can swap out the .mp4 extension for .f4v and your good to go in Flash. Quality looks pretty good at a fraction of the file size.

  • Compressing for flash video setting

    Anyone out there building content for flash video? I have a client who is shooting all their footage on a sony HD cam. All footage comes to me as 1080i60. They have requested all content be converted or embedded into flash at a 400X300 canvas size.
    I have tried some differant setting but most comes up somewhat pixilated. Any ideas?
    Thanks in advance for any ideas.
    Ron Nava

    Maybe this is helpful: Flash 8 Pro comes with a Flash 8 Video Encoder. It automatically converts Quicktime files into a .flv flash video file WITH a .swf AND a playback skin.
    The cool thing about this is how Flash then plays this back as a "progressive download," therefore less waiting time for it to start playback and smoother playback and very nice quality.
    I have a sample of this at size 540x400, larger than I have made in the past with other programs, just to see how it would look. I'm still playing with the dimensions. Thinking of making it smaller, actually; but the quality really holds up, I thought. http://web.mac.com/bfkproductions/HomeOne/PowWowSample.html

  • How to create a relative path for Flash video on a CDROM

    Hello - I need to distribute a web site to a client on a
    cross-platform Hybrid CDROM so that they can edit and make
    adjustments. This website also includes 2 flash videos that need to
    be included on the CDROM.
    My problem is this: I encoded the video in the Flash Encoder
    app and brought them into the main Flash app for conversion into
    swf files. I also used the media controller parameter to add a
    control skin to the movies. I now have 2 swf files associated with
    the flv video file, and I understand that all 3 of these must stay
    together for the video to work properly. The video plays correctly
    along with the controller skin on my Mac however only the
    controller shows up but no video on the CDROM. I believe that this
    has something to do with absolute vs. relative file paths for the
    video flv file to the swf controller file.
    I do not know how to change this path - I know "where" to
    change it within the controller parameter options box but do not
    know what syntax exactly to place here. How do you specify a
    relative path here? When I try to do it I get an error saying that
    the flv file cannot be found.
    I am trying to use the following syntax: /video/welding.flv
    where video is the name of the folder and welding is the name of
    the file. I have done numerous Google searches on this subject and
    stil cannot find an answer, so any help is appreciated.

    OK - I assigned the FLVPlayback component the instance name
    of videoPlayer to keep it simple. And I copied the above code into
    an Actions - Frame on Frame 1. FYI - The name of the video has been
    changed from welding to Timet Sponge.
    Now I get the following error messages:
    **Error** Scene 1, Layer 'Layer 1', Frame 1, Line 1: 1119:
    Access of possibly undefined property contentPath through a
    reference with static type fl.video:FLVPlayback.
    videoPlayer.contentPath = "";
    **Error** Scene 1, Layer 'Layer 1', Frame 1, Line 2: 1120:
    Access of undefined property _global.
    _global.videoURI = "video/Timet Sponge.flv";
    **Error** Scene 1, Layer 'Layer 1', Frame 1, Line 3: 1120:
    Access of undefined property _global.
    videoPlayer.contentPath = _global.videoURI;
    **Error** Scene 1, Layer 'Layer 1', Frame 1, Line 3: 1119:
    Access of possibly undefined property contentPath through a
    reference with static type fl.video:FLVPlayback.
    videoPlayer.contentPath = _global.videoURI;
    **Error** Scene 1, Layer 'Layer 1', Frame 1, Line 1: 1119:
    Access of possibly undefined property contentPath through a
    reference with static type fl.video:FLVPlayback.
    videoPlayer.contentPath = "";
    **Error** Scene 1, Layer 'Layer 1', Frame 1, Line 2: 1120:
    Access of undefined property _global.
    _global.videoURI = "video/Timet Sponge.flv";
    **Error** Scene 1, Layer 'Layer 1', Frame 1, Line 3: 1120:
    Access of undefined property _global.
    videoPlayer.contentPath = _global.videoURI;
    **Error** Scene 1, Layer 'Layer 1', Frame 1, Line 3: 1119:
    Access of possibly undefined property contentPath through a
    reference with static type fl.video:FLVPlayback.
    videoPlayer.contentPath = _global.videoURI;
    Total ActionScript Errors: 4, Reported Errors: 4

  • Stopping Flash Video help

    I have a problem with automaticly stopping external FLV video
    (in flash 8
    with Display component) at custom cue point. For example: if
    video is 400
    sec long, i wanted to stop it at 300 sec. I've tried with
    totalTime action
    but it only affect the slider. So, LuigiL sent me this
    solution which
    should, but - it doesn't work. Can you hel me fix the problem
    with stopping
    a FLV at a custom end point?
    myDisplay.totalTime=300;
    //use an object to listen for events
    var myDisplayListener:Object=new Object();
    //add event cuePoint to the object
    myDisplayListener.cuePoint=function(eventObj:Object){
    var index=eventObj.target.name;
    if(index=="stop"){
    myDisplay.stop();
    //set up the listener
    myDisplay.addEventListener("cuePoint",myDisplayListener);
    //add a cuepoint
    myDisplay.addCuePoint("stop",300);
    Thanks
    Luka

    No, it still doesn't work. And i've checked everything, paths
    are correct...
    Well, it must be some tiny detail i overlooked. I'll figure
    it out myself
    from this point.
    Thanks

  • Skin for flash video

    Where I can download the skin to dreamwaver for construct
    flash video pages
    thanks

    Hi Tom
    Indeed there is!
    Declare an Advanced Action that configures the volume. Then assign the action to the On Slide Enter event.
    Cheers... Rick
    Helpful and Handy Links
    Captivate Wish Form/Bug Reporting Form
    Adobe Certified Captivate Training
    SorcerStone Blog
    Captivate eBooks

  • Using variable in function for FLASH video

    I have a webpage that uses PHP to pull a variable from a
    MySQL database.
    I would like to use that variable to tell my flash component
    what flash video to play. I cant seem to figure out how to place
    the variable in the function call to make it work.
    Also...The main page is in the root directory of my site with
    all my flash videos in a subfolder. I can't seem to get the videos
    to play on my main page unless they are in the same directory. I
    even tried to simply 'include' the movie into my existing page and
    it doesn't work.
    Any idea on either of these issues?
    (Is this even the correct forum area for this? I am new to
    using FLASH for this stuff)

    Thanks for the advice!
    Turns out I believe my answer lies in PHP, but I will check
    out the LoadVars help in FLASH too!
    Andrew

  • Best compression for flash videos on my webpages?

    does anyone know the best way to convert short video clips so they will work great with flash and have the best quality possible for the web. i know a lot of different ways to convert them for the web, but i am having a hard time converting them to high, high quality for flash. can anyone please help?

    you are talking about converting video, like quicktime movies, to flash right? if so, utodesk Cleaner converts abotu anythign to .flv or .swf. If you are trying to convert a worse format to flash, which is already a lower quality format (which is why it is used for web), then i'm not sure why you would.

  • QT component for Flash Video

    I have the Macromedia Studio 8 suite and QT Pro 7.1.3.
    And yet, when I try to export a Flash file to QT it tells me a QT component is missing.
    I have Flash Video Encoder, so I'm really lost for an explanation.
    Help appreciated.

    Flash playback has been disabled in version 7.1.3 for security concerns.
    QuickTime Sys Prefs / Advanced tab can enable Flash.

  • Need a solution for flash videos on my site...

    Here is the deal. My website www.jonbarron.org has a few
    flash videos on it (some of them as long as 30 minutes or so) and
    while this website is not purely based on videos or media like that
    I am noticing that the videos when you watch them can get very
    choppy. I'm assuming this is because they need to be streaming or
    something which would require use of a Flash Media Server hosting
    soultion. EIther way I'm not sure if I should get a Flash Media
    Server Web Host because like I said the video section of the site
    is pretty small with only a few videos. I would however like some
    input on what everyone thinks is my best solution to the choppy
    videos on the website which can be found at...
    http://www.jonbarron.org/video/video.php
    Should I invest in a Flash Media Server Hosting plan (I don't
    think I want to do this because for unlimted connections it's over
    1500 each month!) or is there a way to make the videos less choppy
    without downsizing them anymore then they already are? I'm a little
    confused here when it comes to Flash Video on the web since I'm
    rather new to this area...

    They work fine for me, but I know what you mean. Don't invest
    in a media server just yet...
    Try increasing the buffer time on all of the movies. That
    should fix any choppiness on the videos on computers that aren't
    using a superfast connection.
    Let me know if you need help adjusting the buffer. It's
    pretty easy, just click on the FLVplayback component and open the
    component inspector window. There is a spot for buffer size, make
    it anywhere from 3-15-30 seconds, depending on how much you want to
    buffer it.

  • I've Tried Everything for Flash Player  HELP!!

    I've read all the posts on here and still can't find a solution to my problem.  First of all.......under add/manage addons There is a line that says Shockwave Flash Object and it says it's Disabled.  The thing is that the enable and disable button are grayed out and not just for trying to change that for flash but anything else under add ons.  What is the world is the deal?
    I have IE9 and have uninstalled totally Flashplayer and reinstalled as per instructions on these posts.  But still when I go to certain sites it says I need to download Flashplayer.
    HELP!!!!!!!!!!!!!!!!!  I've been trying to figure this out for days!  I even tried to install an earlier version of Flash Player and still won't work.

    There are TWO different Flash Player Plugins for Windows -
    Flash Player for ActiveX (Internet Explorer)
    Flash Player Plug-in (All other browsers)
    Are you 100% sure you installed the correct one?
    Also Shockwave and Flash work together but are different plugins. You need to have Shockwave for certain Flash content, but Flash Player for ALL Flash content.

  • No Audio for Flash Videos in Any Browser

    I'm running Windows 7 Ultimate 64 bit with Service Pack 1 which is a 64-bit OS.
    I can play videos in all browsers (IE, Firefox, Chrome, and Opera) but do not hear any audio that use Flash. 
    Videos that use Apple's Quicktime work perfectly with audio in all 4 of these browsers!
    If I download the Flash video to my hard drive and play it, the audio works fine.
    I can play music on my desktop and all other sound works fine.
    It is not my hardware; audio works fine.
    This is the Flash Player that I have installed:
    Adobe Flash Player 11 ActiveX 64-bit Version 11.1.102.62
    Adobe Flash Player 11 Plugin 64-bit Version 11.1.102.63
    In the Control Panel – System and Security, there is an icon called “Flash Player 32-bit”.  I thought I had installed the 64-bit version.  Is this simply misnamed or a clue to the root cause of the problem?
    The problem is with Adobe's Flash Player. 
    Audio was okay when playing a video in any browser.
    I recently installed a suggested update, and then no audio! 
    This has happened several times in the past. 
    I have no audio until the next update, and then it works. 
    Next update, it is broken again. 
    It's the Adobe installation.
    My recent attempt to fix this problem:
    Uninstalled Adobe Flash Player 11 ActiveX 64-bit Version 11.1.102.62
    Uninstalled Adobe Flash Player 11 Plugin 64-bit Version 11.1.102.63
    Downloaded the latest Flash Player from Adobe
    Reinstalled the Flash Player
    Rebooted
    Tried to run videos in IE8.  No Audio!
    Tried to run videos in Firefox.  No Audio!
    The solution offered in http://helpx.adobe.com/flash-player/kb/flash-player-games-video-or.html is poorly organized and poorly written such that it is painful to follow the steps.  It is basically a 21-page run-on sentence.  Most importantly, it attempts to solve the problem by browser.  I don't believe that this is a browser-specific issue.
    Does anyone have a solution for this problem that actually works?  Lot's of people have offered solutions on forums all over the Internet from the "turn on your speakers" to "edit the registry...".  I have not found one solution that works.  I have spent hours scouring the Internet and various forums for a solution to this problem.  There are thousands of people trying to solve it.  What is the solution?

    Carl,
    This worked for all browsers! It was really easy to do as the instructions were clear and succinct.  The files that I downloaded for the installation were:
         install_flash_player_11_active_x_64bit
         install_flash_player_11_plugin_64bit
    I referred to the wrong page in error in my original post.  I was looking at this page:
    http://helpx.adobe.com/flash-player/kb/installation-problems-flash-player-windows.html
    The above page led me to download and install the following file:
         install_flashplayer11x64_mssd_aih
    Not sure what this file is or if it was part of the problem.  Thoughts?
    Thank-you so much for resolving this issue for me.  Much appreciated!

  • Embedding Flash Video - Help needed!

    I'm fairly new to Flash and trying to embed a video to my
    website. When I import my video and test the movie, it works
    perfectly, showing the controls at the bottom and everything. When
    I add it to Dreamweaver and test the page, it only shows the video
    (sans media controls) and automatically plays when the page is
    loaded. What am I doing wrong??
    I'd like to upload the flash video w/media controls beneath
    it, to dreamweaver and it remain paused until the viewer hits the
    play button.
    Can anyone help?

    kyconjim wrote:
    > I'm fairly new to Flash and trying to embed a video to
    my website. When I
    > import my video and test the movie, it works perfectly,
    showing the controls at
    > the bottom and everything. When I add it to Dreamweaver
    and test the page, it
    > only shows the video (sans media controls) and
    automatically plays when the
    > page is loaded. What am I doing wrong??
    >
    > I'd like to upload the flash video w/media controls
    beneath it, to dreamweaver
    > and it remain paused until the viewer hits the play
    button.
    >
    > Can anyone help?
    Dreamweaver does not reflect full functionality, you need to
    upload your stuff to
    server or test in browser. Best way to make sure things
    works.
    If your HTML refer to the SWF in some directory, make sure
    you have correct paths
    to the player skin (the video controls).
    Best Regards
    Urami
    "Never play Leap-Frog with a Unicorn."
    <urami>
    If you want to mail me - DO NOT LAUGH AT MY ADDRESS
    </urami>

  • Single screen for flash videos

    I have a guitar tutorial on my website. I have lots of 1 minute flash videos that can be viewed. At the moment I use javascript to open a new browser to view each video...... this means that there are different screens (video players) for each video. How do I use 1 single video player to play all the flash videos? so when I click a playlist the video shows in the same player? I m not sure if this is understandable without an example. I just want 1 video player on my page and a link or playlist to play the videos in the same player.... sorry if this doesnt make sense!!!!!
    thank you

    WWD Player
    JW Player
    FlowPlayer
    Wimpy Rave
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb
    Message was edited by: Nancy O.  changed links

  • Flash Video Help FLV

    I have a project for work where I have to create an online
    educational video catalogue.
    The videos are uploaded to the server. What I want to do is
    transform the videos from various formats into flv (flash video
    format) similar to the way youtube does it.
    Does anyone have any idea of how to do this and if there are
    any free tools to transform the video to flv format before, during
    or after upload. (during or after upload would be best)?

    anyone have any idea how to do this?

Maybe you are looking for