0 Replies Latest reply on Jan 14, 2007 6:17 PM by NickC1

    customising Elastic.easeInOut

    NickC1
      What is the correct way to change the properties of an easeInOut function?

      At present I have:

      <mx:Zoom id="zoomIn2" zoomHeightFrom="0.0" zoomWidthFrom="0.0"
      zoomHeightTo="1.0" zoomWidthTo="1.0"
      easingFunction="{Elastic.easeInOut}"/>

      I would like to change this to specify my own properties like so:

      <mx:Zoom id="zoomIn2" zoomHeightFrom="0.0" zoomWidthFrom="0.0"
      zoomHeightTo="1.0" zoomWidthTo="1.0"
      easingFunction="{Elastic.easeInOut(1,2,3,4}"/>

      but FlexBuilder returns the error: "Implicit coercion of a value of type Number to an unrelated type function." How do I get around this?