FLVPlayback Memory Leak in Flash CS3

Hi There,
I' making a flash file with AS2 in Flash CS3. I put a FlVPlayback in stage and let it load a couple of FLV files from my local HDD and playing continuously. I use "addEventListener" to check the current running flash movie is completed. After complete event occur, I load another flv movie to paly again.Here, I noticed that memory usage is increasing every time a new flv file is loaded and played. I heard "addEventListener" in CS3 is causing the memory leak and not being detected by GC.
Please let me know if there is a solution to solve the memory  leak issue. I posted my codes here to know something I'm doing wrong.
Thanks in advance...
================================
onClipEvent (load)
    function _fun_complete(eventObj)
        this.autoRewind = "true";
        var _v1 = _root.v;
        var _v2 = _root.FLVlists.length;
        --__v2;
        if (_v1 < _v2)
            ++_v1;
        else
            _v1 = 0;
        this.contentPath = _root.FLVlists[_v1].path;
        var _v3 = _root.listVids[_v1].width;
        var _v4 = (stage._width - _v3) / 2;
        this._x = _v4;
        _root.v = _v1;
        this.play();
    this.addEventListener("complete", _fun_complete);

Helllo Friend,
Thanks for your feedback. The problem with removeEventListener is that , the player stops and not playing anymore. In my application, I nned to loop and play one FLV files after another. For example, I need to play 3 flv files, File1.flv, File2.flv, File3.flv. I load and play File1.flv first. Once complete event trigger from "addEventlisterner" , then I load File2.flv and then File3.flv and then Flie1.flv. So it needs play continuously and causing memory leak. Please let me know if there is another way of working around.
Regards

