The last week i have been researching into my use of Flash integration with PHP/MySQL. I had a private lecture last week helping me working on pulling data out of the database and retrieving and manipulating it on screen. While in the lecture this was successfull, i have been working on it again at home and found problems with my script finding the exact data it is looking for. I've been through it a few times and can't find the exact problem in the coding for retrieval. Im pretty sure the PHP script isn't faulted as it retrieves to itself so it must be the actionscript. I will take the code in on monday for some guidance to fix it. the code is posted below.
user = new Array();
getUserDetails = new LoadVars();
getUserDetails.load("
http://www.webdesignhull.lincoln.ac.uk/skhorner/major1/testflashretrieval.php");
getUserDetails.onLoad = function(success) {
if (success) {
user = this.data.split(";");
_root.output.info.text = "Hello "+user[0]+" how are you? your surname is "+user[1]+" your email is "+user[2];
_root.output._y = user[2]
_root.output._x = user[2]
} else {
_root.output.info.text = "There was a problem.";
}
};
I also decided my logo is too big to use through out the whole website and also the name "The Diaries of Tom Thayer" is too long possibly so i was thinking about changing the name of the project to maybe "Diaries". It would give me more options with the logo and also with marketing the site when getting outside users.
Interface design isalso becoming a problem. The colour scheme i'm having to think about seriously because its supposed to have a deep theme so the colours black, white, red and grey are best suited but i don't want the site to be cliche also. So im going to try consider alot which colours will fit the site best, but first i must come up with an interface to suit the site. I'm working on this currently, so next week i will have a basic idea if not finalised interface design.
I'll also have a cPanel so il get working on it all soon. I was also told the best way to have people sign up for the site would be outside of Flash. So i was wondering if it would be best to have all the account editing features outside of Flash. This could give the user a feeling that they about to ender something rather than just visiting a site like I was proposing a feeling a seclusion to it. Next week i will try and have all these queries sorted out.