LOADING
Loading
Hi , welcome back.
LogoutLOGOUT
 
  Lost password?  
Hi
 




 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 08-12-2004, 02:12 PM
Sewdn Sewdn is offline
Registered User
 
Join Date: Jul 2004
Location: Belgium
Posts: 27
Rep Power: 0
Sewdn is on a distinguished road
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
Reply With Quote
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

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




All times are GMT. The time now is 05:50 AM.