Some can see it some can't.. why?

Hello there,

I have a testing zone made on the client’s server. Strange thing is that they can see the “main” site which is exactly the same, excpet lacking a few images in the gallery. All of the embed etc… is the same. I had a few frineds check and everyone can see it just fine… what could this be? Temporary internet cache? Security settings? Firewall? They are able to see the site, just the images won’t load in… strange eh?

here is the link… (I’d like to keep this out of google)
www. m a co m ill w or k . com /t2

I’m using this Script for loading the images:

Stage.scaleMode = "noScale";
Stage.align = "TL";
 
import flash.display.*;
function loadBitmapSmoothed([url:String](http://www.kirupa.com/forum/String), target:MovieClip) {
 var bmc:MovieClip = target.createEmptyMovieClip("bmc", target.getNextHighestDepth());
 var listener:Object = new Object();
 listener.tmc = target;
 listener.onLoadProgress = function(target:MovieClip, bytesLoaded:Number, bytesTotal:Number):Void  {
  percent = Math.round((bytesLoaded/bytesTotal)*100);
  _root.content_image.pText.text = percent+"%";
 };
 listener.onLoadInit = function(mc:MovieClip) {
  mc._visible = false;
  var bitmap:BitmapData = new BitmapData(mc._width, mc._height, true);
  this.tmc.attachBitmap(bitmap,this.tmc.getNextHighestDepth(),"auto",true);
  bitmap.draw(mc);
  tellTarget("_root.content_image") {
   play();
  }
  // set size and position on load
  if (Stage.height/Stage.width>target._height/target._width) {
   img_prop = target._width/target._height;
   target._height = Stage.height;
   target._width = Stage.height*img_prop;
   target._y = (Stage.height/2)-(target._height/2);
   target._x = (Stage.width/2)-(target._width/2);
  } else {
   img_prop = target._height/target._width;
   target._width = Stage.width;
   target._height = Stage.width*img_prop;
   target._y = (Stage.height/2)-(target._height/2);
   target._x = (Stage.width/2)-(target._width/2);
  }
 };
 var loader:MovieClipLoader = new MovieClipLoader();
 loader.addListener(listener);
 loader.loadClip(url,bmc);
}
 
loadBitmapSmoothed(_root.file_name,_root.content_image.george.bg_con);
 
 
// set size and position on resize
var stage_listener:Object = new Object();
stage_listener.onResize = function():Void  {
 if (Stage.height/Stage.width>bg_con._height/bg_con._width) {
  img_prop = bg_con._width/bg_con._height;
  bg_con._height = Stage.height;
  bg_con._width = Stage.height*img_prop;
  bg_con._y = (Stage.height/2)-(bg_con._height/2);
  bg_con._x = (Stage.width/2)-(bg_con._width/2);
 } else {
  img_prop = bg_con._height/bg_con._width;
  bg_con._width = Stage.width;
  bg_con._height = Stage.width*img_prop;
  bg_con._y = (Stage.height/2)-(bg_con._height/2);
  bg_con._x = (Stage.width/2)-(bg_con._width/2);
 }
};
Stage.addListener(stage_listener);

and this is the embedd:

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<meta name="Description" content="yadda yadda" />
<title>title</title>
<script language="javascript">AC_FL_RunContent = 0;</script>
<script src="AC_RunActiveContent.js" language="javascript"></script>
<style type="text/css">
 body {
 height: 100%;
 margin: 0;
 padding: 0;
 background-color: #000000;
 }
 
</style>
</head>
<body bgcolor="#000000">
<script language="javascript">
 if (AC_FL_RunContent == 0) {
  alert("This page requires AC_RunActiveContent.js.");
 } else {
  AC_FL_RunContent(
   'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0',
   'width', '100%',
   'height', '100%',
   'src', 'maco',
   'quality', 'high',
   'pluginspage', 'http://www.macromedia.com/go/getflashplayer',
   'align', 'left',
   'play', 'true',
   'loop', 'true',
   'scale', 'noscale',
   'wmode', 'window',
   'devicefont', 'false',
   'id', 'maco',
   'bgcolor', '#000000',
   'name', 'maco',
   'menu', 'false',
   'allowFullScreen', 'true',
   'allowScriptAccess','sameDomain',
   'movie', 'maco',
   'salign', 'lt'
   ); //end AC code
 }
</script>
<noscript>
 <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="100%" height="100%" id="maco" align="left">
 <param name="allowScriptAccess" value="sameDomain" />
 <param name="allowFullScreen" value="true" />
 <param name="movie" value="maco.swf" />
    <param name="quality" value="high" />
    <param name="scale" value="noscale" />
    <param name="salign" value="lt" />
    <param name="bgcolor" value="#000000" />
    <embed src="maco.swf" quality="high" scale="noscale" salign="lt" bgcolor="#000000" width="100%" height="100%" name="maco" align="left" allowScriptAccess="sameDomain" allowFullScreen="true" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
 </object>
</noscript>
</body>
</html>

it this embedd type a problem for some browsers?

I recommend you use swfObject to embed any flash files in your htms :slight_smile:

i recently had an update to my flash, but it needes an admin to install

so I can’t see flash well in some cases it might be that

i recently had an update to my flash, but it needes an admin to install
so I can’t see flash well in some cases it might be that

[COLOR=black]I updated the embed to the swfobject type of embed (should have that anyway regardless) … and yes… I think there is a security/plug-in issue. My suspicion now after looking into this, is that there is some sort of security measure that limits the communication and access to the resources in the player. I’m not really clear on this, but since it is not local to one machine, but all of them on the network, I think this is something their network admin could fix. [/COLOR]
[COLOR=black]It’s all about this line (I think)[/COLOR]
[COLOR=black]

import flash.display.*;

[/COLOR]
[COLOR=black]I think this is sourced from the plug in… ?? is it? anyone?[/COLOR]
[COLOR=black]and If I wanted to have the .as file there for this to work regardless of the plug-in security issue, what would be the correct way to go about this? Could I have an .as file on the server? If so, I’ve been looking into it and it looks like a family of files or something.[/COLOR]

[COLOR=black]I suspect that even if they have their own machines fixed up to view the site correctly, they may still want to feel assured that this problem will not be experienced by others[/COLOR]

[COLOR=black]And finally, it is still VERY strange that they can see the main site fine… but I duplicated the site and placed it into a sub-directory (twice) … I triple checked all the file permissions… and it should work… ? [/COLOR]

[COLOR=black]now, come to think of it… I changed the permissions to 755 via my ftp program. I might have to do it from the control panel within their hosting environment… perhaps?[/COLOR]

[COLOR=black]any words would be greatly appreciated… this is quite a twilight zone problem, so any suggestions, no matter how wild, could end up the key to the solution of all of this.[/COLOR]

UPDATE: - there are two problems.

  1. I can see the images the client can’t
  2. the php files in the dev area will not run (click send on empty form)

I hope the file permission solution fixes both! … I have sent a request to the host to change the file permissions… sadly, the only person who could send me the control panel login info is away… crumbs!

I had similar problem with pictures when I enabled HotLink protection in control panel (with “allow direct requests” option selected).

you may need to stick the file you are importing on the web server

though I maybe wrong, as I think it sticks it into the swf, although saying that external AS class files need to be up there

what is the app doing? maybe it is linking to something which cause a secruity issue
which is stopping people seeing it