So you made a hit in Flash. But, you want people to be able to play it with the Wii. You don't know what to do. But now, I'm gonna tell you how you can do it.
Adobe Flash CS4 Professional Edition Nintedo Wii Wii remote API for Flash Things You'll Need 1. Wii 2. Adobe Flash Adobe CS4 Profesional Version or Later 3. Wii Remote API for flash Now heres where the API comes in:
Implement the Wii remote API by downloading and extracting it into the same directory as your Flash project file and placing the following line at the top of each code file you wish to use the Wii remote feature in:
import com.wiicade.*;
This line should go into each code file for each layer you wish to use. For example: if you have a code file for Layer 1 Frame 1 and a separate code file for Layer 2 Frame 1, you must place the statement at the top of both files in the Flash Studio Actions editor.
Once you have the necessary import statement in your code, you can begin using the advanced features of the WiiCade Remote API. Here's a good example of how it should look:
import com.wiicade.*;
function onEnterFrame() { var remote = Wii.getPrimaryRemote();
if(remote.isDown(WiiRemote.BUTTON_B)) { var x = remote.getCursorX(); var y = remote.getCursorY(); //Shoot something! } }
Don't leave anything out or it won't work properly.