Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 09-28-2006, 06:09 AM   #1
emacksey
Registered User
 
Join Date: Sep 2006
Posts: 1
Default Movie Clip Button inside a Movie clip Button

Ok so I'm going crazy with creating a movie clip button inside a movie clip.

I have it working well for onRollover, but onRollout the Header_mc looks like it is not looking at the code. It is driving me crazy. Here is my Action Script code to control the two movieclip buttons.

I basicly want the Header_mc to stop when over the B_photo and on Rollout of the B_photo. I don't know why it is not working. I have attached screenshots of my Header_mc and the SWF so you can see what frame I'm calling.



/*--------------Photographers Button------------*/

this.B_photo.onRollOver = function() {
Header_mc.gotoAndPlay("_stop");
B_photo.gotoAndPlay("_over");

}

this.B_photo.onRollOut = function() {
Header_mc.stop("_stop");
B_photo.gotoAndPlay("_out");

}

this.B_photo.onRelease = function() {
B_photo.getURL("http://www.macromedia.com", "_parent");
}

/*--------------Main Header---------------------*/

this.Header_mc.onRollOver = function() {
Header_mc.gotoAndPlay("_over");

}

this.Header_mc.onRollOut = function() {
Header_mc.gotoAndPlay("_out");

}

this.Header_mc.onRelease = function() {
Header_mc.gotoAndStop("_out");

}
Attached Thumbnails
Click image for larger version

Name:	screenshot.jpg
Views:	120
Size:	171.8 KB
ID:	19806  
emacksey is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Button inside Draggable Movie Clip running conflicting scripts? mr204 ActionScript 2.0 1 05-09-2006 04:44 PM
Loading images in different frames.. nchagial ActionScript 2.0 22 12-21-2005 08:06 AM
Button inside movie clip Avitar ActionScript 2.0 4 12-05-2005 01:04 PM
Linking a button in a movie clip to a frame Bassdog ActionScript 2.0 1 03-31-2005 05:42 AM
Button with Movie Clip goto new Scene montex ActionScript 1.0 (and below) 1 12-07-2004 05:40 AM


All times are GMT. The time now is 04:35 PM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.