Loading flash content into a web page

T

Tor Inge Rislaa

I would like to load a flash file dynamicaly into my web page by using VB
code. Is it possible to write a VB code to achieve the same as the HTML code
below.



<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
codebase=http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0

width="300" height="1" id="FlashTest" style="text-align: right">

<param name="allowScriptAccess" value="sameDomain"
/>

<param name="movie" value="Test.swf" />

<param name="quality" value="high" />

</object>









TIRislaa
 
K

Kevin Spencer

Sure. Just create a UserControl that has this HTML in it.

--
HTH,

Kevin Spencer
Microsoft MVP

Printing Components, Email Components,
FTP Client Classes, Enhanced Data Controls, much more.
DSI PrintManager, Miradyne Component Libraries:
http://www.miradyne.net
 
B

bruce barker

the trick is if you put runat=server on an object tag, it becomes a
server side com object. if you just want to control the movie name,
create a GetMovieName method and use:

<param name="movie" value="<%=GetMoviename()%>" />


otherwise create a custom control that renders the correct html


-- bruce (sqlwork.com)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,969
Messages
2,570,161
Members
46,705
Latest member
Stefkari24

Latest Threads

Top