0

Hey, guys. I want to ask if someone can give me an example of creating child through xml. I mean creating custom components through xml (for every xml tag you create your own custom component and then add it as a child to the stage). I hope is it clear enough... :)

3
  • Um, isn't that called MXML? :) Commented Mar 30, 2010 at 15:47
  • You can use any kind of component you want, don't complicate your life, I'm not pretentious :) I appreciate any assistance you can offer Commented Mar 30, 2010 at 15:51
  • well, no my friend :) I must do it in AS3.. I have a huge xml file which contains <frame> tags, and every <frame> tag contains <text> tags and so on... So, I've got to create custom components for each one of the tags, and then add it as a child to the stage... Commented Mar 30, 2010 at 15:53

2 Answers 2

0

Answered a similar question a while ago, might help :

Actionscript 3 : Creating variable objects and assigning class from parsed XML file

Sign up to request clarification or add additional context in comments.

Comments

0

Yes it can be done. However nobody here is going to write your entire program for you, sorry. If you get stuck at a specific point, then you can post a specific question and get some more usable answers.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.