dcsimg
A Flash Developer Resource Site

Results 1 to 7 of 7

Thread: movies

  1. #1
    Junior Member
    Join Date
    Mar 2001
    Posts
    7

    loading movies from library

    I am making a flash website for a club at my school, and I have a directory of like 50 people, i wanted to make it when you click it, a information box would pop up, with information about them, e-mail phone number etc. And then making it draggable, and then they can close it with an X. I was successful at making the movie and making it draggable, but I am not sure how i could load it and pop it up if another one is open. I am not sure how to use the attach movie function, is this how I would do it?
    Last edited by SkiLineJR; 01-27-2003 at 03:30 PM.

  2. #2
    Junior Member
    Join Date
    Mar 2001
    Posts
    7
    does anyone know?

  3. #3
    Member
    Join Date
    May 2000
    Location
    germany
    Posts
    55
    i think all you need to do is using the loadMovie action...
    this way you can load an info.swf into an empty movieclip
    (and replace it with other info.swfs) or load it into a
    different level...

    hope this helps...

    loadMovie("info.swf",level/target)

    target A path to a target movie clip. The target movie clip will be replaced by the loaded movie or image. You must specify either a target movie clip or a level of a target movie; you can't specify both.

    level An integer specifying the level in the Flash Player into which the movie will be loaded. When you load a movie or image into a level, the loadMovie action in the Actions panel in normal mode switches to loadMovieNum; in expert mode, you must specify loadMovieNum or choose it from the Actions toolbox.
    2B II ! 2B

    ...shakespear adapted to c++

  4. #4
    Junior Member
    Join Date
    Mar 2001
    Posts
    7
    so, I have to make individual swf's, and I can't just import the movies directly into the movie? Does that make sense?

  5. #5
    Member
    Join Date
    May 2000
    Location
    germany
    Posts
    55
    yes you make individual swfs,
    but thats the point,
    you can import them into your movie!

    another way would be you
    create a movieclip with your
    info window and let it pop up
    each time you click on one
    of the names...
    (maybe with infoClip._visible = 1/0)

    the text for the info you load
    from an external text file...
    (loadVariables ("info01.txt", "_root.infoClip");
    2B II ! 2B

    ...shakespear adapted to c++

  6. #6
    Junior Member
    Join Date
    Mar 2001
    Posts
    7
    Thank you very much, with this help that you gave me, this website is going to be great! Thanks a bunch!

  7. #7
    Junior Member
    Join Date
    Mar 2001
    Posts
    7
    It works almost perfectly, except for one thing. When I have opened one of the info boxes, and then attempt to open another, the 1st one closes, and the 2nd one still opens. Anything I can do to keep the 1st one from closing? Here is the coding I have for when they click on the button.

    on (release) {
    loadMovieNum("directory/Nick.swf", _currentframe);
    }


    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