Tuesday 19 November 2013

Adding Videos to IMP 21/06/2013

A. Each Blog entry needs a Blog title and Date – i.e. Adding Videos to IMP 21/06/2013
B. Development work
Once I had all of my SWF files I had to go to add a videos form to my IMP, I did this by getting a suitable picture to use as the background, once I did that I added it to my IMP. I then went on to common libraries then found the button that I wanted to use for the video I added it onto the form. I added this code to link the button to the video 

function loadFilm(evt:Event) 
{   channel.stop();  
var urlReq:URLRequest = new URLRequest("scene1.swf"); 
var myLoader:Loader = new Loader(); 
myLoader.x = 120 ;myLoader.y= 60 ; 
myLoader.load(urlReq); // passed to the ldr 
try { removeChildAt(4); }//One bigger than the number of forms, starts from 0 
catch (e:Error) { } 

addChild(myLoader);// display object container 
}
This code makes the film play when I press the button on my films form.
C. How the development work will fit into the brief – 
This development will fit into the brief because it includes videos which were required in the brief. In this development to my IMP I was mainly working towards part D which was to have an IMP with video clips.Specify how and which part of the brief you were working towards/met. 
D. Skills table reference number 

1,2,3,4

Adding sound to IMP 30/09/2013

A. Each Blog entry needs a Blog title and Date – Adding sound to IMP
.
B. Development work
 First I had to find the sound effect that I wanted to play throughout my IMP then once I found that I put it into the folder that had all of my IMP files, once it was in there I went to flash and added this code to my coding tab "var channel:SoundChannel
var snd:Sound = new Sound(new URLRequest("SubMenuMusic.mp3"));
channel = snd.play(1000,3);//1000 ms after start of sound, 3 times"
once I added this I ran my IMP to see if the music played and it worked properly.

C. How the development work will fit into the brief – 
This fits in with the brief because it will help to make my IMP more entertaining for the target audience. With this feature of the IMP I was trying to meet part H of the client brief which was to have a front end which consists of sound effects, by adding music to the IMP I met this part of the client brief.
D. Skills table reference number 
16