A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: really dumb question?

  1. #1
    Junior Member
    Join Date
    Jan 2006
    Posts
    8

    really dumb question?

    go here:
    http://www.johncommon.com/presskit

    When you click any link, the main page still is there.

    I have this code for each button:
    on (release) {
    _root.gotoAndStop("blankFrame");
    loadMovie("bio.swf",100);
    }

    I dont understand whats going on?
    Theres just a simple "stop" command at the end of the bird animation..
    help?
    (using flash mx)

  2. #2
    Senior Member
    Join Date
    Jun 2005
    Posts
    132
    can you post your FLA? a couple of guesses, is that you did an "insert keyframe" instead of "insert blank keyframe"

  3. #3
    An FKer
    Join Date
    Sep 2005
    Location
    Ontario
    Posts
    1,167
    leorabbit,

    In order to load a movie, you have to have a movieclip to load it into. So create a blank movieclip (Ctrl-F8) and drag it onto the stage.

    Now give this blank movieclip on your stage and instance name of something like holder

    Next modify your code to look like:
    code:

    on (release) {
    _root.gotoAndStop("blankFrame");
    _root.holder.loadMovie("bio.swf",100);
    }



    Good luck

  4. #4
    Junior Member
    Join Date
    Jan 2006
    Posts
    8
    awesome yeah I fixed it,

    I just needed blank keyframes at the end of the bird animation.. DUH hehe
    tx guys!

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