]|V|[agnus
03-02-2006, 03:17 PM
I've been adding a section to this site which already had the Flash working fine. Since I've gone back in, I haven't changed any of the <object /> code used, and it's not a movie working with server side data or anything. It's a one-frame-er with some simple ActionScript to assign rollover/out and click actions.
It is a part of a Rails app, so I've tested possible conflicts therein... removed scripts, and then I even removed Rails from the equation altogether, serving up just the markup necessary for the Flash movie via Apache... same result in IE.
What happens is everything else will load up fine, scripts will even take effect, but the browser will show only partial load status and continue to "work" seemingly forever, while the Flash movie doesn't load.
I've searched Macromedia, Microsoft, Google... not coming up with anything, and I'm fairly well stumped. Here is the AS for the movie, if by chance it might offer any insight.
for (prop in _root) {
if (prop != "$version") {
_root[prop].onRollOver = function() {
getURL('javascript:get_available_building("'+this._name+'")');
};
_root[prop].onRollOut = function() {
getURL('javascript:get_available_building()');
};
_root[prop].onPress = function() {
getURL('/living-options/for/'+this._name);
};
}
}
stop();
It's just supposed to be a simple navigation interface. Here is the related <object /> code as well:
<object
data="/swf/interactive-rendering-home.swf"
width="750"
height="256"
type="application/x-shockwave-flash"
>
<param name="quality" value="high" />
<param name="pluginurl" value="http://macromedia.com/go/getflashplayer" />
<!--[if IE]
<object
classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab"
width="750"
height="256"
>
<param name="movie" value="/swf/interactive-rendering-home.swf" />
<param name="quality" value="high" />
</object>
<![endif]-->
</object>
It is a part of a Rails app, so I've tested possible conflicts therein... removed scripts, and then I even removed Rails from the equation altogether, serving up just the markup necessary for the Flash movie via Apache... same result in IE.
What happens is everything else will load up fine, scripts will even take effect, but the browser will show only partial load status and continue to "work" seemingly forever, while the Flash movie doesn't load.
I've searched Macromedia, Microsoft, Google... not coming up with anything, and I'm fairly well stumped. Here is the AS for the movie, if by chance it might offer any insight.
for (prop in _root) {
if (prop != "$version") {
_root[prop].onRollOver = function() {
getURL('javascript:get_available_building("'+this._name+'")');
};
_root[prop].onRollOut = function() {
getURL('javascript:get_available_building()');
};
_root[prop].onPress = function() {
getURL('/living-options/for/'+this._name);
};
}
}
stop();
It's just supposed to be a simple navigation interface. Here is the related <object /> code as well:
<object
data="/swf/interactive-rendering-home.swf"
width="750"
height="256"
type="application/x-shockwave-flash"
>
<param name="quality" value="high" />
<param name="pluginurl" value="http://macromedia.com/go/getflashplayer" />
<!--[if IE]
<object
classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab"
width="750"
height="256"
>
<param name="movie" value="/swf/interactive-rendering-home.swf" />
<param name="quality" value="high" />
</object>
<![endif]-->
</object>