Embedding Flash SWF files in Visual Basic - Flash Tutorials
 
  Buy Ebooks, Video Games, DVDs, Electronics and more !
Home | Help Forums | Web Design Tutorials | Free Swishmax Downloads Make Money Online Blog . Free Image and Photo Sharing and Hosting

 

 

Company

Home

Nework Details

Tutorials

SWiSH 2

SWiSHMax

Flash MX

PHP & MySQL

HTML / JScript

Adobe Photoshop

Corel Draw

Gimp

Miscellaneous

Downloads

Templates

Plugins

Fonts

Wallpapers

Free Images

Scripts and Codes

Products

E-Books

SWiSH BB

SWiSH Templates

SWiSH-DB Newsletter
Subscribe to our newsletter : GO
  Partners / Affiliates

   Free image hosting
   Web Design Pakistan
   Swish Templates
   SWiSH Climax
   Talkfreelance Community
   Template Desire
   Lite boards
   Script Sector
   GimpTalk
   13dots
   Idea Designs
   PHP Cafe
   Sposatoettore
   Free swishmax templates
   Swishzone

Manage your site with Flax Article Content Management System
Embedding Flash SWF files in Visual Basic
Category : Flash | Level : Expert | Language : English
Ask Question | Read Comments | Post tutorial | Previous | Next

Web www.swish-db.com

For making our VB projects more attracitve we embed our flash made
Movies into our VB files. Lets make a simple example have simple
animations.

In this example we will add a simple animated SWF in VB.

QUOTE

This is just Flash part.
------------------------
--- Follow The Steps ---
------------------------
1. Write TEXT and convert it to symbol.
2. Just give it some Fade out Effect.
3. Export it as swishdb.swf


QUOTE

Now this is Visual Basic 6 Part.
------------------------
--- Follow The Steps ---
------------------------
1. Run VB6 and select Standard EXE
2. Now save both FORM and PROJECT with name swishdb.
3. Now right click on the left tool bar and select Components.

user posted image

4. Now from components ----> Controls, check the option of Shockwave Flash  and press OK

user posted image

5. Now you will see a new component in the left tool bar.

user posted image

now click on it, and draw a rectangle on your form. It will look like a white rectangle, you can set its height and width from Properties.
6. Now simple click on that white rectangle and now see its properties on the right side. Its properties will look like this

user posted image

Now click on the button in front of CUSTOM. A window will apear like this

user posted image

7. Now give the exact path of your SWF file (swishdb.swf). And check the option
of Embed Movie.

8. Now you can set different properties from Properties. For example if you want to make your movie transparent, then do the following steps. Scroll down all properties, you will see an option WMode, now write Transparent in front of it, so it will look like this.

user posted image

9. Now RUN your project. If you make EXE file, the SWF movie is embeded in the main source, now you can delete those SWF files.


QUOTE

You can use this tutorial for both Flash and SWiSH. Because the method
of embedding SWF is same.
regards
Ali Roman


.:: Download Example Files ::.


© 2002-2005 Flaxweb Network | Article Manager | Gimp Tutorials Library | RAD C++ Library | Free C/C++ Sourcecode |
Sites of interest : Web Design Blog | Swish Templates | Swishmax Ebook | Photoshop Templates | Gimp Tutorials | Text Forum | Make Money Online