Thanks for coming to my rescue once again! Cant get it working yet, am not sure if I'm using the ID properly, any ideas...??
$oObject = ArelXMLHelper::createGLUEModel3DFromImage(
"image-robin_cell_floor",
WWW_ROOT . "/resources/robin_cell_floor.png",
array(10, -280, 20), //translation
array(2,4,4), //scale
new ArelRotation(ArelRotation::ROTATION_EULERDEG, array(-90,-30,0)), //rotation
4 //CoordinateSystemID)
);
// preloading sounds
//output the object
ArelXMLHelper::outputObject($oObject);
arel.Media.startSound(arel.Scene.getObject("4").getParameter("sound_jail_door"));