Anything that has a pyrotechnic base is iffy at best. Many places dont allow them, some places outright ban them because of very real fire hazards.
Not sure since I've never looked at the emergency ones Ibby mentions, but they also may be banned in certain areas. Check with your local authorities if you wish to save yourself from a lot of grief.
Making your own is never a smart move either.