A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: debugging challenge

  1. #1
    Senior Member
    Join Date
    Jan 2003
    Posts
    332

    debugging challenge

    i have a portfolio site that loads separate .swf's for each gallery where the thumbnails load an image dynamically and then become buttons. for the "on release" when the big images come in, i am calling first to a preloader that sits in the main movie. i can get the two images i am using for testing (in the people section) to work but only the first time i click them. the second time it won't load the other image. it's as if the preloader sees the image holder MC as full or something im stuck, any thoughts on what might cause this appreciated.

    http://www.headwatersdesign.com/testing/vinito.html

    i have used a similar "loading external images into a empty MC by way of a preloader" before and it worked.

    the files are here

    http://www.headwatersdesign.com/testing/files.zip

  2. #2
    Senior Member
    Join Date
    Jan 2003
    Posts
    332
    it was the order that tings were being called in

    incorrect:

    on(release){
    bigimage = "image" + thumbnail;
    textframe = "t" + thenumber;
    if (currentimage != thumbnail)
    loadMovie("images/" + _root.galleries[bigimage], _root.galleries.imageholder)
    currentimage = thumbnail;
    _root.clicksound.play();
    _root.galleries.preloader.gotoAndStop(2);
    _root.galleries.textloader.gotoAndStop([textframe]);
    }



    correct:

    on(release){
    bigimage = "image" + thumbnail;
    textframe = "t" + thenumber;
    if (currentimage != thumbnail)
    _root.galleries.preloader.gotoAndStop(2);
    loadMovie("images/" + _root.galleries[bigimage], _root.galleries.imageholder)
    currentimage = thumbnail;
    _root.clicksound.play();
    _root.galleries.textloader.gotoAndStop([textframe]);
    }

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