Finding dimensions for swf using ASP or Javascript

Posted on 2009-02-10
Last Modified: 2012-05-06

i've been looking everywhere for an ASP or Javascript script that will read an swf file and give me the width and height... i need this for customer's content management system so they can upload flash banners to their site...

i've used the 4guysfromrolla script a few years ago but that no longer works due to changes in the way swfs work...

thanks in advance

Question by:dog_star
    LVL 29

    Accepted Solution

    Hi dog_star,
    Perhaps you can retrieve dimensional information via the TGetProperty Flash method.

    Check this custom JS function - getDimensions(). It explained in details here:

    Author Closing Comment

    will try it out... thanks for the link...

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    What Security Threats Are You Missing?

    Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

    Suggested Solutions

    Article by: DanRollins
    This article describes a JavaScript program that creates a maze made of hexagonal cells.  In Part 2 (, we'll extend the program by adding a depth-…
    In Part 1 ( we covered the hexagonal maze basics -- how the cells are represented in a JavaScript array and how the maze is displayed.  In this part, we'…
    In this tutorial viewers will learn how to create a basic motion tween animation in Flash Open a new document in Flash: Draw/import an image: Press CTRL + F8 to convert it into a graphic symbol: Select a frame (how long you want the tween to last): …
    The goal of the tutorial is to teach the user how to set there setting in Adobe Flash Media Live Encoder and YouTube for optimal video and audio quality.

    760 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    11 Experts available now in Live!

    Get 1:1 Help Now