# Sorry, Director question again

**URL:** https://forum.kirupa.com/t/sorry-director-question-again/146574
**Category:** Uncategorized
**Created:** [May 2, 2005, 4:32pm UTC](https://forum.kirupa.com/t/sorry-director-question-again/146574 "2005-05-02T16:32:32Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![imported\_FlashFish](https://avatars.discourse-cdn.com/v4/letter/i/c57346/32.png) [@imported\_FlashFish](https://forum.kirupa.com/u/imported_FlashFish)
#### Post date: [May 2, 2005, 4:32pm UTC](https://forum.kirupa.com/t/sorry-director-question-again/146574/1 "2005-05-02T16:32:32Z")

</div>

This shouldn’t be too tricky I dont think. The images im pulling in to Director seem to be 320x240 as it is defined in the code. But when I try changing it, it just stays at the same size. If I define something a lot smaller, it seems to streatch it to fit the 320x240 box and looks really pixely. Is it a built in size for the xtra do you think? Coz I know the actual webcam im using is capable of grabbing larger images. I’m a confused bean. Thanks in advance.

global webcamxtra  
property w  
property h  
property imageNumber

on beginsprite  
imageNumber = 0  
w = 320  
h = 240  
webcamxtra = new (xtra “webcamxtra”)  
webcamxtra.start(w,h)  
webcamxtra.findglobs(0) --disable glob processing to speed up framerate  
end

on exitframe  
–process one frame  
webcamxtra.update()

– inc image number  
imageNumber = imageNumber +1  
if imageNumber \> 20 then  
imageNumber = 1  
end if

–draw the camera image to the cast member  
member(“image”&imageNumber).image = webcamxtra.image()  
go the frame  
end

on endsprite  
webcamxtra.stop()  
end
