Tiling images in a label

Any way to accomplish tiling a graphic resource from the media library on a label?

Ideally this would happen with CSS e.g.

label.bg
{
background-image: url(media:///myImage.gif);
background-repeat: repeat;
}

:?:

Dont u just mean tje setImageURL function?

Give the element a name like “testLabel” and then
testLabel.setImageUrl(String)???

Or am I totally wrong?

hmm the thing is, how to know the media library url off course…