Wrox Home  
Search P2P Archive for: Go

  Return to Index  

flash_programming thread: Question about masking


Message #1 by csvega <csvega@y...> on Wed, 6 Feb 2002 20:22:17 -0800 (PST)
--0-21337694-1013055737=:3694
Content-Type: text/plain; charset=us-ascii


 Hi everyone,
Please help me if you know how to do it:
 
I successfully made a draggable mask now, (The revealed part will follow the mouse movement and picture underneath can be seen.
Now., I want to make it such that when mouse is over the mask area, the mask's _xscale will expand horizontally while keeping the
image underneath unchanged.  So visually it's like a picture is revealed under a moving mask when mouse is point over. The picture
will stay in the same place, under the mask is expanding. And after certain time, for example, 2 s, the mask will 'contract' back to
the original scale, and rest on where the current mouse position is. 
Somehow what happen is when the mask expand my picture underneath keep moving sideways.
Thanks..
 
  Pallav Nadhani <pallav@n...> wrote: Hia,

Yes. You can send the data to clip parameters of smart clip.

What you need to do is to create an instance of the smart clip in the 
movie and name it as lets say myMC.

Now you can use actionscript to assign the values.

For e.g., if color is a property of the Movie Clip (MC) then u can simply 
write : 
myMC.color = "FF1234";

Similarly, you can send an array of values.

Rgds
Pallav Nadhani

> hello all
> is it possible to send the data to clip parameters of smart clip?
> can any one know about this, if yes plz let me know or send an examples 
file as an attachment.
> 
> thanks
> ramesh.v
> 
> 
> 
> -
> 
> On Sat, 13 Oct 2001 00:01:14 
> Flash Programming digest wrote:
> >FLASH_PROGRAMMING Digest for Friday, October 12, 2001.
> >
> >1. Re: Continuous Navigation Menu
> >2. RE: Creating Dynamic Links?
> >
> >
> >
> 
> 



---------------------------------
Do You Yahoo!?
Send FREE Valentine eCards with Yahoo! Greetings!

  Return to Index