Sound for dynamic media week 1 links
Here’s a list of links from the first class:
Norm Mclaren – Pen Point Percussion
Here’s a list of links from the first class:
Norm Mclaren – Pen Point Percussion
Three new examples: loading internal and external files and using a slider.
Open a new Actionscript 3.0 Flash document. Save it to a folder. Copy an MP3 into the same folder.
Open the ActionScript window on frame one and add the following code, replacing the name of the MP3 with yours (remove the spaces from the filename in the finder or you’ll be scratching your head):
var mySong:Sound = new Sound();
mySong.load(new URLRequest(”TheNationalAnthem.mp3″));
mySong.play();
Run it and listen to your MP3 play back. You’ve just loaded your first external file (no linkage needed). You can call mySong.play() from anywhere, including a function that’s called from a button or rollover! You can also load multiple sounds, so as long as you create new instance names (MySong1, MySong2, etc).
CREATING CUSTOM BUTTONS
custom buttons
ADDCHILD
Displaying library content in AS3
Advanced – The Display List, The Stage, and “addChild” in Flash CS3
PLAYING BACK FLV MOVIES (THINK YOUTUBE) WITH FLVPlayback
FLVPlayback
LOOPS
What are loops?
CONDITIONALS
Conditionals 1
Conditionals 2
DRAWING SHAPES WITH AS3
shapes
Advanced – LOADING EXTERNAL FILES
External Files
PRELOADER BAR
Preloading in ActionScript 3.0, the Easy Way
Creating a Preloader and Progress Bar
HACKING EXISTING CODE
Drag and drog objects onto another object
Create a magnifying glass
I’ve posted examples for the event listeners for mouse input (rotate and scale), drag and movie playback, including frame labels. They are very well commented. If you have any questions, email me!
Mouse Events Explained from Draw Logic
Event Listeners from Republic of Code
The AS3 Event System - Part 1: The Basics from Community MX
Changing frame rate from Flash Essential
Tutorialsphere (be careful only to look at AS3 examples)
Adobe ActionScript 3 reference: Events
Playing sounds via flash guide
Math in Flash from Flash & Math
Here is the flash file I made in class today.It contains all the the techniques we covered and you should be able to reverse engineer anything you may have missed or forgotten.
Click on the above picture for full size.
LINKS
Link to a scanned overview of Miller’s critical systems.
A figure showing hierarchical levels from the smallest, to the very largest.
NASA utilizing living systems to test the theory of living in a space station.
LIVING SYSTEMS THEORY
The 20 Critical Subsystems of a Living System (Dr. James Grier Miller)
SUBSYSTEMS WHICH PROCESS BOTH MATTER-ENERGY AND INFORMATION
Reproducer, the subsystem which carries out the instructions in the genetic information or charter of a system and mobilizes matter and energy to produce one or more similar systems.
Boundary, the subsystem at the perimeter of a system that holds together the components which make up the system, protects them from environmental stresses, and excludes or permits entry to various sorts of matter-energy and information.
SUBSYSTEMS WHICH PROCESS MATTER-ENERGY
Ingestor, the subsystem which brings matter-energy across the system boundary from the environment.
Distributor, the subsystem which carries inputs from outside the system, or outputs from its subsystems around the system to each component.
Converter, the subsystem which changes certain inputs to the system into forms more useful for the special processes of that particular system.
Producer, the subsystem which forms stable associations that endure for significant periods among matter-energy inputs to the system or outputs from its converter, the material synthesized being for growth, damage repair, or replacement of components of the system, or for providing energy for moving or constituting the system’s outputs of products or information markers to its suprasystem.
Matter-energy storage, the subsystem which places matter or energy at some location in the system, retains it over time, and retrieves it.
Extruder, the subsystem which transmits matter-energy out of the system in the forms of products or wastes.
Motor, The subsystem which moves the system or parts of it in relation to part or all of its environment or moves components of its environment in relation to each other.
Supporter, the subsystem which maintains the proper spatial relationships among components of the system, so that they can interact without weighting each other down or crowding each other.
SUBSYSTEMS WHICH PROCESS INFORMATION
Input transducer, the sensory subsystem which brings markers bearing information into the system, changing them to other matter-energy forms suitable for transmission within it.
Internal transducer, the sensory subsystem which receives, from subsystems or components within the system, markers bearing information about significant alterations in those subsystems or components, changing them to other matter-energy forms of a sort which can be transmitted within it.
Channel and net, the subsystem composed of a single route in physical space or multiple interconnected routes over which markers bearing information are transmitted to all parts of the system.
Timer, the clock, set by information from the input transducer about states of the environment, which uses information about processes in the system to measure the passage of time, and transmits to the decider signals that facilitate coordination of the system’s processes in time.
Decoder, the subsystem which alters the code of information input to it through the input transducer or internal transducer into a “private” code that can be used internally by the system.
Associator, the subsystem which carries out the first stage of the learning process, forming enduring associations among items of information in the system.
Memory, the subsystem which carries out the second stage of the learning process, storing information in the system for different periods of time, and then retrieving it.
Decider, the executive subsystem which receives information inputs from all other subsystems and transmits to them outputs for guidance, coordination, and control of the system.
Encoder, the subsystem which alters the code of information input to it from other information processing subsystems, from a “private” code used internally by the system into a “public” code which can be interpreted by other systems in its environment.
Output transducer, the subsystem which puts out markers bearing information from the system, changing markers within the system into other matter-energy forms which can be transmitted over channels in the system’s environment.
Want to start flowing your data into processing, but can’t wait till next week?
I finished the code for our PDF Array reader and it’s very well commented.
all you have to do is plug in your data.
Colin
—>
I’ve compiled a list of links for resources on the web for Illustrator’s live trace:
You need to choose a photo that has good color contrast or you’ll need to bump up the contrast in photoshop (or directly in live trace) in order to get good results. The biggest most important thing is to “expand” the trace after you’re done fiddling with the initial trace or you won’t be able to edit the outputted Illustrator file.
Good luck!