1. week 1
  2. week 2
  3. week 3
  4. week 4
  5. week 5
  6. week 6
  7. week 7
  8. week 8
  9. week 9
  10. week 10
  11. week 11
  12. week 12
  13. week 13

kirupa.com Tutorials

Tuesday, June 29, 2010

Summer 2010 week 8:
6/28/10: Mon. 9:00 - 12:00

Hi Everybody,

Have a good week. We are more than halfway through the term now. Try not to melt in the heat and humidity before the end of summer.

    WEEK 8
  1. Syllabus
    • LINK    class syllabus
  2. Classwork
    • LINK    These are this week's class files;
  3. Homework
    • exercise 1:

      Complete the classfile that we were working on before I sent you home by using ActionScript to change the color of the rectangle.


    • exercise 2:
      1. In a new file, create a rectangle WITHOUT a stroke and convert it into a movieclip.
      2. Using what you know from what we did in class this week, create a function that is triggered when the user mouses over this movieclip.
      3. The movieclip should change colors and have a reduction in height when the user mouses over it.
      4. You should also create a 2nd function that is triggered when the user mouses off of this movieclip.
      5. In this function, the movieclip should change back to its original color and have a return to its original height when the user mouses off of it.

Monday, June 21, 2010

Summer 2010 week 7:
6/21/10: Mon. 9:00 - 12:00

Hi Everybody,
So you can all breathe a sigh of relief: you got through the midterm push. Whether you did well at midterm or poorly is irrelevant at this point. You should behave as if you're starting fresh, almost as if we're starting a new semester. What you should all consider, however, is HOW you want to start off the rest of the term next week. IF YOU REALLY WANT TO START OFF GOOD, THEN MAKE SURE YOU COME TO CLASS NEXT WEEK WITH YOUR PROJECTS WORKING PERFECTLY AND LOOKING GREAT!. So that means that some of you will have to push a bit more this week to get your projects working. We are going to continue, but with the same projects and with MANY modifications for the final.

    WEEK 7
  1. Homework 1:
    Take a look at your projects and do as much as possible to improve them by next week. We will continue working on these projects for the Final, so you don't want to start out the rest of the term behind by having to fix what you have and then implementing all the many new items of ActionScript that we will be adding over the coming weeks.
  2. Homework 2:
    LINK   You also need to complete the classwork quiz that we did today if you weren't able to in class.




Tuesday, June 15, 2010

Summer 2010 week 6:
6/14/10: Mon. 9:00 - 12:00

Hi Everybody,

Okay, less than one more week to go before you must have your mid-term projects completed to give to me next Monday. For a few of you, I'm rather comfortable in the states that your projects are in; for most of you, however, I am seriously concerned.

As is always the case, if you do not do your homework, it comes back to you in the end; and here we are nearing the end, and as I saw in class Monday, a number of you still seem to have no idea what you're doing. Doing homework does three things:

  1. It gives you practice,
  2. Prepares you for the mid-term and final projects, and
  3. Shows you where your weak points lie, and therefore for what you require extra help.
I wonder why none of you have asked me for help before yesterday. There are others of you who seem to understand, more or less, but who just hadn't done anything. Both cases are sad.

For all of you in particular who didn't have much to show me yesterday (but this is for EVERYONE), I highly recommend that you find me this week and show me your work to get my input one last time before you give me your project on Monday. I say this because DESIGN IS 30% OF THE GRADE, not just if it functions properly.

