Home » Developer & Programmer » Forms » Check how flash button work in oracle developer
icon6.gif  Check how flash button work in oracle developer [message #118166] Tue, 03 May 2005 07:38 Go to next message
fahedakhter
Messages: 39
Registered: March 2005
Location: Pakistan
Member

Hai to All.
Check a new intresting topic in which I utilize flash button in oracle developer.Follow the whole step and inform me it is working or not I attach desired fmb with this topic.

Steps.....

1) Make a button in flash.
2) Right click on that button and seelct "ACTION".
3) In action window select "FSCOMMAND" and double click it.
4) In command text box write "c1" and in parameter text box
write "p1" this is for flash mx,for flash5 use this
on (press)
{
fscommand("c1", "p1");
}

5) close action window.
6) save the movie.
7) Run the movie by pressing ctrl+enter
Cool Open form builder.
9) Insert a active x control name it "flash"
10) Right click on that object and Insert contrl shockwavel falsh
bject.
11) Chose program menu---->Import ole library interface.
12) Import class shockwaveflash.shockwaveflash with its package and event(be sure event and package is there)
13) Write following code in WHEN-NEW-FORM-INSTANCE
DECLARE
B OLEOBJ;
BEGIN
B:=:ITEM('FLASH').INTERFACE;


ShockwaveFlash_IShockwa_0.MOVIE(B,'E:\TEST.SWF');
END;
14) In object navigator expand program unit.
15) double click on
shockwaveflash_shockwav_events(Package body).
16) On /* FSCommand */ EVENT150 rubb NULL and write this code.
PROCEDURE /* FSCommand */ EVENT150(interface OleObj,
command IN VARCHAR2, args IN VARCHAR2) IS
A OLEOBJ;
BEGIN
A:=:ITEM('FLASH').INTERFACE;
If command='C1' and args='P1' then
message('I am flash button');
end if;

END;

17) Run the form when you click flash button message is "I am
falsh button".
18) Enjoy it and pray for me.
Note:
I am attaching desired fmb with this topic.

Regard's

  • Attachment: FLASH.fmb
    (Size: 160.00KB, Downloaded 3270 times)
