A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: launching a video file from a projector?

  1. #1
    I'm a hero like Robert De Niro
    Join Date
    Mar 2000
    Location
    London
    Posts
    1,171
    Hi ppl,

    How can I launch a video file in WMP/QT Player? tried an old tutorial using a .bat file and FS command but couldn't get it to work?

    Any ideas?

    Cheers,

    McMurphy

  2. #2
    Banned By GMF Wannabe Gambini's Avatar
    Join Date
    Oct 2000
    Posts
    976
    Download a copy of Flash Studio. It's completely free for personal use and you can launch any type of file including video.

    Download a copy from http://www.multidmedia.com/fls

    Sample exe created with Flash Studio:
    http://www.multidmedia.com/fls/flashstudio_sample.exe

    Sample exe source code:
    http://www.multidmedia.com/fls/flash...ple_source.fla

    Hope this helps.



  3. #3
    Senior Member
    Join Date
    May 2002
    Posts
    266
    You can use LPFlashEx to either open the file using default player or even open and control them directly in flash.

    Have a quick look at the below sample set :
    http://www.lpflashex.com/dl/MovieSamplesV2.zip (127KB)

    it contain 3 example show the 2 version of media file player to load and control media files directly in flash. You can just publish the ChoosePlayer.fla to EXE to test and press the folder button to load those media you want to test on. You can move / resize to see the effect also.

    They also include a flash. control bar with tracker which is a smart clip and you can just copy and use it in your own project.

    If you simply want to load it with default player externally, you can use

    LP.exec("open",PathAndFileName) to open it.

    LPFlashEx is free for self use for unlimited time (free renewal of licence code can be get from our website)

    Standard version with almost 50 functions cost only US$20 for register and PRO version with over 100 functions cost only US$60.

  4. #4
    Senior Member
    Join Date
    May 2002
    Location
    UK
    Posts
    182

    just what i needed....

    Thats great. That flash studio product is just what I'm looking for. Are there any similar things about? think this will do all I need though.

    later.

  5. #5
    Senior Member
    Join Date
    May 2002
    Posts
    266
    New update :

    You can launch those file with default program then control that window with LPFlashEx

    Here is a new demo showing how to :
    1. Run / open file and obtain ProcessID and HProcess
    2. Use ProcessID to find the HWND (window handle)
    Note that you can also find window by Class name / title text
    3. Set Title Text of that window
    4. Hide Border
    5. Kill Menu Bar
    6. Change Window State (minimize, maximize, hide, etc)
    7. Bring the Window to the Top and receive focus
    8. Get the widnow position and client position
    9. Set the window position / size / hide / stay on top
    10. Set the client positon / size / hide / stay on top
    11. Shake the external prgram window
    12. Set the external window to a part of your stage !
    13 Set the window client area to a part of your stage
    14 Stick it to your stage and follow you window move / resize
    15. Close the application
    16 Temp hide your window and wait app close to restore

    Note that if you do not pass a HWND, the command target is your own flash window.

    http://www.lpflashex.com/dl/ExternalApp.zip (93KB)
    MX user directly publsih the fla to exe to run.
    Flash 5 user please look at LPFlashEX layer frame 1 to comment 1 line and uncomment 3 line

    http://www.lpflashex.com/dl/ExternalAppF5Exe.zip (302KB)
    This file include the Flash 5 EXE file so no need publish but larger download size.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center