Error loading multiple swf into html

Asked

Viewed 196 times

2

I created a report on ASP.NET and HTML uploading files .swf (flash) within a for.

The problem is when the for is big and it needs to load multiple files. swf in the same report the flash simply doesn’t run and gets an exclamation mark (!) as you can see in the image below:

inserir a descrição da imagem aqui

Follow the code of how the loading of the .swf:

    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
        id="painelv3" width="100%" height="100%"
        codebase="http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab">
        <param name="movie" value="meuArquivoFlash.swf" />
        <param name="quality" value="high" />
        <param name="bgcolor" value="#ffffff" />
        <param name="allowScriptAccess" value="sameDomain" />
        <param name="FlashVars" value="<% =flashvar %>" />
        <embed src="<% =sUrl %>" quality="high" bgcolor="#ffffff"
            width="800" height="800" name="meuArquivoFlash" align="middle"
            play="true"
            loop="false"
            quality="high"
            allowScriptAccess="sameDomain"
            type="application/x-shockwave-flash"
            pluginspage="http://www.adobe.com/go/getflashplayer">
        </embed>
    </object>

1 answer

1

This gray exclamation mark, also known as GCOD (Gray Circle of Death, or Grey Circle of Death, in free translation), arises when the Flash Player is requesting more memory than the browser has available. If this alert did not exist, the browser would be terminated by the Operating System, due to lack of memory. It is a problem that needs to be addressed in its application and so I can only suggest solutions:

The Flash application could be improved so that fewer resources were used, making it possible to load more instances on the same page.

If the Flash application uses many features, but only on its startup, it could communicate with the page through Javascript and ExternalInterface, for the next instance to be started only after the completion of the previous one.

Also, instead of loading multiple instances of the same Flash application on the page, the data could be passed to a single instance, which would display multiple items.

Other solutions can be implemented on the page, without having to change the Flash application-like paging-and some, with the help of Javascript-like enabling only instances that are visible on the screen, similar to pages that use videos and endless scrolling.

The memory error warning was introduced in Flash Player 10.1 and more information can be accessed in the Adobe Official Blog (in English): http://blogs.adobe.com/dekesmith/2012/06/07/what-is-the-gray-circle-with-an-exclamation-mark-or-bang/

  • Buddy, I read about it in that link you sent. I will give an upvote, but I will leave the question open to see if anyone has any solution that can minimize my problem.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.