These 2 messages were posted in the FlashTyper forum as well but I think I might better be able to get an answer here:

I have been totally baffled by a bug (I think) that I have been experiencing in Flash when using SWFs produced by FlashTyper. What I want to be able to do is load the SWF into an empty "holder" movie clip. The movie clip lies in _level0 and has onClipEvent handlers attached to it . There is a preloader to completely load the FlashTyper SWF and update the variable _root.loading = false when fully loaded:

theHolder movie clip actions:

onClipEvent(load){
this._visible = false; //hide the SWF
this.stop(); // Make sure it doesn't play
isEven = new Boolean (); // define a new boolean
}

onClipEvent(enterFrame){
if (!_root.loading) { // do the following ONLY if the SWF is completely loaded
frame = _parent._currentFrame; // get the frame of the main timeline
testNum = frame/2;
if (testNum == int(testNum)) {isEven = true;}
else {isEven = false;} // see if the _currentFrame of the timeline is odd
this._visible = isEven; // set the visibility to cause a "strobe effect"
}
}

The problem is that the variable" frame" always shows up as "undefined". I have tried the following references which also yield "undefined"

frame = this._currentFrame;
frame = _level0._currentFrame;
frame = _root._currentFrame;

Furthermore, I can't make references to several of the properties in the debugger which seem to be greyed out. Does anyone know why this occurs?

When I load another SWF I have generated, the script works like a charm...

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

Message 2:

I have been working a solid 10 hours on this behaviour and can elaborate a little more. It seems that after the Flashtyper SWF has been loaded into theHolder movie clip, all references that target object properties outside theHolder or using the keyword "this" resolve as undefined. For example, all the following references within the OnClipEvent(enterFrame) of theHolder resolve as undefined:

this._currentFrame;
this._x;
this._y;
...
this.[anyProperty]

In addition, I cannot even reference objects outside theHolder using absolute or relative referencing so all the following within the onClipEvent(enterFrame) on theHolder evaluate to undefined:

_root.[anyProperty]
_root.[anyObject].[anyProperty]
_parent.[anyProperty]
_level0.[anyProperty]
_level0.[anyObject].[anyProperty]

(excuse my pseudo-code above ...)

If I make these same references from outside theHolder then they all resolve perfectly. Wierd! _root.theHolder.currentFrame is undefined from within theHolder but resolves when placed on any object or frame outside theHolder. In short, it seems as if the loaded Flashtyper SWF is oblivious of the environment into which it is loaded. According to the Flash 5 Bible, actions placed on theHolder object itself should continue unperturbed even after a movie is loaded into the clip. I reiterate that this behavior does NOT occur with other SWF files that I have loaded into theHolder - only Flashtyper SWFs. Is this some type of protection in the SWF or a bug? Help!!!