Using the camera questions

I have two questions that have bothering me for a while.

I use the following code which was supplied by Ansca with cameras.

  
local bkgd = display.newRect( 0, 0, display.stageWidth, display.stageHeight )  
bkgd:setFillColor( 128, 0, 0 )  
  
local text = display.newText( "Tap anywhere to launch Camera", 0, 0, nil, 16 )  
text:setTextColor( 255, 255, 255 )  
text.x = 0.5 \* display.stageWidth  
text.y = 0.5 \* display.stageHeight  
  
local sessionComplete = function(event)  
 local t = event.target  
  
 print( "Camera ", ( not t and "returned an image" ) or "session was cancelled" )  
 print( "event name: " .. event.name )  
 print( "target: " .. tostring( t ) )  
  
 if t then  
 local w = t.width  
 local h = t.height  
 print( "w,h = ".. w .."," .. h )  
 end  
end  
  
local listener = function( event )  
 media.show( media.Camera, sessionComplete )  
 return true  
end  
bkgd:addEventListener( "tap", listener )  

How can i switch the x and y coordinates of this picture… I have tried to play with the local w, and h put can not see how this works.
My second question how could i save one of the pictures to use on another scene using The Director Class.

If anyone can help it would be much appreciated!

Thanks [import]uid: 24708 topic_id: 21422 reply_id: 321422[/import]

I finally got the first question after sometime… it was much easier than i thought…

[code]
t.x = 200
t.y = 200

[import]uid: 24708 topic_id: 21422 reply_id: 84830[/import]