Link to home
Start Free TrialLog in
Avatar of engineroom
engineroom

asked on

HEL..Error: A 'with' action failed because the specified object did not exist.

What's the deal with this? here's what's going on. I have a movie called rotating Nav. In that movie i have other movies, that contain buttons in them, those buttons have the script to stop the main movie but it generates this error:

Error: A 'with' action failed because the specified object did not exist.

what's the deal with this?

here's what the fla looks like. Thanx all

********************
Stage >

rotatingNav>

pictureMovie> button  >

on (rollover){
    with (_root.rotatingNav){
          stop();
     }
}
***********************
ASKER CERTIFIED SOLUTION
Avatar of zenlion420
zenlion420

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of engineroom
engineroom

ASKER

zenlion

I figured out what the problem was, i'll give you the points. What happend was that i was fading in the movie and gave an instance name to the last keyframe and not the first. Apparently it doesn't count when you name the last key frame and not the first. I.E.:

__________________________
:-------------------------------->:
__________________________

no                                         rotatingNav
Instance
Name

I had to do this:

__________________________
:-------------------------------->:
__________________________

rotatingNav                           rotatingNav

Thanx for your help.
No problem.  That's exactly what I figured the issue was.  I'll tell you something I've gotten in the habit of - naming every instance of every symbol I put on the stage, even if it's not going to be a component of a scripted event.  That way, it just helps keep me from having to go through a project searching for a missed name, which can be a really big chore if it's a large project.  Anyway, I'm glad it working now.

j