Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 43069
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T15:26:13+00:00 2026-05-10T15:26:13+00:00

Usually Flash and Flex applications are embedded on in HTML using either a combination

  • 0

Usually Flash and Flex applications are embedded on in HTML using either a combination of object and embed tags, or more commonly using JavaScript. However, if you link directly to a SWF file it will open in the browser window and without looking in the address bar you can’t tell that it wasn’t embedded in HTML with the size set to 100% width and height.

Considering the overhead of the HTML, CSS and JavaScript needed to embed a Flash or Flex application filling 100% of the browser window, what are the downsides of linking directly to the SWF file instead? What are the upsides?

I can think of one upside and three downsides: you don’t need the 100+ lines of HTML, JavaScript and CSS that are otherwise required, but you have no plugin detection, no version checking and you lose your best SEO option (progressive enhancement).

Update don’t get hung up on the 100+ lines, I simply mean that the the amount of code needed to embed a SWF is quite a lot (and I mean including libraries like SWFObject), and it’s just for displaying the SWF, which can be done without a single line by linking to it directly.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-10T15:26:13+00:00Added an answer on May 10, 2026 at 3:26 pm

    Upsides for linking directly to SWF file:

    • Faster access
    • You know it’s a flash movie even before you click on the link
    • Skipping the html & js files (You won’t use CSS to display 100% flash movie anyway)

    Downsides:

    • You have little control on movie defaults.
    • You can’t use custom background colors, transparency etc.
    • You can’t use flashVars to send data to the movie from the HTML
    • Can’t use fscommand from the movie to the page
    • Movie proportions are never the same as the user’s window’s aspect ratio
    • You can’t compensate for browser incompetability (The next new browser comes out and you’re in trouble)
    • No SEO
    • No page title, bad if you want people to bookmark properly.
    • No plugin information, download links etc.
    • If your SWF connects to external data sources, you might have cross domain problems.
    • Renaming the SWF file will also rename the link. Bad for versioning.

    In short, for a complicated application – always use the HTML. For a simple animation movie you can go either way.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 94k
  • Answers 94k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer if (context.SomeTable.Any(row => row.SomeKey == 1234)) { DoStuff(); } You… May 11, 2026 at 6:51 pm
  • Editorial Team
    Editorial Team added an answer To add to @gid's answer, attributes are not present in… May 11, 2026 at 6:51 pm
  • Editorial Team
    Editorial Team added an answer You don't need a separate listener interface for every new… May 11, 2026 at 6:51 pm

Related Questions

As a side project, for fun, I'm rewriting my blog and CMS in Flex
I'm using the jQuery UI dialog box, in IE & FF on Windows I'm
The title pretty much sums it up, and I'm sure there's a perfectly valid
Our build is annoyingly slow. It's a Java system built with Ant , and

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.