COAP:COAP-2110/week4: Difference between revisions

The educational technology and digital learning wiki
Jump to navigation Jump to search
 
(9 intermediate revisions by the same user not shown)
Line 3: Line 3:


; Introduction to buttons and some ActionScript
; Introduction to buttons and some ActionScript
* Topics: Button frame-by-frame animation, creating slide shows (timeline navigation) with buttons
* Topics: Button frame-by-frame animation, customizing buttons, creating your own buttons, creating buttons from bitmaps, etc.
* Previews: [http://tecfa.unige.ch/guides/flash/ex/buttons-intro/flash-cs3-simple-slide-show.swf Simple slide show], [http://tecfa.unige.ch/guides/flash/ex/buttons-intro/flash-cs3-rocket-launcher.swf Rocket launcher], [http://tecfa.unige.ch/guides/flash/ex/buttons-intro/flash-cs3-simple-menu-site.html Menus with buttons], [http://tecfa.unige.ch/guides/flash/ex/buttons-intro/flash-cs3-image-map.html Image maps with pictures],  [http://tecfa.unige.ch/guides/flash/ex/buttons-intro/flash-cs3-button-animation.html Buttons with animation]
* Previews: [http://tecfa.unige.ch/guides/flash/ex/buttons-intro/flash-cs3-simple-slide-show.swf Simple slide show], [http://tecfa.unige.ch/guides/flash/ex/buttons-intro/flash-cs3-rocket-launcher.swf Rocket launcher], [http://tecfa.unige.ch/guides/flash/ex/buttons-intro/flash-cs3-simple-menu-site.html Menus with buttons], [http://tecfa.unige.ch/guides/flash/ex/buttons-intro/flash-cs3-image-map.html Image maps with pictures],  [http://tecfa.unige.ch/guides/flash/ex/buttons-intro/flash-cs3-button-animation.html Buttons with animation]
* Handout: [[Flash button tutorial]]
* Handout: [[Flash button tutorial]]
* Rocket example: [http://tecfa.unige.ch/guides/flash/ex6/buttons-intro/flash-cs6-rocket-launcher-as3.fla flash-cs6-rocket-launcher-as3.fla]


== Wednesday - Mid term ==
== Wednesday ==
* Monday topic continued...
 
* Using component buttons (easier than "Flash" buttons)
* Creating slide shows (timeline navigation) with buttons
* Previews: [http://tecfa.unige.ch/guides/flash/ex/buttons-intro/flash-cs3-simple-menu-site.html Menus with buttons], [http://tecfa.unige.ch/guides/flash/ex/components-intro/flash-cs3-simple-slide-show-menu.html Slide show with component button menu]
* Simple menu-based fla code: [http://tecfa.unige.ch/guides/flash/ex/components-intro/flash-cs3-simple-slide-show-menu-fewcode.fla flash-cs3-simple-slide-show-menu-fewcode.fla]
* Handout: [[Flash component button tutorial]]


== Homework 4  ==
== Homework 4  ==


'''For those who already turned in 3 homeworks''': I suggest skipping this one. I will not test button creation in the final. But do homework 5 which is more important.
'''For those who already turned in 3 homework''' and wish to have a break: I suggest skipping this one. I will not test button creation in the final. Do homework 5 which is more important.


; Assignment
; Assignment


Create a really complex button and that includes well done graphics and/or animations. In addition, create 2 minor variants of the same button. To do so: ''duplicate'' then rename the button you created first (right-click in the library).
* Create a really complex button and that includes well done graphics and/or animations.  
* In addition, create one minor variant of the same button. To do so: ''duplicate'' then rename the button you created first (right-click in the library).
* Try to produce nice graphics. I will grade the artwork a bit tougher than for homework 2 !
<!--
<!--
# '''Option B''': Create an application where the user can navigate on the timeline, e.g. a slide show of pictures or a portfolio of prior work or a "story". Then create a Flash file that includes:
# '''Option B''': Create an application where the user can navigate on the timeline, e.g. a slide show of pictures or a portfolio of prior work or a "story". Then create a Flash file that includes:
Line 42: Line 50:


; Evaluation criteria
; Evaluation criteria
Same as before (include late submission policy). You can examine the grading rubric in the world classroom.
Same as before (including late submission policy). You can examine the grading rubric in the world classroom.


; The document description
; The document description
Line 48: Line 56:
* Enter a title and description
* Enter a title and description
* See the [[COAP:COAP-2110/doctemplate|template]]
* See the [[COAP:COAP-2110/doctemplate|template]]
== Homework 5 ==
* It is due on Monday week 6
* See the [[COAP:COAP-2110/week5|Week 5]] program
== Event listeners in AS3 compared to JavaScript ==
This is '''completely off-topic''' (do not read if you are not familiar with JavaScript)
The event model and adding Event handlers follows the same logic in AS3 and in Modern JavaScript, based on DOM 3. Of course, JavaScript is not ActionScript since they refer to a completely different "domain", e.g. an HTML element is not the same as a movie clip.  Read:
* [https://developer.mozilla.org/en-US/docs/DOM/element.addEventListener element.addEventListener] (Mozilla manual)
* [http://www.howtocreate.co.uk/tutorials/javascript/domevents DOM events] (How to create, JavaScript tutorials)
* [http://www.quirksmode.org/dom/events/index.html Event compatibility tables] (Quirksmode)

Latest revision as of 14:17, 6 February 2013

Week 4 - Monday COAP 2110

Theme: Basic interactivity

Introduction to buttons and some ActionScript

Wednesday

Homework 4

For those who already turned in 3 homework and wish to have a break: I suggest skipping this one. I will not test button creation in the final. Do homework 5 which is more important.

Assignment
  • Create a really complex button and that includes well done graphics and/or animations.
  • In addition, create one minor variant of the same button. To do so: duplicate then rename the button you created first (right-click in the library).
  • Try to produce nice graphics. I will grade the artwork a bit tougher than for homework 2 !
Reuse of prior homework
  • If you wish you can use your previous homework (in any way you like), e.g. include each animation as swf file in a different frame. But this is by no means an obligation nor does it have an influence on grading.
Submission date and format
  • To be returned by Monday, at start of week 6 lesson
  • Use the following Flash file name project4-familyname-firstname.fla, e.g.
project4-miller-joe.fla
... I must be able to distinguish these files and we want to avoid overwriting.
Other constraints
  • Reuse of objects: 1/3 must be drawn by yourself, max. 1/3 imported but customized, max. 1/3 imported as is. (So you also can do everything by yourself).
  • You must fill in a document description using the same template as in homework 1.
  • Homework projects are individual. If you work with others, make sure that the individual projects differ, i.e. the "reuse of objects" criteria above apply.
  • If you reuse old homework, make sure that certain errors are fixed (e.g. use only a single non-editable object in a motion tween)
Evaluation criteria

Same as before (including late submission policy). You can examine the grading rubric in the world classroom.

The document description

Your p4-xxx-xxx.fla file must include a document description.

  • Enter a title and description
  • See the template

Homework 5

  • It is due on Monday week 6
  • See the Week 5 program

Event listeners in AS3 compared to JavaScript

This is completely off-topic (do not read if you are not familiar with JavaScript)

The event model and adding Event handlers follows the same logic in AS3 and in Modern JavaScript, based on DOM 3. Of course, JavaScript is not ActionScript since they refer to a completely different "domain", e.g. an HTML element is not the same as a movie clip. Read: