Skip to content

Commit

Permalink
Organized the project into packages.
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Ritchie committed Mar 1, 2011
1 parent 2143074 commit 2bc5705
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 4 deletions.
3 changes: 3 additions & 0 deletions AS3ScrollingList.as
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ package
import flash.system.Capabilities;
import flash.text.TextField;
import flash.ui.Keyboard;
import com.thanksmister.touchlist.renderers.TouchListItemRenderer;
import com.thanksmister.touchlist.events.ListItemEvent;
import com.thanksmister.touchlist.controls.TouchList;

[SWF( width = '480', height = '800', backgroundColor = '#000000', frameRate = '24')]
public class AS3ScrollingList extends MovieClip
Expand Down
Binary file modified AS3ScrollingList.fla
Binary file not shown.
Binary file added AS3ScrollingList.swf
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
*
* You may use this code for your personal or professional projects, just be sure to give credit where credit is due.
* */
package
package com.thanksmister.touchlist.controls
{
import flash.display.DisplayObject;
import flash.display.MovieClip;
Expand All @@ -28,6 +28,8 @@ package
import flash.events.MouseEvent;
import flash.events.TimerEvent;
import flash.utils.Timer;
import com.thanksmister.touchlist.renderers.ITouchListItemRenderer;
import com.thanksmister.touchlist.events.ListItemEvent;


public class TouchList extends Sprite
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,11 @@
*
* Custom list event, can be modified to add any event or payload you wish.
* */
package
package com.thanksmister.touchlist.events
{
import flash.display.DisplayObject;
import flash.events.Event;
import com.thanksmister.touchlist.renderers.ITouchListItemRenderer;

public class ListItemEvent extends Event
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*
* ITouchListItemRenderer must be implemented in any item renderer you want to use for the list.
* */
package
package com.thanksmister.touchlist.renderers
{
public interface ITouchListItemRenderer
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,15 @@
* TouchListItemRendeer is the default item renderere, it implements ITouchListRenderer.
* You can make your own custom renderer by implementing ITouchListRenderer.
* */
package
package com.thanksmister.touchlist.renderers
{
import flash.display.Sprite;
import flash.events.Event;
import flash.events.MouseEvent;
import flash.filters.DropShadowFilter;
import flash.text.TextField;
import flash.text.TextFormat;
import com.thanksmister.touchlist.events.ListItemEvent;

public class TouchListItemRenderer extends Sprite implements ITouchListItemRenderer
{
Expand Down

0 comments on commit 2bc5705

Please sign in to comment.