473,396 Members | 1,990 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,396 software developers and data experts.

alter size of flash movies

82
Hi I have a flash movie that is bigger than the axShockwaveFlash placeholder that plays it. The axShockwaveFlash placeholder expands to the size of the movie.

I have found a website at http://www.asp.net/web-pages/tutorials/files,-images,-and-media/10-working-with-video but asp is totaly different from c#.

How can I make the movie shrink to fit in the axShockwaveFlash placeholder?
Nov 5 '12 #1

✓ answered by zmbd

Would be nice to see the rest of your code.
However, try setting the size to what you want after the player starts somethng like:

Expand|Select|Wrap|Line Numbers
  1. (... set up code for the movie..._)
  2. //*start the movie
  3. axShockwaveFlash.Play();
  4. //*
  5. //*reset the size to what I want it to be now that the
  6. //*object is loaded and open
  7. axShockwaveFlash.Size = new System.Drawing.Size(1200, 700);
  8. //*
  9. //*restart the player
  10. axShockwaveFlash.Play();
  11. (... rest of the code ...)

2 2709
zmbd
5,501 Expert Mod 4TB
Would be nice to see the rest of your code.
However, try setting the size to what you want after the player starts somethng like:

Expand|Select|Wrap|Line Numbers
  1. (... set up code for the movie..._)
  2. //*start the movie
  3. axShockwaveFlash.Play();
  4. //*
  5. //*reset the size to what I want it to be now that the
  6. //*object is loaded and open
  7. axShockwaveFlash.Size = new System.Drawing.Size(1200, 700);
  8. //*
  9. //*restart the player
  10. axShockwaveFlash.Play();
  11. (... rest of the code ...)
Nov 5 '12 #2
mrcw
82
thank you
(rest of code 6000+ lines!)
Nov 5 '12 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: LL2000 | last post by:
Hello! I'd like to allow users to upload Flash movies to my website and have them displayed in a page. There are certain things that I either need in order to display them correctly, such as...
5
by: Sean Berry | last post by:
I have a news video that I am sending out for a client. There are embedded links to flash movies in the email. I want the popup to be a set size (400 x 400). I am currently using the...
6
by: Sławek Mróz | last post by:
Hello! I'm a beginner in C# programming and I'm wondering if it's possible to put Macromedia Flash movies and C# applications working together. If yes and you know some good web-articles...
0
by: simchajoy2000 | last post by:
Hi, I have a series of flash movies imbedded in my webpage and for users who use dial-up, these movies obviously open up at a different rate. However, this not only makes the webpage look very...
6
by: Andy G | last post by:
I have a client that is really pushing me to start using Flash MX Professional to replace VS.NET. Main arguement is that it looks better and flows nicer than visual studio developed applcations...
2
by: deepgun74 | last post by:
I have a blob column that is 4MB in length. I need to change it to store a 3GIG binary. 1) What is the maximum size a BLOB column can support? 2) How do i alter the size of an existing BLOB...
1
by: =?Utf-8?B?SGFr?= | last post by:
HI All, please, please help me the best solution to add Swift/Falsh files to .NET 2 web page. i thought the best way is to add a folder with all your Swift/Flash files to my project and creat a...
5
by: tjhchicago | last post by:
if an image which uses the onmouseout event is adjacent to a flash movie and the mouse goes directly from the image to an embedded flash movie the event will not fire moving the mouse out of the...
2
by: agavr | last post by:
Who knows how to grab a flash movie from a web page?
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
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,...
0
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.