header
ask question
Click here to ask Question Now Its free No registration required. Flash, Flex, Flash Media Server, ActionScript,Adobe Air. Most questions receive a response in an hour.
amutha
Points:400
Posts:0

8/25/2010 3:06:46 AM

Title: pagination in list


how to do simple pagination in list? i had some some question with option in xml and i want to display the per page one question in container with front and back option .how can i do it?



1
RedBull
Points: 930
Posts:0
8/25/2010 3:47:16 AM



whats the role of list here , you can simply display the question in a label on click of next set the value of label to the next question. Create an array of all the questions
var arrayQuestion:Array;
var currentQuestion:Number=0;

//On next button click
myLabel= arrayQuestion[currentQuestion++];

//on back button click
myLabel= arrayQuestion[currentQuestion--];

2
MaxFlash
Points: 600
Posts:0
8/25/2010 10:33:33 AM



see this link to use Paged List component to display data with next and back buttons
https://www.adobe.com/devnet/flex/samples/fig_pagedlist/


Post your Reply
Name  

Email

Type your Reply or Answer

Are you human? What is 6+2 



Members Login

Email  
Password
Forgot Password





This website focus on: Flash | Flex | FMS | RED5 | WOWZA | Flash Media Server | Adobe AIR | ActionScript,Flash Solutions | Flash Question | Flash Answers | Flash Developers | Flash Problem, Flash Help, Flash bugs, Flash workaround | Flash Blog | Flex Question Answers | Flash Forum | Flex Development | Actionscript development | Flash development | Adobe AIR development
Copyright © 2008 AskMeFlash.com. All rights reserved. Privacy Policy | Terms & Conditions