[Flashcoders] path/attachMovie problem

2007-02-28 Thread hervé hubert
Hi, I'm making a mp3 player for a website. I started from a code which fits quite well to what I need for this project I want to include this player into my flash website. In this code there is a _root[but+i] that I would like to replace by a relative path like this.but[i] but this doesn't

Re: [Flashcoders] path/attachMovie problem

2007-02-28 Thread Chris Bowley
Hi In order to reference movieclips using an index you would need to keep them in an array. Alternatively if you don't need to reference them by name, you can use the return value of attachMovie() to keep a reference: for () { ... var mc:MovieClip =

Re: [Flashcoders] path/attachMovie problem

2007-02-28 Thread hervé hubert
thanks alot! I think this will help.. Le 28 févr. 07 à 16:46, Chris Bowley a écrit : Hi In order to reference movieclips using an index you would need to keep them in an array. Alternatively if you don't need to reference them by name, you can use the return value of attachMovie() to keep