Jump to content

[SOLVED] Problem whith Flash


photo

Recommended Posts

Hello!

I can not understand how the Flash function substr(), substring() in Unigine.

 

/ / / / / / / / / / / / / Example / / / / / / / / / / / / / / / / /

var str: String = '1234567890 ';

trace (str.substr (1, 4));

 

/ / Works to swf

2345

 

/ / In Unigine does not work:

FlashVariable :: getObjectSafe (): can't run "substr" function, object is NULL

FlashInterpreter :: runActions (): can't convert string to object

indefined

 

Thank you.

Link to comment
×
×
  • Create New...