Welcome, Guest. Please login or register.
Did you miss your activation email?
02/07/12, 08:47
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
| |-+  Flash 8 (Moderators: Jorge Solis, ..:: Mazhar Hasan ::.., Andresss)
| | |-+  Using XML with flash 8 (AS 2.0)
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Print
Author Topic: Using XML with flash 8 (AS 2.0)  (Read 2438 times)
Jaylada
Seasoned Programmer
***
Posts: 142



View Profile WWW Email
« on: 11/09/08, 21:33 »

I'm using the following XML referencing a flash build drop down menu.
I have not been able get my flash SWF file to load.  Any tips?  I would like to load it in the same root movie with the drop down an whatever else is being viewed at that time.

<item title="Home" url="" target="" callFunction="loadClip(Timer_new1.swf)" icon="" iconPosition="top" >
   
         </item>


Thanks you in advance
Jason
Logged
Ronald Wernecke
Administrator
Systems Administrator
*****
Posts: 6161


View Profile WWW Email
« Reply #1 on: 11/10/08, 05:02 »

Pack it into a XML container and load with XML-Object instance.
More details in Flash-Help
Logged

happy flashing
Cool
Ronald
Jaylada
Seasoned Programmer
***
Posts: 142



View Profile WWW Email
« Reply #2 on: 11/11/08, 11:02 »

I'm not too familiar with how to pack it into a container.  Any suggestions on how to do this?  Or any good references on how to learn how to do this?
This is my real first experience with XML

Many thanks in advance!
Logged
Ronald Wernecke
Administrator
Systems Administrator
*****
Posts: 6161


View Profile WWW Email
« Reply #3 on: 11/12/08, 01:49 »

an XML-File allways starts with the definition line followed by the container tag.
The the countents, more or less structured, is added.
At the end the container is closed.

You can walk through a XML-File using the XML-Object and its methods childNode
  • ... etc.

If you are looking for a book, have a look at friendsOfEd - there are good examples for XML programming books using flash.
Logged

happy flashing
Cool
Ronald
sahamusic
Server what's that
*
Posts: 1


View Profile
« Reply #4 on: 11/02/09, 04:28 »

1. open 'components' window
2. add a 'xml connector' to project
3. change the properties and give xml filename to  url
Logged

Music is the remedy for all problems.

For more music stuffs

visit http://musicpurana.com
Ronald Wernecke
Administrator
Systems Administrator
*****
Posts: 6161


View Profile WWW Email
« Reply #5 on: 11/02/09, 05:15 »

Hello and welcome to the boards saha,
with the methode you describe, you got a xml file - and then?
Sure, you can assign it to a combo or other list like component - but without AS you are very limited.
Logged

happy flashing
Cool
Ronald
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!