RE: [Flashcoders] Application Structure - Flash Remoting MovieClipLoader

2007-07-12 Thread Sunil Jolly
Hi, I would recommend ARP for this too. It's a bit tricky to use (at first), but it will keep your code clean for sure and save you a lot of time. There's a remoting example that you could adjust quite easily. As for the moviecliploader, I try to use a single class to do all my loading. I guess

RE: [Flashcoders] Application Structure - FlashRemoting MovieClipLoader

2007-07-12 Thread Sunil Jolly
I think that if you're just starting out with classes then using MVC would be an excellent place to start since ARP could be quite overwhelming. Others might disagree. :) I've spent many hours trying to figure out how to do some seemingly basic things in ARP and to be honest I'm still not 100%

RE: [Flashcoders] Accessing MovieClips on a timeline from an AS3 class

2007-07-12 Thread Sunil Jolly
Hi Matt, AS3 is slightly different. You need to say: private var fullScreen_mc:MovieClip = getChildByName(fullscreen); Note that the reference (fullscreen_mc) can't be the same as the name on the stage (fullscreen). Also in AS3 you can actually set instance variables outside of functions. I'm

RE: [Flashcoders] Accessing MovieClips on a timeline from an AS3 class

2007-07-12 Thread Sunil Jolly
); } public function getChild(stage, _name:String):MovieClip { return stage.getChildByName(_name); } } } On 7/12/07, Sunil Jolly [EMAIL PROTECTED] wrote: Hi Matt, AS3 is slightly different. You need to say: private var fullScreen_mc:MovieClip = getChildByName

RE: [Flashcoders] Accessing MovieClips on a timeline from an AS3 class

2007-07-13 Thread Sunil Jolly
Muzak - I share some of your frustrations though I see why they've done it. So what do people think the best practice for this is? I don't like the idea of not declaring the MCs/Buttons in the class because it's a great help knowing what a class can deal with without having to refer to the Flash

RE: [Flashcoders] obfuscation swf !

2007-07-17 Thread Sunil Jolly
Yeah - looks like it to me! And what's with all the secrecy about the technique? :) Sunil -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Eric Priou Sent: 17 July 2007 17:26 To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] obfuscation

RE: [Flashcoders] RE: obfuscation swf !

2007-07-18 Thread Sunil Jolly
I agree with JC that it wasn't really necessary to be quite so spiteful about defeating his code. I think the problem may have come from a here's my solution, try and break it attitude instead of simply giving details of how it (was supposed to) work. Everyone here shares their knowledge to help

RE: [Flashcoders] Object Detection AS3

