Don't just learn; use them together, Flash can export to .fxg format that can be read by Illustrator and then you can use ai2Canvas[0] to have the same graphics in canvas. Plus if you need more advanced control the code can be easily parsed because it includes comments with the names of the original layers.