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

  • Page:
  • 1
  • 2
  • 3
  • 4
  • 5
  • >
  • loading comments...

Raymen

Posted 12 days ago

Hi 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

FlashXML Support

Hi. Unfortunately this feature is not supported. The url attribute is the path to the video.

Ami

Posted 5 months ago

I have my Index Page with 2 flash objects,

Text Menu

code

<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’)

code

<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

FlashXML Support

Please send us the link to your website.

Shalom

Posted 6 months ago

I 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?

FlashXML Support

Please use this FAQ article.

Shalom

Posted 9 months ago

For 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

FlashXML Support

The __MACOSX folder is from the Mac OS and there’s nothing we can do about it.

Shalom

Posted 9 months ago

Blessings, 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>

FlashXML Support

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.

  • loading comments...
  • Page:
  • 1
  • 2
  • 3
  • 4
  • 5
  • >

Do you have a question?

you will get an answer in 24 hours, tops.

(required) Only alphanumeric characters allowed
(required) (will not be published)
Please type a message! Your message is too long! Either try to keep within 1500 characters, or contact our support team via email at support [at] flashxml.net.
(will not be published)
You mistyped the two words!
Can't read? Change the image
Format your comments using Textile: *bold*, _italic_, "link text":address, @code@
Connect to us on Facebook Follow us on Twitter Subscribe to our RSS feed
Copyright © FlashXML.net 2009 - 2013