Jump to content

[SOLVED] Flash Widget - Calling function


photo

Recommended Posts

Hello Unigine-Team,

 

I tried arround a little bit with Flash Widgets and got a "simple" problem, i don't know how to solve but i think its an easy thing for you :).

 

In attachment you find the "flashTest.zip" file.

 

Here's my problem:

 

I'm trying to call a function out of a class object with flash but it's not working at all.

I also tried to add the Flash Widget in the class and call the function there, but that don't work also.

 

 

I just get the "exception" 20:18:04 Interpreter::getFunction(): can't find "testCall" function

 

PS: If the testCall function is placed in the cpp it works.

 

 

Hope you can help me.

Best regards

Graphefruit

flashTest.zip

Link to comment

Thanks manguste,

 

its working thanks for this great help!

But one further question: So I can't call variables with its functions in flash or?

Cause its a little bit strange that I can call a public function in a class without initializing a variable and use these?

 

Best regards

Graphefruit

Link to comment
  • 2 weeks later...
×
×
  • Create New...