155 posts
  • Elite Author
  • Author Level 7
  • Trendsetter
  • Weekly Top Seller
+4 more
sekler
says

I have a question. I’ve been looking around the web but couldn’t find an answer so I’m gonna ask it here.

Isn’t there a “scale mode” property for movie clips, that works the same as on stage? At stage by setting the stage.scaleMode = StageScaleMode.NO_SCALE; everything will keep its original size after resizing the stage.

At movieclips if I resize the parent movieclip, it will take effect on every child mc. This is what I would like to avoid (just like at stage with NO_SCALE). I want a parent movie clip which resize won’t have effect on children.

Is there a way to make this? How do you guys reach this?

1163 posts
  • Affiliate Level 2
  • Author Level 6
  • Collector Level 3
  • Top Monthly Author
+6 more
FlashTang
says
I think. this works (:
Child.scaleX=1/Parent.scaleX
Child.scaleY=1/Parent.scaleY
82 posts
  • 5 Years of Membership
  • Affiliate Level 4
  • Author Level 5
  • Bundle Boss
+6 more
Co-thinkers
says

Hi,

maybe you should get out the childrens from the parent mc.

boee

1689 posts Envato Elite Author
  • Affiliate Level 2
  • Author Level 8
  • Collector Level 1
  • Top Monthly Author
+8 more
Tean
says

There are solutions to that like counter scalling children of maybe 9-slice scaling. But if you dont want for your children to inherit parents properties they probably shouldnt be its children in the first place..

155 posts
  • Elite Author
  • Author Level 7
  • Trendsetter
  • Weekly Top Seller
+4 more
sekler
says

Thanks for the answers, I’ll try to short it out.

4140 posts
  • 7 Years of Membership
  • Affiliate Level 1
  • Author Level 4
  • Brazil
+5 more
tsafi
says
Thanks for the answers, I’ll try to short it out.
Best way and way to go is to construct your stage objects under StageAlign when re-size, the thing is the more objects you have the more you need to work/code on it and you can set children or baby’s of what ever (: , complex project need a major consideration the way you construct your code under StageAlign.
by
by
by
by
by
by