A Flash Developer Resource Site

Page 2 of 2 FirstFirst 12
Results 21 to 25 of 25

Thread: Help, extremely new

  1. #21
    bwalsh
    Join Date
    Mar 2009
    Posts
    19
    as a trial, I made a simple 3 frame document with 3 buttons to navigate through them. When I test the movie, it moves immediately to the last frame and stays there, not reacting to the buttons at all.

    stop();
    F1.onRelease= gotoAndStop(1);
    F2.onRelease= gotoAndStop(2);
    F3.onRelease= gotoAndStop(3);

    still cannot attach files, as even a blank fla with no information exceeds the upload limit. if anyone could help with that too, I would be very grateful

  2. #22
    Space Midget Wrangler
    Join Date
    Sep 2002
    Posts
    129
    You are so very close. The problem is that you are using the wrong kind of bracket. Try this:
    PHP Code:
    stop();
    Cavalry_FullText.onRelease= function(){
         
    gotoAndStop(1);
    };
    Cavalry_Occ.onRelease= function(){
         
    gotoAndStop(2);
    };
    Cavalry_Wire.onRelease= function(){
         
    gotoAndStop(3);
    };
    Light_FullText.onRelease= function(){
         
    gotoAndStop(4);
    };
    Light_Occ.onRelease= function(){
         
    gotoAndStop(5);
    };
    Light_Wire.onRelease= function(){
         
    gotoAndStop(6);
    }; 
    A little pain never hurt anyone

  3. #23
    bwalsh
    Join Date
    Mar 2009
    Posts
    19
    Without words. This has stretched my nerves past breaking, just about to hire someone to do the whole thing. Thank you SO much

  4. #24
    bwalsh
    Join Date
    Mar 2009
    Posts
    19
    Ok, the code works...mostly. The first three buttons (Heavy_Infantry, Light_Infantry, Cavalry) work just fine. Also, the next three buttons (Cavalry_FullText, Cavalry_OCC, and Cavalry_Wire) also work. All buttons after that do not. Any ideas?

    stop();
    Heavy_Infantry.onRelease= function(){
    gotoAndStop(7);
    };
    Light_Infantry.onRelease= function(){
    gotoAndStop(4);
    };
    Cavalry.onRelease= function(){
    gotoAndStop(1);
    };
    Cavalry_FullText.onRelease= function(){
    gotoAndStop(1);
    };
    Cavalry_Occ.onRelease= function(){
    gotoAndStop(2);
    };
    Cavalry_Wire.onRelease= function(){
    gotoAndStop(3);
    };
    Light_FullText.onRelease= function(){
    gotoAndStop(4);
    };
    Light_Occ.onRelease= function(){
    gotoAndStop(5);
    };
    Light_Wire.onRelease= function(){
    gotoAndStop(6);
    };
    Heavy_FullText.onRelease= function(){
    gotoAndStop(7);
    };
    Heavy_Occ.onRelease= function(){
    gotoAndStop(8);
    };
    Heavy_Wire.onRelease= function(){
    gotoAndStop(9);
    };

  5. #25
    bwalsh
    Join Date
    Mar 2009
    Posts
    19

    Sample Pic

    This is how the vid looks now. Its the three buttons to the lower right that don't work
    Attached Images Attached Images

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