Stavros;

I am not sure what you are trying to do, but try including the following
lines in the first frame of your movie:

Stage.scaleMode = "noScale";
Stage.align = "LT";

scaleMode will keep the dimensions of your clips accurate to how they are
defined within the library of your movie, and the align parameter will...
well, I bet you already know what it does.

You can also alter your publish settings to always publish to a percentage
size of the browser. This will allow you to dynamically control the size of
the stage.

Doing things this way, you will want to add onResize events to the Stage and
objects in your code in order to ensure they adjust to changes in the size
of the Stage properly.

M

-----Original Message-----
From: Stavros Tekes [mailto:[EMAIL PROTECTED] 
Sent: Monday, June 02, 2003 5:25 AM
To: CF-Talk
Subject: Resize Flash stage dynamically


Josh, I too have tried to dynamically set the values in the <object> and
<embed> tags but I noticed that what I got as a result was a scaling of the
original movie. 
I want the scaling ratio to remain at 100% and decrease the movies height
only. 
That way the contents will be show clearly and only the movie's height will
be resized to fit just the records that my database query returned.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Host with the leader in ColdFusion hosting. 
Voted #1 ColdFusion host by CF Developers. 
Offering shared and dedicated hosting options. 
www.cfxhosting.com/default.cfm?redirect=10481

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to