Re: [Flashcoders] Text area focus

2010-06-30 Thread Karl DeSaulniers
Just an update, I found that Safari has a nice resource tracking feature on it that helps with evaluating performance of your website and all the elements in it. separately even. You can right click on a site and in the menu you should have inspect element. A bottom window will raise up with

[Flashcoders] Flash - Django interaction

2010-06-30 Thread Paul Andrews
I'm working on a project where my flash UI needs to interact with a server running django. I'm not going to do the django work and normally i'd just suggest a simple http service endpoint using a single URL with a command pattern returning XML results. Apparently this isn't the usual django

RE: [Flashcoders] Flash - Django interaction

2010-06-30 Thread David Hunter
Hi there,I work with guys who build all their CMS using python and django and their preferred method is to send everything as JSON format. There is a JSON decoder in the AS3 core lib ( http://code.google.com/p/as3corelib/ ) to help extract the data which I use. Its always me receiving data

Re: [Flashcoders] Flash - Django interaction

2010-06-30 Thread Paul Andrews
On 30/06/2010 11:50, David Hunter wrote: Hi there,I work with guys who build all their CMS using python and django and their preferred method is to send everything as JSON format. There is a JSON decoder in the AS3 core lib ( http://code.google.com/p/as3corelib/ ) to help extract the data

[Flashcoders] Adding listener

2010-06-30 Thread Lehr, Theodore
Is it possible to add a listener to a multitude of mcs through a loop? so instead of mc1.addEventListener mc2.add mc3.add ... ... .. maybe I have an array with each mc name and then loop through it to add the event listeners? ___ Flashcoders

RE: [Flashcoders] Adding listener

2010-06-30 Thread Merrill, Jason
Easy: var myMovieClips:Array = [mc1, mc2, mc3, mc4]; for each (var mc:MovieClip in myMovieClips) { mc.addEventListener(WhateverEvent.WHATEVER, onWhateverEvent); } Jason Merrill Instructional Technology Architect Bank of America Global Learning Join the Bank of America Flash

RE: [Flashcoders] Adding listener

2010-06-30 Thread Lehr, Theodore
These are mcs that are created on the stage - not in code How would I refer to them in this: var myMovieClips:Array = [mc1, mc2, mc3, mc4]; ?? From: flashcoders-boun...@chattyfig.figleaf.com [flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of

RE: [Flashcoders] Adding listener

2010-06-30 Thread Lehr, Theodore
nevermind - user error From: flashcoders-boun...@chattyfig.figleaf.com [flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Merrill, Jason [jason.merr...@bankofamerica.com] Sent: Wednesday, June 30, 2010 10:45 AM To: Flash Coders List Subject:

Re: [Flashcoders] Adding listener

2010-06-30 Thread Henrik Andersson
Yes, just use the dynamic property syntax if it is timeline instances. Otherwise, just add the listener when you create each object. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com

RE: [Flashcoders] Adding listener

2010-06-30 Thread Merrill, Jason
On the stage, give them instance names in the property inspector and then put those names into the array. Jason Merrill Instructional Technology Architect Bank of America Global Learning Join the Bank of America Flash Platform Community and visit our Instructional Technology Design Blog

[Flashcoders] as/papervision3D question

2010-06-30 Thread DONALD TALCOTT
I have a 3D portfolio built with papervision that works great. It opens with a category image (cube). On mouseOVER, a matrix of thumbnail images (categoryClicked) opens. I would like to have the gallery of thumbnails open automatically without a mouseEvent. I've tried using a TimerEvent and

[Flashcoders] setChildIndex

2010-06-30 Thread Lehr, Theodore
How can I change depths of a movie - I found setChildIndex - but they are not children of anything... ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Re: [Flashcoders] setChildIndex

2010-06-30 Thread Henrik Andersson
Yes. they are. They are childs on multiple levels. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Re: [Flashcoders] setChildIndex

2010-06-30 Thread Eric E. Dolecki
They would be a child of the DisplayList, no? ie. stage (this) potentially. On Wed, Jun 30, 2010 at 4:04 PM, Lehr, Theodore ted_l...@federal.dell.comwrote: How can I change depths of a movie - I found setChildIndex - but they are not children of anything...

RE: [Flashcoders] setChildIndex

2010-06-30 Thread Merrill, Jason
Doing addChild() in the right order is the easiest way, but to control depths specifically, see this: http://www.adobe.com/livedocs/flash/9.0/ActionScriptLangRefV3/flash/disp lay/DisplayObjectContainer.html#setChildIndex() Jason Merrill Instructional Technology Architect Bank of America