First of all, you should be talking about an application (not an swf).
Now, the SIX pages, I took it as SIX views.

There are many ways to do that. One of them is:
<mx:Application>
<mx:Script>
private function return nextPrevView():void{
if(buttonClicked == prev){
viewstack.selectedIndex =
viewstack.selectedIndex(viewstack.selectedIndex-1);
}
if(buttonClicked == next){
viewstack.selectedIndex =
viewstack.selectedIndex(viewstack.selectedIndex+1);
}

}
</mx:Script>

<mx:ViewStack>
<view1></view1>
<view2></view2>
<view3></view3>
<view4></view4>
<view5></view5>
<view6></view6>
</ViewStack>
<buttonPrev/><buttonNext/>
</Application>

It's just an outlook of an application.
Get it worked by urself.

-Manu.


deepa_pathuri wrote:
> 
> I have a .swf  file which has 6 pages in it.i want to control that 
> .swf ie to show each page of .swf file on click of next and previous 
> button...How can i do this
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Hi-Alex-tp19681631p19683180.html
Sent from the FlexCoders mailing list archive at Nabble.com.

Reply via email to