Background "exact fit" while parent contents "noscale"

I want to use a background that scales to "exact fit" but then I have a text block centered on the screen that I do not want to scale at all, akin to the HTML embed property "noscale".  The end result should be a background that behaves as if it was given the parameter "exactfit" while the primary contents never scale.

Help please!
instillAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

pietertje1983Commented:
you can set the width and height to the stage properties with:
img_mc._height = Stage.height;
img_mc._width = Stage.width;
0
instillAuthor Commented:
Thanks for the help pietertje1983, but that doesn't seem to be it.  That or I misunderstood.
0
instillAuthor Commented:
This is some non-working actionscript that may better illustrate what I am trying to do:

// LOAD BACKGROUND
var container = createEmptyMovieClip("background", 0);
var loadListener:Object = new Object();
loadListener.onLoadComplete = function(target_mc:MovieClip) {
};
var mcl:MovieClipLoader = new MovieClipLoader();
mc1.scaleMode = "exactfit";
mc1.loadClip("background.swf", container);

// LOAD TEXTBLOCK
var container = createEmptyMovieClip("textblock", 1);
var loadListener:Object = new Object();
loadListener.onLoadComplete = function(target_mc:MovieClip) {
};
var mc2:MovieClipLoader = new MovieClipLoader();
mc2.scaleMode = "showall";
mc2.loadClip("textblock.swf", container);

**THE ABOVE DOES NOT WORK

Help greatly appreciated.  Thanks!!!
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

MontoyaProcess Improvement MgrCommented:
Interesting.

I cannot think of a way to keep contents contained within an mc to not scale while the mc that contains them scales. (I think that is what you're asking).

Clearly, you could try to "cheat" and basically grow/shrink  the inside_mc proportionately to the size of the mc, but that will only take you so far. There would clearly come a point in resizing when that simply would not work right, but its the closest I can think of to your solution.

The only other thing would be loading swf's stacked on each other in html, but you're just asking for trouble there. Is there an effect or functionality you're trying to achieve? I'll send you a link to liquid layout for Flash, but I dont know how much that will be.

It could also be that its too early for me to think straight, because that is how I feel right now. :)

Montoya
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
MontoyaProcess Improvement MgrCommented:
0
instillAuthor Commented:
Thanks for your help Montoya.  Stacking SWFs just might give me the effect I desire.  I assume I would have to wmode/transparent the textblock content and display it above my background image?  HTML/DHTML for stacking SWFs would be very helpful.  Thanks again.
0
MontoyaProcess Improvement MgrCommented:
Glad to be of assistance.

:)


Cheers,
Montoya

0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Adobe Flash

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.