A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: bug in MX or ????

  1. #1
    Member
    Join Date
    May 2001
    Posts
    70
    this.createEmptyMovieClip("empty",1);
    var th = this["empty"];
    th.createEmptyMovieClip("temp",1);
    th.custom = function () {trace("custom_method");}
    th.onData = function () {trace("pic1.swf_ is loaded");}
    th.loadMovie("pic3.swf");

    /* when loading external movie(swf,jpg) in a target clip all
    the methods of the targeted clip (custom and build-in) disappear after the image is fully loaded but they are present durring loading time.*/

  2. #2
    Member
    Join Date
    May 2001
    Posts
    70

    hello is there anybody out there?

    Any of the board crew members to answer the question?

  3. #3
    Senile member! :)
    Join Date
    Dec 2001
    Location
    Saunaswamp (transl)
    Posts
    2,296
    I'm not really sure but I think this is because the loaded MC totally replaces a targeted MC. So all functions, objects, variables or other data contained in there will be lost.

    /Mirandir

  4. #4
    Member
    Join Date
    May 2001
    Posts
    70

    any suggestions???

    Any suggestions for a workarround?

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