1. As she did not have money, she did not buy the dress.
2. She did not buy the dress,as she did not have money.
Are the above sentences identical in grammar, structure obviously not and emphasis? Presumably the first part of each sentence is emphasized.
Don't leave a space between the last word and the end punctuation.