DeathRain99
New member
Yeah, my FireFox doesn't like it...when I click to load the list it gives me a white box. 
A few things, if it doesn't work... you are loosing nothing correct? And functionality is before cool interface, or have you forgotten windows cool interface but 8 years of viruses and crashes? You should build something with the proper functional foundation so all your work won't come crashing on your headLow Lines said:If I down-graded it to Flash 7 or earlier, I would loose advanced text formatting (which makes the text appear more smooth) and I don't think my new search method is avaliable on anything older than Flash 8. Also this would not speed things up at all, and I am sure of that!!
Can you read everything 'pertinent' into a hashing array for quick retrieval of the information you need?Low Lines said:To be technical, the reason why it takes so long to load is because it is locating each and every game in one XML to the other (through indexOf("serial number")). In otherwords, it is searching every item comparing serial numbers until it finds the right one and it is doing this for every game.
Make it work first. It does not in linux, it runs but only displays the list to the right with arrows and some colorful dots next to the list.Low Lines said:To be honest, it is a very very stupid way of doing things and I am now cursing myself for choosing it. The only good side about it is that it simplifies the compat list file a great deal, and if I decide to change a name of a game (for whatever reasons) I only have to do it for one XML file and not every single compat list that is part of the Flash resources.
Low Lines said:Another thing that would obviously be using up a lot of memory (though not nearly as much as the other thing) would be the process of converting XML representations to their true symbols (ie & becomes & and ' becomes ').
[/qoute] I may be wrong but you don't need XML formating for all symbol types do you? can't you use a reference ( I forget the precise XML term) for the data? XML formating is kind of combersome that's all
First I would set up functions to retrieve a structure with the data. This way your basic interface does NOT change. Second I would hash the data so that you can retrieve it quickly based on Serial #. These two things will likely make it faster and easier to deal with . I could be wrong, wouldn't be the first time.Low Lines said:I'm using loop functions to gather data from my XMLs, the only problem with them is that with the more items that have to be examined, the longer it will take to load that information up. But I'm gonna be positive here and say that I will eventually find a way of speeding things up, it may just take time and skill to do it.
Actually, I might try storing all data not found in a compat list XML (ie Name, Rom Size, etc) in the actual Flash file. It would eliminate the need to search for things (or at least I hope so) and hopefully speed things up. But it would mean I would have to regularly update the Flash file instead of an external XML. This will purely be a test so it may not be anything, but if it does make things work faster...
Also, I'll get those links hooked up right away sigloiv, lets hope it works!!
Cyb
I've already chosen to do that...Which is where my cinch search and sorting functions become extremely easier to do. But again it does not speed things up because it still has to parse the XML to retrieve the information, which is where this long pause is. I wait about 6-7 seconds and an entire array is created much like this...First I would set up functions to retrieve a structure with the data. This way your basic interface does NOT change. Second I would hash the data so that you can retrieve it quickly based on Serial #. These two things will likely make it faster and easier to deal with . I could be wrong, wouldn't be the first time.
Short words, nothing like self perpetuating automotons and such right? I'll try not to exacerbate things or cause mental twitterpation.Low Lines said:I don't mind you giving you thoughts and ideas on the subject (I am very happy you are). But try to keep your words a bit simpler, cos it is harder for me to understand them especially when things get technical.
You know a guy who writes a news letter called the embeded muse wrote this "Think your database out carefully before hand for any project that might use one." Can you access an SQL database from Flash? I know emutalk supports this because the PHP based boards use them with the message data base.Low Lines said:With the arrays, I would still need to parse the list in order to create them. It does makes things a hell of a lot easier to get if they are all in the same place.
No.. no errors just did not display any text.Low Lines said:With your test with the Linux, did your browser ask at all for any further plugins?? Cos I tried it on my school's computers and it seemed to need a "Active X Controller" or something which I did not know it even needed. But what the list looked like sounds just like what happened to you. But I am only guessing...
Ahhh... hmmm you might wish to use PHP instead of flash I think you can get away with a bit O Java code. Flash is OK, but still a bit non-standard. I would prefer myself to use PHP and bits of Java code. That's just meLow Lines said:Also you are right about the whole functionality thing, I'm afraid that's just my perfectionist shining through cos I like to do things neat.
It's not all that important I suppose. You might want to automatically convert updated XML files into a database supported using SQL. then the Database format is superfluous. However I'm getting DeCarte before the horse (bad pun I know).Low Lines said:And with the XML symbolling. I'm not too certain about them, I mean the XML will convert certain symbols or will come up as an error when run. And at the moment, the only way I know how to change them back is with that same find function as with locating the serials. I might also add that I learnt this from another source, which means I am no genius. Hopefully there should be some kind of parse action I could use that would simplify it.
Ahhh that is what's going on LOLLow Lines said:I might also mention that this is not a program, but more or less an imitation of one done so through the use of clever movieclips and carefull actionscript code. So I doubt it would work on the same basis of a program.
There is always more than one way of doing things, the best way is to use what you are familiar with. I suppose I ought to work on some PHP scripting (hmmm) unfortunately I need to reinstall my httpd server with PHP support (sigh) so I can experiment.Low Lines said:I can't really work on it through the week, (even though I'm writing a reply right now) but mainly on weekends. So I try and look into this problem then and hopefully then I will come up with some miraculous way of solving all my problems.
SQL = SeQueL or Sequential Querry Language. It's a interface system into a database allowing you to pull data from it in ASCII form. It allows you to sort and retrieve data as needed. It's used from WEB pages to Corperate databases. Oracle IBM MickeySoft all uses SQL as there interface. So it's not exactly uncommon. In fact this forum is supported using SQL querries to a database. That being said XML parsing would not be necessary to querry the database, since you can recieve it in any format you want depending on your querry to the database.Low Lines said:well bugger that then...
Cyberman said:What you are doing Low Lines is a Database application. I'm not sure what kind of interface Flash can deal with, but SQL can manage data quite well. If you can access the SQL server here, might be able get Martin to set something up for your Flash construct. Is it possible for you to allow the flash system to 'upload' XML based information that can be processed by a script and results added to the database in real time? (That seems a more Java script oreinted thing). I suppose you could create a section of the site to handle updates. Although you might want to filter through them first (IE no 'this game sucks' additions).
With "render as HTML" and/or text size=12 you can read it clear enough. And if it were tons of text to read, but it's just a simple line...Cyberman said:As for the fancy formating, do you really need it, or is it a feature you want to use?![]()