A Flash Developer Resource Site

Results 1 to 7 of 7

Thread: Is it a Load-movie, Go-to-frame..?!?

  1. #1
    Junior Member
    Join Date
    Jun 2004
    Location
    Israel
    Posts
    23

    Is it a Load-movie, Go-to-frame..?!?

    Hi and thanks in advance!
    I'm a new in this, learning by myself. My terminology is probably not right so please be patient to my explanation:
    - I'm creating a web page. Buttons get me to new pages with new html address, and I know how to do this. Now, I want to create a group of buttons, where each button takes me to another frame and not to a whole new address. Do I create a separate swf/fun and try to address each of these buttons to a certain frame/frames of the new film? How?!
    This looks like the the most common action, and I'm stuck! Please help!

    Grateful,
    Tiina, the newest member

  2. #2
    undead creature necromanthus's Avatar
    Join Date
    Feb 2002
    Location
    ROM
    Posts
    1,890
    Hi TIINA,
    There is no need to create another SWF file for your pages.
    Let's take this example: you have 5 buttons and you wanna jump to other 5 "pages".
    1) create a 6 keyframes movie (your buttons are in the first frame).
    2) add the stop action for each frame.
    3) for the first button set this action: goto Frame 2 and stop
    4) for the second button set this action: goto Frame 3 and stop
    ...
    To set these actions: right mouse click for each button & Show Properties / Action.

    try to do your best.

  3. #3
    Junior Member
    Join Date
    Jun 2004
    Location
    Israel
    Posts
    23
    Thanks for the quick response!!!
    I'll let you know. Now back to work...

    T

  4. #4
    Senior Member
    Join Date
    Jun 2000
    Posts
    3,512
    This approach is used in most of the web interfaces supplied with KoolMoves. Add one of those to a blank movie and use menu bar Views > Actions and Sounds to study the actions.

  5. #5
    Junior Member
    Join Date
    Jun 2004
    Location
    Israel
    Posts
    23
    That's lovely, thanks.

    Part 2 for my question: When a button takes me to another frame, I want the frame show up as "initial-fade-in" or other similar visual effect. Do I have to add frames, and how does the command "goto frame x and stop" behaves if I have few frames to relate to? I tried few ways, with no success.


    Thanks, Tiina

  6. #6
    undead creature necromanthus's Avatar
    Join Date
    Feb 2002
    Location
    ROM
    Posts
    1,890
    Originally posted by Tiina
    Part 2 for my question: When a button takes me to another frame, I want the frame show up as "initial-fade-in" or other similar visual effect. Do I have to add frames, and how does the command "goto frame x and stop" behaves if I have few frames to relate to? I tried few ways, with no success.
    Hi Tina,
    In this case, replace the "goto frame x and stop" with "goto frame x and play".
    A simple method (without using ActionScript) to get the "fade-in" effect for the entire movie is to create a rectangle-shape (same size with the movie size and same color with the background color).
    Now change the "alpha value" (transparency) for this shape from 0 (in the first frame) to 100 (in the last frame).
    For example, if you add 9 more frames, you'll have: 0,10,20,30,...,100.
    That's all.

  7. #7
    Junior Member
    Join Date
    Jun 2004
    Location
    Israel
    Posts
    23
    I'll try that. Thanks!

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