Posts Tagged ‘classes’

13Mar And the microsites just keep on coming

Working on another Flash microsite. I’ve not even finished the first one yet. Thankfully I can reuse a lot of the work I’ve done on the other one, and I’m really enjoying the amount I’ve been learning while working on them.

Classes are really great way for me to easily reuse the code, and with each of these sites I’m working on I’m refining them. Right, back to work.

16Feb it’s all about class

I’m building a Flash microsite at the moment with the consideration that it should end up being a re-useable template, as there may be additional microsites in the future. So best way for me to do it is to create classes that control the functionality of the site.

So far I have a main page structure set out. This includes one FLA file that imports a navigation class. This class creates the menu and controls the navigation between pages. I’ve even managed to get SWFAddress working. This lets the user click back and forward on their browser through the Flash site.

I’ve also created a separate class for all of the content pages. This ensures that the actionscript for each page doesn’t interfere with the others. Next steps are really to code the specific pages, add the content and reskin it to fit the design.

I know I’ll have quite a few challenges, and the timescales I have to work on it are really tight, but I’m looking forward to seeing this project through to the end.

18Aug Zoom. Zoom. Zooooooom….and drag

Well, I’m rather impressed with myself (even though I really shouldn’t be, because this has taken me days). Anyway, I eventually managed to get my Actionscript 2.0 Zoom Class working.

It will let you drag a  movie clip and make it zoom in and out from either the centre or top left of  the screen, rather than the centre/top left of the actual clip. Sounds a  bit confusing, but once it’s finished I’ll put up a sample and you can see what I mean.

14Aug ActionFlash go!

Well, I’m back to working on some Flash Actionscript today, which is nice for a change.

I’m creating an image gallery, which should be quite simple, but I’m going to employ my new found fondness for Actionscript Classes. Still getting the hang of using them, but they are going to be really useful when we want to re-use them for new projects..

I think I’m going to need 3 Classes. One which someone has already written, will load in the images, then crop if required. I’ll write the second to zoom in and out, and the third will let you scroll through the images horizontally. Will hopefully all come together beautifully!