"James" <[EMAIL PROTECTED]> a écrit dans le message de news:
[EMAIL PROTECTED]
> Here is the situation more broken down:
> I have a flash movie we can call container.fla. When it is
> resized from its
> original size, it change various object sizes and positions
> and it is set to
> "noScale" from the Stage object. container.fla loads a
> movieclip I am also
> working on that we can call content.fla. I want content.fla to
> also be on
> "noScale" mode and change various object sizes and positions.
> However, this
> is where the problem begins. Since the Stage object refers to
> container.fla's
> Stage object, I cannot set content.fla to be on "noScale" mode
> when it is
> loaded in container.fla.
As before, I don't really understand where your problem is, so
please forgive me if what's next doesn't give you any answer.
You should maybe post some code to let us understand better your
needs.
Just some things you may not know :
- content is by default aligned vertically and horizontally
on the stage (at least when rendered in a HTML page). For your
purpose this may make work harder than using top/left alignment
with <<Stage.align = "TL">>.
- setting _width, _height, _xscale or _yscale properties of
a movieclip makes its contents stretched (just like content in a
flashplayer instance with <<Stage.scaleMode="exactFit">>). If
you want a personalized behavior, you can not use these
properties. Instead, define some functions (e.g. setWidth and
setHeight) wich will move and scale the movieclip's content
(just like a onResize event do in a flashplayer instance).
I just saw that official doc call Stage a class, while it is
not.
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com