• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 689
  • Last Modified:

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();
     }
}
***********************
0
engineroom
Asked:
engineroom
  • 2
1 Solution
 
zenlion420Commented:
is rotatingNav the instance name of that symbol, or just the symbol name?  That's generally the answer to these types of situations.  I can't tell you how many time I have forgotten to assign an instace name somewhere and have to dig through my work to find it.

j

BTW, what version of flash are you using?
0
 
engineroomAuthor Commented:
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.
0
 
zenlion420Commented:
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
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now