Flashcards and rote form of studying both have their advantages and disadvantages given the condition when which form is used.
At an early age rote form and flash cards can be useful to recognize and remember the basic words, definitions etc, it is interesting and gives a long time result. For example basic alphabets and words can be memorized by this method but when it comes to grammar you cannot use this.
The disadvantages are that on an advanced level that is not the way to learn, it is opposite of problem solving and learning process. This is very limited and can become very tiresome or boring method eventually to be left.
Both forms have advantages when used at proper time and level, and disadvantages when used wrongly.