Cleanup.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4609 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -399,7 +399,6 @@ public class MediaContainer extends Sprite
|
|||||||
{
|
{
|
||||||
var args :Array = (event.value as Array);
|
var args :Array = (event.value as Array);
|
||||||
updateContentDimensions(int(args[0]), int(args[1]));
|
updateContentDimensions(int(args[0]), int(args[1]));
|
||||||
trace("Video size is now known: " + _w + ", " + _h);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -407,7 +406,7 @@ public class MediaContainer extends Sprite
|
|||||||
*/
|
*/
|
||||||
protected function handleVideoError (event :ValueEvent) :void
|
protected function handleVideoError (event :ValueEvent) :void
|
||||||
{
|
{
|
||||||
trace("Video load error: " + event.value);
|
log.warning("Error loading video [cause=" + event.value + "].");
|
||||||
stoppedLoading();
|
stoppedLoading();
|
||||||
setupBrokenImage(-1, -1);
|
setupBrokenImage(-1, -1);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user