Welcome to WebmasterWorld Guest from 50.17.74.162

Forum Moderators: open

Message Too Old, No Replies

flv movies in a swf

trying to display flv and other content in swf

     

tkds

7:52 pm on Aug 4, 2007 (gmt 0)

5+ Year Member



Hi everyone,

first time here and needing some help.

I have a site in which the top half will be a swf file. The bottom half is asp with a lot of database features.

In the movie I have an area that I want to display flv files and other content like jpgs that will come from a folder.

How can I put them in dynamically?

I appreciate any help.

D

owika

10:26 pm on Aug 4, 2007 (gmt 0)

5+ Year Member



You need to set up an externalInterface between the asp/HTML part and the flash part. This way you can call actionscript functions directly from javascript and vice-versa.

In flash (in addition to the externalInterface function) you need to set up one function that uses NetConnection to load/stream the FLVs, and another that uses URLRequest to load jpgs.

You'll find samples of how to do both in the Flash CS3 help files.