Setting the Reference Point to a Display Group

I’m not sure if I’m doing it wrong, or if Display Groups cannot have setReferencePoint methods assigned.

here’s what I’ve coded, and it doesn’t display anything

local \_W = display.contentWidth; -- 320  
local \_H = display.contentHeight; -- 480  
  
local base\_image = display.newImage("base\_image.png");  
  
local groupDiv = display.newGroup();  
groupDiv:setReferencePoint(display.BottomLeftReferencePoint);  
groupDiv:insert(base\_image); --put image inside   
groupDiv.x = 0;  
groupDiv.y = 480;  

I get nothing displayed back. Am I doing anything wrong above? [import]uid: 154122 topic_id: 27323 reply_id: 327323[/import]

I do not know why you are having an issue. One thing to remember is to populate the group with at least one object before setting its reference point. Corona has or had a problem with empty groups. That being said i tried various ways and i could not get the groups reference point to change but i was able to change the objects so i do not know if there is a bug with this right now or not. Because i could not change the groups reference point and have the image or shape move when i reloaded the project. [import]uid: 126161 topic_id: 27323 reply_id: 111024[/import]

I’ll have to test it more, and on a windows box too.
Of course, I may be just making a simple snaffoo somewhere I’m just not noticing. [import]uid: 154122 topic_id: 27323 reply_id: 111026[/import]