A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: What's t problem!??!?!!

  1. #1
    One cow army..OH NOES!
    Join Date
    Apr 2001
    Location
    Silvermoon
    Posts
    357
    I'm making a flash website...so i made 2 scences..the 1st is an advance preloader and the other is the site..
    When i put the preloader scence before the site scence everything start's going wrong????i donno what happens...when u click on a button it goes to a frame that it is not supposed to go to...??why...
    but when i put the preloader scence after the site's scence everything works fine???why???any ideas??
    thanx a lot

  2. #2
    Member
    Join Date
    Nov 2000
    Posts
    77
    i dunno why it doesn't work. it should. i would need more information to be able to help you. When you click a button, which frame is it supposed to go to, and where does it really go? what actions did you put on your buttons?

  3. #3
    One cow army..OH NOES!
    Join Date
    Apr 2001
    Location
    Silvermoon
    Posts
    357
    Well the problem that is my site is really complicated...
    It plays more than1 MC when u click and goes to a keyframe....
    i really can't put everything here!!!!
    but i can put the actions of the preloader...and u tell me if they change anything!????
    loader actions:

    loadedbytes = getBytesLoaded();
    totalbytes = getBytesTotal();
    loadedkbytes = Math.ceil(loadedbytes/1000);
    totalkbytes = Math.ceil(totalbytes/1000);
    if (loadedbytes == totalbytes) {
    nextScene ();
    }
    frame = int(loadedbytes/(totalbytes/100));
    tellTarget (_root.loader) {
    gotoAndStop (_root.frame);
    }





    and here is the first buttons actions:


    on (press) {
    tellTarget ("_root.line3") {
    gotoAndPlay (2);
    }
    tellTarget ("_root.main") {
    gotoAndPlay (2);
    }
    }
    on (release) {
    gotoAndPlay ("services");
    }



    hopt you help me or anyone on this....
    thanx

  4. #4
    Senior Member
    Join Date
    Jan 2001
    Posts
    591
    Try using labels.
    Hard for it to accidentaly go to the wrong frame when there is only one which uses that name

  5. #5
    One cow army..OH NOES!
    Join Date
    Apr 2001
    Location
    Silvermoon
    Posts
    357
    Well i'm using labels???don't u see Services???
    HEEEELLLLL[PPPPPPPPPP!!!!!!!
    PLEASE ALL YOU PEOPLAE OUT THERE HELP ME??

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