KDP is very simple to set up and involve a standard Flash Builder project import.
- Get Adobe Flash Builder 4.
- Checkout the KDP 3 project trunk using your svn client of choice. or download the project bundle from the project page.
- You should import the two projects inside the trunk into Flash Builder:
- Right click the navigation panel.
- Import...
- Choose the project to import (KDP_3 or kdp3Lib) and click Finish.
- Do the same for both projects.
- Make sure you have Flex 3.4 SDK version installed, if not, you should download and install it for Flash Player 10.
- Right click the KDP_3 project, and click Build Project.
That's it, you're all set and ready to write kdp 3 plugins!




Comments
problem debugging
Hi,
I followed the above instructions and ran into an error when debugging the KDP_3 project. First of all I edited the .actionscriptProperties files in both projects to use SDK 3.5 instead of 3.4, just to see if it worked, and everything compiled without errors. I set up the debug project to point to KDP_3/bin-debug/kdp3.html and when I debug, I get a null pointer error. The offending line is line 339 in LoadConfigCommand.as:
setLayout(XML(_configProxy.vo.kuiConf.confFile));
kuiConf is null.
I'm not too familiar with the code yet, so I am wondering if i'm supposed to add any files to the bin-debug directory? maybe a uiconf or something?
Also, a few things that may help others:
1. i use subclipse inside flash builder 4, and rather than just checking out the tag containing both projects and then importing them into FB, I checked out each project directly in subclipse, then there is no external svn program necessary.
2. i also checked out the as3FlexClient project and added it to the source path for the KDP_3 project so that I can command-click on classes in the KDP_3 project and have the source code open.