Hi Folks,
         I am working on photo gallery, by using the following code..

<Application xmlns="http://www.adobe.com/2006/mxml"; xmlns:local="*"
height="100%" width="100%" layout="absolute" backgroundColor="#00000">

    <Binding source="sel.value" destination="shelf.selectedIndex" />
    <Binding destination="sel.value" source="shelf.selectedIndex" />

    <Array id="dataSet">
        <String>img/photo01.jpg</String>
        <String>img/photo02.jpg</String>
        <String>img/photo03.jpg</String>
        <String>img/photo04.jpg</String>
        <String>img/photo05.jpg</String>
        <String>img/photo06.jpg</String>
        <String>img/photo07.jpg</String>
        <String>img/photo08.jpg</String>
        <String>img/photo09.jpg</String>
        <String>img/photo10.jpg</String>
        <String>img/photo11.jpg</String>
        <String>img/photo12.jpg</String>
        <String>img/photo13.jpg</String>
        <String>img/photo14.jpg</String>
        <String>img/photo15.jpg</String>
        <String>img/photo16.jpg</String>
        <String>img/photo17.jpg</String>
        <String>img/photo18.jpg</String>
        <String>img/photo19.jpg</String>
    </Array>


    <local:DisplayShelf id="shelf"  horizontalCenter="0"
verticalCenter="0"
        borderThickness="10" borderColor="#FFFFFF"
dataProvider="{dataSet}"  enableHistory="false" width="100%"/>

    <VBox horizontalCenter="0" bottom="10"
        horizontalAlign="center" verticalAlign="middle" >


        <HBox>
            <Label text="Selection:" />
            <HSlider liveDragging="true" id="sel" minimum="0"
value="0" maximum="{shelf.dataProvider.length}" snapInterval="1"
width="400" />
        </HBox>

    </VBox>
</Application>


Here instead of putting images (ex:<String>img/photo20.jpg</string>)
in a array as hardcoded, i am uploading images
dynamically in Images folder.And my problem is that how to fetch those
images in array from Image folder? and one more
thing is i want to display 10 images at every time. plz help me out
its very urgent..
Thanks in Advance.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to