Similar Messages

  • Memory leak in Flash with Win7, IE9, 64bit

    I have been having an issue for quite some time on 2 different computers. Both of them are Windows 7 64bit and use IE9.
    Generally I have 1 - 5 tabs open in IE at any given time. Usually one of them is a tab for Yahoo Mail. Other tabs are related to whatever I may be searching for or doing at that time, so pretty varied. Throughout the day at random times I will begin to get a grey icon for anywhere on some tabs where there is supposed to be a flash video (like the ad in the right side of the Yahoo Mail tab)... When it happens I can open Task Manager in windows and I notice that 1 or two "iexplore.exe *32" processes have memory consumed in excess of 600,000K. When I end those processes I am again able to see any flash videos that need to be viewed.
    If I leave Task Manager open throughout the day I can see the memory consumption increase on various tabs until I cannot see any more flash videos or even open new tabs in IE until I end those processes. Further, the memory does not get released if I just close the tabs in IE, but I must either end the specific process or close all tabs in IE so that IE is completely unloaded.
    I have since uninstalled the Flash player and the issue has gone away. I can re-install the flash player and the issue returns. Can you please help? This has been a huge annoyance and I had hoped that it would be fixed sooner or later. Unfortunately it has not been fixed and has finally prompted me to post something....

    First, I just wanted to follow up on this thread and let you guys know that we'll continue to look into it.  I also want to clarify some player behavior, and provide tips for helping to identify a defect that we can take action on.
    Whenever you refresh/reload a tab, the browser should signal to us that our process is being destroyed, at which point we would release all of our resources and shut down.  SergeStone's comment above makes it sound like this might not be happening in a particular case.  I'm going to build out a few tests this week to explore this in more detail, and I'll follow up with results.
    Also, it's worth discussing the difference between memory consumption and memory leaks.  Flash Player is designed to consume a percentage of your available memory.  If you have a 32-bit machine with 2GB of RAM, we're going to consume a lot less memory than a 64-bit system with 16GB of RAM. 
    Not all Flash content is authored well.  If the ActionScript developer is continuously loading objects into their SWF and never releasing them (a slide-show is a good simplistic example), you'll see a steady usage increase as each new object loads in.  You should also see that evenutally, our automatic Garbage Collection process will kick in.  Memory will peak out, and then you'll see a short CPU spike as we look at all of the available objects and cull as many unused ones as possible, consumed memory will dip down significantly (as long as we can cull stuff), and then start growing again until the next time GC kicks in.  We tend to do this judiciously, as poorly-timed GC can cause games to stutter if it happens when lots of things are moving around on the display and you don't have a lot of available CPU.
    If it's our bug, it should be straightforward to fix, and I can follow up to this thread with a beta build for you guys to evaluate once we have one available.  In the meantime, it would be interesting to know if you're seeing the problem on our current Beta builds (which is where we would do the work). 
    Here's a link to the latest Beta download:
    http://labs.adobe.com/downloads/flashplayer11-5.html
    Also, the simplest example is the most actionable.  If you can find a situation where a site in a single tab reproduces the problem, that's a quick and easy thing to deal with.  If the repro case involves opening seven tabs and waiting six hours, someone needs to repeat that over and over, until they can isolate what content experiences the problem and then iterate a bunch more with a debugger attached to try and isolate the root cause.  The more complicated the content, the more difficult that is.
    Secondly, I wanted to offer some actionable suggestions that you could use now to work around this issue. 
    Try Firefox or Chrome.  Both of these browsers run Flash Player as a separate process.
    For those of you using Performance Monitor and other tools to measure, you can directly observe the resources used by Flash Player
    For the folks concerned about Bookmarks synchronization, both Firefox and Chrome provide native bookmark syncing and import from IE mechanisms. 
    Xmarks is a really nice, free utility that provides cross-browser, cross-platform bookmark synchronization.
    Thanks,
    Jeromie Clark

  • Memory Leak with Flash Game - video of incident - Fix?

    My hypothesis:
    There is a memory leak in Flash Player that leads to Flash crashing, predictably and repeatedly, when used.
    My question:
    When will this problem be fixed?
    Evidence:
    Observe the progression in the following single-take video of me playing my favorite Flash game, posted to Youtube.  Skip to the times indicated in the "About" description for the video to observe the increase in use of physical memory, as observed in Windows Task Manager, until there isn't anything left.
    http://www.youtube.com/watch?v=gNIJvTuUitU
    My computer gets bogged down, the game stalls out, and Flash needs to be closed to enable my computer to function once more.  It makes it impossible to play this specific game for very long, and is an insidious problem lurking in the background every time I watch a video, play a game, or use Flash Player for any purpose.  My computer always slows down, with the problem worsening as time passes until I need to close everything and start again.
    Details:
    Flash Player Version: 11.7.700.224
    Operating System: Windows Vista (32-bit)
    Browser: Mozilla Firefox
    (Also happens when using Google Chrome)
    Conclusion:
    If you need further information about my specific computer, please feel free to ask.
    If this problem is specific to my computer, I would appreciate knowing this and determining a way to solve the problem.  My suspicion is that the problem originates in Flash Player itself and is experienced by many people in a variety of circumstances.  It is my hope that an articulate response indicating how long it will take to correct this bug in Flash Player can be provided.
    Thanks in advance for your help.

    My hypothesis:
    There is a memory leak in Flash Player that leads to Flash crashing, predictably and repeatedly, when used.
    My question:
    When will this problem be fixed?
    Evidence:
    Observe the progression in the following single-take video of me playing my favorite Flash game, posted to Youtube.  Skip to the times indicated in the "About" description for the video to observe the increase in use of physical memory, as observed in Windows Task Manager, until there isn't anything left.
    http://www.youtube.com/watch?v=gNIJvTuUitU
    My computer gets bogged down, the game stalls out, and Flash needs to be closed to enable my computer to function once more.  It makes it impossible to play this specific game for very long, and is an insidious problem lurking in the background every time I watch a video, play a game, or use Flash Player for any purpose.  My computer always slows down, with the problem worsening as time passes until I need to close everything and start again.
    Details:
    Flash Player Version: 11.7.700.224
    Operating System: Windows Vista (32-bit)
    Browser: Mozilla Firefox
    (Also happens when using Google Chrome)
    Conclusion:
    If you need further information about my specific computer, please feel free to ask.
    If this problem is specific to my computer, I would appreciate knowing this and determining a way to solve the problem.  My suspicion is that the problem originates in Flash Player itself and is experienced by many people in a variety of circumstances.  It is my hope that an articulate response indicating how long it will take to correct this bug in Flash Player can be provided.
    Thanks in advance for your help.

  • Customize "FLVPlayback.as" provided by Flash CS3

    How can we modify & recompile "FLVPlayback.as" provided
    by Flash CS3 located at [C:\Program Files\Adobe\Adobe Flash
    CS3\en\Configuration\Component Source\ActionScript
    3.0\FLVPlayback\fl\video]
    Thanks in advance,
    Siraj Khan
    [email protected]

    Link
    to same question
    Please don't cross post.

  • Problem Report: Severe memory leak in Flash Player 9.0

    Summary
    Flash player 9.0 is prone to a severe memory leak when
    playing SWF files produced by Captivate 1 containing full-motion
    recordings.
    Versions affected
    The problem reproduces with Flash player 9.0 (Flash9.ocx,
    Version 9.0.16.0) hosted in either Internet Explorer 6.0 or Mozilla
    Firefox 1.5 on a Windows XP SP2 system.
    The problem does not reproduce with Flash player 8.0
    (Flash8.ocx, Version 8.0.22.0) in the same environment.
    Description
    After a few minutes playing a SWF file produced by Captivate
    1 containing a full-motion recording recorded with Captivate 1, the
    host browser ends up using more than a gigabyte of memory, and the
    playback of the movie slows down to a halt, together with
    responsiveness of the whole system.
    Impact
    Our organization develops E-learning content with Captivate 1
    for various customers, mostly Fortune 100 companies.
    This bug severely limits our ability to deliver content to
    our customers.
    Steps to reproduce
    1. Using Captivate 1.01.1418, create a “blank
    movie” with default settings.
    2. Use the “Record” button and begin recording a
    full-motion movie for about 2-4 minutes. For the purposes of this
    bug, it is enough to record a user typing random text in a Notepad
    window resized to fit in the default 800x600 window.
    3. After recording the full-motion movie, publish the
    Captivate movie as a “Flash (SWF)” movie, using default
    settings (making sure that the “export HTML” checkbox
    is selected).
    4. Open the published movie’s HTML file with a host
    browser, making sure that the browser is using the Flash 9.0
    player.
    5. While the movie is playing, watch the memory usage of the
    browser process using Windows Task Manager, and you will see that
    the values of the “Mem Usage” and “VM Size”
    counters keep increasing until the system becomes unusable.

    Also see:
    http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=44&catid=184&threadid =1249396&enterthread=y
    Flash is generating around 300 page faults per second per
    flash animation
    Performance
    issues: page faulting
    Flash is also generating around 300 page faults per second.
    This can be observed by following the instructions in the link
    above for displaying page faults in the system task manager.

  • Evony Memory Leak in Flash Player

    Is there a work-around of any sort for the massive memory leak in the Evony flash player based game?   When you play this game actively, opening dialogs, and submitting attack, the game can easily leak 250MB/hour until the browser grows in size to well over 1GB, before either crashing or becoming unacceptably slow to interact with.
    This problem is well known on the Evony forums and easily verified by numerous people.  Just google "Evony memory leak".
    It has been repro'ed on all browsers and all platforms that have the Adobe Flash player.  Is this being investigated?  Does the dev team know about this problem?  Is there already a thread on it here somewhere that I missed?
    Thanks,

    Also see:
    http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=44&catid=184&threadid =1249396&enterthread=y
    Flash is generating around 300 page faults per second per
    flash animation
    Performance
    issues: page faulting
    Flash is also generating around 300 page faults per second.
    This can be observed by following the instructions in the link
    above for displaying page faults in the system task manager.

  • FLVplayback component mod help (Flash CS3, as3)

    can anyone help me with the actionscript needed to
    dynamically call a flv video into cs3's default
    flvplaybackcomponent with a variable?
    i have it working on as2 but the scripting must be different
    in as3 cause it dosnt work there.
    my as2 code is as follows:
    stop();
    var passed:String = video;
    player.contentPath= video;
    this allows me to use videoplayer.swf?video=[video].flv
    but i need this to work in cs3 flash9 player with the
    fullscreen support
    any help would be greatly appreciated.

    which version of flash cs3 do you have?

  • I think I found a memory leak in Flash 10.1 involving a particular page

    Go to [url]http://politicalticker.blogs.cnn.com/?fbid=o9Nb8jC6wvV[/url] and the browser keeps gobbling up memory until an eventual freeze and crash. I get this result using IE8 in conjunction with flash version 10.1.51.45.

    I have experienced something similar, and went on quite an investigation over the past 3 days to work out the cause of the problem.  However, it simply appears to be the new more "efficient" way the garbage collector in 10.1 works.
    During execution, my app might use 400mb, then release it.  In 10.0 and earlier versions, that 400mb would be reclaimed by the player pretty much straight away.  However, now it seems to decide that if you have declared you want to use 400mb of RAM yourself, then it decides that for a while it will become a sort of new temporary upper limit for garbage collection.  Thus, it's entirely possible to see memory use climb and climb seemingly unchecked.  I guess now they are working on the idea that if you declared that much RAM can be used by your app at one point, they might as well let it fill up and keep those gc() operations to a minimum.  What's if you then have 400mb of garbage that needs to be cleaned out and you suddenly decide that hey - you want to actually use 400mb yourself?  Well, thankfully it seems that garbage collection runs and then your 400mb is provided.
    Interestingly, system.gc() appears to not work anymore.

  • Memory leak found in flash player active-x 'CallFunction' method.

    Hello,
    I think I found a memory leak that results from  calling the flash player active-X object's method 'CallFunction'. Each time this  method is called it seems that memory is not properly freed.
    I'm attaching here a  simple program I've made with C# that uses the shockwave flash object to load a  SWF and continuously perform calls to it using the 'CallFunction'. It also  displays the process memory so you can see how it's being increased after some  time running.
    In the zip file, under the bin/release directory, you'll find the  compiled executable and both the test SWF (CallFunctionTest.swf) and its source (AS3 file) which is  just a dummy Sprite that exposes a callable method using the ExternalInterface.  The SWF has been compiled using Flex compiler (Version 3.3.0 build 4852).
    The  leak may become more visible after some hours running. Also, it's interesting to  note that even by reloading the SWF without closing the application (by stopping  and restarting the stress in my test application) the memory is not freed.
    As a reference, in my  computer (Intel Dual core E2180 @ 2Ghz) the test application's virtual memory  (VM64) increased from 192MB to 480MB in 4 hours. In Windows XP 32-bit when this value reaches 2GB the process runs out of memory and the application crashes.
    Does anyone experienced the same problem?
    I have Flash Player version 10,0,32,18 installed.
    Thanks,
    Joan

    Hi,
    I found this problem recently.
    I embedded Flash in my Visual C++ project through ActiveX, and intensively call
    ShockwaveFlashObjects::IShockwaveFlash::CallFunction().
    It seems that every time I invoke this function, the memory usage of my program increase about 8kB, and never goes back again. I think this is caused by the internal memory leak in Flash.
    Does adobe have any plan to fix this issue?
    Alvin. C. Chung

  • Memory-Leak in communication of Acrobat-Flash and JS

    Hi
    The situation is as follows:
    I have a Flash-SWF (in which I have programmed a GUI)
    I have a 3D-Annotation containing an annotation-script with some functions that can be called from the GUI.
    So far so good.
    The SWF is added as overlay to a 3D-Annotation. The SWF contains some AS3-Functions, among them an enterframe-event, that keeps repeating an external-interface call to a function in the 3D Annotation-script. It works so far.
    When I tested for performance however I noticed that there is a memory-leak under these conditions. I tested my setup, and noticed the memory-useage increase by about 1 MB every 3 seconds. To further test this I stripped about everything from both the swfs Actionscript  and the annotation-JavaScript. Still the memory-useage of process "acrobat.exe*32" gradually climbs by 7-10 MB per minute. The memory-useage of "A3DUtility.exe" remains constant. Deactivating the annotation will decrease the memory-useage by a certain amount (though not to the initial value upon opening the file and starting the annotation) , but upon re-activating it immediately jumps back to the value assumed last before deactivating it. From that last value the increase starts again as well. I could observe this behaviour both in Acrobat 9 Pro Extended, Acrobat X and ReaderX.
    It seems something is wrong with the ExternalInterface-Object.

    OK, I'll do that.
    By the way, imho it's not that minor. ~1mb in two seconds sums up to ~30mb/minute, i.e. 2gb/hour. So if you leave your PDF open for some 15 minutes that's 500mb ram down the drain. Considering the file started at merely 30mb that's quite massive.

  • [InDesign CS3] how to find the reason of the memory leaks?

    Hi all,
    I'm working with InDesign CS3. I wrote a plug-in and loaded it into InDesign in debug mode. After I closed the application, I got a console window showing memory leaks as following:
    Leaks! 52 leaks, 716804 bytes
    Press any key to continue . . .
    Does anybody know how to find the reason of the memory leaks? Thanks a lot!
    Nicole

    Thanks Dave. I'm using Windows, and I also tried MemoryTracker. I got a Leaks.txt which shows the detail of memory leaks as following. But I really can't understand it. Any help? Thanks.<br /><br />Leaks!  7 leaks, 455252 bytes<br /><br />65036 bytes at: 7B22FF8<br />     4172627C     MemoryPool::GetNonPoolSizePeak cannot be found in any module!<br />     00EDC1CB     K2Internals::K2VectorBase<HolderPtr<IPMUnknown>,K2Allocator<HolderPtr <IPMUnknown> > >::fill_insert cannot be found in any module!<br />     01C9C74F     cannot find address in any module!<br />     01C96DEC     BIBGetVersion cannot be found in any module!<br />     01C96E60     BIBGetVersion cannot be found in any module!<br />     01C979E4     cannot find address in any module!<br />     0131F511     K2Internals::K2VectorBase<HolderPtr<IPMUnknown>,K2Allocator<HolderPtr <IPMUnknown> > >::fill_insert cannot be found in any module!<br />     0131F4C4     K2Internals::K2VectorBase<HolderPtr<IPMUnknown>,K2Allocator<HolderPtr <IPMUnknown> > >::fill_insert cannot be found in any module!<br />     00EDBC7E     K2Internals::K2VectorBase<HolderPtr<IPMUnknown>,K2Allocator<HolderPtr <IPMUnknown> > >::fill_insert cannot be found in any module!<br />     00EDBFBE     K2Internals::K2VectorBase<HolderPtr<IPMUnknown>,K2Allocator<HolderPtr <IPMUnknown> > >::fill_insert cannot be found in any module!<br />     00EDC558     K2Internals::K2VectorBase<HolderPtr<IPMUnknown>,K2Allocator<HolderPtr <IPMUnknown> > >::fill_insert cannot be found in any module!<br />     1002C26E     cannot find address in any module!<br />     1002BFB9     cannot find address in any module!<br />     00401644     cannot find address in any module!<br />     00405146     cannot find address in any module!<br />     00404EBD     cannot find address in any module!<br />     7C817067     RegisterWaitForInputIdle cannot be found in any module!<br />65036 bytes at: 7B32E38<br />     4172627C     MemoryPool::GetNonPoolSizePeak cannot be found in any module!<br />     00EDC1CB     K2Internals::K2VectorBase<HolderPtr<IPMUnknown>,K2Allocator<HolderPtr <IPMUnknown> > >::fill_insert cannot be found in any module!<br />     01C9C74F     cannot find address in any module!<br />     01C96DEC     BIBGetVersion cannot be found in any module!<br />     01BB149B     cannot find address in any module!<br />     01BB4C62     cannot find address in any module!<br />     00EDBCE3     K2Internals::K2VectorBase<HolderPtr<IPMUnknown>,K2Allocator<HolderPtr <IPMUnknown> > >::fill_insert cannot be found in any module!<br />     00EDBFBE     K2Internals::K2VectorBase<HolderPtr<IPMUnknown>,K2Allocator<HolderPtr <IPMUnknown> > >::fill_insert cannot be found in any module!<br />     00EDC558     K2Internals::K2VectorBase<HolderPtr<IPMUnknown>,K2Allocator<HolderPtr <IPMUnknown> > >::fill_insert cannot be found in any module!<br />     1002C26E     cannot find address in any module!<br />     1002BFB9     cannot find address in any module!<br />     00401644     cannot find address in any module!<br />     00405146     cannot find address in any module!<br />     00404EBD     cannot find address in any module!<br />     7C817067     RegisterWaitForInputIdle cannot be found in any module!<br />65036 bytes at: 7B52AB8<br />     4172627C     MemoryPool::GetNonPoolSizePeak cannot be found in any module!<br />     00EDC1CB     K2Internals::K2VectorBase<HolderPtr<IPMUnknown>,K2Allocator<HolderPtr <IPMUnknown> > >::fill_insert cannot be found in any module!<br />     01C9C74F     cannot find address in any module!<br />     01C96DEC     BIBGetVersion cannot be found in any module!<br />     02331A7A     cannot find address in any module!<br />     0236E7CD     cannot find address in any module!<br />     43726F6C     cannot find address in any module!<br />65036 bytes at: 7C93D80<br />     4172627C     MemoryPool::GetNonPoolSizePeak cannot be found in any module!<br />     00EDC1CB     K2Internals::K2VectorBase<HolderPtr<IPMUnknown>,K2Allocator<HolderPtr <IPMUnknown> > >::fill_insert cannot be found in any module!<br />     01C9C74F     cannot find address in any module!<br />     02331F36     cannot find address in any module!<br />     02367F85     cannot find address in any module!<br />     02415DB4     cannot find address in any module!<br />     3F800000     cannot find address in any module!<br />     02416799     cannot find address in any module!<br />     FFFFFF11     cannot find address in any module!<br />65036 bytes at: 7CD6028<br />     4172627C     MemoryPool::GetNonPoolSizePeak cannot be found in any module!<br />     00EDC1CB     K2Internals::K2VectorBase<HolderPtr<IPMUnknown>,K2Allocator<HolderPtr <IPMUnknown> > >::fill_insert cannot be found in any module!<br />     01C9C74F     cannot find address in any module!<br />     01CE1C14     cannot find address in any module!<br />     01DD9346     CTGetVersion cannot be found in any module!<br />     01D9B052     CTGetVersion cannot be found in any module!<br />     01D9B189     CTGetVersion cannot be found in any module!<br />     01D9BB21     CTGetVersion cannot be found in any module!<br />     01D9BD0C     CTGetVersion cannot be found in any module!<br />     01D9CE96     CTGetVersion cannot be found in any module!<br />     01D9CEFF     CTGetVersion cannot be found in any module!<br />     01DDBEA2     CTGetVersion cannot be found in any module!<br />     01DDC214     CTGetVersion cannot be found in any module!<br />     01DDC7C6     CTGetVersion cannot be found in any module!<br />65036 bytes at: 16D68200<br />     4172627C     MemoryPool::GetNonPoolSizePeak cannot be found in any module!<br />     00EDC1CB     K2Internals::K2VectorBase<HolderPtr<IPMUnknown>,K2Allocator<HolderPtr <IPMUnknown> > >::fill_insert cannot be found in any module!<br />     01C9C74F     cannot find address in any module!<br />     01BB178C     cannot find address in any module!<br />     01BCE7C8     cannot find address in any module!<br />     01BCEE13     cannot find address in any module!<br />     01BD28C5     cannot find address in any module!<br />     01BD4CB7     cannot find address in any module!<br />65036 bytes at: 20B68F88<br />     4172627C     MemoryPool::GetNonPoolSizePeak cannot be found in any module!<br />     00EDC1CB     K2Internals::K2VectorBase<HolderPtr<IPMUnknown>,K2Allocator<HolderPtr <IPMUnknown> > >::fill_insert cannot be found in any module!<br />     01C9C74F     cannot find address in any module!<br />     01CE1C14     cannot find address in any module!<br />     01D2F1A1     cannot find address in any module!<br />     01D6F789     CTGetVersion cannot be found in any module!<br />     07BFB464     cannot find address in any module!<br />     07BFB464     cannot find address in any module!<br />     07BFB464     cannot find address in any module!<br />     07BFB464     cannot find address in any module!<br />     07BFB464     cannot find address in any module!<br />     07BFB464     cannot find address in any module!<br />     07BFB464     cannot find address in any module!<br />     07BFB464     cannot find address in any module!<br />     07BFB464     cannot find address in any module!<br />     07BFB464     cannot find address in any module!<br />     07BFB464     cannot find address in any module!<br />     07BFB464     cannot find address in any module!<br />     07BFB464     cannot find address in any module!<br />     07BFB464     cannot find address in any module!<br />     07BFB464     cannot find address in any module!<br />     07BFB464     cannot find address in any module!<br />     07BFB464     cannot find address in any module!<br />     07BFB464     cannot find address in any module!<br />     07BFB464     cannot find address in any module!

  • There seems to be serious flash memory leak in ie7

    Hi.. I have run into a serious memory leak issue with flash on
    internet explorer 7.0.5730.13 (everything works with firefox). It can be
    seen clearly browsing open flash charts site. Here are steps to
    reproduce:
    1) go to
    http://www.websector.de/blog/2007/10/01 ... wsmonitor/
    2) click start on WSMonitor
    3) File->New Window paste following address in address bar and click
    enter: http://teethgrinder.co.uk/open-flash-ch ... hollow.php
    4) click from chart to chart and see each time how memory increases...
    This does not happen with firefox.
    Independently to trouble shoot it wasn't any code I confirmed by making an swf file with actionscript with simply following:
    package  {
    import flash.display.Sprite;
         public class main extends Sprite {
              public function main() {
                   trace("starting3");

    hello, can you try to replicate this behaviour when you launch firefox in safe mode once? if not, maybe an addon is interfering here...
    [[Troubleshoot extensions, themes and hardware acceleration issues to solve common Firefox problems]]

  • AS3 - 1) Countdown Timer to the designated Date for Live-Broadcast-Event yet to take place; 2) Detect End of Live Stream on FLVPlayback with FLVPlayback.isLive = true - ActionScript 3 - flash cs3 cs4

    Hi folks,
    Ronny's here again on forums, having particularly 2 (two) questions/problems to resolve:
    1) Countdown Timer to the designated Date for Live-Broadcast-Event yet to take place
    2) Detect End of Live Stream on FLVPlayback with FLVPlayback.isLive = true
    attached is the .zip file (as3_Countdown Timer_ver 1.0.1_by Ronny Depp.zip) with all flash source files containing:
    a) The FLash Source (file: timer_module.fla) - (FLA flash source file - Flash CS3 Professional, Flash Player 9, actionscript 3.0)
    b) com.othenticmedia.utils.dateAndTimeManagement package including 2 .as actionscript 3.0 Class files.
           i) com.othenticmedia.utils.dateAndTimeManagement.DateAndTimeManager Class in the said package. (file: DateAndTimeManager.as)
           ii) com.othenticmedia.utils.dateAndTimeManagement.CountdownTimer Class in the package. (file: CountdownTimer.as)
    c) The compiled SWF file version of this Application's blueprint. (file: timer_module.swf).
    What i need to confirm is: ........................................................ see the next post of mine. (for Problems  need to be Resolved)

    Problems to Resolve:
    Problem#1) - Countdown Timer to the designated Date for Live-Broadcast-Event yet to take place.
    Problem#2) - Detect End of Live Stream on FLVPlayback with FLVPlayback.isLive = true;
    Problem#1 Description:
    I need to pinpoint the Logical TimeSync Exception, i am still unable to figure out. That is I'm using a webservice in my Application to Synchronize the Time with the actual ET (eastern time) with accomodation of auto-adjustment for EDT GMT-4 (eastern daylight time) & EST GMT-5 (eastern standard time), times. I am using the zipcode: "10012" to pass it to the Web Service in urlRequest object, to retrieve the Current ET eastern time according to EDT & EST time settings for Manhattan/Brooklyn areas or others within  New York, NY 10012.
    Currently the Web Service is returning accurate date/time based on local EDT GMT-4 daylight time.
    Is there some defined set of dates for EDT & EST times for New York region that I can check for to ensure the correct Dates/Times for Eastern Time in New York area ??? I am using NY zipcodes because i am sure to get correct ET values.
    The Major Problem Part: is I need to correct the time by 2 seconds or approx. 2 secs, some millisecs.
    When I retrieve the Time Value from WebService, it lags behind for 2 seconds as compared to DateObj i create using computer's local time, on my Windows XP Service Pack 2 with Automatic Updates turned-on. And I'm sure about my Windows will be having latest updates for Time Management already installed. I also added the 2 secs. to the TimeSync(ed) Date to make correction to this Date obj.
    I call my custom fucntion addSeconds(dateObj:Date, secs:int) to add 2 seconds to the Date by Converting Seconds to Milliseconds.
    Please comb through the as code in files attached and Help Me Out !!!
    Problem#2 Description:
    Secondly I need to Detect the End of Stream state while using FLVPlayback component, an rtmp:// live Stream from FLASH MEDIA SERVER.
    I need to Play a YuMe Post-Roll Ad when Steam Finishes/Ends.
    Live Broadcast Stream Event starts every night on Wednesdays & Saturdays exactly  at 10:59 PM EDT GMT-4.
    Live Events only Streams/Broadcasts the stream for 50secs. exactly. When [playback stopped] it plays a PostRoll Ad and after the CountdownTimer again comes back to life. The Next upcoming Event is calculated & the Countdown begins until Next Event's time/date is reached.
    Here is the  code on the frame 1 on the MainTimeline: (rest of the params like source, volume, skinAutoHide are Set using Property Inspector for FLVPlayback instance on Stage)
    //myStream instance of FLVPlayback is on the Stage
    myStream.isLive = true;// Frame 1 Actions in the FLA
    myStream.addEventListener(VideoEvent.COMPLETE, onEndOfStream);
    myStream.addEventListener(VideoEvent.STATE_CHANGE, onState);
    myStream.addEventListener(String(VideoError.NO_CONNECTION), onStreamError);
    myStream.addEventListener(NetStatusEvent.NET_STATUS, netStatusHandler);
    /*if(myStream.stopped){
         trace("tracy: "+myStream.state);
    } else if(myStream.state == VideoState.STOPPED){
         trace("tracy: "+myStream.state);
    function onStreamError(event:VideoError) {
         trace(event.code + "\n\t" + event);
    function onState(event:VideoEvent) {
         trace(event.state + "\n\t" + event.toString());
    function onEndOfStream(event:VideoEvent) {
         trace(event.state + "\n\t" + event.toString());
    function netStatusHandler(event:NetStatusEvent):void {
         switch (event.info.code) {
              case "NetConnection.Connect.Success":
                   //connectStream();
                   break;
              case "NetStream.Play.StreamNotFound":
                   trace("Stream not found: "/* + myStream.source*/);
                   break;

  • Flash CS3 and FLVPlayback

    Hello.
    Is there a way to dynamically instantiate a FLVPlayback with
    ActionScript 3?
    I imported fl.video.FLVPlayback and Flash accused not knowing
    this class...
    Thanks,
    Ian L.

    Ian,
    > Is there a way to dynamically instantiate a FLVPlayback
    with
    > ActionScript 3?
    Sure thing.
    > I imported fl.video.FLVPlayback and Flash accused not
    knowing
    > this class...
    Just make sure to drag the FLVPlayback component from the
    Components
    panel into your Library. After that, the following four lines
    (just for
    example) will do it:
    import fl.video.FLVPlayback;
    var player:FLVPlayback = new FLVPlayback();
    player.source = "
    http://www.helpexamples.com/flash/video/caption_video.flv";
    addChild(player);
    David Stiller
    Co-author, Foundation Flash CS3 for Designers
    http://tinyurl.com/2k29mj
    "Luck is the residue of good design."

  • Safari 3 / Flash memory leak

    I recently upgraded to Safari 3.0.4 and am noticing a huge memory leak problem if I leave a Flash-enabled page open for any length of time. I monitor the Virtual Memory usage of Safari using Activity Monitor. Usage goes from around 280MB to as high as 2.65GB before I have to shut down Safari for my 1GB machine to be usable.
    See additional discussion here:
    http://forums.macrumors.com/showthread.php?p=4610322
    Does anyone know if this is a webkit issue, Apple/Safari issue, or a Flash issue?

    Hi
    Welcome to Apple Discussions
    On my machines, Safari has had challenges with World Leaks since the beginning (right now it is using 750 mb of RAM with 38 tabs open on one window). A bit excessive, however, it's not a red flag given the amount of RAM and processor speed of the iMac. Nonetheless, it ought to be a lot more efficient with RAM usage. I would use the latest WebKit build, however, some of my Safari add-ons would be incompatible.
    BTW, I too see jumps in usage, especially when accessing Flash content. The "only" way out is to quit/restart. Important to send feedback to Apple via the Safari Menu>Report Bugs to Apple.

