From: Carlos1815 on
I have a project using Authorware 7 where at a decision icon,
depending on the extension of a graphic (.png or .swf), it either goes
to a display icon or ActiveX icon.

I currently have this code:

Test(branchgraphic1 = ".\Graphics\\*.swf", branchvar := 2,
branchvar := 1)

which works fine for the static graphics (.pngs, .jpgs) because if
they are not .swfs, they are assigned branchvar := 1 and go to the
display icon so they can be displayed on screen. However, this
doesn't work for a file with a .swf extension. As you can see, I used
a wildcard to indicate any file with an extension of .swf, but
Authorware won't see the graphic name in the variable branchgraphic1
as being a .swf unless I write out the entire name of the file, which
I don't want to do.

Am I going about the wildcard incorrectly? Any ideas?

Thanks!
Carlos