Welcome, Guest. Please login or register.
Did you miss your activation email?
02/07/12, 08:45
Home Help Search Login Register
News: Parsley Flex framework review featuring quiz application, in our Flex frameworks series
Flex SDK 4.5 mobile roadmap: begin with your mobile development
Swiz Flex framework review featuring quiz application
New homepage we release our new Homepage, take a look ...

+  Flash-db
|-+  General
| |-+  V2 Components (Flash MX 2004 - Flash 8) (Moderators: vesa kortelainen, Ronald Wernecke, Jorge Solis, ..:: Mazhar Hasan ::.., papachan)
| | |-+  Actionscript XML and multi images / links.
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Print
Author Topic: Actionscript XML and multi images / links.  (Read 3379 times)
bulfen
Server what's that
*
Posts: 2


View Profile
« on: 03/12/09, 14:06 »

Hi guys,

I'm pretty new to flash but "know" how most of the things works in general. I'm a webmaster who just go tierd of useing other people finish products so I decided to make my owns but kinda need some help.  Tongue

Here is alittle info about my project.
The XML is used to get remote feed for my website. What I want it to do is to get the images in X numbers of rows and columns
with the image ( or button) to open the link.

The XML file
Code:
<?xml version="1.0" encoding="UTF-8"?>
<online_stat version="1.4">
 <category name="Main">
  <info>
   <category><![CDATA[Main]]></category>
   <subcategory><![CDATA[Sub]]></subcategory>
   <name><![CDATA[Some_name]]></name>
   <images><![CDATA[image1.jpg]]></images>
   <thumbnail><![CDATA[thumb1.jpg]]></thumbnail>
   <link><![CDATA[http://www.something.com]]></link>

  </info>
  </category>
</online_stat>

What I need from this XML is "name",thumbnail" and "link"
and what I need help with is setting up a ActionScript for this. The rest I think I should be able to do myself. Tongue

Hopefully someone understand what I'm talking about, If not let me know.  Grin

mmm.. Sorry if it was posted in the wrong section.  Undecided
« Last Edit: 03/12/09, 14:09 by bulfen » Logged
Ronald Wernecke
Administrator
Systems Administrator
*****
Posts: 6161


View Profile WWW Email
« Reply #1 on: 03/13/09, 01:09 »

if you have more than one object of the same type, you just loop through them, and create the needed movieclips (load the containers) at stage.

I would create a general movieclip as a basic container and load the display containers into this.
Logged

happy flashing
Cool
Ronald
bulfen
Server what's that
*
Posts: 2


View Profile
« Reply #2 on: 03/13/09, 09:29 »

Hi Ronald,

I made a version earlyer but it did work as I had "dreamed" it would do. I'm still new when it comes to useing xml with flash and being able to generate a output with it. But I'm learning. Cheesy Right now.  Grin
Logged
Pages: [1] Print 
« previous next »
Jump to:  


Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!