March 08, 2005

Craghead Again

CRAGHEAD 5.6 Beta

here is installment number two of the redesign, still only the Horse Pens page works, but i have tweaked the design, and added some functionality to the way you navigate the photos. You can now both browse through them, or go directly to the photo by the name of the climb featured in the photo. Also, i have changed the buttons in the map again, and i think that this is the way they will be for final, although they may need some tweeking on the way they appear and disappear.

continue reading for nerdiness...

So one of the biggest changes i have made between the last version and this version is the use of an XML file to bring in data as opposed the the TXT file i was using before. This has allowed me to store much more data and add lots of functionality with just a bit of work up front, and very little later on. An example of what i mean, is that when i want to change photos in the website, i don't have to touch the flash file, all i have to do is upload the photos (i don't even have to resize them to an exact size because of phpThumb (it resizes the photos for me) and add a line to the xml file, and WHAMMO the photo shows up when you view the site. and i could, and might even make it to where i can do all this online, where i would fill out a form and upload a file, and it would add the entry to the XML file. and i wouldn't even have to worry with the uploading stuff.

you can see the xml file here and if you view it in anything but IE you will have to view source to see what it looks like.

also, angie, i did get the buttons to work as movie clips finally and dynamically change the text for them. What solved the problem i was having was changing the action from onMouseUp to onRelease, for some reason, onMouseUp just looked for a MouseUp anwhere on the stage. i don't know...

Posted by winslow at March 8, 2005 10:30 AM
Comments

Ah ha! That's what it was! Hehehe, good catch. I usually use on(release) anyway, so I didn't think of on(mouseUp) as a potental problem. It would've helped to see the code. :)

As for the site, I think it's coming along great! The XML is super sweet, and is going to be easy updating. Thanks for the XML file man! I'm working on having that functionality to the new (and soon to be released) GoldKrush site!

Posted by: angie at March 8, 2005 03:34 PM

ooo i love the organization of the pictures with the climbers name and rating. very nicely done. this is the best organized climbing site ive seen with the picture, route, and area information. would be kinda cool to maybe get a bit of original slo beta in there too. that would be sweet. show this site off in the climbing world. it's marvelous! (and im sure having the xml makes u happy to put things up on it)

Posted by: sara at March 10, 2005 11:04 AM

thanks sara, i think it should definitely be one of the better climbing sites out there, hopefully everyone else with think so too. i just need to do a few more things, mainly figure out how the video page is going to work, and then i will put it up fo' real. by the way, you have any content you would like to contribute?

Posted by: winslow at March 10, 2005 09:48 PM