Unspecified Error when executing CallFunction

F-IN-BOX for Delphi / Builder C++ / VCL
ealmond
Posts: 3
Joined: Sun Feb 04, 2007 11:35 pm
Contact:

Unspecified Error when executing CallFunction

Postby ealmond » Sun Feb 04, 2007 11:38 pm

When I execute

Response := FlashPlayerControl1.CallFunction('<invoke name="Call" returntype="xml"><arguments><string>Some text for TFlashPlayerControl</string></arguments></invoke>');
for a Flex 2 app, I get a delphi error "Unspecified Error" when executing CallFunction. I am user Delphi3 .

Softanics
Site Admin
Posts: 1402
Joined: Sat Sep 18, 2004 3:03 am
Location: Russia, St. Petersburg
Contact:

Postby Softanics » Mon Feb 05, 2007 9:09 am

Thank you for your question.

At the first, please test example Samples\Delphi3\Sample7_ExternalInterface, does it work properly?

External API works only with Flash 8 or higher.
Best regards, Artem A. Razin,
F-IN-BOX support
Ask your question here: http://www.f-in-box.com/support.html

ealmond
Posts: 3
Joined: Sun Feb 04, 2007 11:35 pm
Contact:

Postby ealmond » Tue Feb 06, 2007 1:15 am

Yes... It works great which is why I purchased the product. I tried testing a small delphi app with a small Flex app. It is Flex 2.0 (Flash 9) and I have Flash 9 Installed. I also tried changing as many of the properties as possible. We are having to use Delphi 3 for a older application, so I cannot upgrade.

If there any other information I can provide?

Softanics
Site Admin
Posts: 1402
Joined: Sat Sep 18, 2004 3:03 am
Location: Russia, St. Petersburg
Contact:

Postby Softanics » Wed Feb 07, 2007 9:02 am

OK. Could you show me the declaration of this function ("Call") ?
Best regards, Artem A. Razin,

F-IN-BOX support

Ask your question here: http://www.f-in-box.com/support.html

ealmond
Posts: 3
Joined: Sun Feb 04, 2007 11:35 pm
Contact:

Postby ealmond » Sat Feb 10, 2007 5:15 pm

I figured it out. The problem was that Flex was producing an error that Delphi reported it as "Unspecified Error"

I fixed the Flex problem which fixed the Delphi problem.

Thanks for the responses.

-Eric

Softanics
Site Admin
Posts: 1402
Joined: Sat Sep 18, 2004 3:03 am
Location: Russia, St. Petersburg
Contact:

Postby Softanics » Sat Feb 10, 2007 6:52 pm

Very good!

Could you explain how did you fix the problem?
Best regards, Artem A. Razin,

F-IN-BOX support

Ask your question here: http://www.f-in-box.com/support.html


Return to “Delphi / Builder / VCL Edition”

Who is online

Users browsing this forum: Bing [Bot] and 9 guests

cron