Jump to content
Sign in to follow this  
hai2mie

Visual Basic Dan Flash

Recommended Posts

Apa kabar rakan2 sekalian?

saya nak minta tolong sapa2 yg tahu nak selesaikan masalah ni

saya nak buat satu program.

pada splash form,saya nak letak flash.saya dah buat animasi flash tu.dan sekarang saya tak tahu macam mana nak letak dalam visual basic

harap ada sapa2 yg tahu dapat tolong saya.

sekian terima kasih...

Share this post


Link to post
Share on other sites

huuh... tolong laa... xpayah laa nak mengaburkan mata orang lain dgn penggunaan GUI yg melampau dalam sistem korang.. baik ko amik masa utk check bug...

anyway.. check kat project>reference.. maybe ada kot.. aku xpasti.. gunakan MSDN library tuh sepenuhnya..

Share this post


Link to post
Share on other sites

wa talak pandai punye olang, tapi wa lase aaa lu boleh guna itu "component" lor... sana ala banyak *.DLL fail + *.OCX fail lorrr... kalau itu Flash ada plovide itu liblaly aaa... so lu boleh import itu Active Control lorrr... tapi lu mesti ingat... jangan lupa kasi simpan itu system fail sekali sama itu ploject... kalau lu manyak nasib baik... lu cali dalam itu system directory untuk itu OCX punye flash player lor.... semoga splash screen lu berjaya

Share this post


Link to post
Share on other sites

Since that flash is for browser.... apa kata kalau ngko letak component webbrowser tuh VB6.. lepas run flash tuh kat webbrowser tuh. biggrin.gif amcam?? component webbrowser tuh standard datang dengan VB6

Adios

Share this post


Link to post
Share on other sites

Hai hai2mie,

Ni ade lah sikit contoh ringkas guna Flash dalam VB yang aku pernah baca. Aku modified sikit untuk sesuaikan keperluan ko kat sini. Harap-harap boleh running kat ko punya VB, sebab aku tak de program VB dan tak pernah guna VB pun. Cuma tukarkan nama fail Flash ko kat dalam objek flash bawah tu.

letak kod ni untuk ko punya fail *.frm

'gantikan ko punya VB VERSION kat baris ni.
Object = "{D27CDB6B-AE6D-11CF-96B8-444553540000}#1.0#0"; "swflash.ocx"
Begin VB.Form FlashVBDemo 
   Caption         =   "Contoh Shockwave Flash"
   ClientHeight    =   4932
   ClientLeft      =   48
   ClientTop       =   324
   ClientWidth     =   5436
   LinkTopic       =   "Form1"
   ScaleHeight     =   4932
   ScaleWidth      =   5436
   StartUpPosition =   3  'Windows Default
   Begin ShockwaveFlashObjectsCtl.ShockwaveFlash ShockwaveFlash1 
      Height          =   2772
      Left            =   240
      TabIndex        =   0
      Top             =   240
      Width           =   4932
      Movie           =   "c:\direktori\namafail.swf"
      Src             =   "c:\direktori\namafail.swf"
      WMode           =   "Window"
      Play            =   -1  'True
      Loop            =   -1  'True
      Quality         =   "AutoHigh"
      SAlign          =   ""
      Menu            =   -1  'True
      Base            =   ""
      Scale           =   "ShowAll"
      DeviceFont      =   0   'False
      EmbedMovie      =   -1  'True
      BGColor         =   ""
   End
End
Attribute VB_Name = "FlashVBDemo"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False

Kalau boleh running atau tak, bagitau lah...

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...