
This week I've been working on 3 Major tasks, The voting function, the logIn function and the ability to replace building dynamically (temporarily) so the voter can see the building in it's setting: I didn't do this originally as the coding was complex as the building in the carousels are in a separate swf from the one the building to be replaced! I thralled through code on the internet for communicating between swf's but it was quite cumbersome with the possibility of many errors at run-time.
My solution: I changed the code in the loaded carousel swf so instead of the building appearing at the side of the building, the building to be temporally replaced is unloaded and the buildings in the carousel is enlarged in exactly in their place- when the user closes the carousel the building(original) is put back in it's place.

0 comments:
Post a Comment