Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 07-02-2001, 11:41 PM   #1
thawki
Registered User
 
Join Date: Jul 2001
Location: Phoenix, AZ
Posts: 44
Default

Ive got what I think is an easy problem but Im new to Actionscripting.

Im trying to pull the Top Five Press Releases out of my Database and put them into an Array that Flash can loop over.

Im successfully getting a Variable called PRTitle out of my database, but I cannot seem to get it into the array. And then how do I increment it so the next item in the array is PRTitle2..etc...

Any Help you can offer would be appreciated.
thawki is offline   Reply With Quote
Old 07-04-2001, 08:03 AM   #2
paul67
Registered User
 
Join Date: Jun 2001
Location: vlissingen Netherlands
Posts: 4
Cool

hi,

Flash can't read array form outside sources, so you have to break the area in pieces en build it again in flash or use the XML object en build a function to loop the xmldata or to convert the xmldata into an array.

maybe if post the string with wich you are pulling data i can help U better.


Paul
paul67 is offline   Reply With Quote
Old 07-05-2001, 03:32 PM   #3
thawki
Registered User
 
Join Date: Jul 2001
Location: Phoenix, AZ
Posts: 44
Thumbs up Solved through Cold Fusion

I actually went ahead and just made my variable into a list in cold fusion and put delimeters in their and then used the split() to break up the data.

Thanks for the Flash resolution. Gotta learn that XML!!

Tim
thawki is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


All times are GMT. The time now is 09:02 PM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.