Skip to main content
Inspiring
December 9, 2006
Question

Attachmovieclip problem

  • December 9, 2006
  • 2 replies
  • 230 views
Hello all,

What i want is to attach a movieclip that is attached to the _root.

Here is what I have,

function component(label)
{
_root.attachMovie("roundledcomponent", "roundledcomponentHolder",
this.getNextHighestDepth());
_root.roundledcomponentHolder._x = 100;
_root.roundledcomponentHolder._y = 100;

_root.roundledcomponentHolder.attachMovie("up", "upHolder",
this.getNextHighestDepth());
_root.roundledcomponentHolder.upHolder._apha = 50;
} //end function component


I am sure the properties for roundledcomponent and up are ok, i do get the
roundledcomponent.. the up wont attach to the roundledcomponent.

Any ideas?

regards,
Peter


This topic has been closed for replies.

2 replies

Inspiring
December 10, 2006
typo in the alpha, but that is not the problem, the up clip does not attach
to the component. I added a trace an enormous blue dot to verify. not
getting the dot or the trace output.

puzzles me


"Erick Souza" <erickrsouza@gmail.com> wrote in message
news:elfguk$evu$1@forums.macromedia.com...
> Peter, which the problem?
>
> The property alpha is written incorrectly, but other problems don't exist.
>
> --
> Regards,
> Erick Souza
> www.ericksouza.com


kglad
Community Expert
Community Expert
December 10, 2006
what's in the output panel after calling component() with the following trace()'s:


Inspiring
December 9, 2006
Peter, which the problem?

The property alpha is written incorrectly, but other problems don't exist.

--
Regards,
Erick Souza
www.ericksouza.com