Ugh.  It just seems like there should be more control over internal flash
components from director without jumping through hopes.

I should be able to get a sprite's movieclip and change it's color via
something like 

Sprite(x).mc.color = rgb(0,10,30)

But no. I've been trying to figure this out like crazy all afternoon and I'm
about ready to give up, maybe use the flash as imaging lingo source to do
what I want.


I've tried creating in actionscript within the flash itself global color
objects as pointers to the three movieclips I want to control, ie

_global.vsBkg = new Color(visitor_strip);


So I thought I could use them as reference in director ie
VsStrip = sprite(x).getVariable("vsBkg", false)

Which is fine, it's seen as a flash object. Course I can't do a damn thing
with it.

So then following the ideas of transforms in director I create a new object
--

Hilite = sprite(x).new Object("object")

But again, can't do a damn thing with it. Following Mark Jonkman's devcenter
article I try setting all -- what 9? Parts to a color transform by
Hilite.setProp(#ra, 50), etc. Which works fine for the first one but after
that it says I can't set the properties of that object.  I tried doing
hilite = (#ra: 50, etc etc) but no go either.

That's also precluding that if I COULD set up a color transform I'd even be
able to transform those objects.

So what am I missing? Or can it not be done?

I guess I can go the stupid route of setting it up as functions in flash
it's just I wanted finer control from director. If this sort of
functionality could work - ie almost being able to write actionscript for
flash objects/sprites//members and triggering them that way, director would
be killer as a flash shell. Seems strange that we can use xtras for sql
execs but can't do this with 2 different products of one company that should
be integrated together.

[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/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!]

Reply via email to