PDA

View Full Version : Controlling loaded swf instances clips?



tstefan
May 8th, 2003, 03:55 AM
This is my problem.

I hava a move clip called Main in witch I load Interface and than load Content swf clip.I was trying to control a object (movie clip in loaded Content swf clip) with asctionscript in Interface swf and inversely, but nothing happend.

I hava a button on the interface which I would like to activate when I click on the some area of the Content swf .

Please help.

C:-) C:-) :smirk:

brainy
May 8th, 2003, 03:56 AM
you can control it normally, but you just need to wait for it to actually load first...

tstefan
May 8th, 2003, 04:36 AM
How can I Invoke onLoad event when I am loading external swf?

brainy
May 8th, 2003, 04:39 AM
thats the thing, you cant. you have to wait till getBytesLoaded equals getBytesTotal...

tstefan
May 8th, 2003, 04:50 AM
How can I get loaded bites of loading swf from movie in witch he is loading?

brainy
May 8th, 2003, 06:39 AM
i just told you how :) MovieClip.getBytesLoaded would give the amount currently loaded, and MovieClip.getBytesTotal would give you the size of the whole movie. replace MovieClip with the name of the clip you're loading to...