473,387 Members | 1,790 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Can I add Flash movie to C# project?

VMI
I asked this question some time ago, and I received a reply, but I never
followed up on the suggestion. That's why I'm posting again...

I'm trying to add a Macromedia Flash movie to my C# windows project so that
I can use it as a screensaver. I was told that the easiest way would be to
add a WebBrowser control to my Windows Form and then have it load the Flash
movie, but I'm not sure how to do this. I have VS.Net 2005.
Also, since I plan on selling this screensaver, what must the client PC have
installed (besides the .Net framework)? Are there any licencing issues with
the Flash movie?

Thanks.
Mar 13 '06 #1
3 7656
VMI,

I believe that the flash player is exposed as an active X control. If
this is the case, then wrapping it in a webbrowser would be a waste. You
should just embed the active x control on your form, and then display the
form as a full screen app for your screen saver.

You can just set a reference to the OCX/DLL that the control is expose
in for .NET to create a wrapper. You have to be sure that flash is
installed on the client machine as well as your app.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com
"VMI" <vonchi_m AT yahoo DOT com> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
I asked this question some time ago, and I received a reply, but I never
followed up on the suggestion. That's why I'm posting again...

I'm trying to add a Macromedia Flash movie to my C# windows project so
that I can use it as a screensaver. I was told that the easiest way would
be to add a WebBrowser control to my Windows Form and then have it load
the Flash movie, but I'm not sure how to do this. I have VS.Net 2005.
Also, since I plan on selling this screensaver, what must the client PC
have installed (besides the .Net framework)? Are there any licencing
issues with the Flash movie?

Thanks.

Mar 13 '06 #2
VMI,
Actually I think that was yours truly, and I must have done you a
disservice. The COM OCX files, if you have Flash 8 player installed would be
at:

C:\WINDOWS\system32\Macromed\Flash

--the correct one will show up in your toolbox as "Shockwave Flash Object".
You can set a movie location and address it programmatically on your Windows
Form screensaver to your hearts' content.

Have fun!
Peter

--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com


"VMI" wrote:
I asked this question some time ago, and I received a reply, but I never
followed up on the suggestion. That's why I'm posting again...

I'm trying to add a Macromedia Flash movie to my C# windows project so that
I can use it as a screensaver. I was told that the easiest way would be to
add a WebBrowser control to my Windows Form and then have it load the Flash
movie, but I'm not sure how to do this. I have VS.Net 2005.
Also, since I plan on selling this screensaver, what must the client PC have
installed (besides the .Net framework)? Are there any licencing issues with
the Flash movie?

Thanks.

Mar 13 '06 #3
VMI
Thanks for the info.

The Flash movie basically displays several images (one after the other) so
that when time's up for the current image, it'll scroll to the left until it
disappears from the screen while the next image scrolls to the left until it
fills up the screen.

For this type of simple animation, should I use Flash or should I add the
effects using .Net? I'm asking because I've read the Macromedia doesn't
'officially' support Flash movies on Windows Forms and there's a possibility
that they won't support it next version. Also, I don't think I can install
the Flash 8 player from the CD without Macromedia's approval. I would have
to tell the potential buyers to download and install the player.

Thanks.

"VMI" <vonchi_m AT yahoo DOT com> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
I asked this question some time ago, and I received a reply, but I never
followed up on the suggestion. That's why I'm posting again...

I'm trying to add a Macromedia Flash movie to my C# windows project so
that I can use it as a screensaver. I was told that the easiest way would
be to add a WebBrowser control to my Windows Form and then have it load
the Flash movie, but I'm not sure how to do this. I have VS.Net 2005.
Also, since I plan on selling this screensaver, what must the client PC
have installed (besides the .Net framework)? Are there any licencing
issues with the Flash movie?

Thanks.

Mar 13 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: Keith Rowe | last post by:
Hello, I am trying to reference a Shockwave Flash Object on a vb code behind page in an ASP.NET project and I receive the following error: Guid should contain 32 digits with 4 dashes...
18
by: Simula | last post by:
I am developing an HTML javascript application and I want to preserve state in a way that can be book-marked. I chose HTML anchors as a means of preserving state. When the application changes...
18
by: gconrads | last post by:
OK, today is my twofer special on js questions. BTW: the method used here is working in Firefox I'm working on a script that switches the width of a Flash movie between 100% and 812 pixels...
0
by: CptDondo | last post by:
I am trying to get started on a page which uses a short flash movie to show status. The flash movie itself is only a few seconds long - say 15 seconds. What I want is something like this...
2
by: cgdev1 | last post by:
Hi Folks, I'm somewhat a newbie to .Net (2.0) and even newer to Flash. I'm trying to incorporate a flash (.swf) file into my application. The code* below works in a .htm page (added to my...
2
by: streammalvern | last post by:
Hi, I am having a problem with a published Flash Movie. I included a preloader and the whole file size of the .swf is only about 1MB. If I go to the movie, it pauses even before the preloader...
6
by: trint | last post by:
How can I make my .swf file work in my c# project. I have tried to use this (works fine in regular html page as a test): <OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"...
4
by: Anil Gupte | last post by:
Any ideas/tutorials/resources? TIA, -- Anil Gupte www.keeninc.net www.icinema.com
2
dream party
by: dream party | last post by:
Inserting a Flash (SWF, FLV) file into HTML web page is already an old and familiar thing to all of us. It is a rather non-flexible thing that just to edit some options in the template. However, I...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.