OK so i built my web site in Flash Catalyst and then imported it into Flash builder and for my first project in Flash builder i may of over complicated it a bit as i have about 60 components to work through!
The start of coding for my site was a little sticky at first as i had to turn all my php code into an object originated form, which in the Php world was new to me
Anyway for a part of my site i new pagination was needed and for the most part Flash builder wizard was resolving this for me, But it would appear that the wizard is best suited for a Data-Grid with a scroll bar and this was not the object that i wanted to use for my site.
Once i had worked out how the object originated php would be linked to my RepeatedItem-Data-List and was able to display 9 objects to the screen i then added the code to the next and back buttons in-order to move forward and backwards through the total object and if i looked at the the Network Monitor it would show me that the buttons were working and that the relevant data was being retrieved from the database.
But the web site doesn't refresh with the new objects on the screen, it just shows the original object from when the paged first loaded, now being new to all this i have search for about 5 days now and im thinking that perhaps im barking up the wrong tree to get my problem resolved hence im asking for your help in order for me to move on.
When i found this problem it was suggested that i updated my dataProvider or that it should of been updated automatically and I'm very thankful for the advise but after a lot of searching I'm still unable to resolve.
ScrollingContent.mxml
Has my buttons and the code to move through the total object
DataListSkin.mxml
contains the connection to the database, dataprovider and the itemRenderer
RepeatedItemskin.mxml
Contains the objects {data.fields}
So now bare in mind that i just started with web programming on and off for about a year and perhaps only a month with flash builder and that perhaps its just a simple function that i may need to call from my button page so that i can communicate with the page "class" that holds the DataProvider and as these are all separate classes i cant access anything from each other classes other than static variables which I'm sure isn't true and is just my poor understanding.
I have tried writing functions and passing the php fetched data into an array but nothing is working for me yet and i might be looking in the wrong area!
Does anyone know what I'm talking about can anyone share some light? please
ScrollingContent.mxml
Code:
protected function button_clickHandler(event:MouseEvent):void
{
DataListSkin2.startIndex = RateClientDataListSkin2.startIndex + 9;
getItems_pagedResult.token = customerService.getItems_paged(RateClientDataListSkin2.startIndex, RateClientDataListSkin2.numItems);
}
DataListSkin.mxml
Code:
<s:DataGroup id="dataGroup" d:userLabel="Repeated Item" x="0" y="0" width="128" height="549"
clipAndEnableScrolling="true"
creationComplete="dataGroup_creationCompleteHandler(event)"
dataProvider="{getItems_pagedResult.lastResult}"
itemRenderer="components.RepeatedItemSkin"
width.normal="526" height.normal="736">
RepeatedItemskin.mxml
Code:
<s:RichText d:userLabel="Name" x="46" y="6" color="#f9fcf8" fontFamily="Myriad Pro"
fontSize="13" kerning="off" lineHeight="120%" text="{data.lname}"
whiteSpaceCollapse="preserve">
</s:RichText>
<s:RichText d:userLabel="Age" x="39" y="22" color="#f9fcf8" fontFamily="Myriad Pro" fontSize="13" kerning="off" lineHeight="120%" text="{data.yearofbirth}" whiteSpaceCollapse="preserve">
</s:RichText>
<s:RichText d:userLabel="Sex" x="37" y="40" color="#f9fcf8" fontFamily="Myriad Pro" fontSize="13" kerning="off" lineHeight="120%" text="{data.sex}" whiteSpaceCollapse="preserve">
</s:RichText>
<s:RichText d:userLabel="Country" x="61" y="58" color="#f9fcf8" fontFamily="Myriad Pro" fontSize="13" kerning="off" lineHeight="120%" text="{data.country}" whiteSpaceCollapse="preserve">
</s:RichText>
<s:RichText d:userLabel="Town" x="54" y="76" color="#f9fcf8" fontFamily="Myriad Pro" fontSize="13" kerning="off" lineHeight="120%" text="{data.town}" whiteSpaceCollapse="preserve">
</s:RichText>
any help or thoughts i would appreciate as currently stuck in doors in London whilst thugs out side burning London to the ground

Helpful thoughts and the Army would really help right now