Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
Classic ASP Professional For advanced coder questions in ASP 3. NOT for ASP.NET 1.0, 1.1, or 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Professional section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 29th, 2005, 02:21 PM
Friend of Wrox
 
Join Date: Jul 2003
Location: , , .
Posts: 121
Thanks: 1
Thanked 0 Times in 0 Posts
Default Flash or Movies in ASP.NET

Hello,
I need to use flash or movies on my ASP.NET page. I am keeping the data for those files in the BLOB data field on ORACLE database. Do you have any example how to retrieve data from ORACLE to show on the page?

I try to use this code, but it requires a physical path to the file.
I need get data from the database:

Imports Osmosis.Web.UI.Controls.FlashMovie

Dim movie As Osmosis.Web.UI.Controls.FlashMovie
Dim sPhysicalAppPath As String

sPhysicalAppPath = Request.PhysicalApplicationPath.ToString()
movie = New Osmosis.Web.UI.Controls.FlashMovie
movie.FlashOutputType = Osmosis.Web.UI.FlashOutputType.ClientScriptVersion Dection

movie.MovieName = sPhysicalAppPath + "/fish.swf"

movie.MajorPluginVersion = 7
movie.MajorPluginVersionRevision = 0
movie.MinorPluginVersion = 0
movie.MinorPluginVersionRevision = 0
movie.MovieHeight = "85px"
movie.MovieWidth = "85px"
movie.AutoLoop = True
movie.AutoPlay = True

movie.MovieVariables.Add("MyVar1", "MyValue1")
movie.MovieVariables.Add("MyVar2", "MyValue2")
movie.MovieVariables.Add("MyVar3", "MyValue3")

PlaceHolder1.Controls.Add(movie)

movie.Dispose()
movie = Nothing

Any help and suggestions will be nice.
Thanks
    Dmitriy :)
 
Old June 29th, 2005, 09:37 PM
planoie's Avatar
Friend of Wrox
Points: 16,481, Level: 55
Points: 16,481, Level: 55 Points: 16,481, Level: 55 Points: 16,481, Level: 55
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2003
Location: Clifton Park, New York, USA.
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

Cross post:

http://p2p.wrox.com/topic.asp?TOPIC_ID=32267




Similar Threads
Thread Thread Starter Forum Replies Last Post
Convert Flash Movies To Screensavers If Possible Ben Horne Flash (all versions) 7 December 15th, 2006 11:35 PM
Flash or Movies in ASP.NET Dmitriy ASP.NET 1.0 and 1.1 Professional 2 July 5th, 2005 09:22 AM
Flash or Movies in ASP.NET Dmitriy General .NET 2 July 1st, 2005 04:16 AM
Flash or Movies in ASP.NET Dmitriy Pro VB 6 2 June 29th, 2005 09:38 PM
Flash Movies In Dreamweaver Ben Horne Dreamweaver (all versions) 1 February 11th, 2004 02:51 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.