FDT is built on the
Eclipse platform. FDT 5 Max costs $599, but there is also a
FDT 5 Free version. I think the Free version will be enough for most developers.
To use FDT you also have to download
Flex SDK version 4.5 (or the latest production quality release) and 3.6 (or the most recent update to the Flex 3 code-base) as will be prompted when trying to start the program dubbelclicking "eclipse.exe" in the downloaded FDT folder.
How to do this is explained in the "
Installing 3.6 & 4.5 SDKs" video.
Now start using FDT by trying the
Basic AS3 Tutorial. After that you should have made a first working test-application.
How to solve problems with FDT:
1. I tested this and got into problem when running as debug: "An internal error occurred during Compile.
java.lang.NullPointerException" with the Flex SDK 4.6 version. But this can easy be solved by a
workaround.
2. When I run debug, i got a problem: "[Info] Could not connect to the player, will try to connect for the next 72000 ms". This was solved by downloading a debug version of flash player: "
Windows Flash Player 11.2 Projector content debugger".
After that change in the menu: Run->Debug configurations...->FDT SWF Application->Main->Start->Viewer: choose "Adobe flash player". Also set the path to the debug version of flash player in the menu at: Window->Preferences...->FDT->Tools->Flash->Flashplayer.
More info about debugging in FDT can be found at
Using FDT's Debugger.
Drawbacks with FDT:
FDT is not able to create movieclip:s, but maybe this isn't so important. It can anyway load movieclips already created in Adobe Flash Professional. Also the free version doesn't show all coding hints but it doesn't matter to much.
Conclusion:
This should be all that is needed to start creating games. Now go find some tutorials (for example
tutorialized,
dezinerfolio) and try to pick some code-parts from them to your project-file and look in the
documentation for AS3 what the meaning is of the commands if you don´t know that already. Good luck with your coding!:)
A good downloadable book in the area is
”Linux Device Drivers, Third Edition”.
To be able to add a driver, the core has to be compiled with support for loadable modules (if this isn't the case you have to recompile the core with support for modules).
1. Put the files from
simple_driver.zip in a folder.
2. Compile Makefile by writing:
make
3. Load the module to the core with the command /sbin/insmod:
sudo insmod ./hello.ko
4. Kolla att modulen finns med bland laddade moduler i /proc/modules:
lsmod
5. Kolla utskrifter från applikationen:
dmesg | tail
6. Ladda ur modul från kärnan med kommandot /sbin/rmmod:
sudo rmmod hello
7. Kolla information om modulen:
modinfo hello.ko
En bra applikation för att köra Linux under Windows är
Virtualbox.
För att få bland annat få dynamisk skärmstorlek på Linux och även kunna copy-pastea mellan Windows och Linux så krävs tillägget
”Guest Additions”.
För att kunna komma åt filer mellan Linux och Windows får man
”skapa en delad mapp”.
Greasemonkey är ett plugin till mozilla firefox som gör att man kan köra javascript på en websida innan den visas för användaren.
Installera pluginet från:
http://www.greasespot.net.
Gör ett enkelt script att testa med (som visar en popup-ruta) genom att skapa en textfil som du döper till ”mitt_filnamn.user.js” och skriver in följande i:
”javascript:alert(document.URL);”.
Lägg sedan upp den någonstans på webben (har du ingenstans att lägga upp scriptet så kan du istället hämta något befintligt script från webben och editera det). När du går till filens URL så kommer du få frågan ifall du vill lägga till scriptet till Greasemonkey. När du lagt till scriptet så kan du välja vilka sidor det ska köras på, som default körs det på alla sidor. Nu är det bara att besöka en sida där scriptet ska köras.
I menyn i firefox under Verktyg kan man hantera sina Greasemonkey script och slå/av på dem eller ändra koden i valfri texteditor t.ex. notepad.
På
http://userscripts.org finns en mängd script att köra i Greasemonkey, dock finns det alltid en risk med att köra ett script, så du bör vara försiktig med vilka script du kör och kolla på koden till scriptet innan.
Firebug är ett annat plugin till mozilla firefox som kan användas för att kolla upp kod för olika delar av en sajt. Detta kan vara mycket användbart när man vill skiva ett skript som påverkar vissa delar av en webbsida.
Fick bluescreen och hann inte se vad det stod. Dock har jag inte fått bluescreen igen, men ifall det inträffar igen nu så ska inte datorn starta om automatiskt.
* Lösning för att stänga av automatiska omstarter vid systemfel ( i vista):
Kontrollpanelen (klassisk vy) – System – Avancerade systeminställningar - Avancerat – Start och återställning – Inställningar – systemfel
- kryssa ur ”starta om automatiskt”
* Så kollar man loggar:
Utforskaren – Dator – Hantera – Loggboken