View Single Post
Old February 28th, 2013, 05:35 AM is offline
Regular Contributor
Join Date: Feb 2010
Posts: 62
Default suppress a frame based on the copyfit of another frame

I am trying to switch which frame contains copy, based on a copyfit.
If copy fits in Frame A ("textblock"), then Frame B ("textblocklong") is suppressed.
If copy does not fit in Frame A, then Frame A is suppressed and Frame B is used.
Copy will always fit in Frame B.

I cannot figure out to get this rule to put copy into Frame B("textblocklong") only when FrameA !Copyfit

It does manage to suppress frame B when copyfits
It does manage to suppress frame A when !copy does not fit
It does not manage to put content into Frame B when !copy does not fit

This novice needs some help with this rule.

if ( == "textblock")
if (!Copyfit(new MagnifyAttributes("text", 100, 100, 0, 0)))
FusionPro.Composition.CurrentFlow.content = "";

( == "textblocklong")
FusionPro.Composition.CurrentFlow.content = "";

Reply With Quote