A Flash Developer Resource Site

Results 1 to 7 of 7

Thread: Very Good Question ?? HELP!!!

Hybrid View

  1. #1
    Junior Member
    Join Date
    Nov 2000
    Posts
    24
    I have several Buttons on a navagation bar. I created a corresponding movie for each button. I have two frames In each movie.(lets call this movie clip Moviexxx) The First frame is just a still frame Of the begining of the movie. The second frame Has another movie clip embedding into it Called (load) Now both of these two frames have a stop action on them. the (load) movie clip is the actual movie that will play When The corresponding button is pressed. The way I have this setup is- The action On the button is( On press Tell target (moviexxx) go to and play frame 2) Now the movie loads fine and I also have a (stop) action on the end of the movie clip so It will stay open because there are button in it. NOW, here is the question!! =)How can I have the First movie clip Close (disappear from the screen) When the user Presses The second Button Which will Load the next movie clip on the screen.
    THANKS IN ADVANCE, I know this is a hard one =)
    PLEASE HELP!!!!
    ~~~TastelessB~~

  2. #2
    Senior Member
    Join Date
    Jul 2000
    Posts
    243
    Try a OnMouse Event:

    On (Press)
    Set Property ("target_item", Alpha) = "50"
    End On
    On (Release)
    Set Property ("target_item", Alpha) = "0"
    End On


    It'll be a quick fade but its there.



    Chad
    "Wha...t.... What You mean, Fatal Error!. ... I'll... I'll Show YOU A FATAL ERROR!"

  3. #3
    Junior Member
    Join Date
    Nov 2000
    Posts
    24
    Thanks for your prompt reply,
    I'm sorry I'm a little new.
    But When you say
    Set Property ("target_item", Alpha) = "50"
    What exactly am I placing in the Place of "target_item" ?
    Do I type In the Instance Name Of the Movie Clip or Do I type The Actual Movie name and exactly how do I type it.
    Thanks Again, I appreciate your help!
    ~~~TastelessB~~~

  4. #4
    Junior Member
    Join Date
    Nov 2000
    Posts
    24
    OK disregard the last Reply I figured out how to do what you said and It WORKED!! , well kinda =)
    Now here is the Problem. When I click on the new button The old movie fades out but If the user would like to go back to the first button they cannot because I guess the movies properties are set to alpha zero ?? =)
    What Do I do now?? Any Ideas?
    Its always something!!!!!!
    Thanks
    ~Tastelessb~~~

  5. #5
    Senior Member
    Join Date
    Jul 2000
    Posts
    243
    Ok, Not a prob.

    You said that you have a button for eavch Movie right. So On each Button (For each Movie it turns on) ( i.e Button A goes to Movie A). Place the opposite code, So it gives the Movie a fade to 100%.

    I.E. Button A & Movie A (opposite code)

    On (Press)
    Set Property ("target_item", Alpha) = "50"
    End On
    On (Release)
    Set Property ("target_item", Alpha) = "100"
    End On

    This will some what fade in the Movie in as it does out.
    You really don't need to Set two Properties thought One should be enough.

    On (Press)
    Set Property ("target_item", Alpha) = "100"
    End On

    Understanding?

    Chad
    "OOHH They have the internet on computers, Now?!"

  6. #6
    Junior Member
    Join Date
    Nov 2000
    Posts
    24
    YES!
    I bow to thee!!!
    Thanks so much for your help!
    take care
    ~~~TastelessB~~~~

  7. #7
    Senior Member
    Join Date
    Jul 2000
    Posts
    243
    Anytime..

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