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

  • Home
  • SEARCH
  • 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 976467
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T03:45:04+00:00 2026-05-16T03:45:04+00:00

Iäm using swf object to embed a swf on my web page. Same swf

  • 0

Iäm using swf object to embed a swf on my web page. Same swf is shown on 5-6 links on my web page but every time it takes same time to load the swf, any idea?

Here is the code

var href = 'http://xyz.com/dialog/demo.swf';
var flashvars = {};
var params = {};
params.wmode = "transparent";
params.allowscriptaccess = "always";
params.swliveconnect = "true";
params.menu = "false";
var attributes = {};
attributes.id = "c2c";
attributes.name = "c2c";
swfobject.embedSWF(href+"?nocache="+siteID+"&phone="+num+"&siteid="+siteID, "infBox", "100", "60", "9.0.0", "http://xyz.com/dialog/expressInstall.swf", flashvars, params, attributes);
  • 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. Editorial Team
    Editorial Team
    2026-05-16T03:45:05+00:00Added an answer on May 16, 2026 at 3:45 am

    In the following line in your code. You are explicitly letting swfobject not to cache your movie.

    swfobject.embedSWF(href+"?nocache="+siteID+"&phone="+num+"&siteid="+siteID, "infBox", "100", "60", "9.0.0", "http://xyz.com/dialog/expressInstall.swf", flashvars, params, attributes);
    

    You need to remove or update the nocache variable. In your code is not specified but I’m sure that the var “num” is being randomized somewhere in your code.

    suggestion 1 – remove no cache completely:

    swfobject.embedSWF(href, "infBox", "100", "60", "9.0.0", "http://xyz.com/dialog/expressInstall.swf", flashvars, params, attributes);
    

    solution 2 – only remove the num variable from the swf address query

    swfobject.embedSWF(href+"?nocache="+siteID+"&phone="+"&siteid="+siteID, "infBox", "100", "60", "9.0.0", "http://xyz.com/dialog/expressInstall.swf", flashvars, params, attributes);
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have many SWF file those I have included in my web page using
I am trying to embed swf to html, and I'm using SwfObject 2.0 My
I'm using a local shared object as means to transfer data between two swf's
I am using flvplayer.swf player, it is playing the videos,but before playing the video
Like most people I use SWFObject to embed Flash (swf) files to my Web
I'm using swfobject to load a flash object on my site and it's loading
At this point I'm stumped. The below embed code causes Object Required errors every
I have two slideshows in one page using javascript http://www.flickrshow.com/static/scripts/flickrshow-7.2.min.js , but it only
I'm using the gskinner.com bridge to load and talk between a as2.0 object in
I want to play flv files on my web page using jw player, can

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.