Forum Stats

  • 3,768,724 Users
  • 2,252,841 Discussions


Embed Animated Flash Objects (*.swf file) in Oracle Forms.

398653 Member Posts: 97
edited Apr 19, 2011 4:36AM in Forms
Hello All,

To Embed Animated Flash Object (Shockwave *.swf File) in Oracle Forms, Please Follow the Steps Below.

1. Draw "ActiveX Control" Item on Canvas with the Name "OCXITM".
2. Select "ActiveX Control" Item & Go to its Properties (By Pressing F4).
3. Select "ShockwaveFlash.ShockwaveFlash" in "OLE Class" Property of "ActiveX Control" Item.
4. Come again to the Canvas.
5. Right Click on "ActiveX Control" Item, Select "Insert Object...".
6. In Control Type List, Select "Sockwave Flash Object" and Press "OK".
7. On Canvas, Select "ActiveX Control" Item, Go to "Program" Menu, Select "Import OLE Library Interfaces...".
8. Select All "Method Package(s)" & "Event Package(s)" for "ShockwaveFlash.ShockwaveFlash.X" & Press "OK".
9. Go to "Object Nevigator" (By Pressing F3) & Expand "Program Unit" to verify that the Packages are Successfully Imported.
10. Compile All the Objects (By Pressing "Ctrl+Shift+K").
11. In "WHEN-NEW-FORM-INSTANCE" Trigger Write the Below Code.
** Author : Muhammad Waseem Haroon *
** Dated : 07-Apr-2005 *
** Purpose : To Call Macromedia Flash Object (*.swf File) *
** Module : Logo *
oleitm OLEOBJ;
oleitm := :item('OCXITM').INTERFACE;
ShockwaveFlash_IShockwa_0.Movie(oleitm,'d:\movie.swf');--it can be dynamic.
12. Compile, Save & Run Your Form.... and... See the Beauty.

Thanks & Regards

Muhammad Waseem Haroon
[email protected]
[email protected]
[email protected]


This discussion has been closed.