Figuring out some code

i figured out most of the following code, except for the one in RED
there is a function called ‘displayStar’
i guess that displayStar is called when…display?

:b:


objectsInScene = new Array();
for (i = 1; i <= 10; i++)
{
    attachedObj = theScene.attachMovie("seccion", "star" + i, theScene.depth++);
    attachedObj.x = 500 - Math.random() * 1000;
    attachedObj.y = 500 - Math.random() * 1000;
	
	///mine code
	attachedObj._yscale = Math.random() * 100;
	attachedObj._xscale = Math.random() * 100;
	attachedObj._alpha =  Math.random() * 100;
		
    attachedObj.z = i * 500;
    attachedObj.onPress = selectStar;
[COLOR="Red"]   attachedObj.display = displayStar;[/COLOR]
	objectsInScene.push(attachedObj);