+ if(config_bboxvars) {
+ TAG* tag = swf_InsertTag(i->swf.firstTag, ST_DOACTION);
+ ActionTAG*a = 0;
+ a = action_PushString(a, "xmin");
+ a = action_PushFloat(a, i->swf.movieSize.xmin / 20.0);
+ a = action_SetVariable(a);
+ a = action_PushString(a, "ymin");
+ a = action_PushFloat(a, i->swf.movieSize.ymin / 20.0);
+ a = action_SetVariable(a);
+ a = action_PushString(a, "xmax");
+ a = action_PushFloat(a, i->swf.movieSize.xmax / 20.0);
+ a = action_SetVariable(a);
+ a = action_PushString(a, "ymax");
+ a = action_PushFloat(a, i->swf.movieSize.ymax / 20.0);
+ a = action_SetVariable(a);
+ a = action_PushString(a, "width");
+ a = action_PushFloat(a, (i->swf.movieSize.xmax - i->swf.movieSize.xmin) / 20.0);
+ a = action_SetVariable(a);
+ a = action_PushString(a, "height");
+ a = action_PushFloat(a, (i->swf.movieSize.ymax - i->swf.movieSize.ymin) / 20.0);
+ a = action_SetVariable(a);
+ a = action_End(a);
+ swf_ActionSet(tag, a);
+ swf_ActionFree(a);
+ }
+