This content has been marked as final.
Show 6 replies
-
1. Re: Why Does This Not Work?
Newsgroup_User Nov 14, 2006 9:50 AM (in response to jandron)jandron wrote:
> imageHold_mc.attachMovie ("movie1", imVisible, this);
>
> imageHold_mc.attachMovie ("movie" + vertVal, "movie" + vertVal + "_mc", this);
I think you forgot the depth value parameter. Take a look in the manual
(F1). -
2. Re: Why Does This Not Work?
jandron Nov 14, 2006 10:50 AM (in response to jandron)If I understand the parameters correctly..."this" is the depth parameter value which is basically the depth of the movie clip "imageHold_mc". Isn't that right? -
3. Re: Why Does This Not Work?
.:}x-=V!P=-x{:. Nov 14, 2006 11:11 AM (in response to jandron)as you look closer at the parameters you will notice depth has to be a number..... ;p -
4. Re: Why Does This Not Work?
jandron Nov 14, 2006 11:45 AM (in response to jandron)I'm still not sure why this is important...i appreciate it althought the attachMovie is working fine. What's not working is the
_root.imageHold_mc.imVisible.gotoAndStop(horVal);
where imVisible seems to not want to work but if I hard code it...it works fine. So the question is...can I use a variable in this manor? -
5. Re: Why Does This Not Work?
.:}x-=V!P=-x{:. Nov 14, 2006 1:55 PM (in response to jandron)try it and you shall see the light! -
6. Re: Why Does This Not Work?
Newsgroup_User Nov 15, 2006 2:54 AM (in response to jandron)jandron wrote:
> I'm still not sure why this is important...i appreciate it althought the
> attachMovie is working fine. What's not working is the
>
> _root.imageHold_mc.imVisible.gotoAndStop(horVal);
>
> where imVisible seems to not want to work but if I hard code it...it works
> fine. So the question is...can I use a variable in this manor?
Do you mean you put a number on the same code line instead of the
parameter? Or did you call it from elsewhere? For me the parameter looks
ok. The only thing was the depth parameter. When two clips use one depth
you can get into trouble. I think the reference from one clip gets lost
and you can't refer to it anymore. Maybe that is the case here.