A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: [RESOLVED] 50%alpha, onRollOver+onRelease=100%alpha

Threaded View

  1. #1
    Member
    Join Date
    Jul 2008
    Posts
    73

    resolved [RESOLVED] 50%alpha, onRollOver+onRelease=100%alpha

    I've been trying to code this so the thumbnails are at 50% alpha. Then when you rollover or click on the thumbnail they go to 100% alpha. The thumbnail that has been clicked on should stay at 100% to indicate that it is presently selected.

    I've tried everything but can't seem to get it. What am I missing?

    Code:
    function callThumbs() {
    	_root.createEmptyMovieClip("container_mc",_root.getNextHighestDepth());
    	container_mc._x = _root.gallery_x;
    	container_mc._y = _root.gallery_y;
    	container_mc._alpha = 50;
    Code:
    preloader.onLoadComplete = function(target) {
    			new Tween(target, "_alpha", Strong.easeOut, 0, 100, .5, true);
    			target.my_txt.removeTextField();
    			target.onRelease = function() {
    				callFullImage(this._name);
    			};
    
    			target.onRollOver = function() {
    				this._alpha = 200;
    			};
    
    			target.onRollOut = function() {
    				this._alpha = 100;
    			};
    I've attached the .fla and thumbs to look at
    Last edited by Playdoe; 01-19-2010 at 11:59 PM.

Tags for this Thread

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