[Flashcoders] AS3 Facebook Library

2007-08-04 Thread Keith Salisbury
See here: http://code.google.com/p/as3facebooklib/ I'm writing the automated tests to ensure the library is watertight Will create some examples after that. For a basic flex example, see the ManualFacebookTest.mxml in the tests directory. If anyone has time to knock up a PV3D example that wo

Re: [Flashcoders] Flair Pattern bad mixins good (?)

2007-02-01 Thread Keith Salisbury
Funny enough, they are also less widely known as the "Four Gangsters" after a someone with limited English skills referred to them this way at a conference. Perhaps it was actually "English skillz" ;-) ___ Flashcoders@chattyfig.figleaf.com To change

Re: [Flashcoders] Flair Pattern bad mixins good (?)

2007-01-31 Thread Keith Salisbury
If you feel like this: GoF makes me very sleepy - I find it very dry and the chapters very long winded. (Sorry GoF'rs) then: I would be interested to know if Head First Design Patterns follows the same process as Moock - "learn by doing". I can handle that, although I will keep delving in

Re: [Flashcoders] Flair Pattern bad mixins good (?)

2007-01-31 Thread Keith Salisbury
Mmmm I really want a bagel now!!! Damn that decor On 1/30/07, JOR <[EMAIL PROTECTED]> wrote: A decorator object composites the object it wishes to decorate and is used in it's place. Since the decorator inherits from the the same base class as the object it decorates they can both be used

[Flashcoders] as3syndicationlib - not finding media:* enclosures in RSS20Item

2007-01-31 Thread Keith Salisbury
Right, i dont know if this is a bug, or simply that i'm not doing things in the correct manner, but here goes: Using the import com.adobe.xml.syndication.generic.*; i'm loading this xml: http://api.flickr.com/services/feeds/[EMAIL PROTECTED]&format=rss_200 var xml:XML = simpleLoader.loadXml();

Re: [Flashcoders] AS3 properties woes

2007-01-26 Thread Keith Salisbury
uper("date"); and in your parent function ClassName(lc:String) { labelClass = lc; } > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf > Of Keith Salisbury > Sent: Wednesday, January 24, 2007 6:32 AM > To: Flashcod

Re: [Flashcoders] AS3 properties woes

2007-01-24 Thread Keith Salisbury
Thanks guys, its was actually my fault, the example i gave was a little simpler than my real code, and i discovered i was calling setTitle from inside the super construtor, so obviously if i dont set my subclass variable before calling "super()" it wont use that variable. by changing the subclas

[Flashcoders] AS3 properties woes

2007-01-24 Thread Keith Salisbury
Slightly confused I have a super class: package com.ktec.timeline { protected var labelClass:String = "default"; public class AbstractMarker { public function AbstractMarker () { labelClass = "default"; } public function showTitle (title:String):void { trace(" + ti

Re: [Flashcoders] OT: Blitz Labs Xray

2006-08-16 Thread Keith Salisbury
Mate, Try this: http://labs.blitzagency.com/wp-content/xray/flex2/Xray.html Can i just take this opportunity to say what an absolutely awsome piece of work XRay is, i use it daily!!! Many thanks to John Grden and team!!! keith On 8/16/06, Merrill, Jason <[EMAIL PROTECTED]> wrote: Excuse

Re: [Flashcoders] how to set the root directory - swf vs html?

2006-08-09 Thread Keith Salisbury
Not sure, but this "might" help... BASE - ( . or base directory or URL) Specifies the base directory or URL used to resolve all relative path statements in the Flash Player movie. This attribute is helpful when your Flash Player movies are kept in a different directory from your other files. Use

Re: [Flashcoders] XPathAPI problems with wildcard searches

2006-08-04 Thread Keith Salisbury
I suspect you're expecting similar results to using XSLT where you statement bearing in mind this only works when you use the , which crawls the tree applying the xpath statements. Remember all you statements are relative to the root node that you pass in (in your example is "") To my knowledge

Re: [Flashcoders] Possible Challenge: AS 3.0 Compiler :)

2006-08-04 Thread Keith Salisbury
Why on earth would you want to? On 8/2/06, John Giotta <[EMAIL PROTECTED]> wrote: It maybe too soon for anyone to have a full grasp on AMF or SWF specs of an AS3.0 SWF but I wonder if its possible to create a crude compiler from AS3.0. AS3.0 ouroboros of sorts. _

Re: [Flashcoders] ActionScript Application Framework

2006-07-19 Thread Keith Salisbury
Ruby, is a (slick) programming language Rails is an application framework... Cake is the same framework for PHP ARP and Cairngorn are also frameworks Ruby on Rails has a number of scripts which will construct the empty application shell for you some similar work has been done in A

Re: [Flashcoders] Re: Iterate through instance methods

2006-05-04 Thread Keith Salisbury
lip? Which language are you working with? In ActionScript 3, for...in will only enumerate dynamic properties of an object. You will need to use describeType for static properties and methods. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Keith Salisbury Sent

[Flashcoders] Re: Iterate through instance methods

2006-05-03 Thread Keith Salisbury
I'm assuming the reason is due to the method existing further up the prototype chain, but even so, is there really no way to discover what (public) methods an instance supports?? On 5/3/06, Keith Salisbury <[EMAIL PROTECTED]> wrote: Hi, How do i iterate through the public me

[Flashcoders] Iterate through instance methods

2006-05-03 Thread Keith Salisbury
Hi, How do i iterate through the public methods of an instanceusing a "for in" seems to result in nothing ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listi

Re: [Flashcoders] Intellisense in Eclipse with ASDT plugin

2006-04-07 Thread Keith Salisbury
t you can > either use the -mx flag with MTASC or get the patch from here: > http://osflash.org/mx_v2_components_patch > I hope that helps. > > -Chris > > On 4/7/06, Keith Salisbury <[EMAIL PROTECTED]> wrote: > > Hey, > > > > I know this has been asked before bu

[Flashcoders] Intellisense in Eclipse with ASDT plugin

2006-04-07 Thread Keith Salisbury
Hey, I know this has been asked before but i havent found a solution yet. What i would like to be able to do is type "mx." press ctrl-space and have the list of packages available, etc. It seems to work for my own packages/classes in a particular project, but it cant see the "core" classes - t

Re: [Flashcoders] Using Flash with Ruby on Rails

2006-03-24 Thread Keith Salisbury
I've heard many developers say that once you get the concept you can look at most Ruby code and understand what it does very quickly, even without comments. Also the design of the language means people tend to end up writing clean code. I've written php for years, and only had time to have a littl

Re: [Flashcoders] Easing equations - explanation of parameters

2006-02-27 Thread Keith Salisbury
Cheers Nick, already seen those, but unfortunately it seems everywhere there is documentation for the Tween class, but absolutely no documentation for the easing class. I dont want to use the tween class, i just need to use the easing methods directly, so i just need some documentation on the param

[Flashcoders] Easing equations - explanation of parameters

2006-02-27 Thread Keith Salisbury
Does anyone have a explanation of the parameters used in the class mx.transitions.easing.Elastic (t:Number, b:Number, c:Number, d:Number, a:Number, p:Number) t = Current Timer b = Initial Value c = End Value - Initial Value d = Duration a = ? p = ? tia keith

[Flashcoders] Generic Message Prompt Design Pattern

2006-01-12 Thread Keith Salisbury
Is there a commonly used design pattern to solve the issue of a message prompt/window which needs to act differently depending on the message it shows. For example, the message might be "that didnt work, do you want to try again" with two buttons, "Ok" and "Cancel" or the message might be "well

[Flashcoders] Flash Kitesurfing Game

2005-10-21 Thread Keith Salisbury
Anyone got any links? cheers keith ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders