Programming Behavioral Experiments in Flash Session 3 of 3 Advanced Topics if Flash (Sounds, Videos, and Real Time Ratings) January 30, 2009 – Jeff Galak.

Slides:



Advertisements
Similar presentations
SETTING UP A PROJECT Adobe Premiere Pro CS6. Getting started… Adobe Premiere Pro project file stores links to all the video and sound files-aka…clips.
Advertisements

Thomas Lövgren, Flash developer
Love Utube Blocked at school? Psst…here’s a way around that issue. How to download and convert videos to place in PowerPoint.
Chapter 14 Sound. Sound  Sound can be used for narration, background soundtracks, rollover noises, and for sound effects to complement animations. 
HOW TO ADD AUDIO & VIDEO MRS. CRIDER PIT AUDIO Click on the insert tab Choose the Audio button and select Audio from file option Navigate to your folder.
Presents… “Best Encoding Practices” For use with.
CTE Conference Innovative Technology November 12, 2013 Farmington Marriott.
1 Flash Programming Introduction Script Assist. 2 Course Description This course concentrates on the teaching of Actionscript, the programming language.
By Jesus Juarez. This will be your first initial screen when you run or start the program. But only what’s inside the red outlined box will be recorded!
Flash Video Flash ActionScript 3.0 Introduction to Thomas Lövgren, Flash developer
USING TECHNOLOGY TO TEACH: VIDEO CAPTURE, EDITING, AND UPLOADING GAIL BETTS JULY 30, 2014.
Teaching With the Tubes How to use YouTube and TeacherTube videos to supplement instruction Presented by Farmington Technology Department.
Computer Science : Information Systems Design and Development Unit Web Sites - National 4 / 5 St Andrew’s High School-Revised January 2013 Slide 1 St Andrew’s.
© 2010 MediaMind Technologies Inc. | All rights reserved MediaMind Creative Michael Conway | Head of creative APAC July 2012.
XP Tutorial 5 Buttons, Behaviors, and Sounds. XP New Perspectives on Macromedia Flash MX Buttons Interactive means that the user has some level.
Programming Behavioral Experiments in Flash Intro to Web Programming, PhP, and Flash July 23 rd and 24 th, 2009– Jeff Galak (CMU)
Basic Programming in Ruby Today’s Topics: Introduction last class irb history log Methods Classes (briefly) Using 3 rd Party Libraries rubygems ‘ require.
Tutorial 5 Making a Document Interactive. XP Objectives Explore the different button states Add a button from the Button library Create a button Learn.
Tutorial 5 Making a Document Interactive. XP Objectives Explore the different button states Add a button from the Buttons library Edit a button instance.
London April 2005 London April 2005 Creating Eyeblaster Ads The Rich Media Platform The Rich Media Platform Eyeblaster.
Chapter 11 Adding Sound and Video. Chapter 11 Lessons 1.Work with sound 2.Specify synchronization options 3.Modify sounds 4.Use ActionScript with sound.
Playing Music in Alice By David Yan Under the direction of Professor Susan Rodger July 2015.
Programming Behavioral Experiments in Flash Session 1 of 3 Intro to Web Programming, PhP, and Flash January 29 th – Jeff Galak (NYU)
® Copyright 2010 Adobe Systems Incorporated. All rights reserved. ® ® 1 INTRODUCTION TO ADOBE FLASH PROFESSIONAL CS5.
Tutorials Copyright ©: SAMSUNG & Samsung Hope for Youth. All rights reserved Cameras and photos: Editing your films Suitable for: Advanced.
1 Zamzar The Solution for File Conversion Alison Fricke EDIT 605 Week 6&7 July 15, 2008.
Creating Multimedia Interaction with Windows Media Technologies 7.
DMU: Kinematics Workbench By: Michael Johnson Kyle Pflueger Paul Sowiniski.
Activity 2 Mix a WAV file and the sound from a youtube video In this activity, we are going to mix the WAV file created in Activity 1and the sound file.
Tax Reporting And Claims Software TRACS. Let’s Get Started.
Intro to Excel - Session 7.31 Tutorial 7 - Session 7.3 Developing an Excel Application.
Tutorial 7 Planning and Creating a Flash Web Site.
2015 CSE/EGR Summer Camps 1 Computer Science Concepts 1. What is an algorithm? 2. Binary information coding 3. Programming concepts via Scratch Designed.
Inserting Music Into Presentations And Rehearsing Timings Margaret S. Britt.
CSC 361/661 Digital Media Spring 2010 Professor Burg.
PowerPoint and YouTube Jim Gordon University Libraries.
Playing Music in Alice By David Yan Under the direction of Professor Susan Rodger July 2015.
5-1 OBJ Copyright 2003, Paradigm Publishing Inc. Adding Sound, Video, and Basic Interactivity with Buttons Macromedia Flash Design & Application.
Programming Behavioral Experiments in Flash Advanced Topics if Flash (Sounds, Videos, and Real Time Ratings) July 23 rd and 24 th, 2009– Jeff Galak (CMU)
Quick Introduction to creating Eyeblaster ads.  Steps for creating an Eyeblaster ad  Building Eyeblaster compatible flash assets  Adding Eyeblaster.
Programming Behavioral Experiments in Flash Session 2 of 3 Building Your First Flash Experiment January 30, 2009 – Jeff Galak (NYU)
Back to the Basics - Video Nick Kwiatkowski Michigan Flex Users Group.
Setting up your computer’s microphone Begin by double clicking on the volume icon within the task bar.
2006 Adobe Systems Incorporated. All Rights Reserved. Getting Started with Adobe Presenter.
FOCUS II Demonstration Simply click the mouse to advance through the presentation. Or; Tap the right arrow key on the keyboard to advance through the slides.
JDS5 Training Guide. On Start Up you will see this screen click the OK button Click OK.
Merging Data into a Letter. Start with a letter that has places where you want to merge individual data ready to go.
© 2011 Delmar, Cengage Learning Chapter 11 Adding Sound and Video.
Enhancing Classroom Learning Using Video Session 1: Importing & Editing Video.
Today’s Agenda The 2 types of video marketing Basic – not being in the video period but providing a benefit that is going to create an huge emotional connection.
CISC 110 Day 7 “The Outliers, Part1” hitTest(), Text Input, Frame and Timer Loops, Publishing Flash Content.
Adding Sounds Games Programming in Scratch. Games Programming in Scratch L6 Adding Sounds Learning Objectives Learn how to add sound to a Scratch game.
Independent Research Strategies for the Exit Project Enrich Social Studies Exit Project with Technology iLearn Social Studies Session 4 of 8.
CS 200 Multimedia Objects in Web Pages. MultiMedia Objects Three primary types of multimedia objects  Audio  Video Includes Flash Objects  Images.
Using Audacity Let’s get Started Open Audacity. Getting started…
Create Course with video lesson. Course Coverage What covered in this course? Video lesson creation – Using external site embed iframe tag – Using third.
CDM105 Session 12 Macromedia FLASH MX 2004 Part 5 : Sounds, publishing your movies, and the ‘Get URL’ action.
1 PowerPoint: Using Breeze to create streaming presentations.
Download & Convert Videos 1.How to Download Videos from YouTube & other Web sites; and 2.Convert them to WMV format so can be edited in Windows Movie Maker.
Advanced HTML Tags:.
Paul Davis ECTC/Crosslake Communications
Installing Analysis Tool Pak
Adding Buttons, Actions, and Sounds
Getting Started with Adobe Presenter
Building Web Applications
Importing 12fps Video in After Effects
Installing Analysis Tool Pak
April 8th – Jeff Galak (CMU)
Getting Started with Adobe Presenter
Presentation transcript:

Programming Behavioral Experiments in Flash Session 3 of 3 Advanced Topics if Flash (Sounds, Videos, and Real Time Ratings) January 30, 2009 – Jeff Galak (NYU)

Session /30/ Agenda for the Week Session 1: Thursday, January 29 th (2-4pm): Intro to Web Programming, PhP, and Flash Session 2: Friday, January 30 th (10-12pm): Building Your First Flash Experiment Session 3: Friday, January 30 th (3-5pm): Advanced Topics if Flash (Sounds, Videos, and Real Time Ratings)

Session /30/ Agenda for Today How to play sounds How to collect real time ratings How to play videos –How to convert videos to Flash format –How to “rip” videos from YouTube

Session /30/ Working with Sound Files Import sound file to library –File->Import->Import to Library Within the library, create a “linkage” –Right click on sound file -> Linkage –Check “Export for Actionscipt” –Give your file a name –Ok Now your file is ready to be accessed via ActionScript

Session /30/ Sound File + Actionscript 1.Define a “sound variable” –var currentsound:Sound = new Sound (); Created a variable called “currentsound” 2.Attach a sound file to the new variable –currentsound.attachSound("sample"); Attached the sound file “sample” to “currentsound” 3.Play the file –currentsound.start(0,1); Plays the sound file associated with “currentsound” The first argument “0” tells it to start at the begninning of the song The second argument “1” tells is the number of times to play the sound (once, in this case)

Session /30/ Other Things to Remember with Sound Files You can stop your sound file with the stop() command: –currentsound.stop(); You can change the volume with the volume command (0 to 100): –currentsound.setVolume(50); You can have the program do something (e.g. go to the next frame) when the sound is done playing: currentsound.onSoundComplete = function() { nextFrame(); }

Session /30/ Collecting In-Experience (Online) Ratings Two ways to do this: 1.Stop people every X seconds and collect a measure 2.Have a slider-scale that continuously records a value We will focus on the latter.

Session /30/ Online Scale Set up (With a Song) Scale

Session /30/ Online Scale Code Code for song Code for slider scale Tells flash to run the function “collectdata” every 3 seconds When this function is run, it simply stores the value of the scale

Session /30/ Things to Remember with Online Scales You can change the frequency of the data collection by changing the number in the myTimer line. Time is in milliseconds. Make sure to add the clearInterval command when you leave the frame –In this case, when the sound stops playing

Session /30/ Working with Videos Videos need to be in.flv (flash video) format. You can convert them using flash. –File -> Import -> Import Video –This takes a long time but works well. You can use 3 rd party software for conversion –Allok Video to FLV Converter – –Works much faster, but sometimes the converted file doesn’t work. No clue why.

Session /30/ Ripping Video from YouTube Simply copy+paste the URL from youtube into the box on savevid.com Make sure the file extension is.flv Done.

Session /30/ Editing FLV Files Adobe Air + RichFLV –Adobe Air: –RichFLV: x.cfm?event=extensionDetail&loc=en_us&exti d= Install Air first. RichFLV lets you edit FLV files quickly.

Session /30/ Flash and Videos Create a video placeholder with the “my_video” object in the library. Name it something: my_video Make sure that the video file is somewhere on the web (even while testing).

Session /30/ Actionscript and Videos This is the only line you really care about This block of code is optional. It allows you to skip the video by hitting CTRL+A

Session /30/ What About Online Measures and Videos? Just add the scale and the myTimer code: myTimer = setInterval(collectdata,3000); iteration=1; function collectdata() //function that stores the data { ratio=Math.round(((Slider.dragger._x- (Slider.dragger._width/2))/(Slider.line._width))*sliderMaximum); storedata("soundrating_"+iteration,ratio); iteration++; }

Session /30/ That’s It! Go forth and collect data! Spread the gospel of Flash. And most importantly, have a great weekend.