Visual Basic Development Bookmark and Share   
 Home > Visual Basic General > Shockwaveflash in Visual Studio 2008
 

Shockwaveflash in Visual Studio 2008

Hi..

I'm using VS 2008 and VB language.
I am trying to insert axshockwaveflash control into form, but I can't see that control in tool box.
anyway, in VS 2005, I can add it successfully, with add reference shockwaveflash.dll and then register 'regsvr32 flash.ocx' and then I can see the shockwaveflash control in toolbox but not in VS 2008.

Can anybody please help me?

thanks.
qiux  Friday, October 10, 2008 3:16 AM
Hi qiux,

To add this control to your toolbox, you have to right click to your toolbox and choose 'Choose items'. A new screen appears, choose the tab 'COM Components'. In this list you could find the 'Shockwave Flash Object'. Check it and close the screen. The controls is added to your toolbox.

When you put the control to your form, .net will create the ShockwaveFlashObjects and axShockwaveFlashObjects to the references of your project.

Hope this works for you...

Kurt
Kurt Vergeyle  Friday, October 10, 2008 8:33 AM
Hi qiux,

To add this control to your toolbox, you have to right click to your toolbox and choose 'Choose items'. A new screen appears, choose the tab 'COM Components'. In this list you could find the 'Shockwave Flash Object'. Check it and close the screen. The controls is added to your toolbox.

When you put the control to your form, .net will create the ShockwaveFlashObjects and axShockwaveFlashObjects to the references of your project.

Hope this works for you...

Kurt
Kurt Vergeyle  Friday, October 10, 2008 8:33 AM

Hello Kurt,

Nice example. How do i put same functions and events from externalInterface.call by AS3
How does shockwareflash call into external with VS Basic Apps?

Example:
If i am using with Flash-Movie like Flex-Application

Like this Applications.Exit(); = like applications was called by VS-App ( MDM Zinc 3. has worked withEvents by AS3 -> mdm.Applications.Exit(); )

Example Code:

<?xml version="1.0" encoding="utf-8"?>
<mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" creationComplete="AppInit()">
	
	<mx:Script>
		<![CDATA[
			import examples.Application;
			
			private function AppInit():void
			{
				// Initalize with VS Basic Project!
				examples.Application.init(this);
			}
			
			private function AppExit():void
			{
				// Exit VS Basic Project will to exit.
				examples.Application.Exit();
			}
		]]>
	</mx:Script>
	<mx:Button x="10" y="10" label="Click Exit" click="AppExit()"/>
	
</mx:WindowedApplication>
But Libraries do not work only Example like i want to know with events or functionsby sending externalInterface.call.

What does VS Basic Project call onto shockwareflash?

-> examples.Application.Exit(); was parsed by ExternalInterface.call. ExternalInterface should to connect with currecty event or function fom VS Basic.

Can you show example?
I hope my idea with shockwaveflash + VS Basic = swf2exe like MDM Zinc 3.x, TopCom SwfKit 3.x, Adobe Air 1.5x, ScreenTimes mProjector 4.x etc....

Thanks Regards, SnakeMedia
lol
SnakeMedia  Monday, June 08, 2009 12:57 AM
hey Kurt, i tried to do that, pero i can`t find the shockwave flask object in my COM Components, and i need it..รง


im using Visual Studio 2008, ahh! and i already add the reference for shockwave..


thanks for your help
Hernan j Gonzalez  9 hours 47 minutes ago

You can use google to search for other answers

Custom Search

More Threads

• Filter Data using Initials
• need to attach form with sql data to a menu item
• Programatically reading an IList
• How can I change a DataGridView Fontsize in VB.Net at runtime
• Gradient background of listbox selected item on mouse click
• how to update changes made in database on a form when running
• Question Regarding SQL in VB.net. Using Aliases
• ShareName of a Network Disk Drive
• Reading arrays from another form - VB.Net 2005
• Can Visaul Basic Express work as an FTP app does transfering files, etc? Can I use the same in my app?