Treat periods in method names as nested objects, same as Flash.
Allow null textures for ImageSprite and PatternSprite.

It's sometime convenient to initialize these with a null texture and set
them afterwards (such as when the image has downloaded).