Loading Swf resource into a Movie Clip

F-IN-BOX for Delphi / Builder C++ / VCL
kimb
Posts: 4
Joined: Mon Nov 28, 2005 12:18 pm

Loading Swf resource into a Movie Clip

Postby kimb » Sat Dec 03, 2005 4:54 pm

Does anyone know if or how I can load a swf resource into Movie Clip?

eg.

My resource file contains:
print.swf
1.swf
2.swf
3.swf
4.swf
etc...

print.swf contains 4 movie clips "mc1" "mc2" "mc3" "mc4"

How can I load 1.swf into "mc1"???

Kim

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

Postby Softanics » Sun Dec 04, 2005 11:21 am

Thank you for your question.

One of the ways is:

1. In actionscript code use loadMovie('http://PRIVATE_URL/1.swf').
2. In Delphi code use SetGlobalOnLoadExternalResourceHandler to intercept loading from 'http://PRIVATE_URL/1.swf':
http://flashplayercontrol.com/delphi/he ... ndler.html
Example for SetGlobalOnLoadExternalResourceHandler is available in the demo version of the component (the project Sample2_SWF_FLV_Embedding), please download it:
http://flashplayercontrol.com/download/ ... Delphi.zip
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 20 guests

cron