[flexcoders] newbie question - call to actionscript class

2009-01-29 Thread annelie2008
Hello, I'm brand new to Flex so I'm sure this is a very stupid question, but hopefully someone will be able to help. My ultimate goal is to take an xaml file with a musical score and convert it to flex, but to start with I've hardcoded a score (or rather some score elements) in an

[flexcoders] Re: newbie question - call to actionscript class

2009-01-29 Thread annelie2008
those of the author and do not necessarily represent those of INPS or any of its affiliates. If you are not the intended recipient please contact is.helpd...@... From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of annelie2008

[flexcoders] Re: newbie question - call to actionscript class

2009-01-29 Thread annelie2008
that should appear hasn't been added to the display list - just using new doesn't add an object to the display list. Maybe addChild(notes) will help. Paul - Original Message - From: annelie2008 annelie.karls...@... To: flexcoders@yahoogroups.com Sent: Thursday, January 29, 2009 1

[flexcoders] Re: newbie question - call to actionscript class

2009-01-29 Thread annelie2008
Brilliant, it works now! Thank you so much! No doubt I will return with more questions soon...! Cheers, Annelie --- In flexcoders@yahoogroups.com, Gregor Kiddie gkid...@... wrote: Its close, you do need to have a UIComponent wrapper to add the Sprite to, and then add the UIComponent to

[flexcoders] Displaying UIComponents vertically

2009-02-05 Thread annelie2008
Hi, I'm having trouble with the layout of the musical score I'm displaying. It's generated from an xml file and I want the staves to be placed on top of each other but I can't make it work. I have a class which draws out the lines and the notes on it, so I instantiate that class, create the

[flexcoders] Re: Displaying UIComponents vertically

2009-02-09 Thread annelie2008
Turns out it was my fault entirely, I hadn't checked the xml code properly and assumed it was supposed to give me three vertically stacked staves but it was actually showing them horizontally. I will check more properly before posting a question in the future. Thanks for answering though!

[flexcoders] looping through xml (newbie question)

2009-02-09 Thread annelie2008
Hi, I'm trying to loop through my xml, but I'm having some problems. I thought this would give me all the line nodes, but it's empty: var xmlLines:XMLList = myXmlList..Line; Is that the right way to go about it, or is there another way? Xml code is below. Many thanks, Annelie

[flexcoders] Re: looping through xml (newbie question)

2009-02-10 Thread annelie2008
. Check the archives and docs for more information about xml namespace. Tracy Spratt Lariat Services Flex development bandwidth available From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of annelie2008 Sent