dubbeat
dubbeat

Reputation: 7847

Why is flash resizing my images?

O.K I'm really confused about some resizing behaviour in flex and I'm hoping somebody can explain whats going on to me.

I have a container movieclip 3 movieclips deep.

MC2 is inside MC1 and MC3 is inside MC2.

I have another movieclip that contains a bimap image that is 55 pixels wide and 38 pixels high.

When I add this movieclip to MC3 the movieclip becomes 55 pixels wide and "48" pixels high.

Why is this happening and how can I maintain the original desired size?

Upvotes: 1

Views: 89

Answers (2)

BoppreH
BoppreH

Reputation: 10173

  • Your whole stage is being resized
  • Somewhere you set the height of MC1, MC2 or MC3 and this changed the scaleY
  • Or you set the scaleY value yourself

Use a simple trace(MCx.scaleY) to find where is the issue.

Upvotes: 1

Emanuil Rusev
Emanuil Rusev

Reputation: 35235

It might be related to the scaleMode of the Stage of your application.

Here's a related article: http://livedocs.adobe.com/flex/3/langref/flash/display/Stage.html

Upvotes: 0

Related Questions