Okay I see where you are going with it now.
However let's take the two clauses of the rules...
Part 1 said:
When making a melee attack, you get a +2 flanking bonus if your opponent is threatened by a character or creature friendly to you on the opponent’s opposite border or opposite corner.
and
Part 2 said:
When in doubt about whether two friendly characters flank an opponent in the middle, trace an imaginary line between the two friendly characters’ centers. If the line passes through opposite borders of the opponent’s space (including corners of those borders), then the opponent is flanked.
Part 1 defines the rule. Part 2 attempts to further clarify Part 1, with the words "when in doubt".
You are interpreting that an opponent is flanked if 1 OR 2 = true.
You cannot look at Part 2 as a rule in and of itself. Therefor, I say that if 1 AND 2 = True. In fact I'd say that what the rule is saying is that...
If Rule 1 = True then opponent is flanked.
If Rule 2 = True then Rule 1 MAY also be true.
Thus, Rule 2 exists only to help us determine the truth of Rule 1 if we are having problems. The requirements and restrictions of Rule 1 still apply.
With this interpretation I believe that you CANNOT flank while ranged. Your Formorian situation oddity may still apply if you look at the rules only as written. This is because the Formorian phrase "invents" a "flanked" status for an opponent that is never adequately explained. It is mentioned in Rule 2, but Rule 2 is already contingent upon the status of Rule 1.
Since this "flanked" status is not adequately explained, it seems to me that we can either say that no such status exists, and the Formorian rule essentially says "no formorian can be flanked" or that a "flanked" status exists, and is "insinuated" by a combination of Rule 1 AND Rule 2.