PHP/AS Blog

OK. Before everything else. This is something I started last night. I’m making a new website for myself and I want a dynamic news page, I also wanted multiple people to post, as my friend might be helping me out with content (this will feature my music.)

There really is no layout yet so it doesn’t look pretty, just letting you know:
http://www.bFusion.net/abstraction/

Here’s how it works:

Flash calls a PHP file ( http://www.bFusion.net/abstraction/reactor.php ) to pull the news data from a SQL database. Once that data is loaded it proceeds to construct the text fields and user images with createEmptyMovieClip and createTextField functions… meaning EVERYTHING IS LOADED DYNAMICALLY.

I am very proud of how this turned out, even though it took a lot longer that I expected (getting everything to mask so I could scroll it was a giant pain)

I would love to hear any suggestions you have to improve this. I attached everything you’ll need in the ZIP file. If it didn’t extract to folders, you’ll need to put 1.jpg and 2.jpg in a folder named “user_data”… here’s everything inside:

abstraction.fla – The main file, in MX 2004 format.
abstraction_mx.fla – Main file in MX format… I don’t know if this works.
1.jpg & 2.jpg – The simple images for users… just a 30x30 JPG file.
reactor.php – This is the php file that pulls the data… I omitted the username/password to my database for obvious reasons :wink:

Let me know what you think, I’m very happy with this :smiley:

Edit: I’m messing with the design and layout, the attached ZIP file is the simple version… the /abstraction folder is really going to be my staging ground for this website, since I can’t test PHP locally (and I’m too lazy to set it up so there :wink: so yeah…

No comments yet :hitman: