Uploaded image for project: 'Apache Flex'
  1. Apache Flex
  2. FLEX-26527

spark.effects.CallAction pause/resume may throw RangeError: Error #2066: The Timer delay specified is out of range.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • Adobe Flex SDK 4.1 (Release)
    • None
    • Spark: Effects
    • None
    • Affected OS(s): Windows
      Affected OS(s): Windows 7
      Browser: Other (specify version)
      Language Found: French

    Description

      Steps to reproduce:
      1. Run pasted code below
      2. Click over the image to pause then mouve you mouse out of the image to resume (this step should be repeated to have more chance to raise expected error)

      <?xml version="1.0" encoding="utf-8"?>
      <s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
      xmlns:s="library://ns.adobe.com/flex/spark"
      xmlns:mx="library://ns.adobe.com/flex/mx"
      creationComplete="init()"
      width="900" height="900">
      <fx:Declarations>
      <s:CallAction target="

      {this}

      " startDelay="4000" functionName="test" />
      </fx:Declarations>

      <fx:Script>
      <![CDATA[
      import mx.events.EffectEvent;
      public function init():void

      { effect.play(); }

      public function test():void {

      }
      ]]
      >
      </fx:Script>

      <mx:Image source="image.png" x="600" y="600" id="img" maintainAspectRatio="false" click="effect.pause();" mouseOut="effect.resume();"/>
      </s:WindowedApplication>

      Actual Results:
      This stack trace is displayed to user:
      Thread principal  (Suspendu : RangeError: Error #2066: The Timer delay specified is out of range.)
      Error$/throwError [aucune source]
      flash.utils::Timer/set delay [aucune source]
      mx.effects::EffectInstance/resume
      mx.effects.effectClasses::ParallelInstance/resume
      mx.effects::Effect/resume
      Test/__img_mouseOut

      Expected Results:
      No error

      Workaround (if any):
      Working on it...

      Additionnal informations:
      My application is an Adobe Air application but I believe this bug could be reproduced on web browsers.

      Attachments

        Activity

          People

            adobejira Adobe JIRA
            adobejira Adobe JIRA
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: