Graphics Reference
In-Depth Information
Figure 5.30
Three bars with rounded corners for
hours, minutes, and seconds
3. Add background • Next, import your preferred background by simply drag-
ging it from the computer's file system directly onto the Stage. Since you
want this image to appear behind the bar you created earlier, you must
make sure it is defined in the DOM before the bars. You can check this in the
Elements panel and correct it if necessary. Make sure that the background
image is at the very bottom of the hierarchy so that it is the first element to
be defined in the DOM.
Figure 5.31
A simple PNG image as the background
for the Edge Clock
Search WWH ::

Custom Search