Re: [Flashcoders] Getting the class name?

2006-05-25 Thread mike cann
im not entirely sure but can you use instanceof against a switch statement to check if its of a particular class? On 25/05/06, eka [EMAIL PROTECTED] wrote: Hello :) you can use my ContructorUtil class with the statics getName, getPackage and getPath methods :

Re: [Flashcoders] Getting the class name?

2006-05-25 Thread mike cann
- It is not a method, but an operator. You can use instanceof only to compare - like this: var xx:XML = new XML(); trace (xx instanceof XML); // output will be true. ~Arul Prasad. On 5/25/06, mike cann [EMAIL PROTECTED] wrote: im not entirely sure but can you use instanceof against a switch statement

Re: [Flashcoders] OOP 101: Is import really necessary?

2006-05-25 Thread mike cann
If you are talking about flash, no i believe it doesnt automatically import your class for you. You may be getting confused with the new Flex Builder 2 which does infact import automatically for you. On 25/05/06, Rifled Cloaca [EMAIL PROTECTED] wrote: Flashcoders, So this is one of those

Re: [Flashcoders] Getting the class name?

2006-05-25 Thread mike cann
' and use it. ( like how macromedia did in V2 component classes ;-) ) ~Arul Prasad. On 5/25/06, mike cann [EMAIL PROTECTED] wrote: so you could do: var myClassName:String; var xx= new myClass(); if (xx instanceof myClass){myClassName=myClass;} else if (xx instanceof someOtherClass

Re: [Flashcoders] TextInput disabled when loaded into a Window Component into a child swf

2006-05-25 Thread mike cann
On 25/05/06, Manuel Saint-Victor [EMAIL PROTECTED] wrote: I have a window that is loading a swf file which has a movieclip with a TextInput in it that refuses to work- Is this a known bug and is there a workaround? Thanks Mani ___

Re: [Flashcoders] Compute a point guarateed to be within a irregular polygon

2006-05-26 Thread mike cann
perhaps soe of the suff on andre michelle's site will help you? Try checking out the constrain pollygon.swf http://recycle.andre-michelle.com/geometry/polygon/ Mike On 25/05/06, Kjel Anderson [EMAIL PROTECTED] wrote: Hello list, Has anyone implemented something like this? An example would

[Flashcoders] Flash interface in directx application

2006-05-26 Thread mike cann
Hi, I know this was asked back in '04 but it wasn't really answered to my satisfaction and i hope that there is a better solution now. What i would like to do is develop a DirextX 3D application but use flash as an interface system for it. So what i would like to know is: 1) is it possible to

Re: [Flashcoders] Flash interface in directx application

2006-05-26 Thread mike cann
a .NET C# implementation of a library that could read swf´s for the purpose you are asking... Good luck, - Marcelo Serpa. On 5/26/06, mike cann [EMAIL PROTECTED] wrote: Hi, I know this was asked back in '04 but it wasn't really answered to my satisfaction and i hope

Re: [Flashcoders] Flash interface in directx application

2006-05-26 Thread mike cann
or websites... I guess that they are listed on OSFLASH.org, under Flash Players (Open Source Flash Projects)... If I´m not wrong there were a .NET C# implementation of a library that could read swf´s for the purpose you are asking... Good luck, - Marcelo Serpa. On 5/26/06, mike cann [EMAIL

Re: [Flashcoders] what's the best tutorial for the bitmapdata API

2006-05-26 Thread mike cann
i personally like senocular ZenDoc, lets u output ure docs in a number of formats such as JavaDoc or MMDoc: www.senocular.com/projects/ZenDoc/ Mike On 26/05/06, Lee McColl-Sylvester [EMAIL PROTECTED] wrote: As2Doc is one I use and work well Lee -Original Message- From: [EMAIL

Re: [Flashcoders] AS 2.0 and Casting to datatypes ...

2006-05-31 Thread mike cann
Hi, Casting is telling the program expeicitly what a variable it so that the compiler doesn't throw a wobbler when you try to perform an operation on said variable. In your example: var info:ClockUpdate = ClockUpdate(infoObj); infoObj is probably defined as type Object? And even though you

Re: [Flashcoders] Q: creating oval mask with 4 bezier points

2006-06-01 Thread mike cann
Hi, There are probably better examples if you googled around a while but I found these usefull: http://www.nuran.org/ (Click closed spline on the right hand side) http://recycle.andre-michelle.com/geometry/bezier/ (

Re: [Flashcoders] flickering components, depth issue?

2006-06-01 Thread mike cann
HI, I had simmilar problems when using both the componants and the standard getNextHighestDepth() on movieclips. I reccomend using either getNextHighestDepth() and no componants or just the DepthManager for everything. Mike On 01/06/06, Kent Humphrey [EMAIL PROTECTED] wrote: I can understand

Re: [Flashcoders] Where to politely and appropriately discuss pricing issues

2006-06-01 Thread mike cann
If you are going to take the discussion private can i ask politely to be CC'ed in too pls as im very interested in this topic too :) On 01/06/06, Manuel Saint-Victor [EMAIL PROTECTED] wrote: I' read years ago that directly asking pricing in a public forum is gauche and a good way to get a

[Flashcoders] Flash Multiplayer System

2006-06-01 Thread mike cann
Hi, I have been tasked with setting up a multiplayer enviroment for the company i work for and i need some advice. I am currently looking at SmartfoxServer and perhaps Red5. Im told money isnt realy an issue, so things like ease of development, good documentation and customer support become

Re: [Flashcoders] Flash Multiplayer System

2006-06-02 Thread mike cann
Yes I looked at oregano a while back, and was planning on using it but it falls into the same category as the other open source projects as having no financial obligation to support with problems that we may encounter. If i was going to develop a project for personal use I would probably use

[Flashcoders] Event dispatching, to use or not to use?

2006-06-02 Thread mike cann
Hi all, Im kinda new to the whole event dispatching and listening way of doing things that the v2 components have introduced me to and would like some advice on how to go about coding this situation: Suppose i have a game which is represented by a class cMyGame and within there i have have my

Re: [Flashcoders] Funny

2006-06-06 Thread mike cann
ahhahaahhaha thats quality nice one :) On 05/06/06, Aaron Buchanan [EMAIL PROTECTED] wrote: http://abum.com/file/shadow/animations/17632.swf Now get back to work ;) -- Aaron ___ Flashcoders@chattyfig.figleaf.com To change your subscription options

