Results 1 to 2 of 2
  1. #1
    XtremeLeecher
    XtremeLeecher is offline
    New member
    Join Date
    2012 Jun
    Posts
    10
    Thanks Thanks Given 
    4
    Thanks Thanks Received 
    2
    Thanked in
    2 Posts
    Rep Power
    0

    How to make a simple .Swf Player

    Not long ago i was looking for a .swf player and i didnt found any i would like, and it was kinda funny because i as a self acclaimed programmer im so lazy i was looking for this, and then the lightning struck me.

    why not make my own .swf player? (du`h)

    Disclamer: my written english is basic so if you se any grammar mistakes feel free to tell me where they are and ill correct them.

    what do you need?

    you need: Visual Studio and patience(im using visual studio 2010).

    - Lets Begin, it took my more than this but im pretty sure it will be like 5 minutes until you get your own .Swf Player.


    Open your Visual Studio and go to Archive > new > proyect and open a windows form application

    Spoiler



    (as you can see im using VS in spanish but dont bother)

    then you need to open your toolbox and right click in here

    Spoiler



    that way you will add a new element that perhap you dont have in your tool box wich is this one, you need to go to the COM components a look for shockwave flash object

    Spoiler



    accept and drag click your new shinny shockwave flash object into your form and it should look like this.


    Spoiler



    as you can see i added 2 buttons and 1 textboxt. ill explain later why i did, but first double click into your 1s button that i called Buscar, yours should be Search or Find whatever (if you dont know how to change the name of your buttons dont worry leave it like that).

    as i said, go into the 1st button. then write this inside

    Spoiler



    i wont paste the code, because if you write it for yourself you will remember it easy next time you need it.

    as you can see this says that when you click the button you create a method that is called ventana, that ventana will store the name of what you clicked

    for the filters is really hard for me to explain i even had trouble what that awfull explanation up there but here
    FileDialog.Filter Property (System.Windows.Forms) it will explain better how it works.

    then go into your second button, and all you need its to get the whole path of your file into a String and store it in a variable and call it with the Loadmovie Function

    Spoiler




    this is the outcome

    Spoiler



    Of course you can resize the ShockWave screen and you will get a bigger screen but you can do that for yourself


    Enjoy!

  2. The Following User Says Thank You to XtremeLeecher For This Useful Post:


  3. #2
    yizheng
    yizheng is offline
    Awesome to the MAX yizheng's Avatar
    Join Date
    2010 Aug
    Posts
    743
    Thanks Thanks Given 
    124
    Thanks Thanks Received 
    728
    Thanked in
    187 Posts
    Rep Power
    14
    Thanks for the share, it's true that it is hard to find a swf player.

Similar Threads

  1. [C++] How to make a simple bot
    By Dwar in forum Programming Tutorials
    Replies: 3
    Last Post: 2014-10-04, 12:53 PM
  2. Aion Player Detector
    By Dwar in forum Aion Bots, Hacks, Cheats
    Replies: 3
    Last Post: 2012-09-06, 08:44 AM
  3. [C#] How to make a simple bot for any mmorpg [Video]
    By Grooguz in forum Programming Tutorials
    Replies: 10
    Last Post: 2012-06-27, 10:04 PM
  4. New Player in Seven Souls Online
    By SToP in forum Introduction / Say 'Hello'
    Replies: 0
    Last Post: 2012-06-02, 02:38 AM
  5. [Hack] Minecraft 1.8.1 Single Player Command's
    By Grooguz in forum MineCraft
    Replies: 0
    Last Post: 2011-09-21, 12:59 PM

Tags for this Thread

Posting Permissions

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