473,788 Members | 2,726 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Using Flash files in forms

Hello everybody, I want to use a Flash animation to make more beautiful
my form.
The problem is that I'm not able to create a shockwave object with a
transparent background .
In effect when using the following code

this.axShockwav eFlash1.Enabled = true;
this.axShockwav eFlash1.Locatio n = new System.Drawing. Point(24, 8);
this.axShockwav eFlash1.OcxStat e = ((System.Window s.Forms.AxHost. State)
(resources.GetO bject("axShockw aveFlash1.OcxSt ate")));
this.axShockwav eFlash1.Size = new System.Drawing. Size(224, 296);

and
this.axShockwav eFlash1.Backgro undColor = 16777215; // #FFFFFF
this.axShockwav eFlash1.WMode = "Transparen t";

the flash file appears in the form but with a white background.
The same file with this kind of settings appears with transparent white
zones if embedded in an html file.
(embed src="VigenereVi ttorioso.swf" quality="high"
wmode="transpar ent" bgcolor="#fffff f")
Can you explain what's wrong with my approach?

Thks a lot

--
My Email is correct

Inviato da www.mynewsgate.net
Nov 16 '05 #1
0 2238

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

Similar topics

1
1362
by: Eric | last post by:
I have the following code I am calling from a flash file. Everything works fine except that the string it returns for the file location does not include the slashes. It is returning G:SwaneyDownloadsReadme.txt instead of G:\Swaney\Downloads\Readme.txt. Is it something in my code that is causing this, or how flash is interpreting the variable? <!-- function browse() {
10
2745
by: Scott | last post by:
I have written an Access application that our employees use on a daily basis to enter information. It's comprises of a series of forms, a few data integrity check queries that run in the background and a few reports. Quite often I lament at the limitations of using forms, in particular how to make something that looks "stylish". This frustration may of course be caused by my own lack of skill/understanding on the subject, but for a...
5
1605
by: Trapulo | last post by:
Hi, I've a big trouble with an asp.net page. Basically, the page has an swf that starts and downloads some data from an other asp.net page. The application works well on my testing IIS 6, but when I upload it on production server (an other IIS6), it cannot download anything. The application is in ASP.NET 2.0. The page with swf, the swf, and the page that renders data (as xml) are on the same domain and same web site. The site has form...
7
1643
by: Haines Brown | last post by:
I'm trying to use a Shockwave Flash file as is except for a line of text that it displays. I'd like to hide that line of text, and so I tried to create a black mask to do it. However, I can't move the mask over the text. This is the idea: <div id="inside"> <embed>...</embed> <div id="mask"></div>
11
3527
by: emailus | last post by:
I am webmaster for the domain <www.alpha1.org.au>. Not being an expert in html, I take advantage of my domain Registrant's web building tool, 'Instant Website'. This tool is provided as part of the fee I pay for web hosting. 'Instant Website' provides the option of having your opening page as a Flash Page, which you'll see if you visit <www.alpha1.org.au>. Well, you'll see it if you visit from a Windows machine. For some reason, when...
1
3802
by: redet | last post by:
A demo created by a person who has since left, runs fine on a local (Windows XP) system within flash player 8, but when we try to access it through the html version (index.html) on a local system or on our server, there is a breakdown when it tries to load .FLV files sequentially. All the files share the same directory. There are no 'subfolders', all files are in the same root folder called group_quote. Given that the sequential loading...
4
1533
by: vinnie | last post by:
I have tried several times to make the flash website to communicate with the PHP script i have on the server, but it does not work. It should work in this way: when the fields on the forms are all "not blank" send the mail. The PHP then should be in charge to send the email to the destination address. The files are: PHP (server side):
2
1978
by: Mufasa | last post by:
I have a .Net 1.1 program that works fine that plays flash files. I am converting it to .Net 2.0 and am getting all kinds of compilation errors about not finding files or assemblies. Here's the error message in the design view of the window. Could not load file or assembly 'Interop.WMPLib, Version=1.0.0.0,
0
9656
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10366
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10175
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10112
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9969
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
5536
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4070
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3675
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2894
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.