GetUrl

F-IN-BOX for Delphi / Builder C++ / VCL
giti
Posts: 1
Joined: Mon May 21, 2007 6:05 pm

GetUrl

Postby giti » Mon May 21, 2007 6:16 pm

Hi all,
i'm evaluating F-IN-BOX VCL version (BDS2006)
It works all great but there's an only thing i'm not able to do.
My swf movie MUST work both in a web server envinronment and in my brand new desktop application built with delphi 2006.
The movie fetches some pdf files using a "private" URL like below
getURL("pdf/01.pdf"); In the web environment this is perfect.
But for the desktop app, when i try to show the pdf i get my web browser popping up and pointing the URL http://pdf/pg0012.pdf.
:cry:
How can i do to see my pdf? can intercept the getURL call?
Please help me!
TIA
Gianantonio.

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

Postby Softanics » Mon May 21, 2007 7:17 pm

Thank you for your question.

As a workaround I can suggest you the following. You check the variable "InDesktopApp" in your ActionScript code. If InDesktopApp is "true" you call fscommand and handle it in Delphi code. Else -- you call getURL.
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 May 21, 2007 8:07 pm

And you should set this variable after loading the movie.
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 10 guests

cron