ME 2004: notes
Friday, November 12th, 2004Below are some quick notes i took during Media Elements 2004. Just some scribbles right now but i will work them out over the weekend.
Below are some quick notes i took during Media Elements 2004. Just some scribbles right now but i will work them out over the weekend.
…
b-line charting components (MM exchange)
importing excel/db data into flash by
* exporting as xml from MS acces (no schemas)
* import with XML connector (direction receive)
* name the connector (xmlcon)
* bind chart to connector (set direction to in and select bound to)
* repeating XML node becomes array
* xmlcon.trigger();
* use b lline functions
procedural is faster than component
* making components article (samuel wan) on ultrashock
use Delegate for eventListeners (new in MM Flash 2004 update)
* import mx.utils.Delegate;
* makes it possible to have one function called by multiple events
tommorow some stuff with flashcomm and webcams…
* upcoming from MS avalon turns .NET framework stuff into XML
progressive streaming with stream object
1. create server connection
2. connect stream to server
3. connect camera & mic
4. publish to server
* when using flashcom for video you could use up all your licence connections for all your viewers. instead of using flashcom for the sending you could record with flashcom and send with your regujlar webserver.
* use a symbolic link to your movies on the flashcomm server movie dir to playback through webserver.
recording and directly playing back not just video but also data (i.e. arrays)
free version of flashcom available for developers
“flashcom mailinglist”:http://chattyfig.figleaf.com
“samuel wan’s site”:http://samuelwan.com/information/ (online soon…)
Craig Swann
“making things”:http://www.makingthings.com socket/xml server to connect external inputs and outputs. new thing is video movement sensor.
homemade ipaq arcade board modified with ethernet connection. hooks up arcade buttons to an apple powerbook. each button is a keyboard letter. used in installation where buttons throughout a club trigger depth, and other actions.
setting up a remote control of a rc car to make stuff in flash move. (Teleo XML server) i.e. race game or channels in a music player.
“flashcom experiment with collaborate music making”:http://www.glenrhodes.com/stuff/matrix.html
presented by Cas Jacobs (sasjacobs.com)
XML Class
* textnodes count as their own node
* XMLNode.nodeType -> text = 3, element = 1
* check out the XML file browser (handy dev tool)
* use variables where possible to make code simpler
XML Components - XMLConnector / WebServiceConnector
* WSC creates SOAP request
* WebServiceConnector only connects locally
* workaround withserver side language (translate locally really)
XMLSocket Class
* i.e. chat server (would need socket server)
tips:
* assign rootNode variable (i.e. var rootNode = objXML.firstChild;)
* HTML not to be parsed -> use CDATA
* Excel (XP version) saves as XML too (but result needs cleaning: delete 2nd ‘action’ line)
source files on “bit 101″:http://www.bit-101.com/tutorials/
* /solids/ for objects and backface culling examples.
“benckmark tool”:http://bench.powerflasher.de
“some experiments”:http://experiments.powerflasher.de
“source files”:http://www.powerflasher.de/ref/conf/me04/flas.zip
“goober.nu”:http://www.goober.nu
“Nim’s journey”:http://www.nimsjourney.com
30 lines of code to setup a list reader to retrieve images + labels from a webservice. Flex 1.5 supports standalone apps (?) but usually you need a Flex server to compile your flex app and of course the web services themselves. AMFPHP the open source flash remoting software comes to mind.