A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: This is Important!!

  1. #1
    Junior Member
    Join Date
    May 2002
    Posts
    25
    Please SOmeone!!! Ive looked everywhere and tried everything....This is my problem,,,I have a button, of course it has (up,over,down,hit) states.....the button is just a stroke in the up position and I want you to beable to roll over the button and the opacity of the middle will go from 0-50 and (!--I know how to do this--)

    """"THIS IS THE IMPORTANT PART!!"""""

    ..when you "rollOff" the button, the opacity fades from 50-0


    Right know I have the over state as a movieclip and inside that movieclip is a timeline with two more movie clips one on frame 2 and one on frame 3 ...one fades in, the other fades out ,,frame 1,2,3 all have stop actions on them----Is this right---- and if this is ..how do I link a movieclip inside a movie clip inside a button...Thanks guys>>!



    [Edited by product247 on 06-01-2002 at 11:29 AM]

  2. #2
    Junior Member
    Join Date
    May 2002
    Posts
    25

    correction

    Macromedias buttons used to be that way sorry!!

  3. #3
    Member
    Join Date
    Apr 2002
    Location
    Nevada
    Posts
    57

    non button way....

    Instead of using a button you can just put onRollOver, onRollOut, onPress, onRelease, and onReleaseOutside event functions on a MovieClip.

    Doing this will give you a lot more extendablitly and use.

    Example code:
    Code:
    movieClip.onPress = function() {
      //this is referenced to movieClip
      this.gotoAndPlay("playMovieFrame");
    }
    Hope that helps

  4. #4
    Junior Member
    Join Date
    May 2002
    Posts
    25
    Your the ****!!!!....THANK YOU

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