I am trying to perform some math using stagewidth, stageheight and the hlookat of a particular scene. To help me see what I am doing I have included a temporary textfield plugin to display the results of the calculations and passing it the variables in an onresize event, e.g.
<events name="showvalues" keep="true"
onresize="
div(skin_settings.windowratio,stagewidth,stageheight);
txtadd(plugin[stagesize].html,[p],get(stagewidth),[br],get(stageheight),[br],get(skin_settings.windowratio),[br],get(scene[scene_name].view.hlookat) );"
/>
This works for the stagewidth, stageheight and windowratio variables,which all display correctly, but the hlookat displays as 'null', so I must have the syntax wrong for getting that variable, but I can't figure it out. If I substitute 'title' for 'view.hlookat' the scene's title is shown correctly, so I guess it must be something to do with the way I am trying to access the scene's view element.
Can anyone advise, please?
Regards
Andrew