PDA

View Full Version : how to add flash in asp.net



sangeet_83
05-03-2006, 12:50 PM
Hello all,

I have created an Activex control using VC++.Using the object tag ,i call its dll in asp.net page.

<object ID="AxPlayer"
classid="clsid:AFB6AA3F-5D76-41E4-B6D9-6AD20026A988"
codebase="http://localhost/ActiveX/AxPlayer.dll#Version=1,0,0,3"
hspace=0
vspace=0 >

</object>
Since the Dll size is in Mbs ,it takes more time to download and showing white space in the Page while downloading.

I need to keep flash in the page showing the text "Activex control is Downloading".

1.how to do that??.
2.i need to play the flash only when the dll downloads.After that flash should be closed.
3.how do i know whether Dll is downloaded or not?

please help me.

cheers
sangeet

djr33
05-03-2006, 04:58 PM
This isn't ASP, I don't think. It's more related to Javascript... maybe you need ajax...

The thing is... this is client side... when it's downloaded to the viewer. Even if the host has sent it, the viewer might not have it running... so... you need to check with the viewer, and, without refreshing, know when it's done.

Look into ajax maybe... or maybe just javascript.

Not sure about dlls and such.