- Hevi blogja
- A hozzászóláshoz be kell jelentkezni
- 2801 megtekintés
Hozzászólások
Mondjuk, hogy ez okozhatja-e a processzor terhelést is, az jó kérdés.
Szerk:
http://help.adobe.com/en_US/as3/mobile/WS4bebcd66a74275c36cfb8137124318…
"Even when removed from the display list, the movie clip still dispatches the Event.ENTER_FRAME event. The movie clip still runs, but it is not rendered. To handle this situation correctly, listen to the proper events and remove event listeners, to prevent CPU-intensive code from being executed:
Note: If a display object is removed from the display list, setting its reference to null after removing it does not ensure that the object is frozen. If the garbage collector doesn’t run, the object continues to consume memory and CPU processing, even though the object is no longer displayed. To make sure that the object consumes the least CPU processing possible, make sure that you completely freeze it when removing it from the display list."
Szóval nagyjából az, amit az előző topicban is mondtam.
- A hozzászóláshoz be kell jelentkezni