Resumé

Flash and ASP.Net 2.0 combined SlideShow

Cristian Merighi () 0.00

A surely particular ASP.Net 2.0 WebControl: it exploits an embedded Adobe Flash swf to render a list of images (or other swf's), all by a standard MarkUp WebControl with intellisense enabled...
This article is obsolete. Some functionalities might not work anymore. Comments are disabled.

...Fist child - draft - webcontrol for my last article's "Custom WebControl ASP.Net for Flash": an integrated SlideShow with cool transitions made using Adobe® Flash but exploited via ASP.Net 2.0!

I've just reused the Pacem.Web.UI.WebControls.Flash control in a more specific context, combined with an embedded swf (very-easy-deployable)!
I've also implemented an "ImageIndexChanged" client-side pseudo-event, so I can trigger the exact instant when a new image gets rendered with some javascript code...
I'll post some code as soon as this new webcontrol of mine will be fully completed ("pauca sed matura" as Gauss used to say).

For now just see it in action:

And take a look at the code used:

<script type="text/javascript">
//<![CDATA[
    var strings = [
    "Corcagnano, Parma (ITA) - Summer 1978", 
    "Ravenna (ITA) - May 1986", 
    "Benidorm (ESP) - July 1999", 
    "Mayrhofen (AUT) - March 2005"];
    function setRelevantDescription(newIndex){
        document.getElementById("myDivDescription").innerHTML = strings[newIndex];
    }
//]]>
</script>
<pacem:FlashSlideShow 
runat="server" ID="flSlideShow"
Width="570px" Height="250px" 
Duration="7.5" OnImageIndexChanged="setRelevantDescription" 
ImageArray="
~/Public/Images/20070426_0.jpg,
~/Public/Images/20070426_1.jpg,
~/Public/Images/20070426_2.jpg,
~/Public/Images/20070426_3.jpg" />
<div id="myDivDescription"></div>

Take care. Bye.

Feedbacks

  • Re: Flash and ASP.Net 2.0 combined SlideShow

    jvan Wednesday, February 04, 2009 0.00

    è possibile avere uno zip completo per favore

feedback
 

Syndicate

Author

Cristian Merighi facebook twitter google+ youtube

Latest articles

Top rated

Archive

Where am I?

Author

Cristian Merighi facebook twitter google+ youtube

I'm now reading

Feeds