Ok, I got that part working, but how does the thing I dropped it on get
the events from the component I dropped onto it ?
I tried:
this.addEventListener("onScroll", this.target);
but that didn't seem to work.
Hans Wichman wrote:
Hi,
if you create a component and hook up a class to it, and provide a
method such as:
[Inspectable(_targetInstanceName="")]
function set _targetInstanceName(targetName:String) {
//do whatever
}
you can drag and drop your component on another clip and your
instance's _targetInstanceName will be set to the name of the clip you
dropped it on.
greetz
Hans
At 04:56 PM 12/23/2005, eric dolecki wrote:
You mean
mc._name ?
On 12/23/05, Mark Ribau <[EMAIL PROTECTED]> wrote:
>
> Hey folks,
>
> I'm in Flash 8 Pro, building for Flash 7 player. I'm trying to get
> _targetInstanceName working, but I can't seem to get it to work. Does
> anyone have a good example of how to get it working?
>
> --
> Mark Ribau
> Lead Windows Developer | My Tech Blog
> <http://www.redbugtech.com/blogs/mark.php>
> Redbug Technologies, Inc. <http://www.redbugtech.com> -
www.redbugtech.com
> _______________________________________________
> Flashcoders mailing list
> [email protected]
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
--
Mark Ribau
Lead Windows Developer | My Tech Blog
<http://www.redbugtech.com/blogs/mark.php>
Redbug Technologies, Inc. <http://www.redbugtech.com> - www.redbugtech.com
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders