Solved

Anyway to trace who calleded the function?

Posted on 2002-06-02
1
164 Views
Last Modified: 2010-04-03
I have a function firing 2 times in a row when it should only be firing once. Is there a way to have a function trace the callee.

thankx
--steve...
0
Comment
Question by:juststeve
1 Comment
 
LVL 5

Accepted Solution

by:
stef4s earned 50 total points
ID: 7061237
I think in Flash MX there is a way. something .caller. What you can do is this (Flash 5).

add another parameter to the function ie


function blah(par,par2){
trace(par2)

}


now when calling the function you can have the caller ID itself.

blah(mypar,"its me");

or
blah(thisvar,"its the other guy")
0

Featured Post

Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Flash media server 1 332
Video sharing with user login 3 203
Install adobe flash plugin for Firefox win 7 9 70
camtasia alternative that can record 3 hours video plus audio 24 115
I have been doing hardcore actionscripting for some time; and needless to say I have faced a lot of problems in just understanding others' code rather than understanding what the code executes. A programmer's life can become hell when there are a lo…
The last time I worked with Flash and Socket connections was in AS1. A recent project required flash connecting to a Socket, and sending receiving information - we figured it would be easy enough - we all know about the socket policy documents and c…
The goal of the tutorial is to teach the user how to set there setting in Adobe Flash Media Live Encoder and YouTube for optimal video and audio quality.
The goal of the tutorial is to teach the user what frame rate is, how to control it and what effect it has on the video.

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