|
|||
|
Dear topcmm:
Have a nice day I realy Appreciate your quick replies , which proved that your company is one of the most respectable companies as you are not only offering the product but you support all your customers and as fast as you can so thank you again. as for playing FLV file from SWFKIT projector , I tried the scripts that you recommeded but still have the same problem. the swf can play the FLV file but the SWFKIT projector not. so I desicded to send you the source files for flash MX & SWFKIT to see what's wrong in them & I hope you can help me in this issue. Please, right click on the link below to download the zipped file that include the sources. multidesign.multiservers.com/file.zip Thank you again for your help |
|
|||
|
Thank you.
Firstly, we must say sorry for we've made a mistake. The mediaplayback component doesn't follow the "base path" rule. Even if you've set the proper base path, it still cannot find the flv movie. You have to use the absolute path name. When you convert a swf to exe using SWFKit by checking the "pack movies" option, swfkit will pack the movies in the output exe file. When you run the exe file, the swf movies will be extracted to a temporary folder. Then the problem comes. The temporary folder is different from that of the exe file. But the flv is in the same folder as the exe file. So the swf file and the flv file are in different folders. At last, the swf file CANNOT find the flv file! The same problem will occur if you want to load an exeternal swf file. The problem can be solved by the "Application.setBasePath" method. After the proper base path has been set, the main swf file can find other swf files under the base path. But the method doesn't help in this case. It seems that the "setBasePath" has nothing to do with the mediaplayback component. You have to use the absolute path name. Say the flv is in the folder "d:\myflvs", the url of the mediaplayback component must be "d:\myflvs\media.flv". The attached sample shows how to play the external media.flv file. In frame 1, the sample calls the "loadFLV" function in FFish script. The loadFLV function converts the relative path name to the absolute path name and fires the trigger component in Flash. The handler of the trigger component plays the flv file. |
|
|||
|
i have used testflv.zip file .It is working properly here but there is one problem
i'm making cd presentation and i have 8 flvs which have 8 buttons to open the file . all r working good. but when i click some other link for example pdf page then the running video have not stopped . is there any option that when i click some other page then the active video will stop and when i came back on video page then on click the specific button it will play the video again????? waiting for reply reply me soon i have deadline |
|
|||
|
Please send the files to support@swfkit.com or sales@swfkit.com, we will help you to make it work.
|
![]() |
Was this information helpful? Yes No
| Thread Tools | |
| Display Modes | |
|
|