FLVplayback stop the swf if...

Hi, I have a strange problem..
i'm using the FlVplayback component in Flash CS4.
On line, when i drag the seekbar cursor beyond the  loaded zone the flv stops and the swf stops working.
The problems occurs only with flv videos, the same player works fine with mp4 (it starts again from the beginning). I'm usign defaults skin.
Have you any idea of what happens?
thanks
S.

I want others to help put the pressure to get this addressed. Apple reads these forums, you can bet, especially related to Enterprise.
They are invoking the backup for a reason. Canceling the backup has resulted in sync failures and restores. I want the forum to get involved in applying the pressure to get this addressed immediately. This to me is as critical to implementing via enterprise as is MobileMe. Apple has to get this right.
Message was edited by: swheat
Message was edited by: swheat

Similar Messages

  • How can I stop the swf file from repeating on different web pages

    I have my entire website built and am using a flash
    navigation bar that also has a movie presentation attached to it. I
    uploaded it to every page in my site because it is required for
    navigation. My problem is that the movie plays every time you
    switch to a different page, I only want it to play once on the home
    page, and then just have the flash navigation work on the rest of
    them. I know that there is a way to use cookies to tell the
    computers IP address that is viewing the site not to replay the
    movie if it has already played within the specified time frame. But
    I am not very good with actually inputting code into flash, I am
    new to it. I have seen sample code on another website but I think
    it was referring to the wrong flash version, and it did not specify
    exactly where to put it in. Please help!

    Well I am actually using a template. And the flash video that
    was created is way beyond my ability. So I tried initially to
    separate the two, the intro video, and the navigation. But they are
    intertwined in a way that I do not understand. I do need to do the
    variable thing. I took a flash class in school, and my book does
    not touch anywhere close to this. I know its probably too
    complicated to explain through a forum, but can you recommend any
    resources online or books that would go more in depth with this
    sort if thing. If I can just see the way it works on another site,
    I know that I can do on mine.
    Thank you!!!
    :)

  • Unloading swf but the swf sound still play

    after unloading swf
    the sound of swf still play ??
    how i can stop the swf completely?

    if u mean using
    SoundMixer.stopAll();
    before the loading swf code
    i try that
    and still playing
    thats the code of scene 1
    stop();
    import flash.events.Event;
              SoundMixer.stopAll();
    var scene1s:Loader = new Loader ();
    scene1s.load(new URLRequest("scene1.swf"));
    addChild(scene1s);
    addChild(entery_bt);
    entery_bt.addEventListener(MouseEvent.CLICK, ToMainEntery);
    function ToMainEntery(event:MouseEvent):void
              scene1s.unloadAndStop();
              MovieClip(this.root).gotoAndPlay(1, "Scene 2");
    so he goes to scene 2 with the sound still playing ?

  • Stop the mouse from leaving swf

    Is there any way to stop the cursor from being able to leave
    a swf until a certain action has been completed ie roll over a
    button

    Wow nice responses. I have two questions:
    1) What is native code?Write the code to capture the mouse in C/C++ (Windows supports capturing the mouse cursor - dunno about linux or solaris), then write a JNI wrapper function so you can call it from within Java.
    >
    2) Is it difficult to make it full screen? I was
    thinking of doing that but the thought of rescaling
    everything (i.e. fonts, images etc) made me think
    otherwise.Fullscreen is easy, simply graphicsDevice.setFullscreenWindow(window);
    Once in fullscreen, you can change the resolution to whatever you like (limited to what is supported by the gfx card ofcourse :p), so you shouldn't have to worry about rescaling gfx 2much.
    >
    Thanx,
    Jon

  • Stop Looping SWF?

    I am using Flash video, in the form of SWF files, in an
    online game I am creating but I am having a problem where the video
    clips constantly loop instead of playing once and stopping. Is this
    looping caused by some type of setting I unknowingly made when I
    created the SWF files or is it caused by the particular Flash
    player that is running the video clips?
    Any assistance would be greatly appreciated.
    Thank you.

    you must explicitly stop the video stream. if you're using
    the flvplayback class to start the video's play, you'll need to
    apply the stop() method to that class instance.
    you can access the main timeline of your external swf by
    referencing the content property of your loader (and casting that
    as a movieclip). from there, use the path to your flvplayback
    instance and apply a stop() when the playheadPercentage of your
    flvplayback instance reaches 100.

  • Why does Captivate 6 create mp4 files that the swf does not playback clearly?

    Captivate 5 created a .swf which suited my training purposes very nicely.  There were swf files in the library, embedded in the (rather large) .swf that I asked the students to run.  Now it seems that Captivate 6.0.1.240 won't do that.  Captivate 6 creates external mp4 files for the video portion (audio is separately recorded mp3 that is imported to the finished demo video slide) and they look terrible when the .swf runs them.  Those mp4 look fine on their own but the .swf must resize them to properly fit with the TOC on the screen.
    The HTML created when I make the .swf looks fine but it does not all fit on the screen as does the .swf so I don't like it and don't want to use it.  Thanks, in advance, for any replies and suggestions.

    Hi llstewart,
    I assume you are launching your program from C drive. Are any
    components of Captivate stored on the remote drive? (I am thing
    your user profile, are you the only person who accesses Captivate
    from that machine?)
    Does this happen all the time?
    What I have noticed in my own network is that there are
    periodic "dropped" connections on the network. I have never figured
    out what it causing this, but Captivate does not like it. (Every
    once in awhile if Word or Excel are writing to a file on a share,
    they will become thoroughly corrupted too.)
    The problem with Captivate is that it needs a lot of a
    computer's resources and takes what it can get. It also seems to
    write to a temp file a lot (while a capture is taking place) an
    only "binds" it up when the user stops and ends the session. The
    only thing I can think of is that during this process there is a
    inturruption in your network.
    Sorry I couldn't fully answer your question.
    I would try (if you can) loading the software on a machine
    that is not on the network and try to do a series of long captures
    and see if the problem persists.
    I work in a large network and I do not have the problem, but
    I have also installed the software myself and made sure of the
    installation. I also make sure the program I am recording is local
    (whenever possible). Additionally, do you have problems with any
    other programs and corrupted files?
    Again, sorry I don't have a quick answer.
    TPK

  • How to load images from client side when the swf is hosted on a server without uplaoding it to server?

    I'm trying to build a online image resize tool.
    problem i face are:
    1. I build a button that allow user to browse the file. Once
    file is selected, it doesnt show full path.
    2. lets say if it shows fullpath, but i try to load it into a
    movieclip, and it doesnt work because the swf file is located at
    the server and not the client's place.
    3. as far as i know, flash can only load images which is
    located in the same server or internet.
    4. if i use php, asp, cgi.. it can only allow me to 1st
    upload the image then resize later, but this is not wat i want.
    5. I need to 1st resize then upload later, because if i have
    100 and more photos taken from digicam, it's going to be very slow
    and heavy.
    What i have tested:
    1. upload "image3.jpg" into the same directory as the
    "viewer.swf", and it works.
    2. do not upload the swf to the server, but run locally from
    the user's computer and open "image3.jpg" and it works.
    3. upload the swf to the server and open "image3.jpg" from
    the user's computer and IT DOESN"T WORK!
    please help me out.
    Thanks~!

    use this php code.
    for flash php image prosses.
    flash file
    import flash.display.BitmapData;
    shaF.onPress = function() {
    output();
    function output() {
    snap = new BitmapData(mc._width, mc._height);
    snap.draw(mc);
    var pixels:Array = new Array();
    var w:Number = snap.width;
    var h:Number = snap.height;
    for (var a = 0; a<=w; a++) {
    for (var b = 0; b<=h; b++) {
    var tmp = snap.getPixel(a, b).toString(16);
    pixels.push(tmp);
    var output:LoadVars = new LoadVars();
    output.img = pixels.toString();
    output.height = h;
    output.width = w;
    output.send("show.php", "output", "POST");
    stop();
    PHP file (show.php)
    <?php
    $data = explode(",", $_POST['img']);
    $width = $_POST['width'];
    $height = $_POST['height'];
    $image=imagecreatetruecolor( $width ,$height );
    $background = imagecolorallocate( $image ,0 , 0 , 0 );
    //Copy pixels
    $i = 0;
    for($x=0; $x<=$width; $x++){
    for($y=0; $y<=$height; $y++){
    $int = hexdec($data[$i++]);
    $color = imagecolorallocate ($image, 0xFF & ($int
    >> 0x10), 0xFF & ($int >> 0x8), 0xFF & $int);
    imagesetpixel ( $image , $x , $y , $color );
    //$font = imageloadfont('arial.ttf');
    $font = 'arial.ttf';
    // $text_color = imagecolorallocate($image, 233, 14, 91);
    $black = imagecolorallocate($image, 0, 0, 0);
    //imagestring($image, $font, 5, 5, "A Simple Text String",
    $text_color);
    imagettftext($image, 12, 0, 10, 20, $black, $font, "A Simple
    Text String");
    //Output image and clean
    //header("Content-Type: image/png");
    imagepng($image,"finoy.png");
    imagedestroy( $image );
    ?>
    <html>
    <body>
    <img src="finoy.png" width="159" height="159" />
    </body>
    </html>

  • Control where to start and stop an SWF file inserted into a Captivate 6 slide.

    I am working on a project in which I need to insert SWFs on to slides in Captivate 6 and I've reached a hick-up. Some of the SWFs only need to start play at a specific frame (which is not necessarily the beginning of the SWF) and stop play at a specific frame (which is not necessarily the end of the SWF).
    Is there a way, by use of "Execute Advanced Actions" or "JavaScript", to control the play of a SWF, inserted on a slide, so that it starts and stops at desired frames?

    I think it is almost there now. Thanks for putting me int he right direction. You may be able to offer observations on my coding:
    this.onLoad = function() {
        stop();
    this.onMouseMove=function()
        // Test current mouse position is within the dimensions of the image
        if(_root._xmouse >= 0 && _root._xmouse <= 130 &&
           _root._ymouse >= 0 && _root._ymouse <= 420)
            // It is safe to play the animation as the mouse is within the
            // stage area
            play();
        else
            // We must stop animating and revert back to the first frame
            gotoAndStop(1);
    this.onRollOut = function() {
        stop();
    http://www.trucklesoft.co.uk/silcox/lounge.html

  • FLVPlayBack.stop()

    I have a flvplayback video player which uses a VideoEvent.PLAYHEAD_UPDATE event listener to drive a custom tape timer display. I am trying to use the event listener to also trigger a stop command to the video when the playheadTime reaches a certain value. Putting the .stop() method inside the event listener triggers a 1009 Error when it tries to execute. Using the .pause() method does work but it's not exactly what I'm looking for. Is there another way to trigger the stop?

    Here's the beginning of the error output. It repeats for a good 10 seconds before it clears.
    TypeError: Error #1009: Cannot access a property or method of a null object reference.
        at fl.video::VideoPlayer/http://www.adobe.com/2007/flash/flvplayback/internal::closeNS()
        at fl.video::VideoPlayer/stop()
        at fl.video::FLVPlayback/stop()
        at Function/Main/$construct/updateTapeTimer()[C:\Users\xxx\Documents\PhiloPlayer\PhiloStop\M ain.as:371]
        at flash.events::EventDispatcher/dispatchEventFunction()
        at flash.events::EventDispatcher/dispatchEvent()
        at fl.video::FLVPlayback/http://www.adobe.com/2007/flash/flvplayback/internal::handleVideoEvent()
        at flash.events::EventDispatcher/dispatchEventFunction()
        at flash.events::EventDispatcher/dispatchEvent()
        at fl.video::VideoPlayer/http://www.adobe.com/2007/flash/flvplayback/internal::doUpdateTime()
        at fl.video::VideoPlayer/http://www.adobe.com/2007/flash/flvplayback/internal::closeNS()
        at fl.video::VideoPlayer/stop()
        at fl.video::FLVPlayback/stop()
        at Function/Main/$construct/updateTapeTimer()[C:\Users\xxx\Documents\PhiloPlayer\PhiloStop\M ain.as:371]
        at flash.events::EventDispatcher/dispatchEventFunction()
        at flash.events::EventDispatcher/dispatchEvent()
        at fl.video::FLVPlayback/http://www.adobe.com/2007/flash/flvplayback/internal::handleVideoEvent()
        at flash.events::EventDispatcher/dispatchEventFunction()
        at flash.events::EventDispatcher/dispatchEvent()
        at fl.video::VideoPlayer/http://www.adobe.com/2007/flash/flvplayback/internal::doUpdateTime()

  • Keep image size unchanged when fullscreen the swf movie

    Hi,
    i am including a image on SWF file (using Flash CS4) i want images to keep its original dimension whether user fullscreen the SWF movie or play it on windows.
    currently i do not have any action script or coding on my .fla file. when i publish the movie and fullscreen it, the image i put in fla file get all stretched out and blur. Please help me to figure out how to keep the dimension unchanged.
    Thank you

    All you have to do is to set the scalemode of the stage to "noscale"
    In AS3 add the following code:
    import flash.display.StageDisplayState;
    stop();
    stage.displayState = StageDisplayState.FULL_SCREEN;
    stage.scaleMode = StageScaleMode.NO_SCALE;
    There is a similar code for AS2, i think infact its the same this
    Stage.scaleMode = "noScale";
    Thanks
    Karthik
    P.s. if this post is helpful, please change the thread to answered.

  • How to reduce the swf file size of an imported After Effects file

    Hi!
    I am trying to make a web banner for an internet marketing company, so it has very specific requirements. We had it made in After Effects, and I was able to export it as a FLV file and import to Flash just fine along with the SWF. Now, I need to make the SWF file significantly smaller.
    Right now it is 2.5 MB and we can only submit a 40K size SWF. Is it even possible to reduce the size so much and still keep the animation's intregrity?
    I am more familiar with Flash than After Effects, but can play around with settings, etc if someone can tell me what to try.
    Thank you for your help!

    the easiest way to load and play your flv is to use an flvplayback component.  you just drag it from the component panel to the stage and, in the properties panel, assign its properties (eg, skin and source).
    but that will probably put you just over your 40kb limit and will require the skin.swf to be placed on the server with your banner ad.
    to decrease your swf size to negligible, use actionscript to play your flv.  this is the barebones code needed.  just replace your_video_url.flv:
    var nc:NetConnection = new NetConnection();
    nc.connect(null);
    ns:NetStream = new NetStreamnc);
    ns.play("your_video_url.flv");
    var video:Video = new Video();
    video.attachNetStream(ns);
    addChild(video);

  • Making .php accessible only by the SWF

    I have a PHP file that my flex is connecting to as its backend.
    How do I make sure that this PHP is callable only through the SWF and not by direct access to it from the web or some other illigitimate way?
    Does it involve changes to the SWF itself or the PHP itself or both? Any ideas are welcome.

    Sorry, the Mozilla developers didn't include a switch to turn that feature off. And the developers requested that I stop posting this "hack", as it may affect more than just the Private Browsing part of Firefox. The only real solution is to stop using Firefox, IMO.
    This worked in Firefox 3.5.x and 3.6.x versions: <br />
    Delete the '''nsPrivateBrowsingService.js''' file from Program Files > Mozilla Firefox >> Components folder.
    In Firefox 4.0.x, that file was moved into the '''omni.jar''' file which needs to be "un-packed" to get to that file to delete it, and then the '''omni.jar''' file needs to be re-packed, I have seen it posted that WinRAR is the program to use to work with the '''omni.jar''' container. I have used WinRAR to un-pack that "container" to examine the contents, but haven't tried using it to re-pack the omni.jar container and then tried to see if it worked after editing or removing a file.
    ''just an olde hot rodder from the 60's - '55 Bel-Air w/L-88, '57 Business Coupe w/327, '64 SS 409, '69 Z-28 - now playing in the streets of the internet with Firefox''

  • How to make a FLVplayback stop loading an FLV

    Hi guys,
    I am a newbie in As3, so please if you know the answer to my problem, explain it to me with a lot of details (how to write, where, what are the var to change...). I have a flash file, coded in AS3, that needs to have 4 FLVplayback movie in it. So right now, they way I did it, I have a mc on the stage with all my buttons (4) that are connected to a mc with all my vids (4 flvs). The vids in the mc are on the frame 1 - 5- 10 - 15. So when I click on the button 2 it plays frame 5 of the vids_mc. My problem is that when someone click on a button and the first movie didn't have time to finish loading, it will keep loading while the new one is loading too. At the end if someone clicks the 4 buttons, they will have 4 movies loading and after that playing at the same time. So what can I do to stop the other flvs from loading and playing every time I click to play a specific flv. Here's what I have now, it stops the sound and the movie if it's already playing, but don't stop the loading and will start to play when it's loaded even if I am watching a new movie;
    btn_2.addEventListener(MouseEvent.CLICK,btn2); //this code is in the buttons mc//
    function btn2(event){
    if ((root as MovieClip).vids.vid1) {
    (root as MovieClip).vids.vid1.stop();
    if ((root as MovieClip).vids.vid3) {
    (root as MovieClip).vids.vid3.stop();
    if ((root as MovieClip).vids.vid4) {
    (root as MovieClip).vids.vid4.stop();
    (root as MovieClip).vids.gotoAndPlay(5);
    Thanks in advance !!!!

    http://manuals.info.apple.com/en_US/iphone_user_guide.pdf user manual

  • Stopping external SWF when new SWF is loaded

    Ok.... hmmmmm. I am currently working on a flash site that
    loads external SWFs for each page. one of the SWFs contains a
    sitepal movie. the sitepal has been coded to stop playing and
    unload on a frame change but it keeps playing when a link in the
    index is clicked and another SWF comes in. (in other words there is
    no frame change. the new SWF loads but the old one keeps playing)
    make sense?
    I just need the site pal to stop playing when the next SWF
    loads!
    each link on the bottom is part of the main.swf
    (index.swf)...
    I need the links on the bottom to "turn off" the SWF when a
    new page is choosen. the External SWFs are labled 1-5....
    attached is a simple diagram in .jpg format explaining the
    functionality of the site!
    any insight is appreciated...
    PS
    IM NO CODE MONKEY.... more of a point-click, copy-paste type
    o dude..

    HI,
    My files loads an external swf (containing the video) into a
    container on my stage. The loaded swf contains the embedded wmv
    movie file, which is quite large I might add. Do I need to cut file
    size or change to flv?
    thanks again.

  • Stop another SWF movie (+ sounds) from another SWF

    Hiya there
    Thank you in advance for skim reading this and thinking if
    you can help!
    I've search and seen similar problems, but not the same.
    THE PROBLEM / CHALLENGE!
    I need a selection of simple SWF movie files with audio
    attached. They're basically audio buttons, scattered through a HTML
    page. At the moment they're set up with sound to 'stream' attached
    to a specific frame - then enough frames to cover the duration of
    the sound.
    - on press of button it skips to Frame2 where the button
    status changes and the sound plays
    - if during that playing process, the button is clicked
    again, then it jumps back to Frame1 and rests
    I've played with the StopAllSounds command, but that just
    stops the sounds on the other SWFs and doesn't stop (and revert)
    the other SWFs back to their Frame1's.
    Is this something i can solve with simple Action Script /
    Behaviours... or do i need to fiddle with the Javascript in the web
    page?
    Thank you in advance for any help
    cheers
    James

    "MrIzzard" <[email protected]> wrote in
    message news:e3l5nr$bdo$[email protected]..
    > But surely if the way i'm currently playing audio is
    from being attached into
    > the frames in the timeline (at the moment if i press a
    button to switch the
    > movie back to Frame 1, where there's no audio attached,
    the sound stops) - then
    > this would work for other frames too.
    > Does that make sense?
    If your swfs are on separate places on an html page (not one
    swf loaded by another swf) then you can use localConnection to
    communicate between swfs.
    There are some MX version 6 examples on my website where one
    swf controls one or more others..
    http://members.cox.net/4my2dogs/flash/
    You can have the receiving end stop sounds or move to a
    different frame etc.
    tralfaz

Maybe you are looking for