What does the operator /= mean in action script? I have seen some easing functions using this:
var ts:Number=(t/=d)*t;
but have no clue what this t/=d mean.
Thanks in advance.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
foo /= baris a shorthand form offoo = foo / bar.The return value from the
foo /= baroperation isfoo / barThe expanded form of this code is:
A better way of writing that line would have been: