-
Confused about MX 2004 XML, components
I've looked at the tutorials that came with MX 2004 and, as I might have expected, they were absolutely useless. I followed an online tutorial provided by Macromedia that stepped through the process of integrating XML data into a Flash movie - and it worked! - but their methods seem so odd and unconventional that it's starting to become rather frustrating to really absorb what is really going on underneath the complicated web of components.
What I want to do is dead simple: have my movie send arguments to a PHP file that would grope a database and return results in XML format, which the movie would then parse and display for the user. I have the entire process mapped out but now all I need to do is figure out how these darn components work. In the tutorial I read the XML data seemed totally out of this world. The code they provided looked something like this:
PHP Code:
<dataset>
<row name="name" age="10".../>
</dataset>
Now I don't know about you but in my experience with XML I've always tried to limit my use of attributes and stick with leaf nodes instead. It just makes for much more readable and, frankly, sensible code. Just imagine what a single element with 20 attributes might look like - scary! :O
The problem here is that I can't seem to modify their example to parse a file that might look something like this:
PHP Code:
<people>
<person id="pers.00001">
<name>John Doe</name>
<age>12</age>
</person>
...
</people>
I'm starting to get the impression that this new data component feature of MX 2004 isn't all that I had anticipated it to be. Then again, I await a response that will hopefully clear things up and get me going once again
- ptolemy
Using: Flash MX
http://www.dynamitron.com
-
Senior Member
Go to www.ultraschock.com they have excellent tutorials on all components.
- The right of the People to create Flash movies shall not be infringed. -
-
Senior Member
I think that is suppose to be www.ultrashock.com
Thanks
Luke
-
Senior Member
Thanks Tupps! I guess that is my german which is coming to the surface.
- The right of the People to create Flash movies shall not be infringed. -
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|