A Flash Developer Resource Site

Results 1 to 10 of 10

Thread: argggg... will take off clothes for immediate help!!! deadline tommorow!!!

  1. #1
    Member
    Join Date
    Jun 2000
    Posts
    43
    http://www.iopcvideo.com

    ok, go to the page, and here's my problem, click on the buttons, opening the windows.

    here's what happens:
    windows open in layers. what i mean is, the about window is on the bottom layer, then the solutions window is on top, etc... meaning, if i were to open the solutions window first and the the about us window, it would be covered up, and difficult to view.

    here's what i want to happen: i want the button that i click and the window that i open to open in top layer, so that they are opened in the order they are clicked, not the predetermined order. meaning, if i were to open solutions, and the about us, despite the fact that about us is lower in order, it would appear on the top.

    PLEASE, any help would be amazing. any suggestions. anything at all! i'm desperate. thank you kindly, john

  2. #2
    Firmly Fastened to the Milk Sac of Misanthropy
    Join Date
    Aug 2000
    Posts
    463
    So, are these layers loaded layers of individual SWFs, or are the layers you refer to layers on a single timeline? Are each of these windows that appear individual MCs? Describe the topology and I'll see if I can help (no disrobing necessary )...

    Sem.


  3. #3
    Firmly Fastened to the Milk Sac of Misanthropy
    Join Date
    Aug 2000
    Posts
    463
    I would use a swap depths. Since I don't know how your movie is set up, I can just point you here:

    http://www.actionscripts.org/tutoria...hs/index.shtml

    If you need help, post a reply to this thread.

    Sem.

  4. #4
    Personally I'm not real keen on having the layers semi transparent in the first place as it makes it very confusing to read (even the top layer). Why not just chance the visibility of the layers when you click on the main buttons. If you click on "Solutions" all the other layers (About us, Software Dev, etc.) turn off. It basically just auto closes the open windows as opposed to having to close them with your close button. I realize that this blows away the whole concept of all the dragging, but I really don't get why you'd want to drag the little windows around anywho.

    Brent

  5. #5
    Member
    Join Date
    Jun 2000
    Posts
    43
    you guys are like jesus, only not.

    the way my movie is laid out, is like this...
    it was laid out as seperate swf files, but i realized soon after, that that wouldn't work, so i made it all into one. each window is a symbol, and starts on an invisible frame, when clicked, it goes to the next frame, playing that flashing animation...

    did that answer you?

    thank you sooooooooooo much, john
    [Edited by chewan on 10-25-2001 at 01:52 AM]

  6. #6
    Firmly Fastened to the Milk Sac of Misanthropy
    Join Date
    Aug 2000
    Posts
    463
    I would definitely go through that tutorial I linked above. Play around with the exaples - I'm fairly sure it is what you're looking for.

    Sem.

  7. #7
    ism BlinkOk's Avatar
    Join Date
    Aug 2001
    Location
    , location, location
    Posts
    5,002
    Try this.
    1. In the first frame of your movie, add;
    topLevel="name of highest movie";

    2. When they press a button;
    eval("nextMovie").swapDepths(eval(topLevel));
    topLevel = "nextMovie";

    The "name of highest movie" would brobably be the "solutions" MC according to your message. The "nextMovie"
    would be the movie attatched to the button.
    So assuming your MC instance names are; "about" "solutions" "software" "trade" and "contact";
    1. First frame of movie;
    topLevel="_root.solutions";
    2. Example of "about" button;
    on (release) {
    eval("_root.about").swapDepths(eval(topLevel));
    topLevel = "_root.about";
    .
    .
    }
    Hope this helps
    BlinkOk!

  8. #8
    ism BlinkOk's Avatar
    Join Date
    Aug 2001
    Location
    , location, location
    Posts
    5,002
    This may be easier and safer;
    1. I the first frame of each MC add;
    this.swapDepths(_root.topLayer);
    _root.topLayer="_root."+_name;
    2. Create a new MC containing a square (or anything) place it on the main timeline in a layer of it's own above all the other MC's (make sure the layer occupies evey frame in the movie) and make it's instance name "marker"; In the first frame of this MC add;
    _visible=false;
    3. In the first frame of the main timeline add;
    topLayer="_root.marker";
    Hope this helps!
    BlinkOk

  9. #9
    ism BlinkOk's Avatar
    Join Date
    Aug 2001
    Location
    , location, location
    Posts
    5,002
    Sorry,
    Lines;
    1. I the first frame of each MC add;
    this.swapDepths(_root.topLayer);
    Should read;
    1. I the first frame of each MC add;
    this.swapDepths(eval(_root.topLayer));

  10. #10
    Member
    Join Date
    Jun 2000
    Posts
    43
    BlinkOK. much like jesus, you are my savior. that was the only method that i could have used, b/c i still had my buttons which needed to remain on the top layer. you ever need some feedback on a site, or some help, or even someone's legs broken, i'm your man. thank you soooo very much, and thank you to everyone else who also gave me advice/feedback. john

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