Forum Index > FlashYourWeb OS Support > MiniSlide Show New Topic Post Reply
 Limit number of loaded images
 |  Printable Version
Anonymous: razvan
 February 11 2010 02:20 AM (Read 957 times)  


Hi

I have this html code:

PHP Formatted Code
<script type = "text/javascript">
// <![CDATA[
/* swfObject requires 6 params - url to the swf, width, height, flash version required, and background color */
var so = new SWFObject ( "http://ursultrubadur.ase.ro/poze/minislideshow.swf" , "objectId" , "640" , "480" , "9.0.115.0" , "ffffff" );
so.addParam ( "flashVars", "xmlUrl=http://www.mydomain.com/photos/mediaRss.php?g2_itemId=14553&shuffle=true&showDropShadow=true&delay=3&transInType=Fade&transOutType=Random&showTitle=bottom&roundedMask=true&g2_maxImageWidth=600&g2_maxImageHeight=600&useFull=true&fullscreenIcon=false&limit=5" );
so.addParam ("wmode" , "transparent"); // Transparent background
so.addParam ("allowFullscreen" , "false"); // Only necessary if useFull is used
so.addParam ("allowScriptAccess" , "always");
so.write ( "targetDivId" ); // The actual writing to the target div
// ]]>
</script>


When I open
PHP Formatted Code
http://www.mydomain.com/photos/mediaRss.php?g2_itemId=14553&shuffle=true&showDropShadow=true&delay=3&transInType=Fade&transOutType=Random&showTitle=bottom&roundedMask=true&g2_maxImageWidth=600&g2_maxImageHeight=600&useFull=true&fullscreenIcon=false&limit=5


there are only 5 images, but when the minislideshow says "Loading x/35"... In my album (14553) there are 35 images but I want to load only 5 random images. What I must to do ??
Thank you.


 
Quote
suprsidr
 February 11 2010 04:17 AM  
Forum Admin
Admin

Status: offline

Registered: 12/20/06
Posts: 1221

Limit is part of the xmlUrl so it should be added earlier and with a %26

Please consider using our easy embed tool.

-s


There will always be...
 
Profile Email Website
Quote
Content generated in: 0.15 seconds
New Topic Post Reply



 All times are PST. The time is now 06:01 PM.
Normal Topic Normal Topic
Locked Topic Locked Topic
Sticky Topic Sticky Topic
New Post New Post
Sticky Topic W/ New Post Sticky Topic W/ New Post
Locked Topic W/ New Post Locked Topic W/ New Post
View Anonymous Posts 
Anonymous users can post 
HTML Allowed 
Censored Content