Otis Curtis


Archive for November 2009


leave a comment »

These first lines of ActionScript set the variables. The first couple of lines state that the video starts paused and the sound is on.

var isVideoPlaying:Boolean = false;
var isVideoSoundOn:Boolean = true;
var videoFileName:String = “Imports/PortfolioSize_1.flv”;
var videoPlayer:MovieClip = videoHolder;

var videoPlay:MovieClip = play_btn;
var videoPause:MovieClip = pause_btn;

My site requires videos with Alpha preserved, as I need them to appear as if on walls. The best filetype for doing this is FLV, and the only way to get FLVs into Flash is with the NetStream command. The following code is how to get the FLVs into a MovieClip.

var videoNetConnection:NetConnection = new NetConnection();
videoNetStream = new NetStream(videoNetConnection);

videoNetStream.onMetaData = function(obj)
 videoPlayer._height = obj.height;
 videoPlayer._width = obj.width;
 videoLength = obj.duration;

videoLoadCheck = setInterval(checkBytesLoaded, 1, videoNetStream);

The following code sets the buttons for playing and stopping the video. They are both the same size and position as the video, effectively making the frame for the video its own play/pause button.

function pauseVideo() {
 isVideoPlaying = false;


function playVideo(){
 isVideoPlaying = true;

videoPlay.onRelease = function(){

videoPause.onRelease = function (){ 

As the two buttons are in the same place, I need to hide the play button whilst the video is playing and hide the pause button whilst the video is paused. The same happens with the volume.

function videoStatus(){
 if (isVideoPlaying == true){ 
  _parent.isTrailerPlaying = true;
  videoPause._visible = true;
  videoPlay._visible = false;   
 }else if (isVideoPlaying == false){ 
  _parent.isTrailerPlaying = false;
  videoPause._visible = false;
  videoPlay._visible = true;

function volumeControl(){
 if (isVideoSoundOn == true){
  videoMute._visible = true;
  videoUnMute._visible = false;
 }else if (isVideoSoundOn== false){
  videoMute._visible = false;
  videoUnMute._visible = true;

The final part of code restarts the video when it is finished.

function restartVideo(){
 var adjustVideoProgress  = setInterval(videoProgress,10)


Written by otiscurtis

November 9, 2009 at 8:26 pm

Posted in Uncategorized

Web Project – Flash Sites

with one comment


Vector Park.

This website has many of the elements that I would like my site to include. Visually it is very clean as the whole thing is made of vectors, but the way the user interacts with the site is what I am most interested in. ‘Park’ is just one of a few mini-games on Vector Park, I like the fact that there is absolutely no text on the screen (except for the recent addition of a sitemap on the home page) and there are very few instructions of any kind in the whole site. As there are no instructions, the user will find the visual elements on the screen particularly intriguing, and wish to explore, play and experiment with all of the elements on the screen.

By having no instructions, and encouraging exploration from its users, Vector Park reinvents the idea of navigation as a game in itself. This is a much more interesting approach to navigation than the standard links and buttons, and has drawn me back to the site again and again.




Donnie Darko & Requiem For a Dream

These sites, for the films Donnie Darko and Requiem For a Dream respectively, both also apply no standard navigation or buttons. Although unlike Vector Park visually, these two websites both allow the same level of adventure that comes with having alternative navigation systems. As with Vector Park, there is an indefinite target for the user: They will continue through the narrative, exploring the screen with their mouse. This particular aspect is something I would definitely like to get across in my portfolio site.

Written by otiscurtis

November 5, 2009 at 1:08 pm

Posted in Uncategorized

Web Project – Statement of Intent

leave a comment »

Statement of Intention.

I want to use this unit to create a portfolio site for myself. I want to also learn a lot more of Flash and ActionScript in the process of making the site.

By the end of the study I would like to have a site online which displays my work, which is mostly animation. I am currently in need of a site of this type, as I only have a YouTube page, which doesn’t have good quality video, and looks unprofessional. I hope that with a proper website displaying my work I will have more success applying for jobs, and I will be able to show people my work at any time.

I have been looking at a lot of Flash sites and a lot of portfolio sites and some of them are a lot more interesting than others. I would like to take some of the more interactive elements that a lot of effective Flash sites use, and incorporate them into my portfolio site. There are many brilliant Flash games on the Internet, and it is this element that I hope to include in my site in some way, by having some aspect of fun and exploration in the navigation. I also want to avoid having a clear, separate place for buttons, so the user will have to investigate the site fully in order to gain access to the content.

This will possibly annoy some users, which is a risk, but I feel that there will be many more people who will return to the site because of this fun element. If the site turns out to be too hard to navigate, then I might have an option at the beginning to either enter the Flash site or my blog, which will include my work, but be easier to access.

I have an idea for the aesthetics of the site too. The user will be placed in a street environment, with a simple 2D view of the buildings and walls. On moving the mouse to the edges of the screen, the user will move up and down the street. On the walls and on the front of some of the shops will be images representing my work, they will appear as if they are posters, stickers and graffiti. These images are mostly going to be the first frames of various animations and videos that I have created, so upon clicking an image it will begin to play, and it will pause by clicking it again. The user will be able to have multiple videos playing, but the sound might occasionally clash, so I will have to figure a way around that problem.

Written by otiscurtis

November 5, 2009 at 12:46 pm

Posted in Uncategorized