Does using a formula in a “Flash Art SuperObject” actually work?
I have a FileGlobal variable called
I have a FASO object called
The FASO has a
Default image that it pulls from the “Flash Art Scrapbook”.
I populate the “Formula” section of the “FASO” with
In my code, I have:
... If «Video1» ≠ "" And FileExistsPath(«MediaPath»+«Video1») fgVideoMedia1 = «MediaPath»+"Video1.mov" Else fgVideoMedia1 = «MediaPath»+"NoVideo.png" Endif ...
After that, I have tried adding:
as well as:
Object "Video1" DrawObjects SelectNoObjects
as well as trying both:
ShowVariables fgVideoMedia1 Object "Video1" DrawObjects SelectNoObjects
and, for good measure:
Object "Video1" DrawObjects SelectNoObjects ShowVariables fgVideoMedia1
In all cases, it always displays the
However, if I hard-code the formula (from the “If” statement, above) into the FASO, it displays the image or video I expect.
I’m guessing I have setup the formula incorrectly somehow.
Any suggestions/pointers would be much appreciated!