FECCallfunction : how to use ?

Posted by directoweb 
FECCallfunction : how to use ?
May 29, 2009 03:41PM
Hello
I'm new to flasheff.
I have 4 buttons on my scene and I want to have the button to comme on the first Plan when mouse is over
Iknow ho to make ti without flash eff added on it
I suppose I have to use in button / Command the FECCALL function
it asks funtion path : what to enter ?
and parameters : what to enter ,
My function for example could be on that style :
function firstPlan(){
setChildIndex(myBtn,3);
myBtn.Z = 50;
}

for now I receive that error

FLASHEFF Warning : Invalid function definition was setted in functionPath parameters of FECCallFunction object. TypeError: Error #1010: something undefined and has no property

Thanks for explanations
Re: FECCallfunction : how to use ?
May 30, 2009 04:59PM
In the"functionPath" field you will have to write the function name (firstPlan) and if the called function is on different level then you will have to specify the path to the function using " dot " notation. The " parameters " field is optional and there it should be passed the parameter for the called function. Also, please watch the video tutorial from the link below in order to get more information on how to use the FECCallFunction pattern:

[www.flasheff.com]

I hope this helps.
Re: FECCallfunction : how to use ?
July 26, 2009 02:09PM
Keep getting different errors?

FLASHEFF Warning : Invalid function definition was setted in functionPath parameters of FECCallFunction object. ArgumentError: Error #1063: Argument count mismatch on coachDetails_1298_fla::MainTimeline/newSwf1(). Expected 1, got 0.




//___code below___\\

stop();

loader01.source="../swf/coach_1298/img01.swf";

//img01_btn.addEventListener(MouseEvent.CLICK, newSwf1);
function newSwf1(event: MouseEvent) {
loader01.source=" ../swf/coach_1298/img01.swf";
trace("called img1");
}
Attachments:
open | download - Picture 1.png (24.2 KB)
Re: FECCallfunction : how to use ?
August 10, 2009 07:11AM
FECCallFunctions works like all ordinary functions.
In the first parameter field you will have to write your function name (for example gotoAndStop) and in the second you will have to write the parameters for that function (for example "1").
Sorry, you do not have permission to post/reply in this forum.