A Flash Developer Resource Site

Results 1 to 1 of 1

Thread: loading external movie problems

  1. #1
    Senior Member
    Join Date
    Jun 2006
    Posts
    136

    loading external movie problems

    hey there

    would someone beable to help me with this problem

    I have a main movie, within this movie are two buttons button1 +2. when you press button 1 it loads in and external movie called load.swf, this movie(load.swf)also loads in small external movies(movie_02 + _03).

    button 2
    this loads in movie(who.swf)

    the problem I have is when I press button 2 I need the external movie 'load.swf) to unload but because the actionscript is on the external(load.swf) movie I think my code for button 2 is wrong and I'm not sure what to do?

    I think I have to tell button 2 to read out of main movie to the movie load.swf, then from in there go to 'graphics'(movie within load.swf)and play out the exit anim???? AArrrrrgghhh!

    this is what I have on button 2

    on (release){
    if (_root.graphics._currentframe == 27) {
    play();
    }
    initMovieLoad('who.swf');
    }

    is it here I need to change code vv?

    if (_root.graphics._currentframe == 27) {

    attached are the example files

    any help would be greatly appreciated!!
    Attached Files Attached Files

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center