To register for an Internet.com membership to receive newsletters and white papers, use the Register button ABOVE.
To participate in the message forums BELOW, click here


A Flash Developer Resource Site

Go Back   Flash Kit Community Forums > Product Support > Koolmoves

Reply
 
Thread Tools Search this Thread Display Modes
Old 12-03-2006, 04:57 PM   #1
xzerox_xzerox
Senior Member
 
Join Date: Sep 2005
Location: Gothenburg, Sweden
Posts: 357
XML looping?

Hi guys!

When you use xml and imports data from a xml file and whant several, lets say, posts on your flash movie, i guess you use some kind of loop?

Anyway i have this awesome script that scales movieclip into a nice scaling effect. The movieclips must be named "item0", "item1" etc etc or else the scrip will not work.

It would be really cool if you could have some pictures, with the size of 56 x 56 and a xml file with some info and the picutre url, to use this script! Then i guess you would have to create a loop to use more than one picture att the time? Is this possible?

Sh*t i think this is way to much to ask
__________________
/xzerox... Take a look at http://www.vmgcomputers.com/h75

Last edited by xzerox_xzerox; 12-03-2006 at 05:03 PM.
xzerox_xzerox is offline   Reply With Quote
Old 12-03-2006, 05:41 PM   #2
Chris_Seahorn
up to my .as in work
 
Chris_Seahorn's Avatar
 
Join Date: Dec 2004
Posts: 4,364
We have a few examples of using xml objects at the Exchange. I even recently submitted an "element" style xml structure so we have examples of both common types of xml ...attribute and element ... so it should be easy for anyone to adapt to whatever xml flavor they prefer.

You'll see in those examples that once the xml object is brought in...it is busted into arrays that allow you to do just about anything your heart desires within the confines of AS1. Check them out and experiment
Chris_Seahorn is offline   Reply With Quote
Old 12-03-2006, 05:46 PM   #3
Chris_Seahorn
up to my .as in work
 
Chris_Seahorn's Avatar
 
Join Date: Dec 2004
Posts: 4,364
I wanted to add about the only other thing I should do is also along the way submit some kind of XML movie that shows how to use CDATA tags with XML so you can send in data with full html tagging (again within the limit of what flashplayer allows). Depending on the data, if you send in raw data as html and it is not wrapped in a CDATA it will halt the parser (basically stops dead).

I'll be sure to add that type to my list to submit.


An example of what I mean can be seen if you click one of my RSS links from my blogger. All the articles are CDATA wrapped for this reason.
Chris_Seahorn is offline   Reply With Quote
Old 12-04-2006, 01:03 PM   #4
xzerox_xzerox
Senior Member
 
Join Date: Sep 2005
Location: Gothenburg, Sweden
Posts: 357
ok... i've looked on exchange and downloaded all the xml examples. But this is like a forign language to me :P dont understaind a sh*t
__________________
/xzerox... Take a look at http://www.vmgcomputers.com/h75
xzerox_xzerox is offline   Reply With Quote
Old 12-04-2006, 02:58 PM   #5
Chris_Seahorn
up to my .as in work
 
Chris_Seahorn's Avatar
 
Join Date: Dec 2004
Posts: 4,364
Not sure how to respond.

There is no quick path to the goal sometimes and to use xml in a way that allows you to control every aspect, it will require you to read about and learn to use it. If an existing example exactly matches what you hope to achieve (which is rarely the case) you could skip the learning process.

We have tutorials here at Flashkit. There are also well known places like Kirupa.com and Actionscript.org (among others) that would have resources and tutorials that would help get started at least. What you described you want in the first post of this thread will require quite a few different scripting abilities and is most likely something you would not find ready to go in any opensource repository but would rather be something you yourself have to construct. Good luck man
Chris_Seahorn is offline   Reply With Quote
Old 12-04-2006, 04:13 PM   #6
xzerox_xzerox
Senior Member
 
Join Date: Sep 2005
Location: Gothenburg, Sweden
Posts: 357
thanks Chris... i'll need it :P
__________________
/xzerox... Take a look at http://www.vmgcomputers.com/h75
xzerox_xzerox is offline   Reply With Quote
Reply

Go Back   Flash Kit Community Forums > Product Support > Koolmoves

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 04:30 PM.


internet.commerce
Be a Commerce Partner
 »  »  »  »  »  »  »
 »  »  »  »  »  »
 

    

Acceptable Use Policy

internet.comMediabistrojusttechjobs.comGraphics.com

WebMediaBrands Corporate Info


Advertise | Newsletters | Feedback | Submit News

Legal Notices | Licensing | Permissions | Privacy Policy


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.