Reputation: 1105
I am connecting to an XML back-end to create different "pages" for a flash website. (I know.) And I'm wondering if there is a way to programatically generate a background that will automatically be the correct height for the content within each "page". My background is in the form of a seamless tiled graphic. Is this even possible?
Upvotes: 0
Views: 174
Reputation: 51837
I'm not sure I understand.
If you've got xml generating the pages, can't you have attributes for page dimensions ?
e.g.
<pages>
<page title="bla bla" width="760" height="600">
<!-- content nodes etc. -->
</page>
</pages>
you would get the right width,height values from xml.
as for the tiles, have a look at the beginBitmapFill() method in the documentation.
Goodluck!
Upvotes: 2