Results 1 to 10 of 10

Thread: VB.NET : Play ShockWave Flash movie in VB.NET

  1. #1

    Thread Starter
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,086

    VB.NET : Play ShockWave Flash movie in VB.NET

    VB.NET 2003 Proj .
    Attached Files Attached Files

  2. #2
    New Member
    Join Date
    Feb 2006
    Posts
    1

    Re: VB.NET : Play ShockWave Flash movie in VB.NET

    Drag it onto your form.
    Name if AxFlash
    in your program...
    AxFlash.Movie="your file name.swf")
    AxFlash.Play()

    If you just can't find the control, there are several sections in your tool bar, look in all of them. Plus, in the WindowsForms section of the tool bar, if the control is at the end, you will have to scroll down to see it.

  3. #3
    New Member
    Join Date
    Mar 2007
    Posts
    1

    Re: VB.NET : Play ShockWave Flash movie in VB.NET

    Does it work just for VB.net WINDOWS applications ??
    I have tried in a VB.net WEB application and doesn't work. Any help will be appreciated

  4. #4
    New Member
    Join Date
    Apr 2007
    Posts
    2

    Re: VB.NET : Play ShockWave Flash movie in VB.NET

    but how can i send information from VB.net program to falsh ????

    pls help me

  5. #5
    New Member
    Join Date
    Jul 2007
    Posts
    1

    Re: VB.NET : Play ShockWave Flash movie in VB.NET

    how can i loop the movie? i tried using the property: .loop = true

    but the movie did not loop... strange

  6. #6
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,710

    Re: VB.NET : Play ShockWave Flash movie in VB.NET

    Quote Originally Posted by Engauday
    but how can i send information from VB.net program to falsh ????

    pls help me
    You will need to use the actionscript of Flash. You will probably get more detailed flash help from our other site http://flashkit.com
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  7. #7
    New Member
    Join Date
    Jan 2008
    Location
    Malaysia
    Posts
    1

    VB.NET : Import object flash to VB.Net

    Does anyone know how to import object flash into form VB.Net?

  8. #8
    New Member
    Join Date
    Jun 2009
    Posts
    1

    Re: VB.NET : Play ShockWave Flash movie in VB.NET

    After you have added the swflash object into your toolbar, just drag it onto your stage. Set the "Movie" Property to your swf location (local or remote doesnt matter)

    To interact with flash via your VB application use the following two commands

    ShockwaveFlash1.SetVariable("variable here", Textbox1.Text)
    ShockwaveFlash1.GetVariable("variabletoget")

    the setvariable example I have shown will take the text value of Textbox1 and set it to whatever variable you want defined in the code. you can combine multiple textboxes for development if needed(always helps me)

    variables can be retrieved and set in many ways
    _root.
    _level0.
    or just as
    variable1 (gets from _root.)


    so if you have a movieclip(menu) within a movieclip(maincontent) and the variable on the menu mc is button1val

    _root.maincontent.menu.button1val
    maincontent.menu.button1val

    etc

    hope this helps!

  9. #9
    New Member
    Join Date
    Feb 2010
    Posts
    5

    Re: VB.NET : Play ShockWave Flash movie in VB.NET

    Using your original VB code, how could I automatically play another .swf after the first one is done?

  10. #10
    New Member
    Join Date
    Mar 2010
    Posts
    1

    Thumbs up Re: VB.NET : Play ShockWave Flash movie in VB.NET

    right click on toolbox item then select choose items then select com components then search for shockwave flash object after selection drag it on ur form next plcae ur flash file in project folder bin\debug next

    then select timer enable it then double click on timer and paste this code
    AxShockwaveFlash1.Movie = Application.StartupPath & "\PLAY\ur flash file name here .swf"

    AxShockwaveFlash1.Play()


    enjoy dudes

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