Paint Behavior


i trying create simple cavas draw on using paintbox behaviors. these steps:
1. new movie
2. ctrl5 open paint image .bmp
3. draw rectangle using rectangle tool
4. drag rectangle stage
5. drage canvas behavior library on top of rectangle
6. hit play
7. click inside of rectangle draw , error.

i did not change script, have newest update of director, , think have followed instructions. idea why following error?

"script error: object expected ptimeoutobj = timeout("canvastimeout1").new(ptimeinterval, #trypaintstroke, me)
me.paintstroke()"

> idea why following error?
>
> "script error: object expected ptimeoutobj =
> timeout("canvastimeout1").new(ptimeinterval, #trypaintstroke, me)
> me.paintstroke()"

yes, because you're using mx2004 , timeout object creation syntax
changed. alter code (watch unintentional line wrapping):
ptimeoutobj = timeout().new("canvastimeout1", ptimeinterval,
#trypaintstroke, me)


More discussions in Director Basics


adobe

Comments

Popular posts from this blog

Convierte tu Raspberry en un NAS. Firmware fvdw-sl 15.3 - Raspberry Pi Forums

How to format a Get Request

avrdude: verification error, first mismatch at byte 0x0000 0x0c != 0x62