7 Replies Latest reply: Jul 28, 2011 2:20 PM by nhl_rules RSS

    error 1067

    nhl_rules Community Member

      <?xml version="1.0" encoding="utf-8"?>
      <mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
          <mx:Label text="App" top="20" horizontalCenter="0" fontSize="24" toolTip="App!" enabled="true"/>
           <mx:NumericStepper top="160" horizontalCenter="50" id="seconds" minimum="0" maximum="60" stepSize="1" value="0" enabled="true" toolTip="Seconds"/>
           <mx:NumericStepper top="160" horizontalCenter="-50" id="minutes" minimum="0" maximum="30" stepSize="1" value="15" enabled="true" toolTip="Minutes"/>
           <mx:Button  horizontalCenter="0" top='300' label="Start" click="onClickStart(event)" enabled="true" toolTip="Start Timer?"/>
            <mx:Script><![CDATA[
               import mx.controls.Alert;
               import flash.utils.Timer;
               private function onClickStart(event:Event):void
               {
                   Alert.show("Timer has started.");
      13            seconds.stepSize = '0'
      14           minutes.stepSize = '0'
               }
           ]]></mx:Script>
      </mx:WindowedApplication>

       

       

      flex says lines 13 and 14 don't work

       

      why?