hi,
http://www.kkti.com/ has a coloring book for children - you can download it
and learn how to do it. also requires XOject which you can download too.
have you checked the director8 sample movie "imaging.dir" in the learning
folder? might be of some help, there are many build-in behaviours in
director8 that do stuuf like painting programmes.
lastly, might not be of much help but this moviescript changes the color of
a vector randomly on mouseUp:
_______________________
global gOriginalballVertexList
on startMovie
-- save the original vertex list to restore shapes
gOriginalballVertexList = member("ball").vertexList
end
on mouseUp
-- set each attribute to a new random value
member("ball").fillColor = rgb (56 + random(200), 56 + random(200), 56
+ random(200))
-- member("ball").fillMode = [#solid][random(1)]
-- member("ball").endcolor = rgb (56 + random(200), 56 +
random(200), 56 + random(200))
-- member("ball").fillCycles = random(7)
-- member("ball").fillDirection = random(360)
-- member("ball").fillOffset = point(20 - random(40), 20 -
random(40))
-- member("ball").fillScale = random(80)
updateStage
end if
end
on restoreball
member("ball").vertexList = gOriginalballVertexList.duplicate()
end
on stopMovie
member("ball").vertexList = gOriginalballVertexList.duplicate()
end
_________________________
cheers -
1nes
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
> Behalf Of jayson
> Sent: 17 April 2001 17:07
> To: [EMAIL PROTECTED]
> Subject: <lingo-l> Can I change the vector color with lingo?
>
>
> Hey guys..
>
> I've been trying to think of the best way to create a children's
> coloring book in director. I know this is not an original idea.. so I was
> wondering if anyone knew where I could find samples.. or just give me the
> basic idea on how the coloring book would best be programmed with lingo.
>
> There will be a color pallet of 16 colors.. The coloring book
> will be 12
> pages long. I have already animated the pages flipping to the next page.
> This coloring book will only have one tool the PAINT BUCKET. I
> want control
> vector shapes with Lingo.. Can I change the vector color with lingo?
>
>
> Thanks for you time..
>
> Jayson
>
>
> [To remove yourself from this list, or to change to digest mode, go to
> http://www.penworks.com/LUJ/lingo-l.cgi To post messages to the list,
> email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED])
> Lingo-L is for learning and helping with programming Lingo. Thanks!]
>
>
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi To post messages to the list,
email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo. Thanks!]