To register for an Internet.com membership to receive newsletters and white papers, use the Register button ABOVE.
To participate in the message forums BELOW, click here
VBForums  

VB Wire News
Article :: Building Dynamic Systems with Expressions in .NET
How Is XML Like An Interface?
Understanding Covariance and Contravariance
Print VS 2010 Keyboard Shortcut References in Letter (8.5x11in) and A4 (210×297mm) Sizes
Updated Productivity Power Tools



Go Back   VBForums > VBForums CodeBank > CodeBank - Visual Basic .NET

Reply Post New Thread
 
Thread Tools Display Modes
Old Sep 21st, 2003, 11:47 AM   #1
Pirate
Elite Member ®
 
Join Date: Aug 02
Location: RUH
Posts: 8,063
Pirate has a spectacular aura about (125+)Pirate has a spectacular aura about (125+)
VB.NET : Play ShockWave Flash movie in VB.NET

VB.NET 2003 Proj .
Attached Files
File Type: zip playflashfile.zip (48.8 KB, 7045 views)
__________________
Pirate is offline   Reply With Quote
Old Feb 16th, 2006, 05:09 PM   #2
LeeBee
New Member
 
Join Date: Feb 06
Posts: 1
LeeBee is an unknown quantity at this point (<10)
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.
LeeBee is offline   Reply With Quote
Old Mar 30th, 2007, 02:09 PM   #3
giova
New Member
 
Join Date: Mar 07
Posts: 1
giova is an unknown quantity at this point (<10)
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
giova is offline   Reply With Quote
Old Apr 8th, 2007, 04:03 PM   #4
Engauday
New Member
 
Join Date: Apr 07
Posts: 2
Engauday is an unknown quantity at this point (<10)
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
Engauday is offline   Reply With Quote
Old Jul 4th, 2007, 11:41 PM   #5
gabriyel
New Member
 
Join Date: Jul 07
Posts: 1
gabriyel is an unknown quantity at this point (<10)
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
gabriyel is offline   Reply With Quote
Old Oct 15th, 2007, 03:57 PM   #6
RobDog888
Super Moderator
 
RobDog888's Avatar
 
Join Date: Apr 01
Location: LA, Calif. Raiders #1 AKA:Gangsta Yoda™
Posts: 58,848
RobDog888 has a brilliant future (2000+)RobDog888 has a brilliant future (2000+)RobDog888 has a brilliant future (2000+)RobDog888 has a brilliant future (2000+)RobDog888 has a brilliant future (2000+)RobDog888 has a brilliant future (2000+)RobDog888 has a brilliant future (2000+)RobDog888 has a brilliant future (2000+)RobDog888 has a brilliant future (2000+)RobDog888 has a brilliant future (2000+)RobDog888 has a brilliant future (2000+)
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, 2007, 2008, 2009, 2010
Office Development FAQ (VBA, VB 6, VB.NET, C#)
Software Engineer MCP (VB 6 & .NET), BSEE, CET (Internet.com's #1 Poster)
If a post has helped you then Please Rate it!
Star Wars Gangsta Rap Reps & Rating PostsVS.NET on Vista (New)Multiple .NET Framework Versions (New)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 Core 2 Extreme Ed., 2 WD Raptor 10K RPM 150 GB HDs RAID 1, 2 GBs DDR2 667 MHz RAM, 3 Viewsonic 17" LCDs, Windows Vista RTM, IE 7, Office 2007
RobDog888 is offline   Reply With Quote
Old Jan 31st, 2008, 10:48 PM   #7
Teddy
New Member
 
Join Date: Jan 08
Location: Malaysia
Posts: 1
Teddy is an unknown quantity at this point (<10)
VB.NET : Import object flash to VB.Net

Does anyone know how to import object flash into form VB.Net?
Teddy is offline   Reply With Quote
Old Jun 2nd, 2009, 09:09 PM   #8
volt4ge
New Member
 
Join Date: Jun 09
Posts: 1
volt4ge is an unknown quantity at this point (<10)
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!
volt4ge is offline   Reply With Quote
Old Feb 24th, 2010, 12:48 PM   #9
dagelmyster
New Member
 
Join Date: Feb 10
Posts: 5
dagelmyster is an unknown quantity at this point (<10)
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?
dagelmyster is offline   Reply With Quote
Old Mar 11th, 2010, 07:36 PM   #10
gkrambati143
New Member
 
Join Date: Mar 10
Posts: 1
gkrambati143 is an unknown quantity at this point (<10)
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
gkrambati143 is offline   Reply With Quote
Reply

Go Back   VBForums > VBForums CodeBank > CodeBank - Visual Basic .NET


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 07:55 PM.





Acceptable Use Policy

Internet.com
The Network for Technology Professionals

Search:

About Internet.com

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | E-mail Offers

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.