gvtRoot = builder.build(ctx, svgDoc);
// dispatch an 'onload' event if needed
if (ctx.isDynamic()) {
BaseScriptingEnvironment se;
se = new BaseScriptingEnvironment(ctx);
se.loadScripts();
se.dispatchSVGLoadEvent();
if (hints.containsKey(KEY_SNAPSHOT_TIME)) {
float t =
((Float) hints.get(KEY_SNAPSHOT_TIME)).floatValue();
ctx.getAnimationEngine().setCurrentTime(t);
} else if (ctx.isSVG12()) {