Hi, Everyone
I'm pretty green as far as remoting goes. My programmer and I are
building an amfphp based Flash CMS. It's really close to completion,
but we're having problems with images and matching them to articles.
I have two recordSets coming in - the first holds various data -
subject, body, date, etc... the second holds just the image path
files for an article. An article can have multiple images associated
with it. Right now, I can bring in both recordSets fine, the images
just don't match the right article.
The module recordSets have a moduleID associated with them. The image
recordSets have an articleID associated with them. The module ID and
the articleID are the same value. I'd like to match these up with
some sort of sorting function.
Any help would be greatly appreciated!
Thanks,
Dave
You can see from the netConnection Debugger that the id and the
moduleid match up:
getPress:RecordSet :
Result (object #2)
.....mRecordsAvailable: 3
.....serverInfo: (undefined)
.....uniqueID: 3
....._items (object #3)
..........[0] (object #4)
...............__ID__: 1
...............active: 1
...............author: ""
...............body: "This is the body text."
...............datecreated: "2006-11-25 16:48:03"
...............id: 52
...............pressdate: "2006-11-25"
...............section: ""
...............sectionid: 0
...............subject: "Subject One"
getAllFiles:RecordSet :
Result (object #2)
.....mRecordsAvailable: 3
.....serverInfo: (undefined)
.....uniqueID: 3
....._items (object #3)
..........[0] (object #4)
...............__ID__: 0
...............caption: ""
...............cmspath: "userimages/52item_tn.jpg"
...............datecreated: "2006-11-25 17:29:38"
...............filepath: "/cms/press/userimages/52item_tn.jpg"
...............id: 142
...............module: "press"
...............moduleid: 52
...............section: ""
...............sectionid: 0
.....mTitles (object #7)
..........[0]: "id"
..........[1]: "caption"
..........[2]: "section"
..........[3]: "sectionid"
..........[4]: "module"
..........[5]: "moduleid"
..........[6]: "filepath"
..........[7]: "cmspath"
..........[8]: "datecreated"
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com