The Component
Hi,
So… Here it is, the component ! I made a component from my engine, since a lot of people find that easier to use than manually adding all the classes to the right folder.
Download it here: A* component
Installing the component
Firstly, you’ll need the MacroMedia Extension Manager. You can download it from the macromedia website (click), but chances are that you already have it installed in your MacroMedia directory.
Open the Extension Manager and choose File -> Install Extension
Navigate to the downloaded mxi package (unzip the .zip file). Click ‘accept’ to accept the (standard) conditions. The component will now have been installed and you will be asked to restart Flash. Please do so.
Once Flash is restarted, open the components Panel (Ctrl + F7). In the category ‘Pathfinding’, you will see a component named ‘Astar’. Simply drag the component to your stage and you are done!
I will post an article on how to use it very shortly!
Cya