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?
+2
A:
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!
George Profenza
2009-04-30 11:23:53
Well I hadn't thought about that, but I think I'll do that dependent upon the number of records I have so it makes it large enough. Thanks, sometimes you just need outside insight.
Zach
2009-04-30 17:20:06