Re: [Flashcoders] Event dispatching, to use or not to use?

2006-06-07 Thread mike cann
/archives/23.html http://www.osflash.org/flashcoders/as2 http://www.person13.com/articles/proxy/Proxy.htm http://www.adobe.com/devnet/flash/articles/eventproxy.html http://www.actionscript.org/tutorials/beginner/the_delegate_class/index.shtml mike cann a écrit : Hi all, Im kinda new

Re: [Flashcoders] reposition MC on release

2006-06-07 Thread mike cann
i think he means sumthin like this: inside your button: on (release) { _root.myMC.endX = -500; _root.myMC.endY = -200; } assuming myMC is the movieclip you are talking about On 07/06/06, jcanistrum [EMAIL PROTECTED] wrote: if I understand it correctly, one way would be to use

Re: [Flashcoders] Variable trace Problem

2006-06-07 Thread mike cann
using this. within a function construct such as siguiente_btn.onPress = function (){ if (this.contador=this.cant) { means you are talking about the variables beloging to siguiente_btn not to its parent. if its located on the root u can do this: siguiente_btn.onPress = function (){ if

Re: [Flashcoders] Regarding ascb Proxy

2006-06-09 Thread mike cann
Okay, i havent ever looked at the proxy class but i think i can take a stab at answering some of your questions, others can probably back me up / correct me on any errors. 1. Yes it appears he could have used slice, perhaps using the for loop is quicker? 2. There are occasions when you want to

Re: [Flashcoders] Is Object scope lost when using Delegate?

2006-06-09 Thread mike cann
ummm correct me if im wrong but onRelease you are passed an event object that contains the target of the event? so: funciton addChild( txt:String ):Void { // make new mc, with a text field and set the txt myNewMc.onRelease = Delegate( this, onMenuRelease ); { function onMenuRelease(

Re: [Flashcoders] Is Object scope lost when using Delegate?

2006-06-10 Thread mike cann
.enabled = true; } if (event.target == btn2) { // do some stuff... btn2.enabled = false; btn1.enabled = true; } } } mike cann a écrit : ummm correct me if im wrong but onRelease you are passed an event object that contains the target of the event? so

Re: [Flashcoders] the speed of bitmapdata

2006-06-29 Thread mike cann
perhaps create a black sqare movieclip then draw that to your bitmap? Not sure if that was is any quicker than set pixel.. On 29/06/06, Andreas Rønning [EMAIL PROTECTED] wrote: Anyone know a fast way to draw a pixel perfect rectangle onto a bitmapData instance without a loop and setPixel? I

Re: [Flashcoders] Flash SQL

2006-07-14 Thread mike cann
this doesnt sound like a good idea as anyone can download your .swf and decompile it then change that SELECT * statement to a DROP statement with ease. On 12/07/06, Jose Maria Barros [EMAIL PROTECTED] wrote: Now im working on a project that involves SQL Server, ASP , XML and flash..and i think

[Flashcoders] Flash cant add up!!

2006-08-09 Thread mike cann
Okay, i may be going crazy but slap this on frame one of a flash file and observe the output: // var incrementNum:Number = 0; var oldNum:Number = 0; var resultNum:Number =0; onEnterFrame =

Re: [Flashcoders] Flash cant add up!!

2006-08-09 Thread mike cann
oaky great cheers :D On 09/08/06, Michael Kneib [EMAIL PROTECTED] wrote: http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_13989 Am Mi, 9.08.2006, 16:46, schrieb mike cann: Okay, i may be going crazy but slap this on frame one of a flash file and observe the output

Re: [Flashcoders] Advice on creating nodes on elastic

2008-10-03 Thread mike cann
Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- Mike Cann http://www.artificial-studios.co.uk/ ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman

Re: [Flashcoders] online .swf generator

2008-11-27 Thread mike cann
mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- Mike Cann http://www.mikecann.co.uk/ http://www.artificialgames.co.uk/ ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http

[Flashcoders] [AS2] Catching clicks in child clip?

2008-12-03 Thread mike cann
) } } Cheers. -- Mike Cann http://www.mikecann.co.uk/ http://www.artificialgames.co.uk/ ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Re: [Flashcoders] [AS2] Catching clicks in child clip?

2008-12-03 Thread mike cann
, not sure a mask will? Glen mike cann wrote: Hello List, I have been forced to go back to AS2 recently for a work project and oh my is it annoying me. Part of the project I am writing a simple advertising loader, its basically just a swf that loads other swfs into it. The problem

Re: [Flashcoders] [AS2] Catching clicks in child clip?

2008-12-03 Thread mike cann
in the mousetrap clip with an alpha of 0 to make this work. Glen mike cann wrote: Okay well setting these values: mask.onMouseUp = Delegate.create(this, advertClickthrough); mask.onRelease = function() { } mask.onPress = function() { } mask.onMouseDown = function

Re: [Flashcoders] [AS2] Catching clicks in child clip?

2008-12-03 Thread mike cann
the container for the loaded swf as enabled = false... ? On Wed, Dec 3, 2008 at 9:07 AM, mike cann [EMAIL PROTECTED] wrote: Hello List, I have been forced to go back to AS2 recently for a work project and oh my is it annoying me. Part of the project I am writing a simple advertising

Re: [Flashcoders] [AS2] Catching clicks in child clip?

2008-12-03 Thread mike cann
it?? 2008/12/3 mike cann [EMAIL PROTECTED] Okay the mousetrap over the top doesnt work. Find the new example here: http://www.mikecann.co.uk/DumpingGround/AS2_StrippedBare_MouseTrap.zip Source output here: private function loadAdvert(advertURL:String) { // Make a mask for those

Re: [Flashcoders] [AS2] Catching clicks in child clip?

2008-12-03 Thread mike cann
the loaded swf. - Original Message - From: mike cann [EMAIL PROTECTED] To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Wednesday, December 03, 2008 3:07 PM Subject: [Flashcoders] [AS2] Catching clicks in child clip? Hello List, I have been forced to go back to AS2

Re: [Flashcoders] Either an incredibly easy or incredibly difficult problem

2009-02-16 Thread mike cann
@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- Mike Cann http://www.mikecann.co.uk/ http

[Flashcoders] Particle Playground, Flash 10 General Purpose Comuting with Pixel Bender

2009-03-18 Thread mike cann
to my picassa account (proxyed via php). The hope is to get some realy beautiful images in here, perhaps if some are good enough ill get them printed and framed ;) You can see it in action over on my blog: http://www.mikecann.co.uk /?p=384 Let me know what you think! Mike Cann http

