firegambler
Technical User
hi out there
i'd like so set the rectangle i put on the stage to be my background to random-color when the film is loaded.
the problems are the following:
i didn't manage to initiate an operation when the film loads (via onclipevent(load) )
i don't know how to transfer a math.random()-number into a hexadecimal value (and how to put a function producing such a value into the setRGB()-function in a way that it is accepted by setRGB)
thanks
Firegambler
i'd like so set the rectangle i put on the stage to be my background to random-color when the film is loaded.
the problems are the following:
i didn't manage to initiate an operation when the film loads (via onclipevent(load) )
i don't know how to transfer a math.random()-number into a hexadecimal value (and how to put a function producing such a value into the setRGB()-function in a way that it is accepted by setRGB)
thanks
Firegambler