iLike

FREQUENTLY ASKED QUESTIONS

Why the slides with YouTube and viemo does not display any video ?
Do not try Youtube and Vimeo features on local. You must try it on a web server.

In case of vertical Slider my bwrowser's scollbar does not appear.
Check your CSS body tag. overflow property of CSS must have "scroll" value
( for example: body { margin:0; padding:0; overflow:scroll; } )

About Vimeo
In order to use Vimeo feature of SlideCake you should get an Application Consumer Key at http://vimeo.com/api/applications.
Add it to XML option: vimeo_oauth_key="2ae4ae236e3faff1b9a8a2fed46ecbe9"

What is Google Maps API key
A single Maps API key is valid for a single "directory" or domain.
You must have a Google Account to get a Maps API key, and your API key will be connected to your Google Account.
In order to use Google Mpas with SlideCake you need your own API key and insert it in config.xml file of SlideCake.

SlideCake does not display feeds
In order to add FeedBurner feeds you must indicate the XML attribute proxy_php. It means Flash needs the file proxy.php to properly load feeds.
Say to Flash where it is!
Open XML file, and if you add a FeedBurner slide node ( Do you see proxy_php attribute? OK, set the url or path where proxy.php file is ), then you should have the following

<slide label="FEED BURNER">
    <content>
        <swf></swf>
        <bitmap></bitmap>
        <string></string>
        <movieclip></movieclip>
        <video>
            <youtube></youtube>
            <vimeo></vimeo>
            <livestream></livestream>
        </video>
        <feedburner proxy_php="php/proxy.php" items="20" target="_parent">http://feeds.feedburner.com/FlashCs3AndFlashCs4Tutorials</feedburner>
    </content>
</slide>

Problems with Internet Explorer ?
During the development of SlideCake, I realized (thanks to my friend developer Eros Sormani ) that had a problem with SWFObject and Internet Explorer.
In practice, the first time that the swf was loaded everything was successful. But, to refresh the same page, the swf totally lost the coordinates of stage and all the objects were positioned to 0,0 coordinates.
After several attempts, finally we came to the solution:

1) Pass a random value to SWF each time it is loaded, so IE does not cache the swf ( We used a simple JavaScript function ).
2) Add two variables (flashvars), width and height.

The second step reason is because of the flash on internet explorer lost the references of the Stage.

<body>
    <div align="center" id="content">
        <script type="text/javascript">
    // <![CDATA[
        var so = new SWFObject('main.swf?cahcebuster='+ escape((new Date()).getTime()), 'slidecake', '976', '400', '10', '#FFFFFF');
        so.useExpressInstall('swfobject/expressinstall.swf');
        so.addParam('menu', 'false');
        so.addParam('allowfullscreen', 'true');
        so.addParam('allowScriptAccess','always');
        so.addVariable('width','976');
        so.addVariable('height','400');
        so.write('content');
    // ]]>
    </script>
    </div>
</body>