Re: [Flashcoders] Particle Playground, Flash 10 General Purpose Comuting with Pixel Bender

2009-03-18 Thread mike cann
Wichman j.c.wich...@objectpainters.com wrote: awesome:) On Wed, Mar 18, 2009 at 12:45 PM, mike cann mike.c...@gmail.com wrote: Hey List, I have been playing around with particles again... I have just released my latest little saunter into the world of particles and shaders

Re: [Flashcoders] Particle Playground, Flash 10 General Purpose Comuting with Pixel Bender

2009-03-24 Thread mike cann
, Latcho spamtha...@gmail.com wrote: You are still clever:) I think the Alchemy story is a bit of a frustrating one (to know). Especially if you don't want to go C++ to obtain...performative AS3. Latcho mike cann wrote: Just thought I would update anyone interested, I have updated my

Re: [Flashcoders] Particle Playground, Flash 10 General Purpose Comuting with Pixel Bender

2009-03-25 Thread mike cann
but they bang on about a bunch of files that don't seem present in my flashdevelop project (i suspect they are hidden). The flashdevelop ones seem to be missing. On Tue, Mar 24, 2009 at 2:53 PM, mike cann mike.c...@gmail.com wrote: Yep, I have been considering haXe, especially now that they have

[Flashcoders] Pricing a Freelance Project

2009-10-11 Thread mike cann
I have done a few googles and worked out what my day-job hourly rate is and come up with a figure of £40per hour. Does this seem unreasonable for a flash/php/database coding project? Cheers, -- Mike Cann http://www.mikecann.co.uk/ http://www.artificialgames.co.uk

Re: [Flashcoders] RE: Pricing a Freelance Project

2009-10-12 Thread mike cann
@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- Mike Cann http://www.mikecann.co.uk/ http://www.artificialgames.co.uk/ ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo