Thursday 1 December 2011

Find mouse position in IMP

Development work covered during lesson
On www.ilike2flash.com I found a tutorial for 'find mouse position', which allows the user to immediately find the mouse position on the IMP if the user cant find it. In order to create this I first opened a new Flash AS3 file and then set an appropriate stage size, with the colour #65FF98 from the colour palat as the background. I then selected the text tool with dynamic text and dragged four text boxes near the bottom left of the stage. Next I selected the dynamic text box in turn and gave them the following instance names: xstage_txt, ystage_txt, xmovie_txt and ymovie_txt. I then selected the rectangule tool and dragged the rectangle shape at the centre of the stage area and then converted it to a symbol by clicking F8. I also gave it the instance name 'box_mc'. The stage of creating this effect was to create a new layer on the timeline called 'Actions', selected the first time frame, hit F9 to open up the actions panel and copied the code from the tutorial into the box. Lastly I tested my mouse position by clicking CTRL + Enter, however it did not work as it was supposed to. I tried lots of things in order to sort out this effect, but when I went back on the website I found this was a tutorial where Adobe Flash AS3 was required and I used AS2. 

How the development work fitted into the client brief
Although this did not work as I would hope it would have still fitted into the client brief because it was another interactive feature to add to my IMP.


New skills table reference number
21

No comments:

Post a Comment