Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 1.0 and 1.1 > ASP.NET 1.0 and 1.1 Basics
ASP.NET 1.0 and 1.1 Basics ASP.NET discussion for users new to coding in ASP.NET 1.0 or 1.1. NOT for the older "classic" ASP 3 or the newer ASP.NET 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Basics 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 April 26th, 2005, 01:20 PM
Authorized User
Join Date: Jan 2005
Posts: 35
Thanks: 0
Thanked 0 Times in 0 Posts
Default get size (W x H, pixels) of .swf archive

hi out there. i need to get size of .swf archive which i uploaded by file field...any idea?
Old April 26th, 2005, 04:34 PM
planoie's Avatar
Friend of Wrox
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts

I have no idea how you'd go about that in codebehind, however...

If you show the SWF in HTML, you can have some javascript check the offset width/height of the element that contains the SWF and set those values to some hidden form elements so you can post them back to the server. Potentially you could do all of this with some javascript that gets called by the onChange client handler of the file input element before the user uploads the SWF.


Similar Threads
Thread Thread Starter Forum Replies Last Post
get size (W x H, pixels) of .swf archive ACE2084 Javascript How-To 0 April 27th, 2005 11:32 AM
reducing the size of swf files Adam H-W Flash (all versions) 7 December 31st, 2004 07:50 AM
Delete Archive Logs Script rstelma Oracle 1 October 28th, 2004 01:18 PM
form, archive records between dates bubblez Access 2 October 2nd, 2003 08:34 PM
error searching archive vknowles Forum and Wrox.com Feedback 1 June 4th, 2003 08:46 AM

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