You can subscribe to this list here.
2005 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(109) |
Oct
(25) |
Nov
(6) |
Dec
(6) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2006 |
Jan
(263) |
Feb
(107) |
Mar
(62) |
Apr
(25) |
May
(39) |
Jun
(15) |
Jul
(19) |
Aug
(1) |
Sep
(54) |
Oct
(80) |
Nov
(61) |
Dec
|
2007 |
Jan
(1) |
Feb
(1) |
Mar
|
Apr
|
May
(22) |
Jun
(36) |
Jul
|
Aug
(3) |
Sep
(4) |
Oct
|
Nov
|
Dec
|
From: <aci...@us...> - 2007-05-20 19:05:52
|
Revision: 684 http://svn.sourceforge.net/asapframework/?rev=684&view=rev Author: acidcats Date: 2007-05-20 12:05:29 -0700 (Sun, 20 May 2007) Log Message: ----------- Changed internal workings & interface of FramePulse. FramePulse moved to package util. Removed Paths: ------------- branches/dev_as3/asapframework/lib/org/asapframework/util/FramePulse.as Deleted: branches/dev_as3/asapframework/lib/org/asapframework/util/FramePulse.as =================================================================== --- branches/dev_as3/asapframework/lib/org/asapframework/util/FramePulse.as 2007-05-20 19:01:07 UTC (rev 683) +++ branches/dev_as3/asapframework/lib/org/asapframework/util/FramePulse.as 2007-05-20 19:05:29 UTC (rev 684) @@ -1,70 +0,0 @@ -/* -Copyright 2005-2006 by the authors of asapframework, http://asapframework.org - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -/** -TODO: update docs -*/ - -package org.asapframework.util { - - import flash.display.Sprite; - import flash.events.Event; - import flash.events.EventDispatcher; - - /** - Class to generate onEnterFrame events. - @usage - <code> - FramePulse.addEventListener(handleEnterFrame); - - // function that handles onEnterFrame events - public function handleEnterFrame (e:Event) : void { - - // code goes here... - } - </code> - To stop receiving the onEnterFrame event: - <code> - FramePulse.removeEventListener(handleEnterFrame); - </code> - */ - - public class FramePulse extends EventDispatcher { - - private static var mSprite : Sprite = null; - - /** - Add a listener to the FramePulse - @param inHandler: function to be called on enterframe, with parameter FramePulseEvent - */ - public static function addEnterFrameListener (inHandler:Function) : void { - if (mSprite == null) { - mSprite = new Sprite(); - } - mSprite.addEventListener(Event.ENTER_FRAME, inHandler); - } - - /** - Remove a listener from the FramePulse - @param inHandler: function that was previously added - */ - public static function removeEnterFrameListener (inHandler:Function) : void { - if (mSprite != null) { - mSprite.removeEventListener(Event.ENTER_FRAME, inHandler); - } - } - } -} \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <aci...@us...> - 2007-05-20 19:01:55
|
Revision: 683 http://asapframework.svn.sourceforge.net/asapframework/?rev=683&view=rev Author: acidcats Date: 2007-05-20 12:01:07 -0700 (Sun, 20 May 2007) Log Message: ----------- Changed internal workings & interface of FramePulse. FramePulse moved to package util. Added Paths: ----------- branches/dev_as3/asapframework/lib/org/asapframework/util/FramePulse.as Added: branches/dev_as3/asapframework/lib/org/asapframework/util/FramePulse.as =================================================================== --- branches/dev_as3/asapframework/lib/org/asapframework/util/FramePulse.as (rev 0) +++ branches/dev_as3/asapframework/lib/org/asapframework/util/FramePulse.as 2007-05-20 19:01:07 UTC (rev 683) @@ -0,0 +1,70 @@ +/* +Copyright 2005-2006 by the authors of asapframework, http://asapframework.org + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +/** +TODO: update docs +*/ + +package org.asapframework.util { + + import flash.display.Sprite; + import flash.events.Event; + import flash.events.EventDispatcher; + + /** + Class to generate onEnterFrame events. + @usage + <code> + FramePulse.addEventListener(handleEnterFrame); + + // function that handles onEnterFrame events + public function handleEnterFrame (e:Event) : void { + + // code goes here... + } + </code> + To stop receiving the onEnterFrame event: + <code> + FramePulse.removeEventListener(handleEnterFrame); + </code> + */ + + public class FramePulse extends EventDispatcher { + + private static var mSprite : Sprite = null; + + /** + Add a listener to the FramePulse + @param inHandler: function to be called on enterframe, with parameter FramePulseEvent + */ + public static function addEnterFrameListener (inHandler:Function) : void { + if (mSprite == null) { + mSprite = new Sprite(); + } + mSprite.addEventListener(Event.ENTER_FRAME, inHandler); + } + + /** + Remove a listener from the FramePulse + @param inHandler: function that was previously added + */ + public static function removeEnterFrameListener (inHandler:Function) : void { + if (mSprite != null) { + mSprite.removeEventListener(Event.ENTER_FRAME, inHandler); + } + } + } +} \ No newline at end of file Property changes on: branches/dev_as3/asapframework/lib/org/asapframework/util/FramePulse.as ___________________________________________________________________ Name: svn:eol-style + native This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <aci...@us...> - 2007-05-20 19:01:26
|
Revision: 683 http://svn.sourceforge.net/asapframework/?rev=683&view=rev Author: acidcats Date: 2007-05-20 12:01:07 -0700 (Sun, 20 May 2007) Log Message: ----------- Changed internal workings & interface of FramePulse. FramePulse moved to package util. Added Paths: ----------- branches/dev_as3/asapframework/lib/org/asapframework/util/FramePulse.as Added: branches/dev_as3/asapframework/lib/org/asapframework/util/FramePulse.as =================================================================== --- branches/dev_as3/asapframework/lib/org/asapframework/util/FramePulse.as (rev 0) +++ branches/dev_as3/asapframework/lib/org/asapframework/util/FramePulse.as 2007-05-20 19:01:07 UTC (rev 683) @@ -0,0 +1,70 @@ +/* +Copyright 2005-2006 by the authors of asapframework, http://asapframework.org + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +/** +TODO: update docs +*/ + +package org.asapframework.util { + + import flash.display.Sprite; + import flash.events.Event; + import flash.events.EventDispatcher; + + /** + Class to generate onEnterFrame events. + @usage + <code> + FramePulse.addEventListener(handleEnterFrame); + + // function that handles onEnterFrame events + public function handleEnterFrame (e:Event) : void { + + // code goes here... + } + </code> + To stop receiving the onEnterFrame event: + <code> + FramePulse.removeEventListener(handleEnterFrame); + </code> + */ + + public class FramePulse extends EventDispatcher { + + private static var mSprite : Sprite = null; + + /** + Add a listener to the FramePulse + @param inHandler: function to be called on enterframe, with parameter FramePulseEvent + */ + public static function addEnterFrameListener (inHandler:Function) : void { + if (mSprite == null) { + mSprite = new Sprite(); + } + mSprite.addEventListener(Event.ENTER_FRAME, inHandler); + } + + /** + Remove a listener from the FramePulse + @param inHandler: function that was previously added + */ + public static function removeEnterFrameListener (inHandler:Function) : void { + if (mSprite != null) { + mSprite.removeEventListener(Event.ENTER_FRAME, inHandler); + } + } + } +} \ No newline at end of file Property changes on: branches/dev_as3/asapframework/lib/org/asapframework/util/FramePulse.as ___________________________________________________________________ Name: svn:eol-style + native This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <aci...@us...> - 2007-05-20 19:00:49
|
Revision: 682 http://asapframework.svn.sourceforge.net/asapframework/?rev=682&view=rev Author: acidcats Date: 2007-05-20 12:00:05 -0700 (Sun, 20 May 2007) Log Message: ----------- Changed internal workings & interface of FramePulse. FramePulse moved to package util. Removed Paths: ------------- branches/dev_as3/asapframework/lib/org/asapframework/util/framepulse/ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <aci...@us...> - 2007-05-20 19:00:33
|
Revision: 682 http://svn.sourceforge.net/asapframework/?rev=682&view=rev Author: acidcats Date: 2007-05-20 12:00:05 -0700 (Sun, 20 May 2007) Log Message: ----------- Changed internal workings & interface of FramePulse. FramePulse moved to package util. Removed Paths: ------------- branches/dev_as3/asapframework/lib/org/asapframework/util/framepulse/ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <aci...@us...> - 2007-05-20 18:58:37
|
Revision: 681 http://asapframework.svn.sourceforge.net/asapframework/?rev=681&view=rev Author: acidcats Date: 2007-05-20 11:57:17 -0700 (Sun, 20 May 2007) Log Message: ----------- Changed internal workings & interface of FramePulse. FramePulse moved to package util. Added Paths: ----------- branches/dev_as3/asapframework/lib/org/asapframework/util/framepulse/FramePulse.as Added: branches/dev_as3/asapframework/lib/org/asapframework/util/framepulse/FramePulse.as =================================================================== --- branches/dev_as3/asapframework/lib/org/asapframework/util/framepulse/FramePulse.as (rev 0) +++ branches/dev_as3/asapframework/lib/org/asapframework/util/framepulse/FramePulse.as 2007-05-20 18:57:17 UTC (rev 681) @@ -0,0 +1,70 @@ +/* +Copyright 2005-2006 by the authors of asapframework, http://asapframework.org + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +/** +TODO: update docs +*/ + +package org.asapframework.util { + + import flash.display.Sprite; + import flash.events.Event; + import flash.events.EventDispatcher; + + /** + Class to generate onEnterFrame events. + @usage + <code> + FramePulse.addEventListener(handleEnterFrame); + + // function that handles onEnterFrame events + public function handleEnterFrame (e:Event) : void { + + // code goes here... + } + </code> + To stop receiving the onEnterFrame event: + <code> + FramePulse.removeEventListener(handleEnterFrame); + </code> + */ + + public class FramePulse extends EventDispatcher { + + private static var mSprite : Sprite = null; + + /** + Add a listener to the FramePulse + @param inHandler: function to be called on enterframe, with parameter FramePulseEvent + */ + public static function addEnterFrameListener (inHandler:Function) : void { + if (mSprite == null) { + mSprite = new Sprite(); + } + mSprite.addEventListener(Event.ENTER_FRAME, inHandler); + } + + /** + Remove a listener from the FramePulse + @param inHandler: function that was previously added + */ + public static function removeEnterFrameListener (inHandler:Function) : void { + if (mSprite != null) { + mSprite.removeEventListener(Event.ENTER_FRAME, inHandler); + } + } + } +} \ No newline at end of file Property changes on: branches/dev_as3/asapframework/lib/org/asapframework/util/framepulse/FramePulse.as ___________________________________________________________________ Name: svn:eol-style + native This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <aci...@us...> - 2007-05-20 18:58:04
|
Revision: 681 http://svn.sourceforge.net/asapframework/?rev=681&view=rev Author: acidcats Date: 2007-05-20 11:57:17 -0700 (Sun, 20 May 2007) Log Message: ----------- Changed internal workings & interface of FramePulse. FramePulse moved to package util. Added Paths: ----------- branches/dev_as3/asapframework/lib/org/asapframework/util/framepulse/FramePulse.as Added: branches/dev_as3/asapframework/lib/org/asapframework/util/framepulse/FramePulse.as =================================================================== --- branches/dev_as3/asapframework/lib/org/asapframework/util/framepulse/FramePulse.as (rev 0) +++ branches/dev_as3/asapframework/lib/org/asapframework/util/framepulse/FramePulse.as 2007-05-20 18:57:17 UTC (rev 681) @@ -0,0 +1,70 @@ +/* +Copyright 2005-2006 by the authors of asapframework, http://asapframework.org + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +/** +TODO: update docs +*/ + +package org.asapframework.util { + + import flash.display.Sprite; + import flash.events.Event; + import flash.events.EventDispatcher; + + /** + Class to generate onEnterFrame events. + @usage + <code> + FramePulse.addEventListener(handleEnterFrame); + + // function that handles onEnterFrame events + public function handleEnterFrame (e:Event) : void { + + // code goes here... + } + </code> + To stop receiving the onEnterFrame event: + <code> + FramePulse.removeEventListener(handleEnterFrame); + </code> + */ + + public class FramePulse extends EventDispatcher { + + private static var mSprite : Sprite = null; + + /** + Add a listener to the FramePulse + @param inHandler: function to be called on enterframe, with parameter FramePulseEvent + */ + public static function addEnterFrameListener (inHandler:Function) : void { + if (mSprite == null) { + mSprite = new Sprite(); + } + mSprite.addEventListener(Event.ENTER_FRAME, inHandler); + } + + /** + Remove a listener from the FramePulse + @param inHandler: function that was previously added + */ + public static function removeEnterFrameListener (inHandler:Function) : void { + if (mSprite != null) { + mSprite.removeEventListener(Event.ENTER_FRAME, inHandler); + } + } + } +} \ No newline at end of file Property changes on: branches/dev_as3/asapframework/lib/org/asapframework/util/framepulse/FramePulse.as ___________________________________________________________________ Name: svn:eol-style + native This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <aci...@us...> - 2007-05-20 18:57:06
|
Revision: 680 http://asapframework.svn.sourceforge.net/asapframework/?rev=680&view=rev Author: acidcats Date: 2007-05-20 11:56:12 -0700 (Sun, 20 May 2007) Log Message: ----------- Changed internal workings & interface of FramePulse. FramePulse moved to package util. Removed Paths: ------------- branches/dev_as3/asapframework/lib/org/asapframework/util/framepulse/FramePulse.as Deleted: branches/dev_as3/asapframework/lib/org/asapframework/util/framepulse/FramePulse.as =================================================================== --- branches/dev_as3/asapframework/lib/org/asapframework/util/framepulse/FramePulse.as 2007-05-20 18:45:00 UTC (rev 679) +++ branches/dev_as3/asapframework/lib/org/asapframework/util/framepulse/FramePulse.as 2007-05-20 18:56:12 UTC (rev 680) @@ -1,71 +0,0 @@ -/* -Copyright 2005-2006 by the authors of asapframework, http://asapframework.org - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -/** -TODO: update docs -*/ - -package org.asapframework.util.framepulse { - - import flash.display.Sprite; - import flash.events.Event; - import flash.events.EventDispatcher; - import org.asapframework.util.framepulse.FramePulseEvent; - - /** - Class to generate onEnterFrame events. - @usage - <code> - FramePulse.addEventListener(handleEnterFrame); - - // function that handles onEnterFrame events - public function handleEnterFrame (e:Event) : void { - - // code goes here... - } - </code> - To stop receiving the onEnterFrame event: - <code> - FramePulse.removeEventListener(handleEnterFrame); - </code> - */ - - public class FramePulse extends EventDispatcher { - - private static var mSprite : Sprite = null; - - /** - Add a listener to the FramePulse - @param inHandler: function to be called on enterframe, with parameter FramePulseEvent - */ - public static function addEnterFrameListener (inHandler:Function) : void { - if (mSprite == null) { - mSprite = new Sprite(); - } - mSprite.addEventListener(Event.ENTER_FRAME, inHandler); - } - - /** - Remove a listener from the FramePulse - @param inHandler: function that was previously added - */ - public static function removeEnterFrameListener (inHandler:Function) : void { - if (mSprite != null) { - mSprite.removeEventListener(Event.ENTER_FRAME, inHandler); - } - } - } -} \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <aci...@us...> - 2007-05-20 18:56:57
|
Revision: 680 http://svn.sourceforge.net/asapframework/?rev=680&view=rev Author: acidcats Date: 2007-05-20 11:56:12 -0700 (Sun, 20 May 2007) Log Message: ----------- Changed internal workings & interface of FramePulse. FramePulse moved to package util. Removed Paths: ------------- branches/dev_as3/asapframework/lib/org/asapframework/util/framepulse/FramePulse.as Deleted: branches/dev_as3/asapframework/lib/org/asapframework/util/framepulse/FramePulse.as =================================================================== --- branches/dev_as3/asapframework/lib/org/asapframework/util/framepulse/FramePulse.as 2007-05-20 18:45:00 UTC (rev 679) +++ branches/dev_as3/asapframework/lib/org/asapframework/util/framepulse/FramePulse.as 2007-05-20 18:56:12 UTC (rev 680) @@ -1,71 +0,0 @@ -/* -Copyright 2005-2006 by the authors of asapframework, http://asapframework.org - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -/** -TODO: update docs -*/ - -package org.asapframework.util.framepulse { - - import flash.display.Sprite; - import flash.events.Event; - import flash.events.EventDispatcher; - import org.asapframework.util.framepulse.FramePulseEvent; - - /** - Class to generate onEnterFrame events. - @usage - <code> - FramePulse.addEventListener(handleEnterFrame); - - // function that handles onEnterFrame events - public function handleEnterFrame (e:Event) : void { - - // code goes here... - } - </code> - To stop receiving the onEnterFrame event: - <code> - FramePulse.removeEventListener(handleEnterFrame); - </code> - */ - - public class FramePulse extends EventDispatcher { - - private static var mSprite : Sprite = null; - - /** - Add a listener to the FramePulse - @param inHandler: function to be called on enterframe, with parameter FramePulseEvent - */ - public static function addEnterFrameListener (inHandler:Function) : void { - if (mSprite == null) { - mSprite = new Sprite(); - } - mSprite.addEventListener(Event.ENTER_FRAME, inHandler); - } - - /** - Remove a listener from the FramePulse - @param inHandler: function that was previously added - */ - public static function removeEnterFrameListener (inHandler:Function) : void { - if (mSprite != null) { - mSprite.removeEventListener(Event.ENTER_FRAME, inHandler); - } - } - } -} \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <aci...@us...> - 2007-05-20 18:47:12
|
Revision: 678 http://asapframework.svn.sourceforge.net/asapframework/?rev=678&view=rev Author: acidcats Date: 2007-05-20 11:42:21 -0700 (Sun, 20 May 2007) Log Message: ----------- Changed internal workings & interface of FramePulse, see documentation inside file for new usage Modified Paths: -------------- branches/dev_as3/asapframework/lib/org/asapframework/util/framepulse/FramePulse.as Modified: branches/dev_as3/asapframework/lib/org/asapframework/util/framepulse/FramePulse.as =================================================================== --- branches/dev_as3/asapframework/lib/org/asapframework/util/framepulse/FramePulse.as 2007-05-20 09:59:27 UTC (rev 677) +++ branches/dev_as3/asapframework/lib/org/asapframework/util/framepulse/FramePulse.as 2007-05-20 18:42:21 UTC (rev 678) @@ -26,79 +26,46 @@ import org.asapframework.util.framepulse.FramePulseEvent; /** - Class to simulate onEnterFrame events. + Class to generate onEnterFrame events. @usage <code> - var fpulse:FramePulse = FramePulse.getInstance(); - fpulse.addEventListener(FramePulseEvent.ON_ENTERFRAME, this); + FramePulse.addEventListener(handleEnterFrame); - // next, define a function named "onEnterFrame" in your class... + // function that handles onEnterFrame events + public function handleEnterFrame (e:Event) : void { - public function onEnterFrame (e:FramePulseEvent) : void { - // code goes here... } </code> - To stop code that is run in the class' onEnterFrame, remove the listener: + To stop receiving the onEnterFrame event: <code> - fpulse.removeEventListener(FramePulseEvent.ON_ENTERFRAME, this); + FramePulse.removeEventListener(handleEnterFrame); </code> - - An alternate way to listen to enterframe events is as follows: - <code> - var listener:Function = EventDelegate.create(this, onEnterFrame); - FramePulse.addEnterFrameListener(listener); - </code> - To stop listening to enterFrame events do this: - <code> - FramePulse.removeEnterFrameListener(listener); - </code> */ public class FramePulse extends EventDispatcher { - private var mSprite:Sprite; + private static var mSprite : Sprite = null; /** - - */ - function FramePulse () { - super(); - mSprite = new Sprite(); - mSprite.addEventListener(Event.ENTER_FRAME, pulse); - } - - /** - - */ - public function die () : void { - mSprite.removeEventListener( Event.ENTER_FRAME, pulse ); - delete mSprite; - } - - /** Add a listener to the FramePulse - @param inListener: function to be called on enterframe, with parameter FramePulseEvent + @param inHandler: function to be called on enterframe, with parameter FramePulseEvent */ - public function addEnterFrameListener (inListener:Function) : void { - this.addEventListener(FramePulseEvent.ON_ENTERFRAME, inListener); + public static function addEnterFrameListener (inHandler:Function) : void { + if (mSprite == null) { + mSprite = new Sprite(); + } + mSprite.addEventListener(Event.ENTER_FRAME, inHandler); } /** Remove a listener from the FramePulse - @param inListener: function that was previously added + @param inHandler: function that was previously added */ - public function removeEnterFrameListener (inListener:Function) : void { - this.removeEventListener(FramePulseEvent.ON_ENTERFRAME, inListener); + public static function removeEnterFrameListener (inHandler:Function) : void { + if (mSprite != null) { + mSprite.removeEventListener(Event.ENTER_FRAME, inHandler); + } } - - /** - This method is called by FramePulse's movieclip instance on its onEnterFrame method. - @sends FramePulseEvent#ON_ENTERFRAME At "onEnterFrame" event of created clip - */ - public function pulse (e:Event) : void { - dispatchEvent( new FramePulseEvent( this )); - } - } } \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <aci...@us...> - 2007-05-20 18:47:11
|
Revision: 679 http://svn.sourceforge.net/asapframework/?rev=679&view=rev Author: acidcats Date: 2007-05-20 11:45:00 -0700 (Sun, 20 May 2007) Log Message: ----------- Changed internal workings & interface of FramePulse. FramePulseEvent not needed anymore. Removed Paths: ------------- branches/dev_as3/asapframework/lib/org/asapframework/util/framepulse/FramePulseEvent.as Deleted: branches/dev_as3/asapframework/lib/org/asapframework/util/framepulse/FramePulseEvent.as =================================================================== --- branches/dev_as3/asapframework/lib/org/asapframework/util/framepulse/FramePulseEvent.as 2007-05-20 18:42:21 UTC (rev 678) +++ branches/dev_as3/asapframework/lib/org/asapframework/util/framepulse/FramePulseEvent.as 2007-05-20 18:45:00 UTC (rev 679) @@ -1,36 +0,0 @@ -/* -Copyright 2005-2006 by the authors of asapframework, http://asapframework.org - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -package org.asapframework.util.framepulse { - - import flash.events.Event; - import org.asapframework.util.framepulse.FramePulse; - - /** - Event object that is dispatched by {@link FramePulse}. - @author Martijn de Visser - */ - - public class FramePulseEvent extends Event { - - public static var ON_ENTERFRAME:String = "onEnterFrame"; - - public function FramePulseEvent (inSource:FramePulse) { - super(FramePulseEvent.ON_ENTERFRAME, inSource); - } - } - -} \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <aci...@us...> - 2007-05-20 18:47:11
|
Revision: 679 http://asapframework.svn.sourceforge.net/asapframework/?rev=679&view=rev Author: acidcats Date: 2007-05-20 11:45:00 -0700 (Sun, 20 May 2007) Log Message: ----------- Changed internal workings & interface of FramePulse. FramePulseEvent not needed anymore. Removed Paths: ------------- branches/dev_as3/asapframework/lib/org/asapframework/util/framepulse/FramePulseEvent.as Deleted: branches/dev_as3/asapframework/lib/org/asapframework/util/framepulse/FramePulseEvent.as =================================================================== --- branches/dev_as3/asapframework/lib/org/asapframework/util/framepulse/FramePulseEvent.as 2007-05-20 18:42:21 UTC (rev 678) +++ branches/dev_as3/asapframework/lib/org/asapframework/util/framepulse/FramePulseEvent.as 2007-05-20 18:45:00 UTC (rev 679) @@ -1,36 +0,0 @@ -/* -Copyright 2005-2006 by the authors of asapframework, http://asapframework.org - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -package org.asapframework.util.framepulse { - - import flash.events.Event; - import org.asapframework.util.framepulse.FramePulse; - - /** - Event object that is dispatched by {@link FramePulse}. - @author Martijn de Visser - */ - - public class FramePulseEvent extends Event { - - public static var ON_ENTERFRAME:String = "onEnterFrame"; - - public function FramePulseEvent (inSource:FramePulse) { - super(FramePulseEvent.ON_ENTERFRAME, inSource); - } - } - -} \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <aci...@us...> - 2007-05-20 18:45:13
|
Revision: 678 http://svn.sourceforge.net/asapframework/?rev=678&view=rev Author: acidcats Date: 2007-05-20 11:42:21 -0700 (Sun, 20 May 2007) Log Message: ----------- Changed internal workings & interface of FramePulse, see documentation inside file for new usage Modified Paths: -------------- branches/dev_as3/asapframework/lib/org/asapframework/util/framepulse/FramePulse.as Modified: branches/dev_as3/asapframework/lib/org/asapframework/util/framepulse/FramePulse.as =================================================================== --- branches/dev_as3/asapframework/lib/org/asapframework/util/framepulse/FramePulse.as 2007-05-20 09:59:27 UTC (rev 677) +++ branches/dev_as3/asapframework/lib/org/asapframework/util/framepulse/FramePulse.as 2007-05-20 18:42:21 UTC (rev 678) @@ -26,79 +26,46 @@ import org.asapframework.util.framepulse.FramePulseEvent; /** - Class to simulate onEnterFrame events. + Class to generate onEnterFrame events. @usage <code> - var fpulse:FramePulse = FramePulse.getInstance(); - fpulse.addEventListener(FramePulseEvent.ON_ENTERFRAME, this); + FramePulse.addEventListener(handleEnterFrame); - // next, define a function named "onEnterFrame" in your class... + // function that handles onEnterFrame events + public function handleEnterFrame (e:Event) : void { - public function onEnterFrame (e:FramePulseEvent) : void { - // code goes here... } </code> - To stop code that is run in the class' onEnterFrame, remove the listener: + To stop receiving the onEnterFrame event: <code> - fpulse.removeEventListener(FramePulseEvent.ON_ENTERFRAME, this); + FramePulse.removeEventListener(handleEnterFrame); </code> - - An alternate way to listen to enterframe events is as follows: - <code> - var listener:Function = EventDelegate.create(this, onEnterFrame); - FramePulse.addEnterFrameListener(listener); - </code> - To stop listening to enterFrame events do this: - <code> - FramePulse.removeEnterFrameListener(listener); - </code> */ public class FramePulse extends EventDispatcher { - private var mSprite:Sprite; + private static var mSprite : Sprite = null; /** - - */ - function FramePulse () { - super(); - mSprite = new Sprite(); - mSprite.addEventListener(Event.ENTER_FRAME, pulse); - } - - /** - - */ - public function die () : void { - mSprite.removeEventListener( Event.ENTER_FRAME, pulse ); - delete mSprite; - } - - /** Add a listener to the FramePulse - @param inListener: function to be called on enterframe, with parameter FramePulseEvent + @param inHandler: function to be called on enterframe, with parameter FramePulseEvent */ - public function addEnterFrameListener (inListener:Function) : void { - this.addEventListener(FramePulseEvent.ON_ENTERFRAME, inListener); + public static function addEnterFrameListener (inHandler:Function) : void { + if (mSprite == null) { + mSprite = new Sprite(); + } + mSprite.addEventListener(Event.ENTER_FRAME, inHandler); } /** Remove a listener from the FramePulse - @param inListener: function that was previously added + @param inHandler: function that was previously added */ - public function removeEnterFrameListener (inListener:Function) : void { - this.removeEventListener(FramePulseEvent.ON_ENTERFRAME, inListener); + public static function removeEnterFrameListener (inHandler:Function) : void { + if (mSprite != null) { + mSprite.removeEventListener(Event.ENTER_FRAME, inHandler); + } } - - /** - This method is called by FramePulse's movieclip instance on its onEnterFrame method. - @sends FramePulseEvent#ON_ENTERFRAME At "onEnterFrame" event of created clip - */ - public function pulse (e:Event) : void { - dispatchEvent( new FramePulseEvent( this )); - } - } } \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <aci...@us...> - 2007-05-20 10:00:14
|
Revision: 677 http://asapframework.svn.sourceforge.net/asapframework/?rev=677&view=rev Author: acidcats Date: 2007-05-20 02:59:27 -0700 (Sun, 20 May 2007) Log Message: ----------- Added log package Added Paths: ----------- branches/dev_as3/asapframework/lib/org/asapframework/util/debug/ branches/dev_as3/asapframework/lib/org/asapframework/util/debug/Log.as branches/dev_as3/asapframework/lib/org/asapframework/util/debug/LogEvent.as Added: branches/dev_as3/asapframework/lib/org/asapframework/util/debug/Log.as =================================================================== --- branches/dev_as3/asapframework/lib/org/asapframework/util/debug/Log.as (rev 0) +++ branches/dev_as3/asapframework/lib/org/asapframework/util/debug/Log.as 2007-05-20 09:59:27 UTC (rev 677) @@ -0,0 +1,228 @@ +/* +Copyright 2005-2006 by the authors of asapframework, http://asapframework.org + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +package org.asapframework.util.debug { + +import flash.events.EventDispatcher; +import flash.utils.getTimer; + +import org.asapframework.util.debug.LogEvent; + +/** +This class implements a simple logging functionality that dispatches an event whenever a log message is received. +The object sent with the event is of type LogEvent. The LogEvent class contains public properties for the text of the message, +a String denoting the sender of the message,and the level of importance of the message. +By default, log messages are also output as traces to the Flash IDE output window. This behaviour can be changed. +@example: +<code> +Log.addEventListener(EventDelegate.create(this, onLogEvent)); // handle events locally +Log.showTrace(false); // don't output log messages as traces + +Log.debug("This is a debug message", toString()); +Log.error("This is an error message", toString()); +Log.info("This is an info message", toString()); + +private function onLogEvent (e:LogEvent) { + // handle the event by showing the message as a trace + trace(e.text); +} + +public function toString () : String { + return "TestClass"; +} +</code> +This will show the following output in the Flash IDE output window: + +This is a debug message +This is an error message +This is an info message + +The standard trace output of the Log class looks as follows: + +11 debug: This is a debug message -- TestClass +11 error: This is an error message -- TestClass +11 info: This is an info message -- TestClass + +The number "11" is the time at which the log message was generated. This time is not kept in the LogEvent class. +@author stephan.bezoen + */ + +public class Log extends EventDispatcher { + + // The possible levels of log messages + public static var LEVEL_DEBUG:String = "debug"; + public static var LEVEL_INFO:String = "info"; + public static var LEVEL_WARN:String = "warn"; + public static var LEVEL_ERROR:String = "error"; + public static var LEVEL_FATAL:String = "fatal"; + public static var LEVEL_STATUS:String = "status"; + + + private static var theInstance : Log; + + private var mDoTrace:Boolean = true; + + + /** + * Log a message with debug level + * @param inText: the message + * @param inSender: a String denoting the source of the message; + * typical toString() of the calling class + * @use + * <code> + * Log.debug("This is a debug message", toString()); + * </code> + */ + public static function debug (inText:String, inSender:String) : void { + Log.getInstance().send(inText, inSender, Log.LEVEL_DEBUG); + } + + /** + * Log a message with info level + * @param inText: the message + * @param inSender: a String denoting the source of the message; + * typical toString() of the calling class + * @use + * <code> + * Log.info("This is an info message", toString()); + * </code> + */ + public static function info (inText:String, inSender:String) : void { + Log.getInstance().send(inText, inSender, Log.LEVEL_INFO); + } + + /** + * Log a message with error level + * @param inText: the message + * @param inSender: a String denoting the source of the message; + * typical toString() of the calling class + * @use + * <code> + * Log.error("This is an error message", toString()); + * </code> + */ + public static function error (inText:String, inSender:String) : void { + Log.getInstance().send(inText, inSender, Log.LEVEL_ERROR); + } + + /** + * Log a message with warning level + * @param inText: the message + * @param inSender: a String denoting the source of the message; + * typical toString() of the calling class + * @use + * <code> + * Log.warn("This is a warning message", toString()); + * </code> + */ + public static function warn (inText:String, inSender:String) : void { + Log.getInstance().send(inText, inSender, Log.LEVEL_WARN); + } + + /** + * Log a message with fatal level + * @param inText: the message + * @param inSender: a String denoting the source of the message; + * typical toString() of the calling class + * @use + * <code> + * Log.fatal("This is a fatal message", toString()); + * </code> + */ + public static function fatal (inText:String, inSender:String) : void { + Log.getInstance().send(inText, inSender, Log.LEVEL_FATAL); + } + + /** + * Log a message with status level + * @param inText: the message + * @param inSender: a String denoting the source of the message; + * typical toString() of the calling class + * @use + * <code> + * Log.status("This is a status message", toString()); + * </code> + */ + public static function status (inText:String, inSender:String) : void { + Log.getInstance().send(inText, inSender, Log.LEVEL_STATUS); + } + + /** + * Dispatch a LogEvent with the input parameters; trace if flag is set to do so + * @param inText: the message + * @param inSender: a String denoting the source of the message + * @param inLevel: the level of the message + */ + private function send (inText:String, inSender:String, inLevel:String) : void { + if (mDoTrace) { + trace(getTimer() + "\t" + inLevel + ": " + inText + " -- " + inSender); + } + dispatchEvent(new LogEvent(inLevel, inText, inSender)); + } + + /** + * Add a function as listener to LogEvent events + * @param inFunction: the function to handle LogEvents + * @use: + * <code> + * Log.addLogListener(EventDelegate.create(this, onLog)); + * + * private function onLog (e:LogEvent) { + * } + * </code> + */ + public static function addLogListener (inFunction:Function) : void { + Log.getInstance().addListener(inFunction); + } + + /** + * Set whether log messages should be output as a trace + * @param inShow: if true, log messages are output as a trace + * Set this to false if a log listener also outputs as a trace. + * @use + * <code> + * Log.showTrace(false); + * <code> + */ + public static function showTrace (inShow:Boolean) : void { + Log.getInstance().doShowTrace(inShow); + } + + /** + * @return singleton instance of Logger + */ + private static function getInstance() : Log { + if (theInstance == null) + theInstance = new Log(); + return theInstance; + } + + /** + * Add a function to the event listeners + */ + private function addListener (inFunction:Function) : void { + addEventListener(LogEvent.EVENT_LOG, inFunction); + } + + /** + * Set whether log messages should be output as a trace + * @param inShow: if true, log messages are output as a trace + */ + private function doShowTrace (inShow:Boolean) : void { + mDoTrace = inShow; + } +} +} \ No newline at end of file Property changes on: branches/dev_as3/asapframework/lib/org/asapframework/util/debug/Log.as ___________________________________________________________________ Name: svn:eol-style + native Added: branches/dev_as3/asapframework/lib/org/asapframework/util/debug/LogEvent.as =================================================================== --- branches/dev_as3/asapframework/lib/org/asapframework/util/debug/LogEvent.as (rev 0) +++ branches/dev_as3/asapframework/lib/org/asapframework/util/debug/LogEvent.as 2007-05-20 09:59:27 UTC (rev 677) @@ -0,0 +1,36 @@ +/* +Copyright 2005-2006 by the authors of asapframework, http://asapframework.org + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +package org.asapframework.util.debug { + +import flash.events.Event; + +public class LogEvent extends Event { + public static var EVENT_LOG:String = "onLogEvent"; + + public var level:String; + public var text:String; + public var sender:String; + + function LogEvent (inLevel:String, inText:String, inSender:String) { + super(EVENT_LOG); + + level = inLevel; + text = inText; + sender = inSender; + } + +} +} \ No newline at end of file Property changes on: branches/dev_as3/asapframework/lib/org/asapframework/util/debug/LogEvent.as ___________________________________________________________________ Name: svn:eol-style + native This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <aci...@us...> - 2007-05-20 10:00:13
|
Revision: 677 http://svn.sourceforge.net/asapframework/?rev=677&view=rev Author: acidcats Date: 2007-05-20 02:59:27 -0700 (Sun, 20 May 2007) Log Message: ----------- Added log package Added Paths: ----------- branches/dev_as3/asapframework/lib/org/asapframework/util/debug/ branches/dev_as3/asapframework/lib/org/asapframework/util/debug/Log.as branches/dev_as3/asapframework/lib/org/asapframework/util/debug/LogEvent.as Added: branches/dev_as3/asapframework/lib/org/asapframework/util/debug/Log.as =================================================================== --- branches/dev_as3/asapframework/lib/org/asapframework/util/debug/Log.as (rev 0) +++ branches/dev_as3/asapframework/lib/org/asapframework/util/debug/Log.as 2007-05-20 09:59:27 UTC (rev 677) @@ -0,0 +1,228 @@ +/* +Copyright 2005-2006 by the authors of asapframework, http://asapframework.org + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +package org.asapframework.util.debug { + +import flash.events.EventDispatcher; +import flash.utils.getTimer; + +import org.asapframework.util.debug.LogEvent; + +/** +This class implements a simple logging functionality that dispatches an event whenever a log message is received. +The object sent with the event is of type LogEvent. The LogEvent class contains public properties for the text of the message, +a String denoting the sender of the message,and the level of importance of the message. +By default, log messages are also output as traces to the Flash IDE output window. This behaviour can be changed. +@example: +<code> +Log.addEventListener(EventDelegate.create(this, onLogEvent)); // handle events locally +Log.showTrace(false); // don't output log messages as traces + +Log.debug("This is a debug message", toString()); +Log.error("This is an error message", toString()); +Log.info("This is an info message", toString()); + +private function onLogEvent (e:LogEvent) { + // handle the event by showing the message as a trace + trace(e.text); +} + +public function toString () : String { + return "TestClass"; +} +</code> +This will show the following output in the Flash IDE output window: + +This is a debug message +This is an error message +This is an info message + +The standard trace output of the Log class looks as follows: + +11 debug: This is a debug message -- TestClass +11 error: This is an error message -- TestClass +11 info: This is an info message -- TestClass + +The number "11" is the time at which the log message was generated. This time is not kept in the LogEvent class. +@author stephan.bezoen + */ + +public class Log extends EventDispatcher { + + // The possible levels of log messages + public static var LEVEL_DEBUG:String = "debug"; + public static var LEVEL_INFO:String = "info"; + public static var LEVEL_WARN:String = "warn"; + public static var LEVEL_ERROR:String = "error"; + public static var LEVEL_FATAL:String = "fatal"; + public static var LEVEL_STATUS:String = "status"; + + + private static var theInstance : Log; + + private var mDoTrace:Boolean = true; + + + /** + * Log a message with debug level + * @param inText: the message + * @param inSender: a String denoting the source of the message; + * typical toString() of the calling class + * @use + * <code> + * Log.debug("This is a debug message", toString()); + * </code> + */ + public static function debug (inText:String, inSender:String) : void { + Log.getInstance().send(inText, inSender, Log.LEVEL_DEBUG); + } + + /** + * Log a message with info level + * @param inText: the message + * @param inSender: a String denoting the source of the message; + * typical toString() of the calling class + * @use + * <code> + * Log.info("This is an info message", toString()); + * </code> + */ + public static function info (inText:String, inSender:String) : void { + Log.getInstance().send(inText, inSender, Log.LEVEL_INFO); + } + + /** + * Log a message with error level + * @param inText: the message + * @param inSender: a String denoting the source of the message; + * typical toString() of the calling class + * @use + * <code> + * Log.error("This is an error message", toString()); + * </code> + */ + public static function error (inText:String, inSender:String) : void { + Log.getInstance().send(inText, inSender, Log.LEVEL_ERROR); + } + + /** + * Log a message with warning level + * @param inText: the message + * @param inSender: a String denoting the source of the message; + * typical toString() of the calling class + * @use + * <code> + * Log.warn("This is a warning message", toString()); + * </code> + */ + public static function warn (inText:String, inSender:String) : void { + Log.getInstance().send(inText, inSender, Log.LEVEL_WARN); + } + + /** + * Log a message with fatal level + * @param inText: the message + * @param inSender: a String denoting the source of the message; + * typical toString() of the calling class + * @use + * <code> + * Log.fatal("This is a fatal message", toString()); + * </code> + */ + public static function fatal (inText:String, inSender:String) : void { + Log.getInstance().send(inText, inSender, Log.LEVEL_FATAL); + } + + /** + * Log a message with status level + * @param inText: the message + * @param inSender: a String denoting the source of the message; + * typical toString() of the calling class + * @use + * <code> + * Log.status("This is a status message", toString()); + * </code> + */ + public static function status (inText:String, inSender:String) : void { + Log.getInstance().send(inText, inSender, Log.LEVEL_STATUS); + } + + /** + * Dispatch a LogEvent with the input parameters; trace if flag is set to do so + * @param inText: the message + * @param inSender: a String denoting the source of the message + * @param inLevel: the level of the message + */ + private function send (inText:String, inSender:String, inLevel:String) : void { + if (mDoTrace) { + trace(getTimer() + "\t" + inLevel + ": " + inText + " -- " + inSender); + } + dispatchEvent(new LogEvent(inLevel, inText, inSender)); + } + + /** + * Add a function as listener to LogEvent events + * @param inFunction: the function to handle LogEvents + * @use: + * <code> + * Log.addLogListener(EventDelegate.create(this, onLog)); + * + * private function onLog (e:LogEvent) { + * } + * </code> + */ + public static function addLogListener (inFunction:Function) : void { + Log.getInstance().addListener(inFunction); + } + + /** + * Set whether log messages should be output as a trace + * @param inShow: if true, log messages are output as a trace + * Set this to false if a log listener also outputs as a trace. + * @use + * <code> + * Log.showTrace(false); + * <code> + */ + public static function showTrace (inShow:Boolean) : void { + Log.getInstance().doShowTrace(inShow); + } + + /** + * @return singleton instance of Logger + */ + private static function getInstance() : Log { + if (theInstance == null) + theInstance = new Log(); + return theInstance; + } + + /** + * Add a function to the event listeners + */ + private function addListener (inFunction:Function) : void { + addEventListener(LogEvent.EVENT_LOG, inFunction); + } + + /** + * Set whether log messages should be output as a trace + * @param inShow: if true, log messages are output as a trace + */ + private function doShowTrace (inShow:Boolean) : void { + mDoTrace = inShow; + } +} +} \ No newline at end of file Property changes on: branches/dev_as3/asapframework/lib/org/asapframework/util/debug/Log.as ___________________________________________________________________ Name: svn:eol-style + native Added: branches/dev_as3/asapframework/lib/org/asapframework/util/debug/LogEvent.as =================================================================== --- branches/dev_as3/asapframework/lib/org/asapframework/util/debug/LogEvent.as (rev 0) +++ branches/dev_as3/asapframework/lib/org/asapframework/util/debug/LogEvent.as 2007-05-20 09:59:27 UTC (rev 677) @@ -0,0 +1,36 @@ +/* +Copyright 2005-2006 by the authors of asapframework, http://asapframework.org + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +package org.asapframework.util.debug { + +import flash.events.Event; + +public class LogEvent extends Event { + public static var EVENT_LOG:String = "onLogEvent"; + + public var level:String; + public var text:String; + public var sender:String; + + function LogEvent (inLevel:String, inText:String, inSender:String) { + super(EVENT_LOG); + + level = inLevel; + text = inText; + sender = inSender; + } + +} +} \ No newline at end of file Property changes on: branches/dev_as3/asapframework/lib/org/asapframework/util/debug/LogEvent.as ___________________________________________________________________ Name: svn:eol-style + native This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <aci...@us...> - 2007-02-21 15:34:37
|
Revision: 669 http://svn.sourceforge.net/asapframework/?rev=669&view=rev Author: acidcats Date: 2007-02-21 07:34:29 -0800 (Wed, 21 Feb 2007) Log Message: ----------- Fixed missing typing Modified Paths: -------------- trunk/asapframework/lib/org/asapframework/ui/Tooltip.as trunk/asapframework/lib/org/asapframework/ui/buttons/radio/RadioButton.as Modified: trunk/asapframework/lib/org/asapframework/ui/Tooltip.as =================================================================== --- trunk/asapframework/lib/org/asapframework/ui/Tooltip.as 2007-01-29 14:33:53 UTC (rev 668) +++ trunk/asapframework/lib/org/asapframework/ui/Tooltip.as 2007-02-21 15:34:29 UTC (rev 669) @@ -254,7 +254,7 @@ */ private function updateSize () : Void { - var lineWidth = (borderWidth <= 0) ? 1 : borderWidth; + var lineWidth:Number = (borderWidth <= 0) ? 1 : borderWidth; var textWidth:Number = textField.textWidth; textWidth -= lineWidth; @@ -267,7 +267,7 @@ textField._width = textWidth; mSize.x = textField._width + 2*padding.x; - var textHeight = textField.textHeight; + var textHeight:Number = textField.textHeight; textHeight -= lineWidth; textField._height = textHeight; mSize.y = textField._height + 2*padding.y; Modified: trunk/asapframework/lib/org/asapframework/ui/buttons/radio/RadioButton.as =================================================================== --- trunk/asapframework/lib/org/asapframework/ui/buttons/radio/RadioButton.as 2007-01-29 14:33:53 UTC (rev 668) +++ trunk/asapframework/lib/org/asapframework/ui/buttons/radio/RadioButton.as 2007-02-21 15:34:29 UTC (rev 669) @@ -36,12 +36,12 @@ class org.asapframework.ui.buttons.radio.RadioButton extends EventButton implements IRadioButton { - private static var DEFAULT_FRAME_DESELECTED_NORMAL = "deselected_normal"; - private static var DEFAULT_FRAME_DESELECTED_ROLLOVER = "deselected_rollover"; - private static var DEFAULT_FRAME_DESELECTED_MOUSEDOWN = "deselected_mousedown"; - private static var DEFAULT_FRAME_SELECTED_NORMAL = "selected_normal"; - private static var DEFAULT_FRAME_SELECTED_ROLLOVER = "selected_rollover"; - private static var DEFAULT_FRAME_SELECTED_MOUSEDOWN = "selected_mousedown"; + private static var DEFAULT_FRAME_DESELECTED_NORMAL:String = "deselected_normal"; + private static var DEFAULT_FRAME_DESELECTED_ROLLOVER:String = "deselected_rollover"; + private static var DEFAULT_FRAME_DESELECTED_MOUSEDOWN:String = "deselected_mousedown"; + private static var DEFAULT_FRAME_SELECTED_NORMAL:String = "selected_normal"; + private static var DEFAULT_FRAME_SELECTED_ROLLOVER:String = "selected_rollover"; + private static var DEFAULT_FRAME_SELECTED_MOUSEDOWN:String = "selected_mousedown"; private var mFrameDeselectedNormal:String = DEFAULT_FRAME_DESELECTED_NORMAL; private var mFrameDeselectedRollOver:String = DEFAULT_FRAME_DESELECTED_ROLLOVER; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <aci...@us...> - 2007-01-29 14:34:12
|
Revision: 668 http://svn.sourceforge.net/asapframework/?rev=668&view=rev Author: acidcats Date: 2007-01-29 06:33:53 -0800 (Mon, 29 Jan 2007) Log Message: ----------- Added typing to untyped variables Modified Paths: -------------- trunk/asapframework/lib/org/asapframework/util/RectangleUtils.as trunk/asapframework/lib/org/asapframework/util/actionqueue/AQSpring.as trunk/asapframework/lib/org/asapframework/util/types/Rectangle.as Modified: trunk/asapframework/lib/org/asapframework/util/RectangleUtils.as =================================================================== --- trunk/asapframework/lib/org/asapframework/util/RectangleUtils.as 2006-11-21 10:08:34 UTC (rev 667) +++ trunk/asapframework/lib/org/asapframework/util/RectangleUtils.as 2007-01-29 14:33:53 UTC (rev 668) @@ -72,7 +72,7 @@ */ public static function boundsOfMovieClip (inMC:MovieClip, inTargetSpace:MovieClip) : Rectangle { var targetSpace = (inTargetSpace != undefined) ? inTargetSpace : _level0; - var mcBounds = inMC.getBounds(targetSpace); + var mcBounds:Object = inMC.getBounds(targetSpace); var boundsRect:Rectangle = new Rectangle(); boundsRect.left = mcBounds.xMin; boundsRect.right = mcBounds.xMax; Modified: trunk/asapframework/lib/org/asapframework/util/actionqueue/AQSpring.as =================================================================== --- trunk/asapframework/lib/org/asapframework/util/actionqueue/AQSpring.as 2006-11-21 10:08:34 UTC (rev 667) +++ trunk/asapframework/lib/org/asapframework/util/actionqueue/AQSpring.as 2007-01-29 14:33:53 UTC (rev 668) @@ -61,7 +61,7 @@ var targetLoc:Point = (inTargetLoc != undefined) ? inTargetLoc : new Point(inMC._x, inMC._y); if (targetLoc.x == null) targetLoc.x = inMC._x; if (targetLoc.y == null) targetLoc.y = inMC._y; - var haltSpeed = (inHaltSpeed != undefined) ? inHaltSpeed : DEFAULT_HALT_SPEED; + var haltSpeed:Number = (inHaltSpeed != undefined) ? inHaltSpeed : DEFAULT_HALT_SPEED; var x:Number, y:Number; var xp:Number = 0; Modified: trunk/asapframework/lib/org/asapframework/util/types/Rectangle.as =================================================================== --- trunk/asapframework/lib/org/asapframework/util/types/Rectangle.as 2006-11-21 10:08:34 UTC (rev 667) +++ trunk/asapframework/lib/org/asapframework/util/types/Rectangle.as 2007-01-29 14:33:53 UTC (rev 668) @@ -279,7 +279,7 @@ </code> */ public function intersection (inRectangle:Rectangle) : Rectangle { - var rectangle = getIntersectionRectangle(inRectangle); + var rectangle:Rectangle = getIntersectionRectangle(inRectangle); if (rectangle.width <= 0 || rectangle.height <= 0) { // does not intersect, return empty Rectangle return new Rectangle(); @@ -319,7 +319,7 @@ </code> */ public function intersects (inRectangle:Rectangle) : Boolean { - var rectangle = getIntersectionRectangle(inRectangle); + var rectangle:Rectangle = getIntersectionRectangle(inRectangle); if (rectangle.width <= 0 || rectangle.height <= 0) { return false; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <aci...@us...> - 2006-11-21 10:08:37
|
Revision: 667 http://svn.sourceforge.net/asapframework/?rev=667&view=rev Author: acidcats Date: 2006-11-21 02:08:34 -0800 (Tue, 21 Nov 2006) Log Message: ----------- Made FDT-compatible: variables can't be defined inside a block and then used outside of that block. Modified Paths: -------------- trunk/asapframework/lib/org/asapframework/ui/slider/Slider.as Modified: trunk/asapframework/lib/org/asapframework/ui/slider/Slider.as =================================================================== --- trunk/asapframework/lib/org/asapframework/ui/slider/Slider.as 2006-11-20 14:35:03 UTC (rev 666) +++ trunk/asapframework/lib/org/asapframework/ui/slider/Slider.as 2006-11-21 10:08:34 UTC (rev 667) @@ -286,13 +286,14 @@ */ private function updatePercentage (inPercentage:Number) : Void { + var min:Number, max:Number; + if (inPercentage != undefined) { mPercentage = inPercentage; return; } var value:Number; if (mOrientation == HORIZONTAL) { - var min:Number, max:Number; if (mDirection == ASCENDING) { min = mBounds.left; max = mBounds.right; @@ -304,7 +305,6 @@ value = mCurrentPos.x; } if (mOrientation == VERTICAL) { - var min:Number, max:Number; if (mDirection == ASCENDING) { min = mBounds.bottom; max = mBounds.top; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <aci...@us...> - 2006-11-20 14:51:24
|
Revision: 666 http://svn.sourceforge.net/asapframework/?rev=666&view=rev Author: acidcats Date: 2006-11-20 06:35:03 -0800 (Mon, 20 Nov 2006) Log Message: ----------- Made FDT-compatible Modified Paths: -------------- trunk/asapframework/lib/org/asapframework/util/system/Environment.as Modified: trunk/asapframework/lib/org/asapframework/util/system/Environment.as =================================================================== --- trunk/asapframework/lib/org/asapframework/util/system/Environment.as 2006-11-20 10:05:02 UTC (rev 665) +++ trunk/asapframework/lib/org/asapframework/util/system/Environment.as 2006-11-20 14:35:03 UTC (rev 666) @@ -46,14 +46,8 @@ */ public static function getEnvironment () : String { - //System.capabilities.playerType - //StandAlone ( = standalone) - //External: Flash IDE ( = authoring) - //PlugIn ( = plugin) - //ActiveX from within IE ( = plugin) - var env:String = Environment.PLUGIN; - if (CustomActions != undefined) { + if (_global.CustomActions != undefined) { env = Environment.AUTHORING; } else if (_root._url.substr(0,4) == "file") { env = Environment.STANDALONE; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <aci...@us...> - 2006-11-20 10:05:02
|
Revision: 665 http://svn.sourceforge.net/asapframework/?rev=665&view=rev Author: acidcats Date: 2006-11-20 02:05:02 -0800 (Mon, 20 Nov 2006) Log Message: ----------- Bug fix in StringUtils.replace Modified Paths: -------------- tags/release_0_94/asapframework/lib/org/asapframework/util/StringUtils.as Modified: tags/release_0_94/asapframework/lib/org/asapframework/util/StringUtils.as =================================================================== --- tags/release_0_94/asapframework/lib/org/asapframework/util/StringUtils.as 2006-11-20 10:04:33 UTC (rev 664) +++ tags/release_0_94/asapframework/lib/org/asapframework/util/StringUtils.as 2006-11-20 10:05:02 UTC (rev 665) @@ -48,14 +48,15 @@ @returns : Modified string. @example <code>StringUtils.replace("This is my String", "my", "not a"); // returns "This is not a String"</code> */ - public static function replace ( inSource:String, inRemove:String, inReplace:String ) : String { - + public static function replace (inSource:String, inRemove:String, inReplace:String) : String { var index:Number = inSource.indexOf(inRemove); + var result:String = inSource; while (index >= 0) { - inSource = inSource.substr(0, index) + inReplace + inSource.substr(index + inRemove.length); - index = inSource.indexOf(inRemove); + result = result.substr(0, index) + inReplace + result.substr(index + inRemove.length); + index += inReplace.length; + index = result.indexOf(inRemove, index); } - return inSource; + return result; } /** This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <aci...@us...> - 2006-11-20 10:04:32
|
Revision: 664 http://svn.sourceforge.net/asapframework/?rev=664&view=rev Author: acidcats Date: 2006-11-20 02:04:33 -0800 (Mon, 20 Nov 2006) Log Message: ----------- Added license Modified Paths: -------------- tags/release_0_94/asapframework/lib/org/asapframework/ui/video/FLVMetaData.as tags/release_0_94/asapframework/lib/org/asapframework/ui/video/FLVPlayer.as tags/release_0_94/asapframework/lib/org/asapframework/ui/video/FLVPlayerEvent.as trunk/asapframework/lib/org/asapframework/ui/video/FLVMetaData.as trunk/asapframework/lib/org/asapframework/ui/video/FLVPlayer.as trunk/asapframework/lib/org/asapframework/ui/video/FLVPlayerEvent.as Modified: tags/release_0_94/asapframework/lib/org/asapframework/ui/video/FLVMetaData.as =================================================================== --- tags/release_0_94/asapframework/lib/org/asapframework/ui/video/FLVMetaData.as 2006-11-20 10:03:46 UTC (rev 663) +++ tags/release_0_94/asapframework/lib/org/asapframework/ui/video/FLVMetaData.as 2006-11-20 10:04:33 UTC (rev 664) @@ -1,6 +1,20 @@ - +/* +Copyright 2005-2006 by the authors of asapframework + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + /** - * @author Martijn de Visser * ValueObject to store FLV Metadata in. */ class org.asapframework.ui.video.FLVMetaData { Modified: tags/release_0_94/asapframework/lib/org/asapframework/ui/video/FLVPlayer.as =================================================================== --- tags/release_0_94/asapframework/lib/org/asapframework/ui/video/FLVPlayer.as 2006-11-20 10:03:46 UTC (rev 663) +++ tags/release_0_94/asapframework/lib/org/asapframework/ui/video/FLVPlayer.as 2006-11-20 10:04:33 UTC (rev 664) @@ -1,4 +1,20 @@ -/** +/* +Copyright 2005-2006 by the authors of asapframework + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +/** Class for playing FLV files. Requires a movieclip with an embedded video object with the name "holder_vid". Modified: tags/release_0_94/asapframework/lib/org/asapframework/ui/video/FLVPlayerEvent.as =================================================================== --- tags/release_0_94/asapframework/lib/org/asapframework/ui/video/FLVPlayerEvent.as 2006-11-20 10:03:46 UTC (rev 663) +++ tags/release_0_94/asapframework/lib/org/asapframework/ui/video/FLVPlayerEvent.as 2006-11-20 10:04:33 UTC (rev 664) @@ -1,4 +1,20 @@ -import org.asapframework.events.Event; +/* +Copyright 2005-2006 by the authors of asapframework + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +import org.asapframework.events.Event; import org.asapframework.ui.video.FLVPlayer; class org.asapframework.ui.video.FLVPlayerEvent extends Event { Modified: trunk/asapframework/lib/org/asapframework/ui/video/FLVMetaData.as =================================================================== --- trunk/asapframework/lib/org/asapframework/ui/video/FLVMetaData.as 2006-11-20 10:03:46 UTC (rev 663) +++ trunk/asapframework/lib/org/asapframework/ui/video/FLVMetaData.as 2006-11-20 10:04:33 UTC (rev 664) @@ -1,6 +1,20 @@ - +/* +Copyright 2005-2006 by the authors of asapframework + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + /** - * @author Martijn de Visser * ValueObject to store FLV Metadata in. */ class org.asapframework.ui.video.FLVMetaData { Modified: trunk/asapframework/lib/org/asapframework/ui/video/FLVPlayer.as =================================================================== --- trunk/asapframework/lib/org/asapframework/ui/video/FLVPlayer.as 2006-11-20 10:03:46 UTC (rev 663) +++ trunk/asapframework/lib/org/asapframework/ui/video/FLVPlayer.as 2006-11-20 10:04:33 UTC (rev 664) @@ -1,4 +1,20 @@ -/** +/* +Copyright 2005-2006 by the authors of asapframework + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +/** Class for playing FLV files. Requires a movieclip with an embedded video object with the name "holder_vid". Modified: trunk/asapframework/lib/org/asapframework/ui/video/FLVPlayerEvent.as =================================================================== --- trunk/asapframework/lib/org/asapframework/ui/video/FLVPlayerEvent.as 2006-11-20 10:03:46 UTC (rev 663) +++ trunk/asapframework/lib/org/asapframework/ui/video/FLVPlayerEvent.as 2006-11-20 10:04:33 UTC (rev 664) @@ -1,4 +1,20 @@ -import org.asapframework.events.Event; +/* +Copyright 2005-2006 by the authors of asapframework + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +import org.asapframework.events.Event; import org.asapframework.ui.video.FLVPlayer; class org.asapframework.ui.video.FLVPlayerEvent extends Event { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <aci...@us...> - 2006-11-20 10:03:54
|
Revision: 663 http://svn.sourceforge.net/asapframework/?rev=663&view=rev Author: acidcats Date: 2006-11-20 02:03:46 -0800 (Mon, 20 Nov 2006) Log Message: ----------- Bug fix in import Modified Paths: -------------- trunk/asapframework/lib/org/asapframework/ui/combobox/ComboBox.as Modified: trunk/asapframework/lib/org/asapframework/ui/combobox/ComboBox.as =================================================================== --- trunk/asapframework/lib/org/asapframework/ui/combobox/ComboBox.as 2006-11-20 10:03:23 UTC (rev 662) +++ trunk/asapframework/lib/org/asapframework/ui/combobox/ComboBox.as 2006-11-20 10:03:46 UTC (rev 663) @@ -1,5 +1,5 @@ -/* -Copyright 2005 by the authors of asapframework +/* +Copyright 2005-2006 by the authors of asapframework Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -15,7 +15,7 @@ */ // macromedia classes -import mx.mx.transitions.easing.Strong; +import mx.transitions.easing.Strong; import mx.transitions.Tween; import org.asapframework.events.EventDelegate; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <aci...@us...> - 2006-11-20 10:03:30
|
Revision: 662 http://svn.sourceforge.net/asapframework/?rev=662&view=rev Author: acidcats Date: 2006-11-20 02:03:23 -0800 (Mon, 20 Nov 2006) Log Message: ----------- Bug fix in import Modified Paths: -------------- tags/release_0_94/asapframework/lib/org/asapframework/ui/combobox/ComboBox.as Modified: tags/release_0_94/asapframework/lib/org/asapframework/ui/combobox/ComboBox.as =================================================================== --- tags/release_0_94/asapframework/lib/org/asapframework/ui/combobox/ComboBox.as 2006-11-16 13:13:41 UTC (rev 661) +++ tags/release_0_94/asapframework/lib/org/asapframework/ui/combobox/ComboBox.as 2006-11-20 10:03:23 UTC (rev 662) @@ -1,4 +1,4 @@ -/* +/* Copyright 2005 by the authors of asapframework Licensed under the Apache License, Version 2.0 (the "License"); @@ -15,7 +15,7 @@ */ // macromedia classes -import mx.mx.transitions.easing.Strong; +import mx.transitions.easing.Strong; import mx.transitions.Tween; import org.asapframework.events.EventDelegate; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <acl...@us...> - 2006-11-16 13:13:49
|
Revision: 661 http://svn.sourceforge.net/asapframework/?rev=661&view=rev Author: aclemens Date: 2006-11-16 05:13:41 -0800 (Thu, 16 Nov 2006) Log Message: ----------- StringUtils.replace - fixes replacement of multiple occurrence of string Modified Paths: -------------- trunk/asapframework/lib/org/asapframework/util/StringUtils.as trunk/asapframework/playground/classdemos/FlowControllerDemo/scripts/MyFlowController.as trunk/asapframework/tests/unit/tests/org/asapframework/util/StringUtilsTest.as Modified: trunk/asapframework/lib/org/asapframework/util/StringUtils.as =================================================================== --- trunk/asapframework/lib/org/asapframework/util/StringUtils.as 2006-11-09 15:21:59 UTC (rev 660) +++ trunk/asapframework/lib/org/asapframework/util/StringUtils.as 2006-11-16 13:13:41 UTC (rev 661) @@ -48,14 +48,15 @@ @returns : Modified string. @example <code>StringUtils.replace("This is my String", "my", "not a"); // returns "This is not a String"</code> */ - public static function replace ( inSource:String, inRemove:String, inReplace:String ) : String { - + public static function replace (inSource:String, inRemove:String, inReplace:String) : String { var index:Number = inSource.indexOf(inRemove); + var result:String = inSource; while (index >= 0) { - inSource = inSource.substr(0, index) + inReplace + inSource.substr(index + inRemove.length); - index = inSource.indexOf(inRemove); + result = result.substr(0, index) + inReplace + result.substr(index + inRemove.length); + index += inReplace.length; + index = result.indexOf(inRemove, index); } - return inSource; + return result; } /** Modified: trunk/asapframework/playground/classdemos/FlowControllerDemo/scripts/MyFlowController.as =================================================================== --- trunk/asapframework/playground/classdemos/FlowControllerDemo/scripts/MyFlowController.as 2006-11-09 15:21:59 UTC (rev 660) +++ trunk/asapframework/playground/classdemos/FlowControllerDemo/scripts/MyFlowController.as 2006-11-16 13:13:41 UTC (rev 661) @@ -1,4 +1,4 @@ -import playground.classes.data.filedatatransform.*; +import org.asapframework.data.filedatatransform.*; import playground.classes.data.tree.FlowController; Modified: trunk/asapframework/tests/unit/tests/org/asapframework/util/StringUtilsTest.as =================================================================== --- trunk/asapframework/tests/unit/tests/org/asapframework/util/StringUtilsTest.as 2006-11-09 15:21:59 UTC (rev 660) +++ trunk/asapframework/tests/unit/tests/org/asapframework/util/StringUtilsTest.as 2006-11-16 13:13:41 UTC (rev 661) @@ -18,6 +18,7 @@ assertTrue("StringUtils replace 1", StringUtils.replace(" ", " ", "") == ""); assertTrue("StringUtils replace 2", StringUtils.replace("abc123abc", "abc", "123") == "123123123"); assertTrue("StringUtils replace 3", StringUtils.replace("This is my String", "my", "not a") == "This is not a String"); + assertTrue("StringUtils replace 4", StringUtils.replace("aap noot mies aap noot mies aap noot mies","noot", "nootje") == "aap nootje mies aap nootje mies aap nootje mies"); } public function testAppendDecimalString () : Void { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <acl...@us...> - 2006-11-09 15:23:46
|
Revision: 660 http://svn.sourceforge.net/asapframework/?rev=660&view=rev Author: aclemens Date: 2006-11-09 07:21:59 -0800 (Thu, 09 Nov 2006) Log Message: ----------- Demo documentation update Modified Paths: -------------- trunk/asapframework/demos/ActionQueueDemos/doc/toc trunk/asapframework/demos/ActionQueueDemos/doc/toc.html trunk/asapframework/demos/BuiltWithASAP/doc/toc trunk/asapframework/demos/BuiltWithASAP/doc/toc.html trunk/asapframework/demos/FLVPlayer/doc/toc trunk/asapframework/demos/FLVPlayer/doc/toc.html trunk/asapframework/demos/FormValidation/doc/toc trunk/asapframework/demos/FormValidation/doc/toc.html trunk/asapframework/demos/NotificationCenter/doc/toc trunk/asapframework/demos/NotificationCenter/doc/toc.html trunk/asapframework/demos/Scrollbar/doc/toc trunk/asapframework/demos/Scrollbar/doc/toc.html trunk/asapframework/demos/SimpleApplication/doc/toc trunk/asapframework/demos/SimpleApplication/doc/toc.html trunk/asapframework/demos/SimpleDemo/doc/controllers_MyController.html trunk/asapframework/demos/SimpleDemo/doc/ui_ClickButton.html trunk/asapframework/demos/ThumbController/doc/toc trunk/asapframework/demos/ThumbController/doc/toc.html trunk/asapframework/demos/ZoomSlider/doc/toc trunk/asapframework/demos/ZoomSlider/doc/toc.html Added Paths: ----------- trunk/asapframework/demos/ActionQueueDemos/doc/controllers_AQBlinkController.html trunk/asapframework/demos/ActionQueueDemos/doc/controllers_AQColorController.html trunk/asapframework/demos/ActionQueueDemos/doc/controllers_AQFadeController.html trunk/asapframework/demos/ActionQueueDemos/doc/controllers_AQFollowMouseController.html trunk/asapframework/demos/ActionQueueDemos/doc/controllers_AQPulseController.html trunk/asapframework/demos/ActionQueueDemos/doc/controllers_AQRotateController.html trunk/asapframework/demos/ActionQueueDemos/doc/controllers_AQSpringController.html trunk/asapframework/demos/ActionQueueDemos/doc/controllers_AppController.html trunk/asapframework/demos/ActionQueueDemos/doc/controllers_DemoController.html trunk/asapframework/demos/ActionQueueDemos/doc/controllers_MenuController.html trunk/asapframework/demos/ActionQueueDemos/doc/data_AppData.html trunk/asapframework/demos/ActionQueueDemos/doc/data_DataManager.html trunk/asapframework/demos/ActionQueueDemos/doc/data_DataMapper.html trunk/asapframework/demos/ActionQueueDemos/doc/data_DemoData.html trunk/asapframework/demos/ActionQueueDemos/doc/data_IMappable.html trunk/asapframework/demos/ActionQueueDemos/doc/events_DemoControllerEvent.html trunk/asapframework/demos/ActionQueueDemos/doc/events_MovieEvent.html trunk/asapframework/demos/ActionQueueDemos/doc/ui_AQRotateDial.html trunk/asapframework/demos/ActionQueueDemos/doc/ui_AQSpringBackground.html trunk/asapframework/demos/ActionQueueDemos/doc/ui_ButtonBackground.html trunk/asapframework/demos/ActionQueueDemos/doc/ui_ClickButton.html trunk/asapframework/demos/ActionQueueDemos/doc/ui_LeftAlignClickButton.html trunk/asapframework/demos/ActionQueueDemos/doc/ui_MovieButton.html trunk/asapframework/demos/BuiltWithASAP/doc/controllers_AppController.html trunk/asapframework/demos/BuiltWithASAP/doc/controllers_MenuController.html trunk/asapframework/demos/BuiltWithASAP/doc/data_AppData.html trunk/asapframework/demos/BuiltWithASAP/doc/data_DataManager.html trunk/asapframework/demos/BuiltWithASAP/doc/data_DataMapper.html trunk/asapframework/demos/BuiltWithASAP/doc/data_IMappable.html trunk/asapframework/demos/BuiltWithASAP/doc/data_ProjectData.html trunk/asapframework/demos/BuiltWithASAP/doc/events_ProjectButtonEvent.html trunk/asapframework/demos/BuiltWithASAP/doc/events_ProjectEvent.html trunk/asapframework/demos/BuiltWithASAP/doc/ui_Image.html trunk/asapframework/demos/BuiltWithASAP/doc/ui_ProjectButton.html trunk/asapframework/demos/BuiltWithASAP/doc/util_BWAMovieClipUtils.html trunk/asapframework/demos/BuiltWithASAP/doc/util_TextFieldUtils.html trunk/asapframework/demos/FLVPlayer/doc/controller_FLVController.html trunk/asapframework/demos/FLVPlayer/doc/controller_ProgressController.html trunk/asapframework/demos/FLVPlayer/doc/ui_ProgressBar.html trunk/asapframework/demos/FLVPlayer/doc/ui_SUProgressBar.html trunk/asapframework/demos/FormValidation/doc/controllers_FormController.html trunk/asapframework/demos/FormValidation/doc/lang_Strings.html trunk/asapframework/demos/FormValidation/doc/ui_ClickButton.html trunk/asapframework/demos/FormValidation/doc/ui_ErrorInputField.html trunk/asapframework/demos/FormValidation/doc/ui_ErrorMessage.html trunk/asapframework/demos/FormValidation/doc/ui_LabeledRadioButton.html trunk/asapframework/demos/LanguageManager/doc/ trunk/asapframework/demos/LanguageManager/doc/MainController.html trunk/asapframework/demos/LanguageManager/doc/css/ trunk/asapframework/demos/LanguageManager/doc/css/VisDoc.css trunk/asapframework/demos/LanguageManager/doc/index.html trunk/asapframework/demos/LanguageManager/doc/js/ trunk/asapframework/demos/LanguageManager/doc/js/doc.js trunk/asapframework/demos/LanguageManager/doc/js/index.js trunk/asapframework/demos/LanguageManager/doc/js/toc.js trunk/asapframework/demos/LanguageManager/doc/toc trunk/asapframework/demos/LanguageManager/doc/toc.html trunk/asapframework/demos/NotificationCenter/doc/controller_AppController.html trunk/asapframework/demos/Scrollbar/doc/controllers_AppController.html trunk/asapframework/demos/Scrollbar/doc/ui_ScrollPane.html trunk/asapframework/demos/SimpleApplication/doc/controllers_AppController.html trunk/asapframework/demos/SimpleApplication/doc/controllers_GalleryController.html trunk/asapframework/demos/SimpleApplication/doc/controllers_HomeController.html trunk/asapframework/demos/SimpleApplication/doc/controllers_MenuController.html trunk/asapframework/demos/SimpleApplication/doc/controllers_MyLocalController.html trunk/asapframework/demos/SimpleApplication/doc/data_AppData.html trunk/asapframework/demos/SimpleApplication/doc/data_State.html trunk/asapframework/demos/SimpleApplication/doc/events_MyLocalControllerEvent.html trunk/asapframework/demos/SimpleApplication/doc/events_NavigationEvent.html trunk/asapframework/demos/SimpleApplication/doc/ui_SimpleButton.html trunk/asapframework/demos/ThumbController/doc/controller_ThumbController.html trunk/asapframework/demos/ThumbController/doc/data_AppData.html trunk/asapframework/demos/ThumbController/doc/ui_ImagePlaceholder.html trunk/asapframework/demos/ThumbController/doc/ui_NextButton.html trunk/asapframework/demos/ThumbController/doc/ui_ThumbImage.html trunk/asapframework/demos/ZoomSlider/doc/controllers_DebugController.html trunk/asapframework/demos/ZoomSlider/doc/controllers_ZoomController.html trunk/asapframework/demos/ZoomSlider/doc/events_ZoomEvent.html trunk/asapframework/demos/ZoomSlider/doc/ui_AnimatingIndicator.html trunk/asapframework/demos/ZoomSlider/doc/ui_AnimatingSlider.html trunk/asapframework/demos/ZoomSlider/doc/ui_ClickBackground.html Removed Paths: ------------- trunk/asapframework/demos/ActionQueueDemos/doc/AQBlinkController.html trunk/asapframework/demos/ActionQueueDemos/doc/AQColorController.html trunk/asapframework/demos/ActionQueueDemos/doc/AQFadeController.html trunk/asapframework/demos/ActionQueueDemos/doc/AQFollowMouseController.html trunk/asapframework/demos/ActionQueueDemos/doc/AQPulseController.html trunk/asapframework/demos/ActionQueueDemos/doc/AQRotateController.html trunk/asapframework/demos/ActionQueueDemos/doc/AQRotateDial.html trunk/asapframework/demos/ActionQueueDemos/doc/AQSpringBackground.html trunk/asapframework/demos/ActionQueueDemos/doc/AQSpringController.html trunk/asapframework/demos/ActionQueueDemos/doc/AppController.html trunk/asapframework/demos/ActionQueueDemos/doc/AppData.html trunk/asapframework/demos/ActionQueueDemos/doc/ButtonBackground.html trunk/asapframework/demos/ActionQueueDemos/doc/ClickButton.html trunk/asapframework/demos/ActionQueueDemos/doc/DataManager.html trunk/asapframework/demos/ActionQueueDemos/doc/DataMapper.html trunk/asapframework/demos/ActionQueueDemos/doc/DemoController.html trunk/asapframework/demos/ActionQueueDemos/doc/DemoControllerEvent.html trunk/asapframework/demos/ActionQueueDemos/doc/DemoData.html trunk/asapframework/demos/ActionQueueDemos/doc/IDemoController.html trunk/asapframework/demos/ActionQueueDemos/doc/IMappable.html trunk/asapframework/demos/ActionQueueDemos/doc/LeftAlignClickButton.html trunk/asapframework/demos/ActionQueueDemos/doc/MenuController.html trunk/asapframework/demos/ActionQueueDemos/doc/MovieButton.html trunk/asapframework/demos/ActionQueueDemos/doc/MovieEvent.html trunk/asapframework/demos/ActionQueueDemos/doc/ProjectButtonEvent.html trunk/asapframework/demos/ActionQueueDemos/doc/ui_MenuClickButton.html trunk/asapframework/demos/BuiltWithASAP/doc/AppController.html trunk/asapframework/demos/BuiltWithASAP/doc/AppData.html trunk/asapframework/demos/BuiltWithASAP/doc/BWAMovieClipUtils.html trunk/asapframework/demos/BuiltWithASAP/doc/DataManager.html trunk/asapframework/demos/BuiltWithASAP/doc/DataMapper.html trunk/asapframework/demos/BuiltWithASAP/doc/IMappable.html trunk/asapframework/demos/BuiltWithASAP/doc/Image.html trunk/asapframework/demos/BuiltWithASAP/doc/MenuController.html trunk/asapframework/demos/BuiltWithASAP/doc/ProjectButton.html trunk/asapframework/demos/BuiltWithASAP/doc/ProjectButtonEvent.html trunk/asapframework/demos/BuiltWithASAP/doc/ProjectData.html trunk/asapframework/demos/BuiltWithASAP/doc/ProjectEvent.html trunk/asapframework/demos/BuiltWithASAP/doc/TextFieldUtils.html trunk/asapframework/demos/FLVPlayer/doc/FLVController.html trunk/asapframework/demos/FLVPlayer/doc/ProgressBar.html trunk/asapframework/demos/FLVPlayer/doc/ProgressController.html trunk/asapframework/demos/FLVPlayer/doc/SUProgressBar.html trunk/asapframework/demos/FormValidation/doc/ClickButton.html trunk/asapframework/demos/FormValidation/doc/ErrorInputField.html trunk/asapframework/demos/FormValidation/doc/ErrorMessage.html trunk/asapframework/demos/FormValidation/doc/FormController.html trunk/asapframework/demos/FormValidation/doc/LabeledRadioButton.html trunk/asapframework/demos/FormValidation/doc/Strings.html trunk/asapframework/demos/NotificationCenter/doc/AppController.html Deleted: trunk/asapframework/demos/ActionQueueDemos/doc/AQBlinkController.html =================================================================== --- trunk/asapframework/demos/ActionQueueDemos/doc/AQBlinkController.html 2006-11-09 15:03:36 UTC (rev 659) +++ trunk/asapframework/demos/ActionQueueDemos/doc/AQBlinkController.html 2006-11-09 15:21:59 UTC (rev 660) @@ -1,573 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <title>AQBlinkController</title> - <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/> - <link rel="stylesheet" type="text/css" href="css/VisDoc.css"/> - <script src="js/doc.js" type="text/javascript">//</script> - </head> - <body pageId="PageAQBlinkController"> - <div class="VisDoc"><span id="PageTop"><!----></span> - <div class="content"><span class="accessKeysInfo"><span class="label"><a href="#" class="accessKeyInfoToggle" onclick="toggleAccessKeyInfo(); return true;">Access keys</a></span><span class="accessKeyLinks" style="display:none;"><a href="#PageTop" accesskey="t">T</a>op, <a href="#Summary" accesskey="s">S</a>ummary, <a href="#Constructor" accesskey="c">C</a>onstructors, -C<a href="#Classproperties" accesskey="l">l</a>ass properties, -Instance <a href="#Instanceproperties" accesskey="p">p</a>roperties, -Cl<a href="#Classmethods" accesskey="a">a</a>ss methods, -Instance <a href="#Instancemethods" accesskey="m">m</a>ethods, <a href="#Eventhandlers" accesskey="e">E</a>vent handlers</span></span><h1>AQBlinkController</h1> - <div class="classProperties"> - <table cellspacing="0"> - <tr> - <th>Kind of class:</th> - <td>class</td> - </tr> - <tr> - <th>Inherits from:</th> - <td> - <a href="DemoController.html">DemoController</a> < LocalController</td> - </tr> - <tr> - <th class="classDetails">Classpath:</th> - <td class="classDetails">AQBlinkController</td> - </tr> - <tr> - <th class="classDetails">File last modified:</th> - <td class="classDetails">Wednesday, 04 October 2006, 22:56:49</td> - </tr> - </table> - </div> - <div id="SourceCodeTop" class="sourceCodeView"> - <div class="links"> - <a href="#" class="viewSource" onclick="viewSource(); return false;">View source</a><span class="hideSource" style="display:none;"> - <a href="#" onclick="hideSource(); return false;">Hide source</a><span class="separator">|</span><a href="#EndOfSourceCode">Source end</a></span> - </div> - <div class="sourceCode" style="display:none;"> - <pre id="source">// Adobe classes -import mx.transitions.easing.*; - -// ASAP classes -import org.asapframework.management.movie.LocalController; -import org.asapframework.ui.buttons.EventButtonEvent; -import org.asapframework.util.actionqueue.*; - -// project classes -import DemoController; -import ClickButton; - - -class AQBlinkController extends DemoController { - - private var mask_btn:ClickButton; - private static var MASK_BUTTON_LABEL:String = "Mask blink"; - private var square_mask_mc:MovieClip; - - private var blink_btn:ClickButton; - private static var BLINK_BUTTON_LABEL:String = "Blink"; - private var square_blink_mc:MovieClip; - - private var perpetual_blink_btn:ClickButton; - private static var PERPETUAL_BLINK_BUTTON_LABEL:String = "Perpetual blink"; - private var square_perpetual_blink_mc:MovieClip; - - private var perpetual_blink_pause_btn:ClickButton; - private static var PERPETUAL_BLINK_PAUSE_BUTTON_LABEL:String = "Pause"; - - private var mMaskBlinkQueue:ActionQueue; - private var mBlinkQueue:ActionQueue; - private var mPerpetualBlinkQueue:ActionQueue; - - - /** - - */ - public static function main ( inTimeline:MovieClip ) : Void { - - var controller:AQBlinkController = new AQBlinkController(inTimeline); - inTimeline.controller = controller; - } - - /** - - */ - public function kill () : Void { - mMaskBlinkQueue.quit(); - mBlinkQueue.quit(); - mPerpetualBlinkQueue.quit(); - } - - // PRIVATE METHODS - - /** - Private constructor (called through .main entry point) - */ - private function AQBlinkController ( inTimeline:MovieClip ) { - - super(inTimeline); - - // let MovieManager know initialization is done - notifyMovieInitialized(); - - mask_btn = inTimeline.mask_btn; - mask_btn.setLabel(MASK_BUTTON_LABEL); - square_mask_mc = inTimeline.square_mask_mc; - - blink_btn = inTimeline.blink_btn; - blink_btn.setLabel(BLINK_BUTTON_LABEL); - square_blink_mc = inTimeline.square_blink_mc; - - perpetual_blink_btn = inTimeline.perpetual_blink_btn; - perpetual_blink_btn.setLabel(PERPETUAL_BLINK_BUTTON_LABEL); - square_perpetual_blink_mc = inTimeline.square_perpetual_blink_mc; - - perpetual_blink_pause_btn = inTimeline.perpetual_blink_pause_btn; - perpetual_blink_pause_btn.setLabel(PERPETUAL_BLINK_PAUSE_BUTTON_LABEL); - - } - - /** - - */ - private function onEventButtonRelease ( e:EventButtonEvent ) : Void { - switch (e.target) { - case mask_btn: maskBlink(); break; - case blink_btn: blink(); break; - case perpetual_blink_btn: perpetualBlink(); break; - case perpetual_blink_pause_btn: pausePerpetualBlink(); break; - } - } - - /** - - */ - private function maskBlink () : Void { - mMaskBlinkQueue.quit(); // in case the button is pressed while the old queue is still running - mMaskBlinkQueue = new ActionQueue(); - var count:Number = 2; - var frequency:Number = .7; - var hideAtStart:Boolean = true; - mMaskBlinkQueue.addAction( AQBlink.maskBlink, square_mask_mc, count, frequency, hideAtStart ); - mMaskBlinkQueue.run(); - } - - /** - - */ - private function blink () : Void { - mBlinkQueue.quit(); // in case the button is pressed while the old queue is still running - mBlinkQueue = new ActionQueue(); - var count:Number = 2; - var frequency:Number = .7; - var maxAlpha:Number = 100; - var minAlpha:Number = 10; - var startAlpha:Number = 10; - mBlinkQueue.addAction( AQBlink.blink, square_blink_mc, count, frequency, maxAlpha, minAlpha, startAlpha ); - mBlinkQueue.run(); - } - - /** - - */ - private function perpetualBlink () : Void { - mPerpetualBlinkQueue.quit(); // in case the button is pressed while the old queue is still running - mPerpetualBlinkQueue = new ActionQueue(); - var count:Number = null; - var frequency:Number = 2; - var maxAlpha:Number = 100; - var minAlpha:Number = 10; - var startAlpha:Number = 10; - var duration:Number = 0; - mPerpetualBlinkQueue.addAction( AQBlink.blink, square_perpetual_blink_mc, count, frequency, maxAlpha, minAlpha, startAlpha, duration ); - mPerpetualBlinkQueue.run(); - } - - /** - - */ - private function pausePerpetualBlink () : Void { - if (mPerpetualBlinkQueue.isPaused()) { - mPerpetualBlinkQueue.play(); - } else { - mPerpetualBlinkQueue.pause(); - } - } - -} -</pre> - </div> - <div class="links"><span class="hideSource" style="display:none;"> - <a href="#PageTop" onclick="hideSource(); return true;">Hide source</a><span class="separator">|</span><a href="#SourceCodeTop">Source top</a></span><span id="EndOfSourceCode"><!----></span> - </div> - </div> - <div class="classDescription"> - <div class="descriptionSummary"></div></div> - <div class="summary hasBottomDivider"> - <h2 class="hasBottomDivider"><span id="Summary">Summary</span></h2> - <div class="methodList"> - <div class="methodSummaryPart private" style="display:none;"><span class="title">Constructor</span><ul> - <li class="private" style="display:none;"> - <a href="#AQBlinkController">AQBlinkController</a> - </li> - </ul> - </div> - <div class="methodSummaryPart"><span class="title">Class properties</span><ul> - <li class="private" style="display:none;"> - <a href="#MASK_BUTTON_LABEL">MASK_BUTTON_LABEL</a> - </li> - <li class="private" style="display:none;"> - <a href="#BLINK_BUTTON_LABEL">BLINK_BUTTON_LABEL</a> - </li> - <li class="private" style="display:none;"> - <a href="#PERPETUAL_BLINK_BUTTON_LABEL">PERPETUAL_BLINK_BUTTON_LABEL</a> - </li> - <li class="private" style="display:none;"> - <a href="#PERPETUAL_BLINK_PAUSE_BUTTON_LABEL">PERPETUAL_BLINK_PAUSE_BUTTON_LABEL</a> - </li> - </ul> - <div class="boxWithBorder"> - <div class="boxedElem"> - <div class="contentHolder"><span class="title">Class properties inherited from <span class="superclass"><a href="DemoController.html">DemoController</a></span></span> - <div class="item"> - <a href="DemoController.html#FADE_DURATION" class="privatInline">FADE_DURATION</a> - </div> - </div> - </div> - </div> - </div> - <div class="methodSummaryPart private" style="display:none;"><span class="title">Instance properties</span><ul> - <li class="private" style="display:none;"> - <a href="#mask_btn">mask_btn</a> - </li> - <li class="private" style="display:none;"> - <a href="#square_mask_mc">square_mask_mc</a> - </li> - <li class="private" style="display:none;"> - <a href="#blink_btn">blink_btn</a> - </li> - <li class="private" style="display:none;"> - <a href="#square_blink_mc">square_blink_mc</a> - </li> - <li class="private" style="display:none;"> - <a href="#perpetual_blink_btn">perpetual_blink_btn</a> - </li> - <li class="private" style="display:none;"> - <a href="#square_perpetual_blink_mc">square_perpetual_blink_mc</a> - </li> - <li class="private" style="display:none;"> - <a href="#perpetual_blink_pause_btn">perpetual_blink_pause_btn</a> - </li> - <li class="private" style="display:none;"> - <a href="#mMaskBlinkQueue">mMaskBlinkQueue</a> - </li> - <li class="private" style="display:none;"> - <a href="#mBlinkQueue">mBlinkQueue</a> - </li> - <li class="private" style="display:none;"> - <a href="#mPerpetualBlinkQueue">mPerpetualBlinkQueue</a> - </li> - </ul> - </div> - <div class="methodSummaryPart"><span class="title">Class methods</span><ul> - <li> - <a href="#main">main</a> - </li> - </ul> - <div class="boxWithBorder"> - <div class="boxedElem"> - <div class="contentHolder"><span class="title">Class methods inherited from <span class="superclass"><a href="DemoController.html">DemoController</a></span></span> - <div class="item"> - <a href="DemoController.html#main">main</a> - </div> - </div> - </div> - </div> - </div> - <div class="methodSummaryPart"><span class="title">Instance methods</span><ul> - <li> - <a href="#kill">kill</a> - </li> - <li class="private" style="display:none;"> - <a href="#maskBlink">maskBlink</a> - </li> - <li class="private" style="display:none;"> - <a href="#blink">blink</a> - </li> - <li class="private" style="display:none;"> - <a href="#perpetualBlink">perpetualBlink</a> - </li> - <li class="private" style="display:none;"> - <a href="#pausePerpetualBlink">pausePerpetualBlink</a> - </li> - </ul> - <div class="boxWithBorder"> - <div class="boxedElem"> - <div class="contentHolder"><span class="title">Instance methods inherited from <span class="superclass"><a href="DemoController.html">DemoController</a></span></span> - <div class="item"> - <a href="DemoController.html#hide">hide</a>, <a href="DemoController.html#kill">kill</a>, <a href="DemoController.html#show">show</a> - </div> - </div> - </div> - </div> - </div> - <div class="methodSummaryPart private" style="display:none;"><span class="title">Event handlers</span><ul> - <li class="private" style="display:none;"> - <a href="#onEventButtonRelease">onEventButtonRelease</a> - </li> - </ul> - </div> - </div> - </div> - <div class="methodSection private" style="display:none;"> - <h2 class="hasBottomDivider"><span id="Constructor">Constructor</span></h2> - <div class="method hasBottomDivider private" style="display:none;"> - <h3 id="AQBlinkController">AQBlinkController</h3> - <div class="fullMemberString"> - <div class="clearfix floatholder"> - <div class="floatbox code">private function <b>AQBlinkController</b> ( -</div> - <div><span class="code">inTimeline:MovieClip)</span></div> - </div> - </div> - <div class="description">Private constructor (called through .main entry point)</div> - </div> - </div> - <div class="methodSection private" style="display:none;"> - <h2 class="hasBottomDivider"><span id="Classproperties">Class properties</span></h2> - <div class="method hasBottomDivider private" style="display:none;"> - <h3 id="BLINK_BUTTON_LABEL">BLINK_BUTTON_LABEL</h3> - <div class="fullMemberString"> - <div class="clearfix floatholder"> - <div class="floatbox code">static private <b>BLINK_BUTTON_LABEL</b>:String = <span class="codeString">"Blink"</span> -</div> - <div><span class="access">(read,write)</span></div> - </div> - </div> - </div> - <div class="method hasBottomDivider private" style="display:none;"> - <h3 id="MASK_BUTTON_LABEL">MASK_BUTTON_LABEL</h3> - <div class="fullMemberString"> - <div class="clearfix floatholder"> - <div class="floatbox code">static private <b>MASK_BUTTON_LABEL</b>:String = <span class="codeString">"Mask blink"</span> -</div> - <div><span class="access">(read,write)</span></div> - </div> - </div> - </div> - <div class="method hasBottomDivider private" style="display:none;"> - <h3 id="PERPETUAL_BLINK_BUTTON_LABEL">PERPETUAL_BLINK_BUTTON_LABEL</h3> - <div class="fullMemberString"> - <div class="clearfix floatholder"> - <div class="floatbox code">static private <b>PERPETUAL_BLINK_BUTTON_LABEL</b>:String = <span class="codeString">"Perpetual blink"</span> -</div> - <div><span class="access">(read,write)</span></div> - </div> - </div> - </div> - <div class="method hasBottomDivider private" style="display:none;"> - <h3 id="PERPETUAL_BLINK_PAUSE_BUTTON_LABEL">PERPETUAL_BLINK_PAUSE_BUTTON_LABEL</h3> - <div class="fullMemberString"> - <div class="clearfix floatholder"> - <div class="floatbox code">static private <b>PERPETUAL_BLINK_PAUSE_BUTTON_LABEL</b>:String = <span class="codeString">"Pause"</span> -</div> - <div><span class="access">(read,write)</span></div> - </div> - </div> - </div> - </div> - <div class="methodSection private" style="display:none;"> - <h2 class="hasBottomDivider"><span id="Instanceproperties">Instance properties</span></h2> - <div class="method hasBottomDivider private" style="display:none;"> - <h3 id="blink_btn">blink_btn</h3> - <div class="fullMemberString"> - <div class="clearfix floatholder"> - <div class="floatbox code">private <b>blink_btn</b>:<a href="ClickButton.html">ClickButton</a> -</div> - <div><span class="access">(read,write)</span></div> - </div> - </div> - </div> - <div class="method hasBottomDivider private" style="display:none;"> - <h3 id="mask_btn">mask_btn</h3> - <div class="fullMemberString"> - <div class="clearfix floatholder"> - <div class="floatbox code">private <b>mask_btn</b>:<a href="ClickButton.html">ClickButton</a> -</div> - <div><span class="access">(read,write)</span></div> - </div> - </div> - </div> - <div class="method hasBottomDivider private" style="display:none;"> - <h3 id="mBlinkQueue">mBlinkQueue</h3> - <div class="fullMemberString"> - <div class="clearfix floatholder"> - <div class="floatbox code">private <b>mBlinkQueue</b>:ActionQueue -</div> - <div><span class="access">(read,write)</span></div> - </div> - </div> - </div> - <div class="method hasBottomDivider private" style="display:none;"> - <h3 id="mMaskBlinkQueue">mMaskBlinkQueue</h3> - <div class="fullMemberString"> - <div class="clearfix floatholder"> - <div class="floatbox code">private <b>mMaskBlinkQueue</b>:ActionQueue -</div> - <div><span class="access">(read,write)</span></div> - </div> - </div> - </div> - <div class="method hasBottomDivider private" style="display:none;"> - <h3 id="mPerpetualBlinkQueue">mPerpetualBlinkQueue</h3> - <div class="fullMemberString"> - <div class="clearfix floatholder"> - <div class="floatbox code">private <b>mPerpetualBlinkQueue</b>:ActionQueue -</div> - <div><span class="access">(read,write)</span></div> - </div> - </div> - </div> - <div class="method hasBottomDivider private" style="display:none;"> - <h3 id="perpetual_blink_btn">perpetual_blink_btn</h3> - <div class="fullMemberString"> - <div class="clearfix floatholder"> - <div class="floatbox code">private <b>perpetual_blink_btn</b>:<a href="ClickButton.html">ClickButton</a> -</div> - <div><span class="access">(read,write)</span></div> - </div> - </div> - </div> - <div class="method hasBottomDivider private" style="display:none;"> - <h3 id="perpetual_blink_pause_btn">perpetual_blink_pause_btn</h3> - <div class="fullMemberString"> - <div class="clearfix floatholder"> - <div class="floatbox code">private <b>perpetual_blink_pause_btn</b>:<a href="ClickButton.html">ClickButton</a> -</div> - <div><span class="access">(read,write)</span></div> - </div> - </div> - </div> - <div class="method hasBottomDivider private" style="display:none;"> - <h3 id="square_blink_mc">square_blink_mc</h3> - <div class="fullMemberString"> - <div class="clearfix floatholder"> - <div class="floatbox code">private <b>square_blink_mc</b>:MovieClip -</div> - <div><span class="access">(read,write)</span></div> - </div> - </div> - </div> - <div class="method hasBottomDivider private" style="display:none;"> - <h3 id="square_mask_mc">square_mask_mc</h3> - <div class="fullMemberString"> - <div class="clearfix floatholder"> - <div class="floatbox code">private <b>square_mask_mc</b>:MovieClip -</div> - <div><span class="access">(read,write)</span></div> - </div> - </div> - </div> - <div class="method hasBottomDivider private" style="display:none;"> - <h3 id="square_perpetual_blink_mc">square_perpetual_blink_mc</h3> - <div class="fullMemberString"> - <div class="clearfix floatholder"> - <div class="floatbox code">private <b>square_perpetual_blink_mc</b>:MovieClip -</div> - <div><span class="access">(read,write)</span></div> - </div> - </div> - </div> - </div> - <div class="methodSection"> - <h2 class="hasBottomDivider"><span id="Classmethods">Class methods</span></h2> - <div class="method hasBottomDivider"> - <h3 id="main">main</h3> - <div class="fullMemberString"> - <div class="clearfix floatholder"> - <div class="floatbox code">static function <b>main</b> ( -</div> - <div><span class="code">inTimeline:MovieClip) : Void</span></div> - </div> - </div> - <div class="boxWithBorder"> - <div class="boxedElem"> - <div class="contentHolder"><span class="title">Overrides:</span><div class="item"><a href="DemoController.html#main">DemoController.main</a></div> - </div> - </div> - </div> - </div> - </div> - <div class="methodSection"> - <h2 class="hasBottomDivider"><span id="Instancemethods">Instance methods</span></h2> - <div class="method hasBottomDivider private" style="display:none;"> - <h3 id="blink">blink</h3> - <div class="fullMemberString"> - <div class="clearfix floatholder"> - <div class="floatbox code">private function <b>blink</b> ( -</div> - <div><span class="code">) : Void</span></div> - </div> - </div> - </div> - <div class="method hasBottomDivider"> - <h3 id="kill">kill</h3> - <div class="fullMemberString"> - <div class="clearfix floatholder"> - <div class="floatbox code">function <b>kill</b> ( -</div> - <div><span class="code">) : Void</span></div> - </div> - </div> - <div class="boxWithBorder"> - <div class="boxedElem"> - <div class="contentHolder"><span class="title">Overrides:</span><div class="item"><a href="DemoController.html#kill">DemoController.kill</a></div> - </div> - </div> - </div> - </div> - <div class="method hasBottomDivider private" style="display:none;"> - <h3 id="maskBlink">maskBlink</h3> - <div class="fullMemberString"> - <div class="clearfix floatholder"> - <div class="floatbox code">private function <b>maskBlink</b> ( -</div> - <div><span class="code">) : Void</span></div> - </div> - </div> - </div> - <div class="method hasBottomDivider private" style="display:none;"> - <h3 id="pausePerpetualBlink">pausePerpetualBlink</h3> - <div class="fullMemberString"> - <div class="clearfix floatholder"> - <div class="floatbox code">private function <b>pausePerpetualBlink</b> ( -</div> - <div><span class="code">) : Void</span></div> - </div> - </div> - </div> - <div class="method hasBottomDivider private" style="display:none;"> - <h3 id="perpetualBlink">perpetualBlink</h3> - <div class="fullMemberString"> - <div class="clearfix floatholder"> - <div class="floatbox code">private function <b>perpetualBlink</b> ( -</div> - <div><span class="code">) : Void</span></div> - </div> - </div> - </div> - </div> - <div class="methodSection private" style="display:none;"> - <h2 class="hasBottomDivider"><span id="Eventhandlers">Event handlers</span></h2> - <div class="method hasBottomDivider private" style="display:none;"> - <h3 id="onEventButtonRelease">onEventButtonRelease</h3> - <div class="fullMemberString"> - <div class="clearfix floatholder"> - <div class="floatbox code">private function <b>onEventButtonRelease</b> ( -</div> - <div><span class="code">e:EventButtonEvent) : Void</span></div> - </div> - </div> - </div> - </div> - <div class="footer"><span class="docFooter"><span class="copyright">© The authors of ASAP framework</span><span class="separator">|</span><span class="createdWith">Created with <a href="http://visiblearea.com/visdoc/">VisDoc</a></span><span class="separator">|</span><span class="creationDate">Thursday, 12 October 2006, 22:15:48</span><span class="separator">|</span><a href="#" onclick="showTOC(); return false;" class="showToc">show TOC</a><a href="#" onclick="hideTOC(); return false;" class="hideToc">hide TOC</a><span class="viewPrivate"><span class="separator">|</span><a href="#PageTop" onclick="showPrivate(); return true;">show private members</a></span><span class="hidePrivate"><span class="separator">|</span><a href="#PageTop" onclick="hidePrivate(); return true;">hide private members</a></span></span><span class="tocFooter">© The authors of ASAP framework<span class="separator">|</span><a href="#" onclick="hideTOC(); return false;" class="hideToc">hide TOC</a></span> - </div> - </div> - </div> - </body> -</html> Deleted: trunk/asapframework/demos/ActionQueueDemos/doc/AQColorController.html =================================================================== --- trunk/asapframework/demos/ActionQueueDemos/doc/AQColorController.html 2006-11-09 15:03:36 UTC (rev 659) +++ trunk/asapframework/demos/ActionQueueDemos/doc/AQColorController.html 2006-11-09 15:21:59 UTC (rev 660) @@ -1,690 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <title>AQColorController</title> - <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/> - <link rel="stylesheet" type="text/css" href="css/VisDoc.css"/> - <script src="js/doc.js" type="text/javascript">//</script> - </head> - <body pageId="PageAQColorController"> - <div class="VisDoc"><span id="PageTop"><!----></span> - <div class="content"><span class="accessKeysInfo"><span class="label"><a href="#" class="accessKeyInfoToggle" onclick="toggleAccessKeyInfo(); return true;">Access keys</a></span><span class="accessKeyLinks" style="display:none;"><a href="#PageTop" accesskey="t">T</a>op, <a href="#Summary" accesskey="s">S</a>ummary, <a href="#Constructor" accesskey="c">C</a>onstructors, -Instance <a href="#Instanceproperties" accesskey="p">p</a>roperties, -Cl<a href="#Classmethods" accesskey="a">a</a>ss methods, -Instance <a href="#Instancemethods" accesskey="m">m</a>ethods, <a href="#Eventhandlers" accesskey="e">E</a>vent handlers</span></span><h1>AQColorController</h1> - <div class="classProperties"> - <table cellspacing="0"> - <tr> - <th>Kind of class:</th> - <td>class</td> - </tr> - <tr> - <th>Inherits from:</th> - <td> - <a href="DemoController.html">DemoController</a> < LocalController</td> - </tr> - <tr> - <th class="classDetails">Classpath:</th> - <td class="classDetails">AQColorController</td> - </tr> - <tr> - <th class="classDetails">File last modified:</th> - <td class="classDetails">Wednesday, 04 October 2006, 22:56:52</td> - </tr> - </table> - </div> - <div id="SourceCodeTop" class="sourceCodeView"> - <div class="links"> - <a href="#" class="viewSource" onclick="viewSource(); return false;">View source</a><span class="hideSource" style="display:none;"> - <a href="#" onclick="hideSource(); return false;">Hide source</a><span class="separator">|</span><a href="#EndOfSourceCode">Source end</a></span> - </div> - <div class="sourceCode" style="display:none;"> - <pre id="source">// Adobe classes -import mx.transitions.easing.*; -import mx.controls.TextInput; - -// ASAP classes -import org.asapframework.management.movie.LocalController; -import org.asapframework.ui.buttons.EventButtonEvent; -import org.asapframework.util.actionqueue.*; -import org.asapframework.events.EventDelegate; -import org.asapframework.util.ColorUtils; -import org.asapframework.util.NumberUtils; - -// project classes -import DemoController; -import ClickButton; - - -class AQColorController extends DemoController { - - private var clip_mc:MovieClip; - private var clipimg_mc:MovieClip; - - private var setcolor_cmp:TextInput; - private var basecolor_tf:TextField; - private var aqcommand_tf:TextField; - private var setbasecolor_cmp:TextInput; - private var duration_cmp:TextInput; - private var colora_cmp:TextInput; - private var colorb_cmp:TextInput; - private var amount_cmp:TextInput; - private var compperc_cmp:TextInput; - private var set_a_base_btn:ClickButton; - private var set_b_base_btn:ClickButton; - - private var clipQueue:ActionQueue; - private var clipImgQueue:ActionQueue; - - /** - - */ - public static function main ( inTimeline:MovieClip ) : Void { - var controller:AQColorController = new AQColorController(inTimeline); - inTimeline.controller = controller; - _global.style.setStyle("fontFamily" , "Verdana"); - _global.style.setStyle("fontSize" , "9"); - } - - /** - - */ - public function kill () : Void { - clipQueue.quit(); - clipImgQueue.quit(); - } - - // PRIVATE METHODS - - /** - Private constructor (called through .main entry point) - */ - private function AQColorController ( inTimeline:MovieClip ) { - - super(inTimeline); - // let MovieManager know initialization is done - notifyMovieInitialized(); - - clip_mc = inTimeline.clip_mc; - clipimg_mc = inTimeline.clipimg_mc; - setcolor_cmp = inTimeline.setcolor_cmp; - basecolor_tf = inTimeline.basecolor_tf; - basecolor_tf.text = ""; - aqcommand_tf = inTimeline.aqcommand_tf; - - setbasecolor_cmp = inTimeline.setbasecolor_cmp; - set_a_base_btn = inTimeline.set_a_base_btn; - set_b_base_btn = inTimeline.set_b_base_btn; - - duration_cmp = inTimeline.duration_cmp; - colora_cmp = inTimeline.colora_cmp; - colorb_cmp = inTimeline.colorb_cmp; - amount_cmp = inTimeline.amount_cmp; - compperc_cmp = inTimeline.compperc_cmp; - - inTimeline.setcolor_btn.addEventListener( "click", EventDelegate.create(this, handleSetColor)); - inTimeline.restore_btn.addEventListener( "click", EventDelegate.create(this, handleRestoreColor)); - inTimeline.setbasecolor_btn.addEventListener( "click", EventDelegate.create(this, handleSetBaseColor)); - inTimeline.restorebase_btn.addEventListener( "click", EventDelegate.create(this, handleRestoreBaseColor)); - inTimeline.start_btn.addEventListener( "click", EventDelegate.create(this, handleStartMix)); - inTimeline.random_btn.addEventListener( "click", EventDelegate.create(this, setRandom)); - - setRandom(); - } - - /** - - */ - private function onEventButtonRelease ( e:EventButtonEvent ) : Void { - switch (e.target) { - case set_a_base_btn: colora_cmp.text = "base"; break; - case set_b_base_btn: colorb_cmp.text = "base"; break; - } - } - - /** - - */ - private function handleSetColor () : Void { - - clipQueue.quit(); - clipImgQueue.quit(); - - var colString = setcolor_cmp.text; - var col:Number = parseInt(colString, 16); - - AQColor.setColor( clip_mc, col, true ); - AQColor.setColor( clipimg_mc, col, true ); - - basecolor_tf.text = ColorUtils.getBaseColor( clip_mc ).toString(16); - setAQCommandText("AQColor.setBaseColor, my_mc, 0x" + colString + ", true"); - } - - /** - - */ - private function setRandom () : Void { - var duration:Number = NumberUtils.randomInRange(1, 4); - var colorA:Number = Math.round(NumberUtils.randomInRange(0x000000, 0xffffff)); - var colorB:Number = Math.round(NumberUtils.randomInRange(0x000000, 0xffffff)); - var amount:Number = NumberUtils.randomInRange(0.5, 1); - var componentPercentage:Number = NumberUtils.randomInRange(-100, 100); - - duration_cmp.text = NumberUtils.truncate(duration, 1).toString(); - colora_cmp.text = NumberUtils.truncate(colorA, 1).toString(16); - colorb_cmp.text = NumberUtils.truncate(colorB, 1).toString(16); - amount_cmp.text = NumberUtils.truncate(amount, 1).toString(); - compperc_cmp.text = NumberUtils.truncate(componentPercentage, 1).toString(); - - var colorAText:String = "0x" + colora_cmp.text; - var colorBText:String = "0x" + colorb_cmp.text; - setAQCommandText("AQColor.mixColors, my_mc, " + duration_cmp.text + ", " + colorAText + ", " + colorBText + ", " + amount_cmp.text + ", " + compperc_cmp.text); - } - - /** - - */ - private function handleRestoreColor () : Void { - clipQueue.quit(); - clipImgQueue.quit(); - - AQColor.restoreColor( clip_mc ); - AQColor.restoreColor( clipimg_mc ); - - setAQCommandText("AQColor.restoreColor, my_mc"); - } - - /** - - */ - private function handleSetBaseColor () : Void { - clipQueue.quit(); - clipImgQueue.quit(); - - var colString:String = setbasecolor_cmp.text; - var col:Number = parseInt(colString, 16); - - AQColor.setBaseColor( clip_mc, col, true ); - AQColor.setBaseColor( clipimg_mc, col, true ); - - basecolor_tf.text = "0x" + ColorUtils.getBaseColor( clip_mc ).toString(16); - setAQCommandText("AQColor.setBaseColor, my_mc, 0x" + colString + ", true"); - - } - - /** - - */ - private function handleRestoreBaseColor () : Void { - clipQueue.quit(); - clipImgQueue.quit(); - - AQColor.setToBaseColor( clip_mc ); - AQColor.setToBaseColor( clipimg_mc ); - - setAQCommandText("AQColor.setToBaseColor, my_mc"); - } - - /** - - */ - private function setAQCommandText (inCommandText:String) : Void { - aqcommand_tf.text = "queue.addAction(" + inCommandText + ");"; - } - - /** - - */ - private function handleStartMix () : Void { - clipQueue.quit(); - clipImgQueue.quit(); - - var duration:Number = parseFloat(duration_cmp.text); - var colorA:String = colora_cmp.text; - var colorB:String = colorb_cmp.text; - var amount:Number = parseFloat(amount_cmp.text); - var componentPercentage = parseFloat(compperc_cmp.text); - - clipQueue = new ActionQueue(); - clipQueue.addAction( AQColor.mixColors, clip_mc, duration, colorA, colorB, amount, componentPercentage ); - clipQueue.run(); - - clipImgQueue = new ActionQueue(); - clipImgQueue.addAction( AQColor.mixColors, clipimg_mc, duration, colorA, colorB, amount, componentPercentage ); - clipImgQueue.run(); - - var colorAText:String = (colorA == "base") ? "\"base\"": "0x" + colorA; - var colorBText:String = (colorB == "base") ? "\"base\"": "0x" + colorB; - - setAQCommandText("AQColor.mixColors, my_mc, " + duration + ", " + colorAText + ", " + colorBText + ", " + amount + ", " + componentPercentage); - } - -} -</pre> - </div> - <div class="links"><span class="hideSource" style="display:none;"> - <a href="#PageTop" onclick="hideSource(); return true;">Hide source</a><span class="separator">|</span><a href="#SourceCodeTop">Source top</a></span><span id="EndOfSourceCode"><!----></span> - </div> - </div> - <div class="classDescription"> - <div class="descriptionSummary"></div></div> - <div class="summary hasBottomDivider"> - <h2 class="hasBottomDivider"><span id="Summary">Summary</span></h2> - <div class="methodList"> - <div class="methodSummaryPart private" style="display:none;"><span class="title">Constructor</span><ul> - <li class="private" style="display:none;"> - <a href="#AQColorController">AQColorController</a> - </li> - </ul> - </div> - <div class="methodSummaryPart"><span class="title">Class properties</span><div class="boxWithBorder"> - <div class="boxedElem"> - <div class="contentHolder"><span class="title">Class properties inherited from <span class="superclass"><a href="DemoController.html">DemoController</a></span></span> - <div class="item"> - <a href="DemoController.html#FADE_DURATION" class="privatInline">FADE_DURATION</a> - </div> - </div> - </div> - </div> - </div> - <div class="methodSummaryPart private" style="display:none;"><span class="title">Instance properties</span><ul> - <li class="private" style="display:none;"> - <a href="#clip_mc">clip_mc</a> - </li> - <li class="private" style="display:none;"> - <a href="#clipimg_mc">clipimg_mc</a> - </li> - <li class="private" style="display:none;"> - <a href="#setcolor_cmp">setcolor_cmp</a> - </li> - <li class="private" style="display:none;"> - <a href="#basecolor_tf">basecolor_tf</a> - </li> - <li class="private" style="display:none;"> - <a href="#aqcommand_tf">aqcommand_tf</a> - </li> - <li class="private" style="display:none;"> - <a href="#setbasecolor_cmp">setbasecolor_cmp</a> - </li> - <li class="private" style="display:none;"> - <a href="#duration_cmp">duration_cmp</a> - </li> - <li class="private" style="display:none;"> - <a href="#colora_cmp">colora_cmp</a> - </li> - <li class="private" style="display:none;"> - <a href="#colorb_cmp">colorb_cmp</a> - </li> - <li class="private" style="display:none;"> - <a href="#amount_cmp">amount_cmp</a> - </li> - <li class="private" style="display:none;"> - <a href="#compperc_cmp">compperc_cmp</a> - </li> - <li class="private" style="display:none;"> - <a href="#set_a_base_btn">set_a_base_btn</a> - </li> - <li class="private" style="display:none;"> - <a href="#set_b_base_btn">set_b_base_btn</a> - </li> - <li class="private" style="display:none;"> - <a href="#clipQueue">clipQueue</a> - </li> - <li class="private" style="display:none;"> - <a href="#clipImgQueue">clipImgQueue</a> - </li> - </ul> - </div> - <div class="methodSummaryPart"><span class="title">Class methods</span><ul> - <li> - <a href="#main">main</a> - </li> - </ul> - <div class="boxWithBorder"> - <div class="boxedElem"> - <div class="contentHolder"><span class="title">Class methods inherited from <span class="superclass"><a href="DemoController.html">DemoController</a></span></span> - <div class="item"> - <a href="DemoController.html#main">main</a> - </div> - </div> - </div> - </div> - </div> - <div class="methodSummaryPart"><span class="title">Instance methods</span><ul> - <li> - <a href="#kill">kill</a> - </li> - <li class="private" style="display:none;"> - <a href="#handleSetColor">handleSetColor</a> - </li> - <li class="private" style="display:none;"> - <a href="#setRandom">setRandom</a> - </li> - <li class="private" style="display:none;"> - <a href="#handleRestoreColor">handleRestoreColor</a> - </li> - <li class="private" style="display:none;"> - <a href="#handleSetBaseColor">handleSetBaseColor</a> - </li> - <li class="private" style="display:none;"> - <a href="#handleRestoreBaseColor">handleRestoreBaseColor</a> - </li> - <li class="private" style="display:none;"> - <a href="#setAQCommandText">setAQCommandText</a> - </li> - <li class="private" style="display:none;"> - <a href="#handleStartMix">handleStartMix</a> - </li> - </ul> - <div class="boxWithBorder"> - <div class="boxedElem"> - <div class="contentHolder"><span class="title">Instance methods inherited from <span class="superclass"><a href="DemoController.html">DemoController</a></span></span> - <div class="item"> - <a href="DemoController.html#hide">hide</a>, <a href="DemoController.html#kill">kill</a>, <a href="DemoController.html#show">show</a> - </div> - </div> - </div> - </div> - </div> - <div class="methodSummaryPart private" style="display:none;"><span class="title">Event handlers</span><ul> - <li class="private" style="display:none;"> - <a href="#onEventButtonRelease">onEventButtonRelease</a> - </li> - </ul> - </div> - </div> - </div> - <div class="methodSection private" style="display:none;"> - <h2 class="hasBottomDivider"><span id="Constructor">Constructor</span></h2> - <div class="method hasBottomDivider private" style="display:none;"> - <h3 id="AQColorController">AQColorController</h3> - <div class="fullMemberString"> - <div class="clearfix floatholder"> - <div class="floatbox code">private function <b>AQColorController</b> ( -</div> - <div><span class="code">inTimeline:MovieClip)</span></div> - </div> - </div> - <div class="description">Private constructor (called through .main entry point)</div> - </div> - </div> - <div class="methodSection private" style="display:none;"> - <h2 class="hasBottomDivider"><span id="Instanceproperties">Instance properties</span></h2> - <div class="method hasBottomDivider private" style="display:none;"> - <h3 id="amount_cmp">amount_cmp</h3> - <div class="fullMemberString"> - <div class="clearfix floatholder"> - <div class="floatbox code">private <b>amount_cmp</b>:TextInput -</div> - <div><span class="access">(read,write)</span></div> - </div> - </div> - </div> - <div class="method hasBottomDivider private" style="display:none;"> - <h3 id="aqcommand_tf">aqcommand_tf</h3> - <div class="fullMemberString"> - <div class="clearfix floatholder"> - <div class="floatbox code">private <b>aqcommand_tf</b>:TextField -</div> - <div><span class="access">(read,write)</span></div> - </div> - </div> - </div> - <div class="method hasBottomDivider private" style="display:none;"> - <h3 id="basecolor_tf">basecolor_tf</h3> - <div class="fullMemberString"> - <div class="clearfix floatholder"> - <div class="floatbox code">private <b>basecolor_tf</b>:TextField -</div> - <div><span class="access">(read,write)</span></div> - </div> - </div> - </div> - <div class="method hasBottomDivider private" style="display:none;"> - <h3 id="clip_mc">clip_mc</h3> - <div class="fullMemberString"> - <div class="clearfix floatholder"> - <div class="floatbox code">private <b>clip_mc</b>:MovieClip -</div> - <div><span class="access">(read,write)</span></div> - </div> - </div> - </div> - <div class="method hasBottomDivider private" style="display:none;"> - <h3 id="clipimg_mc">clipimg_mc</h3> - <div class="fullMemberString"> - <div class="clearfix floatholder"> - <div class="floatbox code">private <b>clipimg_mc</b>:MovieClip -</div> - <div><span class="access">(read,write)</span></div> - </div> - </div> - </div> - <div class="method hasBottomDivider private" style="display:none;"> - <h3 id="clipImgQueue">clipImgQueue</h3> - <div class="fullMemberString"> - <div class="clearfix floatholder"> - <div class="floatbox code">private <b>clipImgQueue</b>:ActionQueue -</div> - <div><span class="access">(read,write)</span></div> - </div> - </div> - </div> - <div class="method hasBottomDivider private" style="display:none;"> - <h3 id="clipQueue">clipQueue</h3> - <div class="fullMemberString"> - <div class="clearfix floatholder"> - <div class="floatbox code">private <b>clipQueue</b>:ActionQueue -</div> - <div><span class="access">(read,write)</span></div> - </div> - </div> - </div> - <div class="method hasBottomDivider private" style="display:none;"> - <h3 id="colora_cmp">colora_cmp</h3> - <div class="fullMemberString"> - <div class="clearfix floatholder"> - <div class="floatbox code">private <b>colora_cmp</b>:TextInput -</div> - <div><span class="access">(read,write)</span></div> - </div> - </div> - </div> - <div class="method hasBottomDivider private" style="display:none;"> - <h3 id="colorb_cmp">colorb_cmp</h3> - <div class="fullMemberString"> - <div class="clearfix floatholder"> - <div class="floatbox code">private <b>colorb_cmp</b>:TextInput -</div> - <div><span class="access">(read,write)</span></div> - </div> - </div> - </div> - <div class="method hasBottomDivider private" style="display:none;"> - <h3 id="compperc_cmp">compperc_cmp</h3> - <div class="fullMemberString"> - <div class="clearfix floatholder"> - <div class="floatbox code">private <b>compperc_cmp</b>:TextInput -</div> - <div><span class="access">(read,write)</span></div> - </div> - </div> - </div> - <div class="method hasBottomDivider private" style="display:none;"> - <h3 id="dur... [truncated message content] |