
Welcome Guest
|
#1
|
|||
|
|||
|
referencing 'inline' MovieClips
Hi,
How to refer (from an external .as file) to MovieClips that were added during design-time in Flash? Say I have a MC mc1 of type 'MainMC' (or more instances mc2, mc3, ...) Every instance of MainMC consists of 2 other MC's of type 'InlineMC'. I drag these MC's from my library on to the stage and give them the names mcA and mcB. Both the MainMC and InlineMC are linked for external use (with the identifier names MainMC and InlineMC). When I try to refer fromout MainMC.as to the mcA and mcB, I get an error saying that the method mcA does noet exist ( )Since i dragged instances of InlineMC onto the MainMC stage, I suppose every instance of MainMC has the instances as (public) attribute: mc1.mcA mc1.mcB mc2.mcA mc2.mcB ... Does every MC have to be added with the attachMovie() method in the external script before it is accessible? thanx, Sewdn |
«
Previous Thread
|
Next Thread
»
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| unloading movieclips | darshanrane | Flash 8 |
2 | 04-28-2006 03:42 PM |
| Bar graph, _xscale property and referencing movieclips | jwhittlestone | Actionscript 2.0 |
0 | 04-27-2006 03:45 PM |
| Images inside MovieClips inside MovieClips | GlennNZ | Actionscript 2.0 |
6 | 08-24-2005 02:50 AM |
| How to stop and play movieclips | cayohueso | Newbies |
1 | 01-12-2005 09:37 AM |
| Referencing Movieclips from loaded movies | Hugo | Flash MX ActionScript |
8 | 02-20-2003 04:16 AM |

Programming Languages

)