Nonetheless, the most important part of this project is to get the ACTIONSCRIPT to work. As you can see, design is very important, but should take a backseat if you have to make a choice.

    WEEK 6
  1. Syllabus
    • LINK    class syllabus
  2. Classwork
    • LINK    These are the same as last week's class files because there are no NEW files for this week;
  3. Homework—There are two small things that you must complete for the project next week for it to be wholly complete.
    • exercise 1:

      You must make the initial page load up AUTOMATICALLY, before the user clicks on a button. The reason we want this is so that the user doesn't see a blank page when the site starts up. You must do the same thing for your gallery pages so that when the user goes to those pages, there is already the FIRST image there showing up large. The code below is something like what you should have in your own index file right now, BEFORE you make any additions:

      1. // below is the variable that is converted into a request object;
      2. var oneRequest:URLRequest = new URLRequest("one.swf");
      3. var twoRequest:URLRequest = new URLRequest("two.swf");
      4. var threeRequest:URLRequest = new URLRequest("three.swf");
      5. var fourRequest:URLRequest = new URLRequest("four.swf");

      6. // below is the variable that is converted into a loader;

      7. var myLoader:Loader = new Loader();
      8. myLoader.load(oneRequest);

      9. // below is the function named loadOne & its contents are between the { }

      10. function loadOne(event:MouseEvent): void {
        • myLoader.load(oneRequest);
        • bg_mc.addChild(myLoader);
      11. };
      12. function loadTwo(event:MouseEvent): void {
        • myLoader.load(twoRequest);
        • bg_mc.addChild(myLoader);
      13. };
      14. function loadThree(event:MouseEvent): void {
        • myLoader.load(threeRequest);
        • bg_mc.addChild(myLoader);
      15. };
      16. function loadFour(event:MouseEvent): void {
        • myLoader.load(fourRequest);
        • bg_mc.addChild(myLoader);
      17. };

      18. /* below is the listener which is waiting for the user to click on the button named one_btn;
        and, when he/she does,
        the function named loadOne is activated).*/

      19. one_btn.addEventListener(MouseEvent.CLICK, loadOne);
      20. two_btn.addEventListener(MouseEvent.CLICK, loadTwo);
      21. three_btn.addEventListener(MouseEvent.CLICK, loadThree);
      22. four_btn.addEventListener(MouseEvent.CLICK, loadFour);

      As it is right now if everything functions properly, your projects load up the content from the external .swf files only when you click on a button. Clicking on the buttons activates one of the functions that loads the external file into the index file. The code in the function only runs when the function is called. This means that we need to run that same code, but without using a function because the function keeps it from running automatically, and only allows it to run when the function is called. See the code below for a function as it currently is:

      1. function loadOne(event:MouseEvent): void {
        • myLoader.load(oneRequest);
        • bg_mc.addChild(myLoader);
      2. };

      Those two lines of code inside of the function are what we are looking for. They are the two lines that are actually responsible for loading the first external .swf file into the index. This means that you must not only have those two lines here inside the function, but also OUTSIDE OF THE FUNCTION as well. This will cause the first page to load automatically AND also when the user clicks on its button.

    • exercise 2:

      Do the same thing for your gallery files so that the first image in each loads up automatically as well as when the button for it is clicked by the user.




  4. Midterm Requirements:
    • page size: 1000px X 700px
    • page number: 5 pages
      1. bio:
        this page is about the artist and should include sufficient text, and then enough accompanying images to help explain or demonstrate the text.
      2. art:
        this page is about the art, and should, like the bio page, contain sufficient text and images to accompany the text for us to have a basic understanding of the art.
      3. gallery 1 & 2:
        these pages should contain thumbnail images which, when clicked on, cause a larger image to show up with a caption below it—the best way to do this is to place the large image in a separate Flash file and type some text below or beside it. Each page must have at least 4 images and each should show up with a unique caption to go with it.
      4. bibliography:
        this page contains a list of links and a brief description of at least 10 online resources that have information or images. Also, list some recent books or films about the artist and/or his/her work. This should include who wrote it and when it was published it if is a book; or who directed it and when it was released if it is a film.
      5. index:
        although not technically a page, you will still need a primary file which will load all of the external "pages" or .swf files.
      6. img01_index & img02_index:
        although not technically pages, you will still need two primary image files which will load all of the external "images" or .swf files for your two gallery pages
  5. Midterm Grading:
    • topic: 10pts
      this is a giveaway of points (10% - a whole letter grade - of the final grade) if you all follow the topics you chose;
    • color: 5pts
      this has to do with whether you've seriously chosen your color scheme: if you choose too many colors or if they simply don't go together, points will be taken off; so, if you're not sure, keep it really minimal, or use the COLOR INDEX;
    • images: 5pts
      another point giveaway if you use enough images AND if you DO NOT DISTORT THEM; and also if you don't use images more than once in such a small website;
    • text: 5pts
      once again, another giveaway of points if you use enough text and if you spend a little time formatting it: a couple suggestions are that you should NOTstretch text all the way across the page, but break it up into a couple columns instead; also, like color, make sure you do not use too many fonts, especially multiple decorative fonts together;
    • layout: 10pts
      you should carefully consider the organization of each of your pages and, especially, keep in mind that consistency from page to page is very important;
    • title: 5pts
      make certain that there is a title and that it is present (in the same spot) no matter what the user does;
    • buttons: 5pts
      buttons should be fully functional, should have 4 frames in which the hit frame is a simple gray rectangle, and they should be designed well&#a hint here: students often make their buttons too large;
    • content: 5pts
      yet another point giveaway and it is simply points to determine whether you have enough content in each page;
    • movie-clip container: 5pts—do you use a movieclip container (box_mc for the index and bigImg_mc for the gallery, for example)?;
    • initial load: 15pts
      when the user first opens up your site using the index, does content AUTOMATICALLY LOAD as it should, or does the user have to click on a button to make something appear when the page loads up initially?—this also pertains to the gallery pages;
    • button loading: 20pts
      this simply refers to the functions connected to the buttons on the stage: does content load when you click on all your buttons?
    • folder organization: 5pts
      the folder that you give me next week should be organized, meaning that images should be in one folder. Also, right before you give me your project, put your .fla files into a separate folder as well. You should also remove any images or other files that are not being used.

Tuesday, June 8, 2010

Summer 2010 week 5:
6/07/10: Mon. 9:00 - 12:00

Hi Everybody,