Re: Check how flash button work in oracle developer [message #118202 is a reply to message #118166] Tue, 03 May 2005 11:07 Go to previous messageGo to next message
vban2000
Messages: 207
Registered: March 2005
Senior Member
woW! this is really interesting!!

thanks for the article and example...

icon6.gif  Re: Check how flash button work in oracle developer [message #120666 is a reply to message #118166] Sun, 22 May 2005 04:56 Go to previous messageGo to next message
rahma
Messages: 1
Registered: May 2005
Junior Member
Wow, this is excellent. Well done.

I tried with your fmb, its working fine and good.

I tried to create the new fmb with steps which you had mentioned, but I am always getting the message.
FRM-41344:OLE object not defined for FLASH in the current record. I tried soo many ways, by coping the item,procedures,triggers from your orginal file, I am getting the same error.

Can you please help to fix the problem.

I am attaching the my fmb and swf file.

Thanks a lot.

Rahama
  • Attachment: f1.fmb
    (Size: 164.00KB, Downloaded 2169 times)
Re: Check how flash button work in oracle developer [message #125823 is a reply to message #120666] Wed, 29 June 2005 07:08 Go to previous messageGo to next message
WaleedShalabi
Messages: 2
Registered: June 2005
Junior Member
What I can do with this error???
When I try to create the form by my self this error occures
but when I run ur form it runs ok????
Plz Help If U Can!!!!!!!!!! Mad
FRM-41344:OLE object not defined for FLASH in the current record
icon8.gif  Re: Check how flash button work in oracle developer [message #295523 is a reply to message #118166] Tue, 22 January 2008 09:39 Go to previous messageGo to next message
ZZTOP2005
Messages: 31
Registered: August 2007
Member
hi fahedakhter
thank's for your good code
i used your explain and can do it properly,but
i have a problem:

I make a flash file by your explain and add it
to form (test_2.fmb) and write proper code in
ShockwaveFlash_Shockwav_EVENTS and ...,when i run
form test_2 it work properly and when click on
TEST 1 -> Item1,it message properly and when click on
TEST 2 -> Item2,it message properly and when click
on Item 3 it at first make proper Message and then
call form Form_1.fmx but when call this form ,
it hang on Or make error and dosen't properly work and
cuse error.i take picture from this error and make a
file by name error.jpg

what is wrong ?
please help me.

if form_1.fmx run seperately,it work good and execute
query.

I work with Developer 6i and oracle 9i.

attention:
you should unrar this source file on C:\TEMP for run.
  • Attachment: Source.rar
    (Size: 70.15KB, Downloaded 2054 times)
Re: Check how flash button work in oracle developer [message #296059 is a reply to message #118166] Thu, 24 January 2008 07:29 Go to previous messageGo to next message
ZZTOP2005
Messages: 31
Registered: August 2007
Member
anybody can't help me? Sad
Re: Check how flash button work in oracle developer [message #296140 is a reply to message #295523] Thu, 24 January 2008 17:13 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
Sorry, but some of us can't handle a 'rar' file. Just attach the files separately.

David
Re: Check how flash button work in oracle developer [message #296340 is a reply to message #118166] Fri, 25 January 2008 21:56 Go to previous messageGo to next message
ZZTOP2005
Messages: 31
Registered: August 2007
Member
thank's for your reply
i send this files again in exe format
you should take this files and put them in 1 directory (C:\temp) and run at first Test_2.fmx
Thank you Surprised
  • Attachment: Source.exe
    (Size: 395.41KB, Downloaded 2086 times)
Re: Check how flash button work in oracle developer [message #296348 is a reply to message #296340] Sat, 26 January 2008 00:46 Go to previous messageGo to next message
salwa
Messages: 76
Registered: December 2007
Member
i use developer 10g. i can not use it ocx problem
plese help
Re: Check how flash button work in oracle developer [message #296352 is a reply to message #118166] Sat, 26 January 2008 01:30 Go to previous messageGo to next message
ZZTOP2005
Messages: 31
Registered: August 2007
Member
that's right and i have this problem and can't solve it yet Sad
Re: Check how flash button work in oracle developer [message #296366 is a reply to message #118166] Sat, 26 January 2008 04:42 Go to previous messageGo to next message
ZZTOP2005
Messages: 31
Registered: August 2007
Member
this form work with Developer 6i properly
Re: Check how flash button work in oracle developer [message #296435 is a reply to message #118166] Sun, 27 January 2008 03:39 Go to previous messageGo to next message
ZZTOP2005
Messages: 31
Registered: August 2007
Member
dosen't any idea?
Re: Check how flash button work in oracle developer [message #296719 is a reply to message #296340] Mon, 28 January 2008 19:15 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
I can not download 'exe' files either. Please just attach the 'fmb' file.

David
Re: Check how flash button work in oracle developer [message #296758 is a reply to message #296719] Tue, 29 January 2008 00:04 Go to previous messageGo to next message
ZZTOP2005
Messages: 31
Registered: August 2007
Member
File 1
  • Attachment: TEST_2.fmb
    (Size: 180.00KB, Downloaded 1797 times)
Re: Check how flash button work in oracle developer [message #296759 is a reply to message #296758] Tue, 29 January 2008 00:05 Go to previous messageGo to next message
ZZTOP2005
Messages: 31
Registered: August 2007
Member
File 2
  • Attachment: TEST_2.swf
    (Size: 15.72KB, Downloaded 1988 times)
Re: Check how flash button work in oracle developer [message #296760 is a reply to message #118166] Tue, 29 January 2008 00:07 Go to previous messageGo to next message
ZZTOP2005
Messages: 31
Registered: August 2007
Member
File 3
Attention:You shoul copy File 1,File 2,File 3 in Same Directory (c:\temp) for work properly this forms.
Main File is Test_2.fmb
Thank's for you Reply David
  • Attachment: Form_1.fmb
    (Size: 48.00KB, Downloaded 1677 times)
Re: Check how flash button work in oracle developer [message #297019 is a reply to message #296760] Tue, 29 January 2008 23:07 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
I can't run Flash on my 6i installation as it is on Unix and as you can see OCX is not supported on my 10g installation. Someone else will have to help you.

David
  • Attachment: untitled3.JPG
    (Size: 34.69KB, Downloaded 1286 times)
Re: Check how flash button work in oracle developer [message #297069 is a reply to message #118166] Wed, 30 January 2008 00:56 Go to previous messageGo to next message
ZZTOP2005
Messages: 31
Registered: August 2007
Member
thank you david for your replying.
Re: Check how flash button work in oracle developer [message #601223 is a reply to message #297069] Mon, 18 November 2013 13:43 Go to previous messageGo to next message
Adeel Qadir
Messages: 48
Registered: November 2013
Location: Pakistan
Member
on my forms 6i ocx list shockwave flash object is not found
when i compile trigger this error is show

identifier ShockwaveFlash_IShockwa_0.MOVIE must be declare
Re: Check how flash button work in oracle developer [message #601233 is a reply to message #601223] Mon, 18 November 2013 15:18 Go to previous messageGo to next message
mughals_king
Messages: 392
Registered: January 2012
Location: pakistan
Senior Member
place ocx item on canvas form press F4 go into OCX property in property OLE CLASS select shockwave and if shockwave is not appearing then install shockwave flash player from net.

Regard
Mughal
Re: Check how flash button work in oracle developer [message #601651 is a reply to message #118166] Sat, 23 November 2013 13:17 Go to previous messageGo to next message
Adeel Qadir
Messages: 48
Registered: November 2013
Location: Pakistan
Member
Flash.fmb working perfectly and my own all swf run and work perfectly in flash.fmb

but

when i want to create my own form then i get a error
frm 41334 ole object not defined

what is this problem ????
Re: Check how flash button work in oracle developer [message #617732 is a reply to message #601651] Thu, 03 July 2014 03:21 Go to previous messageGo to next message
azamkhan
Messages: 557
Registered: August 2005
Senior Member
Adeel Qadir wrote on Sat, 23 November 2013 13:17
Flash.fmb working perfectly and my own all swf run and work perfectly in flash.fmb

but

when i want to create my own form then i get a error
frm 41334 ole object not defined

what is this problem ????


I am having the same problem. I think that there is some think missing.
Re: Check how flash button work in oracle developer [message #618184 is a reply to message #617732] Wed, 09 July 2014 02:26 Go to previous message
azamkhan
Messages: 557
Registered: August 2005
Senior Member
Any body can help please
Previous Topic: Compare Char Type with Char Type
Next Topic: ole2 package
Goto Forum:
  


Current Time: Thu Apr 25 05:35:43 CDT 2024