FORUMS: list search recent posts

AS 2.0 question

COW Forums : Adobe Flash

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
AS 2.0 question
on Nov 25, 2007 at 6:05:59 pm

Hey cows...

On my stage I have a movie clip with the instance name "buttons". Inside this mc are several movie clips, one of which has the instance name "home". One layer of the "home" mc contains a button with the instance name "btn".

On frame 1 of my main scene, I have the following script:

buttons.home.btn.onRollOver = function(){

Flash recognizes that there is a button there, but I'm not able to get it to play the animation in the "home" movie clip upon rollOver.

Is there something I'm doing wrong?


Doulos Multimedia

Return to posts index

Re: AS 2.0 question
on Dec 3, 2007 at 12:40:00 pm

Hello Matthew, sorry for the tardy reply :)

try this:
buttons.home.btn.onRollOver = function(){

you're already in the buttons.home.btn scope, so right now, what flash is doing now, it is looking for a buttons.home instance -within- the btn instance.

Kind regards,

Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2018 All Rights Reserved