I have 2 javascript files which needs to run when a specific event occurs.
<object>
<param name="bgcolor" value="#FFFFFF" />
<param name="width" value="550" />
<param name="height" value="320" />
--------------------------------
--------------------------------
--------------------------------
<param name="templateLoadHandler" value="BCL.funcName">
<param name="includeAPI" value="true">
</object>
Once uses a namespace and has some functions attached to it.
Var BCL = {};
BCL.funcName = function (){
}
Another does not use a name space but has the same functions in it. This is a very generic script file and I do not want to modify it.
funcName = function (){
}
I want both the scripts to run on a specific event. How do I get both the functions to run?
EDIT:
The first function BCL.funcName is getting called by the flash param. So what is happening is when I call the generic function, funcName within the BCL.funcName, The BCL.funcName does not execute at all.
I had to call all the functions in this manner: