A Flash Developer Resource Site

+ Reply to Thread
Results 1 to 6 of 6
  1. #1

    resolved

    I am very new to the Flash environment, and have had some success making Flash movies. I want to create a Flash site with a Flash interface, but I can't seem to find any sites that give directions on how to create click replacement windows. In other words - I've used Fireworks and PS 6.0 to create image slicing done in such a way that when you click button A, something changes in window B. Or when you roll over button A, something opens in window C.

    Are there any tutorials anyone knows about to create such an interface?

    If you're still unclear as to what I'm referring, you can go to http://www.ddyb.com and look at the nav bar at the top of the main frame.

    Thanks so much in advance for any help!

    SK

  2. #2
    Old dog learning new tricks

    Join Date
    Dec 2000
    Posts
    1,498
    This is maybe one of the easiest things u can do with Flash. But u must learn some basics first. Like what r the buttons and the movie clips and how they behave. So try the lessons that come with the program and search for tutorials here in Flashkit.
    The principle is this:
    U have several buttons which when they r rollovered they change their content and they "tell" a movieclip to goto a specific frame of its timeline, where a certain content is shown.

  3. #3
    Originally posted by k-giannis
    This is maybe one of the easiest things u can do with Flash. But u must learn some basics first. Like what r the buttons and the movie clips and how they behave. So try the lessons that come with the program and search for tutorials here in Flashkit.
    The principle is this:
    U have several buttons which when they r rollovered they change their content and they "tell" a movieclip to goto a specific frame of its timeline, where a certain content is shown.
    I know how to create the buttons and the movie clips. That's not my dilemma. I'm want to know how to tell the movie clip to appear in a particular location. Specifically, what's the command?

    Thank you!!!

  4. #4
    Junior Member
    Join Date
    May 2001
    Posts
    13
    Here is what you need to do.
    For the portion of the screen you want to change you should create a blank movie clip and name the instance on the stage whatever you want, change for example.
    Then on each of your buttons you need to add an action. This would be the loadMovie action. You can add this action and select the movie you want to load and use the target movie clip instance, continuing the example above it would be change.
    So it would look like this:
    on (release) {
    loadMovie ("mymovie.swf", "change");
    }
    Then change the release event to a rollOver event and add another action for the rollOut state.
    Example:
    on (rollOver) {
    loadMovie ("fromtheeditor.swf", "change");
    }
    on (rollOut) {
    loadMovie ("navigate.swf", "change");
    }


    Hope this helps

  5. #5
    Old dog learning new tricks

    Join Date
    Dec 2000
    Posts
    1,498
    If u want to set the coordinates of a movie clip use something like:
    setProperty ("theclip", _x, 100);
    setProperty ("theclip", _y, 100);

  6. #6

    Smile Perfect!!

    That's exactly what I was looking for! 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