Hi Robert,
This is a liitle long winded but ive tried to explain as much as possible so that you can understand it.
Below is a breakdown of the code that i have provided that will allow you to add variants in flash.
CODE BREAKDOWN
The 'btn_addcart' & 'btn_viewcart' are what your E-junkie add to cart / view cart buttons are called (instance names)
The 'c=cart&cl=37" is your ejunkie client id number (change the 37 to your e-junkie id number).
The 'dropdown0' & 'dropdown1' is what the comboboxes are called (change to your combobox instance names).
The 'Colour&os0=' & 'Size&os1=' is what will show up in the e-junkie popup window after the title of your item & shows like this:- (Colour: red) (Size: Medium) -
(you need to chane the words Colour & Size in the code to your needs)
Open up your test movie with the comboboxes in (im assuming you have a basic 1 layer & just 1 frame as this is all that is needed to set up a test your cart. Click on the 1st frame of the movie so that its selected - then click on the 'actions' tab - then simply paste the code below into the actions area while your 1st frame is selected (if done correctly you will see th 1st frame now has a dot with a small 'a' above it which means you have added some action script)
Code to copy ( from 'btn_addcart................}; ) & change to your own details as explained above........
btn_addcart.onRelease = function() {
trace("javascript:EJEJC_lc('
https://www.e-junkie.com/ecom/gb.php?c=cart&cl=37&ejc=2&on0=Colour&
os0=" + dropdown0 + "&on1=Size&os1=" + dropdown1 + "')");
getURL("javascript:EJEJC_lc('
https://www.e-junkie.com/ecom/gb.php?c=cart&cl=37&ejc=2&on0=Colour&
os0=" + dropdown0.value + "&on1=Size&os1=" + dropdown1.value + "')");
};
btn_viewcart.onRelease = function(){
getURL("javascript:EJEJC_lc('
https://www.e-junkie.com/ecom/gb.php?c=cart&cl=37&ejc=2')");
};
Give it a try & all should work perfectly but any problems, give me a shout;-)
cheers
h