Questions
Answer
How to publish two different products on the same page
Place the products in two different folders (e.g. Banner folder contains all the files of the 3D Banner FX and Accordion folder contains all the files of the Accordion FX).
Add the following code where you want to display the 3D Banner FX:
<div id="Div3DBannerFX"></div>
<script type="text/javascript" src="Banner/swfobject.js"></script>
<script type="text/javascript">
var flashvars = {};
var params = {};
params.base = "Banner/";
params.scale = "noscale";
params.salign = "tl";
params.wmode = "transparent";
params.allowFullScreen = "true";
params.allowScriptAccess = "always";
swfobject.embedSWF("3DBannerFX.swf", "Div3DBannerFX", "600", "374", "9.0.0", false, flashvars, params);
</script>
Add the following code where you want to display the Accordion FX:
<div id="DivAccordionFX"></div>
<script type="text/javascript" src="Accordion/swfobject.js"></script>
<script type="text/javascript">
var flashvars = {};
var params = {};
params.base = "Accordion/";
params.scale = "noscale";
params.salign = "tl";
params.wmode = "transparent";
params.allowFullScreen = "true";
params.allowScriptAccess = "always";
swfobject.embedSWF("AccordionFX.swf", "DivAccordionFX", "600", "288", "9.0.0", false, flashvars, params);
</script>
If you use different products then replace the 3D Banner and Accordion's names with the name of your products.
Comments
Do you have a question?
you will get an answer in 24 hours, tops.





Raymen
Posted 12 days agoHi There;
You guys got some awesome flash xml controls here. I am using the box 3d and the video xml flash player. What I try to is call a java script function from the items in the media.xml file. I want to if the user click on the image item (on the right side of the video skin5 demo 5) then open a page, but I want to call java script from the item node in the media.xml. something like this is, or have you guys got a solution for me please?
Can I open a page or call some java script from the media xml or when a user click on the image which currently open a video?
I am using a Microsoft .net (VS 2012) environment…
Thanks
Raymen Boshoff
Hi. Unfortunately this feature is not supported. The url attribute is the path to the video.
Ami
Posted 5 months agoI have my Index Page with 2 flash objects,
Text Menu
<div id=“DivTextMenuFX”></div>
<script type=“text/javascript” src=“swfobject.js”></script>
<script type=“text/javascript”> var flashvars = {}; var params = {}; params.base = “”; params.scale = “noscale”; params.salign = “tl”; params.wmode = “transparent”; params.allowFullScreen = “true”; params.allowScriptAccess = “always”; swfobject.embedSWF(“TextMenuFX.swf”, “DivTextMenuFX”, “1338”, “46”, “9.0.0”, false, flashvars, params);
</script>
&
Photo Zoom FX (separate folder called ‘zoom’)
<div id=“Div3DPhotoZoomFX”></div>
<script type=“text/javascript” src=“zoom/swfobject.js”></script>
<script type=“text/javascript”> var flashvars = {}; var params = {}; params.base = “”; params.scale = “noscale”; params.salign = “tl”; params.wmode = “transparent”; params.allowFullScreen = “true”; params.allowScriptAccess = “always”; swfobject.embedSWF(“3DPhotoZoomFX.swf”, “Div3DPhotoZoomFX”, “1090”, “562”, “9.0.0”, false, flashvars, params);
</script>
The first one loads fine but the second one wont show anything….
Please help,
i’m new to this
Please send us the link to your website.
Shalom
Posted 6 months agoI am trying to upload 3 components on one page: Flip-text, tag-cloud and mp3-player. Does the code format for publishing 2 different products apply for the 3rd too?
Please use this FAQ article.
Shalom
Posted 9 months agoFor NewsTicker Product: <div id=“DivNewsTickerFX”></div>
<script type=“text/javascript” src=“NewsTicker/swfobject.js”></script>
<script type=“text/javascript”>
var flashvars = {};
var params = {};
params.base = “NewsTicker/”;
params.scale = “noscale”;
params.salign = “tl”;
params.wmode = “transparent”;
params.allowFullScreen = “true”;
params.allowScriptAccess = “always”;
swfobject.embedSWF(“NewsTickerFX.swf”, “DivNewsTickerFX”, “600”, “30”, “9.0.0”, false, flashvars, params);
</script>
Kindly help me understand how specifically to go about this. Also, please explain to me about the __MACOSX and assets folder because everytime I unzip a product, the 2 come in their separate folders and it is not easy to place them within the 2 different folers I initially created (i.e. Countdown & NewsTicker)
The only way to get them into their respective folders is to delete them and them zip them within the Finder and then move them to the 2 folders in their zip format and extract the zips from within the 2 folders such that “NewsTicker” has its own “assets and __MACOSX and “Countdown” folder also has its own. But even after I do that, the result is “movie not loaded”. Kindly instruct me how I should go about this accurately. Thanks
The __MACOSX folder is from the Mac OS and there’s nothing we can do about it.
Shalom
Posted 9 months agoBlessings, I have tried your formula on publishing 2 different products on the same page. I have earnestly tried to do this with Countdown FX and NewsTickerFX but when I opened the page, the result is “movie not loaded”
I placed the different products in 2 different folders, namely Countdown and NewsTicker. Even the __MACOSX and assets folder which are normally outside, I tried to zip and then extract them within these 2 different folders, each for its distinct folder (i.e. Countdown or NewsTickerFX) so that there would be no confusion, but the movie still refuses to load. Below are the codes I used as per your page please:
For Countdown FX Product: <div id=“DivCountdownFX”></div>
<script type=“text/javascript” src=“Countdown/swfobject.js”></script>
<script type=“text/javascript”> var flashvars = {}; var params = {}; params.base = “Countdown/”; params.scale = “noscale”; params.salign = “tl”; params.wmode = “transparent”; params.allowFullScreen = “true”; params.allowScriptAccess = “always”; swfobject.embedSWF(“CountdownFX.swf”, “DivCountdownFX”, “500”, “125”, “9.0.0”, false, flashvars, params);
</script>
You have to modify this line:
swfobject.embedSWF("CountdownFX.swf", "DivCountdownFX", "500", "125", "9.0.0", false, flashvars, params);and add Countdown/ in front of CountdownFX.swf like this:
swfobject.embedSWF("Countdown/CountdownFX.swf", "DivCountdownFX", "500", "125", "9.0.0", false, flashvars, params);The same problem for News Ticker FX.