Our website, http://www.engagethoughtware.com uses a 3D tree for navigation,
so that when you click on a node of the tree it loads a .swf using the
MovieClipLoader class. Once the clip is loaded, it tells the loaded clip to
play (opening the panel).

 

Here's the problem:  If you're using a router (or similar device?) that has
SPI (Stateful Packet Inspection) turned on, the loaded clips randomly don't
open - very strange behavior. 

 

1.       I am not loading anything cross-domain. 

2.       If you use https://www.engagethoughtware.com, (with the "s" after
http) everything works fine, even with SPI turned on

3.       Firefox seems to have more problems than IE7.

4.       What panels open and don't open seems to be random.

5.       Found this on the web that may help, as this problem is even more
apparent in IE 7 on Windows Vista: 

Microsoft's latest operating system, Vista, is unable to operate properly
with some firewalls that use SPI (Stateful Packet Inspection) as found in
routers like the D-Link DI-724U, the Netgear WGR614, the Linksys WRT54GS and
possibly others.[1] This may be related to previous failures to work
properly.

 

Anyone else seeing this problem with their websites, or on ours? 

 

This is a feature that is defaulted to "on" on my Netgear WPN824 v2 Router,
and I'm sure this problem will pop up other places, we've already seen it
happen on a coffee shop's wireless network. 

 

What could be causing the SPI Firewall to block my .swfs?

 

Code below:

 

----------------------------------------------------------------------------
-----------

 

public function startPreLoad(node:Number,showPoint:MovieClip){

                                trace("Start Pre Load show
point:"+showPoint);

                                

                                /*Display LOADING GRAPHICS*/

                                var loadingGraphics:MovieClip =
_root.attachMovie("loader","loader",69);

                                loadingGraphics._x = 530;

                                loadingGraphics._y = 300;

                                

                                loadingGraphics.text_txt.text = "loading:";

                                

                                contentContainer._visible = false;

                                

                                var my_mcl:MovieClipLoader = new
MovieClipLoader();

                                

                                var mclListener:Object = new Object();

                                

                                mclListener.showPoint = showPoint;

                                

                                // Create listener object:

                                mclListener.onLoadError =
function(target_mc:MovieClip, errorCode:String, status:Number) {

                                                trace("Error loading image:
" + errorCode + " [" + status + "]");

                                };

                                

                                mclListener.onLoadStart =
function(target_mc:MovieClip):Void {

                                                trace("onLoadStart: " +
target_mc);

                                                target_mc._visible = false;

                                };

                                

                                mclListener.onLoadProgress =
function(target_mc:MovieClip, numBytesLoaded:Number,
numBytesTotal:Number):Void {

                                                var numPercentLoaded:Number
= numBytesLoaded / numBytesTotal * 100;

                                                trace("onLoadProgress: " +
target_mc + " is " + numPercentLoaded + "% loaded");

 
loadingGraphics.text_txt.text = "loading:
"+Math.round(numPercentLoaded)+"%";

                                };

                                

                                mclListener.onLoadComplete =
function(target_mc:MovieClip, status:Number):Void {

                                                trace("onLoadCOMPLETE");

                                                this.showPoint.useHandCursor
= true;

                                                

 
loadingGraphics.text_txt.text = "Click To Enter";

 
_root.loader.gotoAndStop("loaded");

                                                

                                                // Dan's code to get a
single click from the outline to open up the panel

                                                if(_root.fromOutline ==
true){

 
this.showPoint.useHandCursor = false;

                                                                trace("____
REMOVE LOADER ____");

 
_root.loader.removeMovieClip();

 
_root.attachMovie("","blank",69);

                                                                trace("____
REMOVE LOADER ____");

 
trace("target_mc: "+target_mc);

 
target_mc._visible = true;

 
target_mc.gotoAndPlay("show");

 
motion.freeze();

 
_root.Menu.resume.enabled = false;

                                                                

                                                                // hide the
side menu

                                                                var animate
= false;

 
_global.hideMyMenu(animate);


                                                }

                                };

                                

                                my_mcl.addListener(mclListener);

                                

 
my_mcl.loadClip("wtSlide"+node+".swf",contentContainer);

                                

                }

_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to