Advertisement

07.25.2008 at 07:57AM PDT, ID: 23595656
[x]
Attachment Details

Calling a method in document class from inside a movieClip

Asked by NeverEndingFlashStories in ActionScript, Web Graphics Software, Macromedia Flash

Tags: ActionScript 3, Flash CS3

Hi,

I have a method / function inside my document class. Now i know i can simple type the name, function(); to call it from the main stage.
However, what i need is to actually call it from a movieClip that is contained within another movieClip that is also contained within another movieClip.
What i get is a reference error instead. Any ideas? Examples would be appreciated.

Thank you
Start Free Trial
[+][-]08.03.2008 at 11:34PM PDT, ID: 22150312

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08.05.2008 at 07:49AM PDT, ID: 22161445

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08.05.2008 at 07:54AM PDT, ID: 22161501

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08.05.2008 at 08:11AM PDT, ID: 22161705

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08.05.2008 at 08:46AM PDT, ID: 22162100

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08.05.2008 at 11:52PM PDT, ID: 22167674

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: ActionScript, Web Graphics Software, Macromedia Flash
Tags: ActionScript 3, Flash CS3
Sign Up Now!
Solution Provided By: blue-genie
Participating Experts: 1
Solution Grade: A
 
 
[+][-]08.06.2008 at 07:37AM PDT, ID: 22170696

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628