nice item!
- Has been a member for 3-4 years
- Contributed a Tutorial to a Tuts+ Site
- Exclusive Author
- Sold between 1 000 and 5 000 dollars
- Bought between 1 and 9 items
- Portugal
Great work again. And cool photography, by the way.
- Has been a member for 3-4 years
- Item was Featured
- Author was Featured
- Exclusive Author
- Sold between 10 000 and 50 000 dollars
- Bought between 1 and 9 items
- Europe
- Referred between 1 and 9 users
thanks… 
Beautiful design man. Awesome.
Just wondering if it’s possible to put a link in the text heading as well?
Is posible to stretch the photo, not crop the sides? Then it would be very useful for photographers!
m.
I’m looking for something that will allow me to keep updating the XML every few seconds/few minutes. Is this possible? Would the flash file show the updated XML or does it just read it once?
- Has been a member for 2-3 years
- Exclusive Author
- Sold between 1 000 and 5 000 dollars
- Bought between 1 and 9 items
- Canada
- Referred between 1 and 9 users
Can it load swf files?
Is it possible to layer this behind html as a background rotator? I modified the CSS for the ID flashcontent and gave it a -1 z-index. I have two other gives I want to place on top that I gave z-index’s of 9999. All the divs are absolutely positioned.
<div style="position:absolute; z-index:1;"> Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</div> <div style="position:relative; z-index:0;"><div id="flashcontent" align="center"><strong>You need to upgrade your Flash Player.</strong> </div></div>
This does not work. It still lays the flash content over the html content.
working…
<div style="position:absolute; z-index:1;"> sample absolut div </div>
<div id="flashcontent" align="center" style="position:relative; z-index:0;">
<strong>You need to upgrade your Flash Player.</strong>
</div>
<script type="text/javascript">
var so = new SWFObject("preview.swf", "sotester", "100%", "100%", "9", "#1e1e1e");
so.addParam("allowFullScreen", "true");
so.addParam("scale", "noscale");
so.addParam("menu", "false");
so.write("flashcontent");
</script>
Sorry for the double post
I made the images smaller, but there is a delay as the show …. I can fix it?
Here:
resizeFunction function ()
{
holder.x = (stage.stageWidth – holder.width) / 2;
holder.y = (stage.stageHeight – holder.height) / 2;
...
}
Thanks
function resizeFunction(){
holder.x = 0;
holder.y = stage.stageHeight / 2 - holder.height / 2;
}
and
function imageResize(){
holder.x = 0;
holder.y = stage.stageHeight / 2 - holder.height / 2;
if (holder.height < stage.stageHeight)
{
holder.x = 0;
holder.y = stage.stageHeight / 2 - holder.height / 2;
}
};
is it possible to have fading, sliding transition when changing image?
Does anyone know why adding in a doctype to the webpage containing the flash/ swfobject
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" />
Doesn’t make the swf height 100% ?
I’m having trouble with stretching in IE. THe image scales/stretches funny in IE but not in any other browser. Is there a reason for this? And how do I fix it? I’ve set the height and width of the html and swf to 100%. Please help.
Hi there, Thanks for the great file.
I need to modify the flash file to add different sections to the site eg. ‘about us’ ‘contact’ etc each of these sections needs to rotate a different set of images, is this possible?
many thanks!
Hi,
Can this load swfs?
I’ve tried but just get output “cannot convert flash.display.Bitmap”
Thanks,
Nick
Hi,
STEP 1
fla
bitmap = Bitmap(loader.contentLoaderInfo.content); bitmap.smoothing = true;
change to
if(xmlData.item[i].@type =="img"){
bitmap = Bitmap(loader.contentLoaderInfo.content);
bitmap.smoothing = true;
}else{
bitmap.smoothing = false;
}
STEP 2
xml
<item type="img" <item type="swf"


72 Purchases
15 Comments