Maybe you are looking for

  • How to use HTML in JavaFX controls?

    Does JavaFX support using HTML in JavaFX controls' text? For example, in Swing components: button = new JButton("<html><font face=arial size=16><center><b><u>E</u>nable</b></font><br>"   + "<font face=cambria size=12 color=#ffffdd>middle button</font

  • Vendor evaluation - Automatic new evaluation

    Hi, Vendor evaluation is maintained. But it does not get updated automatically after GR. We have to update them one by one (ME61/ME63). Is there a way to automatically revaluate multiple vendors at the same time. Regards, Pratap

  • Choose Plot Columns as Series or Plot Rows as Series from the pop-up menu in the bottom ba

    I am trying to construct a 2D graph in Numbers 3.5 (2109) that shows at two time points the voting intentions by political party. The instruction given by Help is below, but I cannot find the bottom bar or the pop-up box. Switch rows and columns as d

  • Workshop 9.2 - Web Service Test Client - java.util.NoSuchElementException

    I've found an issue with the Web Services Test Client while developing a web service application in the Weblogic Workshop 9.2 tool. The same schema / code in Workshop 8.1 SP4 works okay in its version of the test client. The error seems to manifest i

  • Clickable Application Launcher for distribution

    Please tell me How to go about packaging a Java Application for distribution and where to find an example of install.jar of equivelient to Launch the Application on the Licensee's local machine. Thanks Nick46 >> [email protected]