Serious problem with etGlobalOnLoadExternalResourceHandler

F-IN-BOX for Delphi / Builder C++ / VCL
Timid
Posts: 6
Joined: Thu Jul 26, 2007 9:21 am

Serious problem with etGlobalOnLoadExternalResourceHandler

Postby Timid » Thu Jul 26, 2007 10:01 am

Dear customes

Previously let me pespect to you - f-in-box is very handly for use a flash tech.

However, it seems to me that the help file is very old and contain some important mistakes. For example GetUsingFlashVersion() is the global function but in the help is presented as the TFlashPlayerControl method.

Secondly,
I develop an internal flash player for my organization and want make a file cash for global resources. I use OnGlobalLoadExternalResource as show in the help. Base swf movie is loaded correctly but included files (action script command: object.load(URL) ) not loaded. Why?

My provider function SetGlobalOnLoadExternalResourceHandler check requisite file in the cach and load him in a MemoryStream. Furher i use MemoryStream.SaveToStream(Stream).
But FlashPlayerControl not obtain file data.

Thread based technology i was tried so. All not either


Before thanks

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

Re: Serious problem with etGlobalOnLoadExternalResourceHandl

Postby Softanics » Thu Jul 26, 2007 4:21 pm

Thank you for your questions.

Timid wrote:However, it seems to me that the help file is very old and contain some important mistakes. For example GetUsingFlashVersion() is the global function but in the help is presented as the TFlashPlayerControl method.


The online help should be the same as included in the demo zip:
http://www.f-in-box.com/delphi/help/
GetUsingFlashVersion is included in the section "Global".
Also:
http://www.f-in-box.com/delphi/help/ind ... rsion.html

From this page:

Code: Select all

dwUsingFlashVersion := FlashPlayerControl.GetUsingFlashVersion;


FlashPlayerControl.GetUsingFlashVersion is a full name of the global function. FlashPlayerControl is a module's name. It's not a name of some instance.

Timid wrote:Secondly,
I develop an internal flash player for my organization and want make a file cash for global resources. I use OnGlobalLoadExternalResource as show in the help. Base swf movie is loaded correctly but included files (action script command: object.load(URL) ) not loaded. Why?


Is the handler called for URLs of included files?

If yes, could you please prepare small example for me and send to support (at ) f-in-box.com?

Thank you in advance.
Best regards, Artem A. Razin,
F-IN-BOX support
Ask your question here: http://www.f-in-box.com/support.html

Timid
Posts: 6
Joined: Thu Jul 26, 2007 9:21 am

Postby Timid » Fri Jul 27, 2007 2:40 pm

[qoute]
FlashPlayerControl.GetUsingFlashVersion is a full name of the global function. FlashPlayerControl is a module's name. It's not a name of some instance
[/quote]

But i can use 'FlashPlayerControl' name for TFlashPlayerControl. Isn't it?

For problem with handler, see email

Clip with local path (clip_rel_path.swf) work normaly.
Other clip do not loading data for chart.

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

Postby Softanics » Fri Jul 27, 2007 3:06 pm

I've received your source. Thank you.

Code: Select all

Other clip do not loading data for chart.


Could you provide me source code (fla) of chart_full_url.swf?
Best regards, Artem A. Razin,

F-IN-BOX support

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

Timid
Posts: 6
Joined: Thu Jul 26, 2007 9:21 am

Postby Timid » Fri Jul 27, 2007 4:20 pm

I havn't Fla for FlashChart.

I used FlashDecompiler for to correct original flie.
Only for experiment ;)


PS. I use Delphi 6 EE

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

Postby Softanics » Fri Jul 27, 2007 8:31 pm

OK :) Please check your mailbox.

To all: I'll write here about results soon.
Best regards, Artem A. Razin,

F-IN-BOX support

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

Timid
Posts: 6
Joined: Thu Jul 26, 2007 9:21 am

Postby Timid » Sat Jul 28, 2007 5:07 pm

Check mail
i was sending share sample with source

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

Postby Softanics » Sat Jul 28, 2007 6:59 pm

You've forgotten to attach files...
Best regards, Artem A. Razin,

F-IN-BOX support

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

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

Postby Softanics » Mon Jul 30, 2007 12:35 pm

We've found the problem.

When the content is providing by GlobalOnLoadExternalResource, f-in-box doesn't send notification when all data is provided. That's why Flash doesn't call appropriate actionscript handlers and some movies don't work as expected.

The problem has been fixed.

The updated version will be available in the nearest time.

Thank you for your help!
Best regards, Artem A. Razin,

F-IN-BOX support

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

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

Postby Softanics » Sat Aug 18, 2007 11:52 pm

Fixed in F-IN-BOX Delphi Edition 3.1.2:

http://f-in-box.com/blog/f-in-box-delphi-edition-312/
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: No registered users and 19 guests

cron