Amanda Bynes allegedly demanded access to her $5 million fortune.

The former 'What I Like About You' star - who has sparked concern for her welfare in recent months after displaying erratic behaviour - reportedly decided to cash in all of her investments recently so she could further indulge her shopping habits, and friends fear she may go broke.

A source close to the 27-year-old actress told gossip website ''While Amanda was growing up her parents and lawyers controlled all of her money, they put it away in investments so that she would be able to have it when she got older.

''Amanda made a lot of money starting with Nickelodeon and then other TV shows and movies, but she lived like a regular girl when she was young. However, a few months ago she demanded that she have complete access to all of the money so she could spend it, not save it anymore.

''Amanda knows she has a lot of money. Before she wasn't restricted from getting to it, but a lot of it was tied up in investments and banked for her future, but she insisted that she be able to use all of it as she sees fit and there is nothing anyone can do to stop her from spending it all.

''Amanda can do whatever she wants for a while with all of her money but it isn¹t going to last forever if she spends the way she has been lately. She¹s rich but she could find herself in financial trouble pretty soon.''

The 'Easy A' actress, who recently admitted she is suffering from an eating disorder, has reportedly been wandering aimlessly around New York City at night.

She was also involved in a series of legal troubles recently, and in December she settled two hit-and-run cases after reaching a civil compromise with her victims, saving herself from a potential 12 months in jail.