Thursday, May 9, 2019

5/9/19

DO NOW:
Finish & Submit Soundboard


Objectives 
  1. Soundboard Presentations - Be ready to show & tell
  2. Visual Vocab
  3. Drag & Drop Examples
  4. Drag & Drop Planning
  5. Drag & Drop skill learning - Take notes
    var orig1X:Number=item1.x;
    var orig1Y:Number=item1.y;

    var myBoing:boing  = new boing ();

    item1.addEventListener(MouseEvent.MOUSE_DOWN, dragTheObject);
    item1.addEventListener (MouseEvent.MOUSE_UP, itemRelease);


    function dragTheObject(event:MouseEvent):void {
    var item:MovieClip=MovieClip(event.target);
    item.startDrag();
    var topPos:uint=this.numChildren-1;
    this.setChildIndex(item, topPos);
    }

    function itemRelease(event:MouseEvent):void {
    var thisItem:MovieClip=MovieClip(event.target);
    thisItem.stopDrag();
    myBoing.play();
    };

    function reset(event:MouseEvent):void {
         item1.x=orig1X;
         item1.y=orig1Y;

     }
                
    item1.buttonMode = true;


    reset_btn.addEventListener(MouseEvent.CLICK, reset);
    reset_btn.buttonMode = true;
If you are done:
  1. Yearbook Page: 1st Year Students2nd Year Students
  2. Submit something to the Art Show...
    DUE 5/17(Shared/ArtShowSubmissions)
    1. post the image to your summary #ocvtsimages2019 -
    2. Mark your Calendar to for Awards Presentation on 6/13
  3. Make a Mother's Day Card (example)

*Quiz Friday: How to Make a button change color and play a sound
**Anyone going to Control V Must fill-out have their parents fill-out this waiver
***Mother's Day is Sunday - Bring in something to engrave!

2 comments:

  1. https://docs.google.com/document/d/1LyPN0prQZTGZjuslYqc9l4bng1dYTpjdY5icy99AtYs/edit

    -Cameron Hill

    ReplyDelete
  2. https://docs.google.com/document/d/1m3QwTLxXayAMB_ksoTGlzNS9mdBuGpGYEr1TjASTRfA/edit?usp=sharing

    ReplyDelete