Your mid-term projects will be due in two weeks; however, by next week you must have a complete rough draft to show me. This means you have to have all of the work done by next week. That DOES NOT mean they have to be perfect, as we will continue working on them one more week to get them into better condition. Moreover, we will continue working on them throughout the rest of the semester, adding features and editing what you already have. These projects will be the same projects that you give to me for the final as well.

The most important part of this project is to get the ACTIONSCRIPT to work. Design is very important, but should take a backseat if you have to make a choice.

    WEEK 5
  1. Syllabus
    • LINK    class syllabus
  2. Classwork
    • LINK    This week's class files
  3. Homework
    • exercise 1: Complete your midterm project by next week to present to me a rough draft. This means that you MUST COMPLETE THE ENTIRE SITE BY NEXT WEEK. I will then comment on what you show me and you will have one more week to improve it and smooth out all the rough edges.



  4. Midterm Requirements:
    • page size: 1000px X 700px
    • page number: 5 pages
      1. bio:
        this page is about the artist and should include sufficient text, and then enough accompanying images to help explain or demonstrate the text.
      2. art:
        this page is about the art, and should, like the bio page, contain sufficient text and images to accompany the text for us to have a basic understanding of the art.
      3. gallery 1 & 2:
        these pages should contain thumbnail images which, when clicked on, cause a larger image to show up with a caption below it—the best way to do this is to place the large image in a separate Flash file and type some text below or beside it. Each page must have at least 4 images and each should show up with a unique caption to go with it.
      4. bibliography:
        this page contains a list of links and a brief description of at least 10 online resources that have information or images. Also, list some recent books or films about the artist and/or his/her work. This should include who wrote it and when it was published it if is a book; or who directed it and when it was released if it is a film.
  5. Midterm Grading:
    • topic: 5pts
      this is a giveaway of points (5% - a half of a letter grade - of the final grade of the project) if you all follow the topics you chose;
    • color: 5pts
      this has to do with whether you've seriously chosen your color scheme: if you choose too many colors or if they simply don't go together, points will be taken off; so, if you're not sure, keep it really minimal, or use the COLOR INDEX;
    • images: 5pts
      another point giveaway if you use enough images AND if you DO NOT DISTORT THEM; and also if you don't use images more than once in such a small website;
    • text: 5pts
      once again, another giveaway of points if you use enough text and if you spend a little time formatting it: a couple suggestions are that you should NOTstretch text all the way across the page, but break it up into a couple columns instead; also, like color, make sure you do not use too many fonts, especially multiple decorative fonts together;
    • layout, positioning, & alignment: 20pts
      you should carefully consider the organization of each of your pages and, especially, keep in mind that consistency from page to page is very important. USE RULERS & GUIDES!!!!;
    • title: 5pts
      make certain that there is a title and that it is present (in the same spot) no matter what the user does;
    • buttons: 5pts
      buttons should be fully functional, should have 4 frames in which the hit frame is a simple gray rectangle, and they should be designed well&#a hint here: students often make their buttons too large;
    • content: 5pts
      yet another point giveaway and it is simply points to determine whether you have enough content in each page;
    • movie-clip container: 5pts—do you use a movieclip container (box_mc for the index and bigImg_mc for the gallery, for example)?;
    • initial load: 15pts
      when the user first opens up your site using the index, does content AUTOMATICALLY LOAD as it should, or does the user have to click on a button to make something appear when the page loads up initially?—this also pertains to the gallery pages;
    • button loading: 20pts
      this simply refers to the functions connected to the buttons on the stage: does content load when you click on all your buttons?
    • folder organization: 5pts
      the folder that you give me next week should be organized, meaning that images should be in one folder. Also, right before you give me your project, put your .fla files into a separate folder as well. You should also remove any images or other files that are not being used.

Saturday, June 5, 2010

Summer 2010 week 4:
6/04/10: Fri. 9:00 - 12:00

Hi Everyone,
Good Class yesterday. Keep up the good work. Not much homework, so I expect everyone to have it in class on Monday.

Have a nice weekend!

    WEEK 4
  1. Syllabus
    • LINK    class syllabus
  2. Classwork
    • LINK    This week's class files
  3. Homework
    • exercise 1: Choose a topic for your MIDTERM PROJECT. This should be a visual artist from the 20th Century SINCE 1960. This may include the following:
      • Painters
      • Sculptors
      • Video Artists
      • Conceptual Artists
      • Installation Artists
      • Photographers (NOT fashion photography)
      • Performance Artists (NOT actors or musicians)
      If you are not certain which one to choose, then ask your art history instructor (Miguel Arisa, Dan Kadish, Vahan Nahabedian, Steve Tecson) or me for suggestions, or consult an art history book. You must come to class prepared to tell me your idea, or you will not get credit for your homework. THE FIRST TO COME GETS FIRST CHOICE OF A PARTICULAR ARTIST. So come early, or have a second and third choice ready as there will only be one student per artist.
    • exercise 2: Make certain that you have at least three resources to do your research and get your images. These may be either books or websites, and you must come with them ready to show to me first thing in class.