Archive for the ‘Web Development’ Category

Veoh to Bring Behavior to Video Ads

Monday, July 14th, 2008

AdWeek published an article on Veoh's in-stream advertising strategy and behavioral targeting system.
I've been working on the flash integration with our in-house targeting server add Freewheel's first ActionScript 3.0 SDK for ad delivery.

Check out the article
Veoh to Bring Behavior to Video Ads

10 Flex Builder 3 Tips

Wednesday, May 21st, 2008

Draft

  1. Bookmarks
  2. Mark Occurrences. Highlight/SidebarMarkers
  3. Find Next/Previous
  4. Apple + Option + Up/Down Arrow Duplicate line
  5. Apple + D Delete current lines.
  6. Apple + Shift + R Open Resource like TextMate's find in project.
  7. Apple + K Go to next occurrence
  8. Apple + Shift + K Go to previous occurrence
  9. Use Flash Components in Flex ActionScript Project.
    Directions from the ActionScript 3.0 Cookbook or see Colin Moock's post

How to create AsDocs

Wednesday, April 2nd, 2008

I'll write on this soon, until then use this link or the line below.
Documents from Adobe

asdoc -doc-sources /Users/jspooner/Documents/veoh/FlashPlayer/branches/ActionScriptSDK/src/com/veoh -output /Users/jspooner/Documents/veoh/FlashPlayer/branches/ActionScriptSDK/docs/

How to set environmental variables in Unix

Wednesday, April 2nd, 2008

I often use SubVersion from the command line to manage my projects and I quickly became tired of typing in the full urls to repositories. I'm now storing these long paths in environmental variables. So for example I previously had to type
svn copy http://repo/svn/spoonermedia/projectname/trunk http://repo/svn/spoonermedia/projectname/branch/feature1 to make a branch. After setting up an environmental variable I only have to type

svn copy $R/trunk $R/branch/feature1

Okay if your sold on Environmental Variables this is how you do it.

  1. Look in "/Users/your-user-name" for a .profile or .bash_login file. If you have both then open up .bash_login or if you have neither create a .profile file.
  2. In that file you can use the export command to set all the variables you need. Each of these variables should be in uppercase.
    export W=/Users/jspooner/Documents/veoh/FlashPlayer/branches/wolverine
    export T=/Users/jspooner/Documents/veoh/FlashPlayer/tags
    export B=/Users/jspooner/Documents/veoh/FlashPlayer/branches
    export SVNROOT=http://repo/svn/src/FlashPlayer/
    

You can also use alias and functions to do other task like open and close projects. Here are some of the other shortcuts I have.

## Open my current project
alias wolverine="cd /Users/jspooner/Documents/veoh/FlashPlayer/branches/wolverine && pwd && echo WELCOME TO WOLVERINE"
# mate
alias edithost="mate /private/etc/hosts"

alias stopmysql="sudo launchctl unload -w /Library/LaunchDaemons/com.mysql.mysqld.plist"
alias startmysql="sudo launchctl load -w /Library/LaunchDaemons/com.mysql.mysqld.plist"
#
# # functions
# # change directories. echo PWD and show a list
cdd () { cd ${1}; echo $PWD; ls; }

Installing Flex 3 Issues

Wednesday, March 5th, 2008

After installing Flex 3 form Flex 3 Beta 3 I had lots of issues with keyboard short cuts. I found that some hidden files from the beta were still on my system in ~/Documents/Flex Builder. I was able to solve all issues by changing the name on that directory and reinstalling Flex.

If your having issues and had Flex Beta installed check out these instructions from adobe. The worked for me when upgrading from Beta 2 to Beta 3.