-
Quitz Quiz Post Mortem
I was commissioned to create an interactive quiz game in flash. “Quitz Quiz” is a quiz game for an anti-smoking campaign. The project was supposed to last for 1 week, it was delayed to 2, and finally got the pay 3 weeks after that. What Went Wrong Asking Price. Inexperienced at this kind of business,…
-
My Corporate Slave Self
I’m currently under a 2-year bond to work for a Filipino software company. While this may be my first real job, I have a feeling I’m working for a company that could really do better. In less than a week of working there I have broken so many coding rules just to finish a project…
-
How to add a favicon
1. Create an icon file. 16×16 is the normal size although 36×36 icons will be resized by the browser. A .gif can also be used. 2. Add this code inside the “head” : <link rel=”icon” href=”image/favicon.ico” type=”image/ico”/> 3. The href should specify which directory the icon is located
-
Get an XML in jquery
$.ajax({ type:”GET”, url:”story.xml”, dataType: “xml”, success:function(xml){ $(xml).find(‘line’).each(function(){ var id_text = $(this).attr(‘id’) var name_text = $(this).find(‘name’).text() storyArray[$(this).attr(‘id’)] = $(this).text(); …
-
Open a file and output numbers
#include #include void accessFile(); int main() { accessFile(); return 0; } void accessFile() { FILE *fp; int n = 0; int z = 0; fp = fopen(“count.txt”,”a+”); if(fp == NULL) printf(“Error opening file”); else { while(!feof(fp))…
-
Update on Project Week
I am extending the deadline to Sunday. By Sunday I’d have finished something worth uploading to a webhost. Anyway, my first purpose in making the site was already achieved. I now have a relatively better understanding of how XML and Flash interact.
-
A More Complicated Preloader
Steps for complicated pre-loading: 1. The actual movie starts on the 3rd frame. The 1st frame is for the preloader. The 2nd frame is for loading the codes and stuff 2. To set the 2nd frame as the part to load the bulks, set Publish Settings>Flash>Settings>Export Frame for Classes, set it to 2. 3. Set…
-
How to disable people from forward-ing in flash movies
var myMenu:ContextMenu = new ContextMenu();myMenu.hideBuiltInItems(); Turns out that thing that pops up when you right click a movie is called a ContextMenu. So an easy way to disable it is to hide them by using hideBuiltInItems(); An item in the ContextMenu is called a ContextMenuItem. var useless:ContextMenuItem = new ContextMenuItem(“Useless Me”, deadClick); The 1st parameter…
-
Project Week (Start)
I won’t have any school this week. That means I have a lot of free time. And how else am I going to spend it than geek-out and do a small 1-week project. I started reading about AS2 yesterday. And hopefully learn something useful enough to create a whole mini project. What kind of project?…
-
Mask Man Conception
Today, 1:47 AM, I concieve my brainchild. He is a man of the mask. Not a superhero, just someone who doesn’t like to be seen. But wants to be felt. BACKGROUND: He has a shady past. Some say he is merely a group of different men wearing the same mask. Some say he saw his…
