Jump to content
GreenSock

D0m3n1c

Members
  • Posts

    4
  • Joined

  • Last visited

Posts posted by D0m3n1c

  1. Yes, I understand. Issue is that I dont now how to proportional (without loosing aspect ration) scale component with flex options, because there is nothing that kind nowhere. I was searcing on every possible forum, googling ..finding no useful things. I dont know if I am almost alone with that kind of problem, or is it that simple that is not worth to mention. Anyway..

     

    So what could you preffer me to learn in advance? You make sites with Flash an Dreamveawer?

     

    Thank You and sorry about my english.

  2. Hi!

     

    I would like to scale my main content components in Flex 4.5 using AutoFitArea.

     

    For example i tried:

     

    public var area:AutoFitArea = AutoFitArea.createAround(contactM);

     

    private function addedComplete():void{

     

    area.attach(contactM, {scaleMode:ScaleMode.PROPORTIONAL_INSIDE});

     

    }

     

    <components:Contact id="contactM" includeIn="KONTAKT" resizeMode="scale" x="0" y="0" width="100%" height="100%" horizontalCenter="0" verticalCenter="0">

    </components:Contact>

     

    This is not working. I am new in flex/flash. I would be happy for any guidance! Thank you!

×