LOADING
Loading
Hi , welcome back.
LogoutLOGOUT
 
  Lost password?  
Hi
 




 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 02-09-2004, 08:04 PM
plange plange is offline
Registered User
 
Join Date: Mar 2002
Posts: 3
Rep Power: 0
plange is on a distinguished road
Aid Calling a button within a movieclip from another - Problem

I have a moviclip that slides to different coordinates based on buttons that are clicked on. It works great when the buttons in question are on the main timeline, or are in the movieclip that slides, but I run into trouble when it's in a different movieclip.

Here is the code that is inside the sliding movieclip (which is inside of a onClipEvent (enterframe)

level0.cdhconsumertools.btnEndWhatisCDH.onRelease = function() {
trace("hello");
endX = -1392;
endY = 0;
};

I got the path to the button by doing a trace(targetPath(this)); when I clicked on the button, and I copied and pasted it so no typo there. I also copied the button name, so no typo there either....

I know it's not even recognizing the button being clicked because it doesn't popup saying "hello"

Any pointers?
__________________
stop rhyming now I mean it! Anybody wanna peanut?
Reply With Quote
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Button action problem using OOPS concept heartykalp Actionscript 2.0 1 12-18-2007 04:53 PM
Button problem faculty1882 Flash 8 0 11-21-2007 12:52 PM
sorry (more help with yet another button problem) aquillian Newbies 3 10-04-2006 06:31 AM
Button problem - - - please help tel Flash MX 2 08-15-2005 01:04 PM
MovieClip overlap button problem db82 Flash MX 2 01-27-2005 03:41 PM




All times are GMT. The time now is 09:12 PM.