[flexcoders] Re: getting the total of values of an array collection that is updated manually

2011-12-09 Thread ZIONIST
Hi Guys, i have finally got the total to update when new items are added to the cart. One thing that i have failed to do is to get the total to update when quantity is changed and when a product is removed from the cart(list component). Any help on this? Here is the latest code that only gets

Re: [flexcoders] Re: getting the total of values of an array collection that is updated manually

2011-12-09 Thread Csomák Gábor
public function *deleteOrder*():void{ orderColl.removeItemAt(products.selectedIndex); *init()* } private function *addProduct*():void { //Create an object to hold the data var obj:Object=new Object(); //Assign the variables to it obj.Product=product.text; obj.Price=price.text; //Add the object

Re: [flexcoders] how to make drag and drop in flex 3

2011-12-09 Thread Sathya Moorthi K
refer the following links http://livedocs.adobe.com/flex/3/html/help.html?content=dragdrop_4.html#174194 http://livedocs.adobe.com/flex/3/html/help.html?content=dragdrop_6.html#247937 http://livedocs.adobe.com/flex/3/html/help.html?content=dragdrop_7.html#247940

[flexcoders] Re: Needs to word wrap on FormItem label

2011-12-09 Thread valdhor
http://www.nbilyk.com/multiline-formitem-label --- In flexcoders@yahoogroups.com, koti reddy koti_reddy972@... wrote: Hi, I have been fighting to wrap text the FormItem label using css but can't able to achieve the task. Could any of you please suggest me what should i do if i have a

Re: [flexcoders] Re: getting the total of values of an array collection that is updated manually

2011-12-09 Thread claudiu ursica
You know there is an working example in this book pretty close to your, is flex 4 though but you will get the picture. http://www.amazon.com/Adobe-Flex-Training-Michael-Labriola/dp/0321660501 C From: ZIONIST stinas...@yahoo.com To:

Re: [flexcoders] Re: getting the total of values of an array collection that is updated manually

2011-12-09 Thread Alex Harui
I haven’t been following this thread, and without looking at the book: If you assume there won’t be more than 100 things in the cart, it is just as easy to add them all up every time there is a change. Then some setup code should call:

[flexcoders] app:/file.swf not being loaded into HTMLLoader (AIR)

2011-12-09 Thread mattgarland2000
It's not showing up. I have a simple html file in src directory (preview.html) !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Strict//EN http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd; html xmlns=http://www.w3.org/1999/xhtml; lang=en xml:lang=en body div id=flashContent

[flexcoders] Re: app:/file.swf not being loaded into HTMLLoader (AIR)

2011-12-09 Thread mattgarland2000
I had to wait until the load before I added it to the display list...:) --- In flexcoders@yahoogroups.com, mattgarland2000 alias@... wrote: It's not showing up. I have a simple html file in src directory (preview.html) !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Strict//EN