Solved

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

Posted on 2004-03-24
3
672 Views
Last Modified: 2008-01-09
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
Comment
Question by:engineroom
  • 2
3 Comments
 
LVL 5

Accepted Solution

by:
zenlion420 earned 500 total points
ID: 10669315
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
 
LVL 3

Author Comment

by:engineroom
ID: 10669623
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
 
LVL 5

Expert Comment

by:zenlion420
ID: 10670207
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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Here are some practices and techniques that can be adopted into your Flash/Flex application development process. Note: Not all "performance tips" provide an immediately-recognizable benefit.   This article does not include timing validation data,…
I have found that much of my time doing support ends up being a constant repetition of the same steps to different people.  Early on I stated using web pages with Frequently Asked Questions (FAQs) to alleviate most of the burden.  Sometimes this jus…
In this tutorial viewers will learn how to create a basic motion tween animation in Flash Open a new document in Flash: Draw/import an image: Press CTRL + F8 to convert it into a graphic symbol: Select a frame (how long you want the tween to last): …
In this tutorial viewers will learn how to create a basic shape tween animation in Flash including shape hints for smooth animation Open a new document in Flash: Draw a shape: Select another frame (how long you want the tween to be): Right click and…

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question