2007-07-19 Thread Sunil Jolly
This works for me: - var myObject:Object; if (myObject) { removeChild(myObject); } --- Another method would be to catch the error: - try { removeChild(myObject); } catch (e:Error) {

RE: [Flashcoders] Object Detection AS3

2007-07-19 Thread Sunil Jolly
exist but is not on the display tree it will fail On 7/19/07, Sunil Jolly [EMAIL PROTECTED] wrote: This works for me: - var myObject:Object; if (myObject) { removeChild(myObject); } --- Another method would be to catch

RE: [Flashcoders] Object Detection AS3

2007-07-19 Thread Sunil Jolly
and potential use case On 7/19/07, Sunil Jolly [EMAIL PROTECTED] wrote: If you use the try, catch method that shouldn't be a problem. --- try { removeChild(myObject); } catch (e:Error) { //object doesn't exist as a child, do nothing

RE: [Flashcoders] AS3 Events

2007-07-25 Thread Sunil Jolly
Hi Ian, back at the start of this you asked: - Why, in AS3, is my equivalent of using Delegate Not The Done Thing? (Someone mentioned type-safety; and yes, at compile time, you'll lose type safety) Does anyone know why Delegate is frowned upon? Seems like a simple and elegant solution to the

RE: [Flashcoders] AS3 Events

2007-07-25 Thread Sunil Jolly
[EMAIL PROTECTED] wrote: On 7/25/07, Sunil Jolly [EMAIL PROTECTED] wrote: Does anyone know why Delegate is frowned upon? Seems like a simple and elegant solution to the problem to me! ___ Flashcoders@chattyfig.figleaf.com To change your subscription

RE: [Flashcoders] AS3 Events

2007-07-25 Thread Sunil Jolly
A produce subclasses of Event instead; unless the suggestion is to subclass A to produce different events, which (depending on A's implementation) could be very difficult. Ian (Getting frustrated!) On 7/25/07, Ian Thomas [EMAIL PROTECTED] wrote: On 7/25/07, Sunil Jolly [EMAIL PROTECTED] wrote: Hi Ian

RE: [Flashcoders] AS3 Events

2007-07-25 Thread Sunil Jolly
. :-) Because request 2 overwrites the contextInfo written by request 1 - which is why both Muzak (and I) suggested B has an internal list of contextInfos. But that gets more tricky... But thanks! Ian On 7/25/07, Sunil Jolly [EMAIL PROTECTED] wrote: Hi Ian, I didn't fully understand your reply to Muzak's

RE: [Flashcoders] Q:Papervision 3D for 'simple' rotating cube effect

2007-07-30 Thread Sunil Jolly
Hi J.Bach, It would be interesting to see/hear how you get along with this if you can post a link back here when it's done? Thanks, Sunil -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Zeh Fernando Sent: 30 July 2007 17:35 To:

RE: [Flashcoders] Q:flashInspector/luminicBox not working in browser

2007-09-06 Thread Sunil Jolly
That *is* strange! Is something interfering with the localconnection? Another luminicbox hidden away somewhere or another app in the browser? Any app config settings that are different in the IDE to the browser? Sunil -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL

RE: [Flashcoders] flash contact form backend

2007-09-13 Thread Sunil Jolly
Hi Robert, You'll need to post your form data to a URL which contains a script which will grab the posted variables and then will email out the information. If you're using PHP it's quite simple and there are lots of scripts. This is the first Google result for php emailer. I haven't tried it

RE: [Flashcoders] How do you tell if an Object is dynamic?

2008-01-07 Thread Sunil Jolly
Have you got an example Jamie? Sunil -Original Message- From: Jamie S [mailto:[EMAIL PROTECTED] Sent: 05 January 2008 01:51 To: Flash Coders List Subject: [Flashcoders] How do you tell if an Object is dynamic? I ran into a particular situation where i had a function that took an Object

RE: [Flashcoders] mc code still runs after being removed...Huh?!?

2008-01-30 Thread Sunil Jolly
Hi Boyd, I don't fully understand your example. Does this article help at all? http://gskinner.com/blog/archives/2006/07/as3_resource_ma_1.html Sunil -Original Message- From: BOYD SPEER [mailto:[EMAIL PROTECTED] Sent: 29 January 2008 18:06 To: Flash Coders List Subject: [Flashcoders]

RE: [Flashcoders] [AS3] Memory leaks unloading

2008-03-13 Thread Sunil Jolly
Hi Henry, I've found that even if items are garbage collected in the Flash Player memory will be necessarily be freed in the browser. If you want to check for garbage collection you can use the Flex Profiler (In Flex Builder 3) to check whether items are collected or not. What you will most

RE: [Flashcoders] Using FlexBuilder3 profiler with FlashCS3

2008-04-28 Thread Sunil Jolly
If you enable debugging in your SWF and use a debug version of the flash player, then you can use the Profile external application option. After selecting that, select Launch the application manually outside Flex Builder and hit Launch. If you have trouble, try using a different browser and/or

RE: [Flashcoders] Exclude classes

2008-06-18 Thread Sunil Jolly
Hi Steven, I've joined this conversation half-way through so sorry if this has already been said: If you're wanted to exclude some classes because you want to load them at runtime, then you can create an SWC with the classes in them and put that in your classpath in the Flash IDE. Classes in the

RE: [Flashcoders] Flash CMS

2008-07-03 Thread Sunil Jolly
I've used Drupal with the AMFPHP module very successfully. S -Original Message- From: Paul Andrews [mailto:[EMAIL PROTECTED] Sent: 02 July 2008 11:05 To: Flash Coders List Subject: Re: [Flashcoders] Flash CMS Interesting - thank you. - Original Message - From: SJM [EMAIL

RE: [Flashcoders] SOT: (Rant) Why is Adobe.com such a bad website?

2008-09-05 Thread Sunil Jolly
Great post! I've spent many hours searching through the Adobe site trying to find things. For a company trying to spearhead web development it's a poor show. Sunil -Original Message- From: Radley Marx [mailto:[EMAIL PROTECTED] Sent: 04 September 2008 20:50 To: Flash Coders List