I have been working on a dummy business card with 4 variable images.  For
the sake of argument lets say Reebok, Nike, Adidas, & New Balance.  I
created a rule that contained the 4 images and looked like this:

switch (Field("Logo").toLowerCase())
{
        case "Adidas Logo".toLowerCase():
                return Resource("adidas.jpg");
        case "New Balance Logo".toLowerCase():
                return Resource("new_balance.jpg");
        case "Nike Logo".toLowerCase():
                return Resource("Nike Logo");
        case "Reebok Logo".toLowerCase():
                return Resource("Reebok Logo");
        default:
                return "";
}


I used the graphic switch wizard.  Once uploaded I put the rule file to
hidden and with the pencil icon at the end of the row selected the 4 files
which would be using the rule.  I also selected the 4 files I would be
using in the Logo graphic field.

When I went to preview and fill in the appropriate fields I chose Nike,
typed in the fields I needed to and hit preview.  The Adidas logo popped
in even though I had it set on Nike.  Same with New Balance, got the
Adidas logo.  Then I went back into the pencil and put them in a different
order so Reebok was at the top and the Reebok logo came out for all of
them.  How do I make it so that the options pair up with the right
pictures?  I thought I had already done it right, but apparently I'm still
missing something.  Thanks.

David Vincent
Bay State Envelope

+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- 
Calling all FP Web Users!

Do you have a question or lots of knowledge to share about FusionPro Web?

If so, join our Printable Web to Print Users' Forum today!

Send email to [EMAIL PROTECTED] to find out how! 
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-


--
Users of FusionPro Desktop have unlimited free email support. Contact Printable 
Support at [EMAIL PROTECTED] 
--
View FusionPro Knowledge Base, FusionPro Samples at
www.printable.com/vdp/desktop.htm

--
You are currently subscribed to fusionpro as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
--


--
Note:  All e-mail sent to or from this address will be received or otherwise 
recorded by the e-mail recipients of this forum. It is subject to archival, 
monitoring or review by, and/or disclosure to someone other than the recipient. 
Our privacy policy is posted on www.printplanet.com
--

Reply via email to