Re: [Flashcoders] XML load and Draw line problem

2006-06-12 Thread Michael Bedar
> Date: Jun 12, 2006 3:30 PM Subject: Re: [Flashcoders] XML load and Draw line problem To: flashcoders@chattyfig.figleaf.com Hi, I figured out that if I hardcode the values things work, but if I use values from variables, nothing works. When I trace the variable values, they trace properly, then

Re: [Flashcoders] XML load and Draw line problem

2006-06-12 Thread Sajid Saiyed
ct: Re: [Flashcoders] XML load and Draw line problem To: flashcoders@chattyfig.figleaf.com Hi, I figured out that if I hardcode the values things work, but if I use values from variables, nothing works. When I trace the variable values, they trace properly, then why cant I use them dynamically??? Than

Fwd: [Flashcoders] XML load and Draw line problem

2006-06-12 Thread Arul Prasad M L
in your code, make the following change: for (var k = 0; k Date: Jun 12, 2006 3:30 PM Subject: Re: [Flashcoders] XML load and Draw line problem To: flashcoders@chattyfig.figleaf.com Hi, I figured out that if I hardcode the values things work, but if I use values from variables, nothing works

Re: [Flashcoders] XML load and Draw line problem

2006-06-12 Thread Sajid Saiyed
Hi, I figured out that if I hardcode the values things work, but if I use values from variables, nothing works. When I trace the variable values, they trace properly, then why cant I use them dynamically??? Thanks for any help. Sajid On 6/12/06, Sajid Saiyed <[EMAIL PROTECTED]> wrote: Ok, I h

Re: [Flashcoders] XML load and Draw line problem

2006-06-12 Thread Abdul Qabiz
It's scope issue? I guess, tracer () is not found or executed in wrong scope. Use Delegate to fix this:- layout_xml.onLoad = mx.utils.Delegate.create (this, onXMLLoad); function onXMLLoad (success:Boolean) { ... } Check, if that fixes the problem. -abdul On 6/12/06, Sajid Saiye

[Flashcoders] XML load and Draw line problem

2006-06-12 Thread Sajid Saiyed
Hi All, I am faced with a strange problem. I have a XML which I am loading into the Flash movie and then iterate through it and store values in an array. Then I run through the array and want to drag BOXES using the drawing api. Here is my Flash Code: - //-