welcome to my space

Posted by: wktd | March 11th, 2010 |
  • I got 13 movies in my first scene...I know how to make them appear by the tell target action...i need to know how to make them dissappear...ok...the thing is that i don't want to make one more than one scene...i want the whole site to open in the same scene...now i need to make them disappear on any mouse release...capisci?...pom told me to use variables...but i don't know how to make variables...that's basically my problem...hope u understand...
    8o


  • ok...now what are all those 1, 2, 3's about?...


    _______________________________________


    this is where the sections (movie clips) play

    ________________________________________

    menu
    w/buttons

    you press one of the buttons and a movie plays in the "box"...
    treat me like a dumb...
    i think i'm getting something...please if u can explain me the lines one by one...


  • All comments are in green

    on(press){
    nNumber = 2 // this sets the variable "nNumber" to 2.
    }

    onClipEvent(enterFrame){
    if (_root.nNumber == 3){ //says if nNumber = 3 do the following
    _visible = 0 //0 = false
    }else{ //if nNumber is not equal to 3 do the following
    _visible = 1 //any other number = true
    }
    }


  • exactly...dissapear one-by-one each time the button is released...this is the deal: i'm creating an interactive magazine...my client wanted something like zoozoom.com (in fact he told me to do exactly the same thing with different colors...i had to tell him that that was illegal...)...
    The thing is that i have a menu with 10 sections and i want them to open (already accomplished by the tell target action)...the thing is that i want that when you press ANY section, the ACTIVE movie go kind of visible=false...capisci?...
    @#%$ i'm desperate...the company i work for kinda expects a "little" (sarcastic) more than i know...i asked for the book cuz they're going to pay for it...or them...so there's no prob with the money...
    i know i'm not explaining it very well but truly i don't know any other way to say it....hope u understand...

    oh and sorry for making the new topic and everything but the last time nobody answered me anymore...i kept replying and no one answered... :-(

    THANX!!!!!!!!!!!!!!!!!!


  • ok...perfect...then if i have 10 buttons each button would be 2,3,4,5 (nNumber = 2, 3, 4)...consequently...?

    -what is nnumber?

    or nNumber is gonna be always 2...because that is a variable for all buttons so that the movie recognizes ...........? @#%$ i'm completly lost all of a sudden...

    can i send u an email with the source?

    THANX!


  • exactly...dissapear one-by-one each time the button is released...this is the deal: i'm creating an interactive magazine...my client wanted something like zoozoom.com (in fact he told me to do exactly the same thing with different colors...i had to tell him that that was illegal...)...
    The thing is that i have a menu with 10 sections and i want them to open (already accomplished by the tell target action)...the thing is that i want that when you press ANY section, the ACTIVE movie go kind of visible=false...capisci?...@#%$ i'm desperate...the company i work for kinda expects a "little" (sarcastic) more than i know...i asked for the book cuz they're going to pay for it...or them...so there's no prob with the money...


  • ok jubba....i did what you say...it doesn't works...it does nothing...here's the code i did for the button...
    on (release) {
            tellTarget ("/menu") {
                    gotoAndPlay ("continue");
            }
    }
    on (release) {
            tellTarget ("high low tide") {
                    gotoAndPlay ("start");
            }
    }
    on (press) {
            nNumber++;
    }

    and for the movie clip:

    onClipEvent (enterFrame) {
            if (_root.nNumber == 1) {
                    _visible = 0;
            } else {
                    _visible = 1;
            }
    }

    on the next movie clip i wrote nNumber == 2

    is that it?....


  • couldn't find the URL. I don't know where your movieclips are in relation to the Buttons, I'm pretty sure that is the problem, but to know for sure I need to see the FLA. Why can't you send that file? I transfer 30MB files daily...? are you using a server that limits the size? or try again with that link...its the only way I will be able to see it...sorry.


  • ok, well first I'm going to take a stand, and agree with Upu's past conviction that scenes "are bad...mmmmmkay?"

    Also: you don't need to start a new thread each time you want to post something, you can just add a reply to your previous topic, and people will check it.

    Ok, heres the deal. Even the most complicated Flash Websites, or effects are only one, or maybe 2 pages at the most. There are some exceptions but we won't get into those now. What are you creating? Ok, so I feel that scenes, unless you are doing some sort of animation, are unnecessary.

    Ok, now that that is out of the way...Can you explain a little bit more clearly what you want to happen? Do you want them all to disappear at once, or do you want them to dissapear one-by-one each time the mouse button is release? Answer me, and then I can answer you. :)


  • URL not found.

    BUt I got it, i'll take a look.


  • is this similar to what you want?


    If this is what you want, then all you have to do is use the buttons to set the variable nNumber.

    Button Code::

    on(press){
    nNumber = 2
    }


    MovieClip Code

    onClipEvent(enterFrame){
    if (_root.nNumber == 3){
    _visible = 0
    }else{
    _visible = 1
    }
    }

    let me know what ya think.


  • Ok i figured out a better way...got to that link if u can...thanx!

    mangrove (http://www.mangrovepr.com/redesigned)

    8o


  • nNumber is just a variable. By default its value is 0. You can set the value to something else by putting nNumber = 1 in the maintimeline. But forget that. nNumber's default value is 0 so on the buttons you have this code


    on(press){
    nNumber++
    }

    This means that everytime you press a button nNumber will increase by 1. Now on the movie Clips put the previous code and each time you press a button one will disappear, but start at if(nNumber == 1) and finish with if(nNumber ==10) and do each number in between.


  • Hi,
    Maybe I'm missing something but I think you could accomplish this by simply using:

    onClipEvent (mouseUp) {
    mcname._visible = false
    }

    That should do it.


  • dude...the .fla is 8MB in size...i can't send it thru the e-mail...but i can send u the swf so u have an idea of what's the prob....or i can put the file in an ftp....u name it....Thanx again...
    8o


  • i see now that this isn't what you want, but you can modify the code easily and it can be what you want (i think: )


    Button Code:::

    on(press){
    nNumber++
    }

    MovieCLip Code:::

    onClipEvent (enterFrame){
    if (nNumber == 4){
    _visible = false
    }
    }

    WIth this code, the movie clip that contains that code will disappear once the button is press 4 times if you have multiple buttons and you want the same reaction, just put that code on each button.


  • Ok here ya go. IN the movieclip that contains the graphic, that contains the buttons...change the graphic to a movieclip and give it an instance name. then on the MovieClips that you want to disappear put

    if(_root.menu.submenu.nNumber == #)

    where submenu is the name of the Movie Clip inside of the main menu Movie Clip, and # is the number that corresponds to the button pressed...it worked for me.


  • Ok...my mistake...here's the link:

    mangrove (http://www.mangrovepr.com/mangroveredesigned.fla)

    sorry i typed the wrong address...i'm sure there's the file...Thanx a lot...

    Oh and the buttons that work are just: high Low Tide and sonidos del mangle...it's one after the other...sorry...another mistake
    THANX, thanx, thanx a lot...
    8o


  • on (release) {
    tellTarget ("/menu") {
    gotoAndPlay ("continue");
    }
    tellTarget ("high low tide") {
    gotoAndPlay ("start");
    }
    }
    on (press) {
    nNumber++;
    }

    it worked for me if you want to send me the FLA e-mail me at je****1@binghamton.edu







  • #If you have any other info about this subject , Please add it free.#
    Your name:
    E-mail:
    Telphone:

    Your comments:


    If you have any other info about Thanx Jubba...Then please help me with something , Please add it free.