[Flashcoders] AS3 Facebook Library
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 would be very cool!!! - 3D friend carousel would probably be pretty quick to create... All feedback welcome ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Flair Pattern bad mixins good (?)
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 your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Flair Pattern bad mixins good (?)
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 interchangeably through polymorphism. consider something like this: var myBagel:Bagel = new Bagel(); trace (myBagel.getCalories()); // 200 // Add creamcheese to my bagel myBagel = new CreamCheeseDecorator(myBagel); trace (myBagel.getCalories()); // 300 // Add lox to my bagel myBagel = new LoxDecorator(myBagel); trace (myBagel.getCalories()); // 330 //--- // bagel looks something like this public class Bagel { public function getCalories ():uint { return 200; } } //inside the decorator is something like this: public class CreamCheeseDecorator extends Bagel { private var _bagel:Bagel; public function CreamCheeseDecorator (bagel:Bagel) { _bagel = bagel; } public function getCalories ():uint { return _bagel.getCalories() + 100; } } //inside the decorator is something like this: public class LoxDecorator extends Bagel { private var _bagel:Bagel; public function LoxDecorator (bagel:Bagel) { _bagel = bagel; } public function getCalories ():uint { return _bagel.getCalories() + 30; } } You can add more Bagel types like EggBagel and EverythingBagel and more Decorator objects like Butter and use them all interchangeably. note, this untested code, I just typed it out in the post so their might be typos. James O'Reilly — Consultant Adobe Certified Flash Expert http://www.jamesor.com Design • Code • Train Erik Bianchi wrote: Opps meant to add: that's my interpretation anyways. I could be wrong. I'm wrong all the time. In fact I consider myself a professional mistake maker. -erik -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Erik Bianchi Sent: Tuesday, January 30, 2007 1:49 PM To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] Flair Pattern bad mixins good (?) A decorator is meant to be dynamic. It adds responsibilities to an object at run time. You take ComponentA and add methods to it on mouseclick, that's a decorator. ComponentB is made up of ComponentC and ClassA, that's a composite. My implementation of a mixin which I borrowed from java is really just using composites + interfaces to emulate multiple inheritance. Decorators and composites are similar however in that they are both structural patterns and define an interface for communicating between parent and child components / classes. Best, -erik -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of T. Michael Keesey Sent: Tuesday, January 30, 2007 9:00 AM To: Flashcoders mailing list Subject: Re: [Flashcoders] Flair Pattern bad mixins good (?) How is this any different from a Decorator/Wrapper? Looks like a double decorator. On 1/30/07, Erik Bianchi [EMAIL PROTECTED] wrote: Actually my definition of a mixin is very strict compared to a decorator; it uses design by contract, composition and declares type: Class ClassA implements IClassB, IClassC { private var classB:ClassB; private var classC:ClassC; private function classBMethod():Boolean{...}; private function classCMethod():Number{...}; } -erik -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of T. Michael Keesey Sent: Tuesday, January 30, 2007 12:09 AM To: Flashcoders mailing list Subject: Re: [Flashcoders] Flair Pattern bad mixins good (?) On 1/29/07, David Ham [EMAIL PROTECTED] wrote: startObjectDrag triggered by obj_mc.onPress checkForSnaptriggered bysetInterval or onEnterFrame type of event, in this case onObjectDrag stopObjectDrag triggered byobj_mc.onRelease This looks more like the Broadcaster pattern or the Event Dispatcher (a.k.a. Observer) pattern than Decorator. (Also, it might be better to tie checkForSnap to mouseMove.) Personally, I'm not a big fan of mix-ins because, well, they're kind of sloppy. They involve tinkering with stuff that should be off-limits (and is in AS3, I think). Using mix-ins, you could accidentally use a non-function as a function. That can't happen if you stick to strictly-typed programming. -- T. Michael Keesey ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier
Re: [Flashcoders] Flair Pattern bad mixins good (?)
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 into GoF, keeping an oven timer handy to bring me back from the brink. You will probably get a lot out of this book. The examples are (within reason) interesting, and as with all the head first books and they've made a very concerted effort to liven up what is to some a fairly dry topic. I learnt a lot from this book; now if i need to research a particular pattern, mostly i'll use the internet. http://www.google.com/codesearch is great for examples. Also would highly recommend ActionScript 3 Design Patterns by Joey Lott and Danny Patterson, for any actionscript programmers wanting to understand appliying patterns in flash/flex, it covers most of the main ones. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] AS3 properties woes
Thanks Steven In AS3 you can actually put code before a super() as you can in other methods in AS2. as i admitted, clearly need a some refactoringright now its just a prototype so i'm not too concerned On 1/24/07, Steven Sacks | BLITZ [EMAIL PROTECTED] wrote: I don't know about AS3 (and I can't imagine this is different from AS2) but you cannot put any code before super() in a constructor. super() must be the first line of code in a constructor. You should pass the labelClass value to the super constructor (watch your every move, super constructor). super(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: Flashcoders mailing list Subject: Re: [Flashcoders] AS3 properties woes 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 subclass constructor to this: public function DateMarker () { labelClass = date super(); } I have the desired functionalitythink i probably need to spend some time refactoring tho. The example i've given (aside from Petro's astute comment) should actually work as expected, not as i described!! Sorry for the distractions!!! ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- [EMAIL PROTECTED] ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] AS3 properties woes
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(span class=\ + labelClass + \ + title + /span) } } } and a subclass: package com.ktec.timeline { public class DateMarker extends AbstractMarker { public function DateMarker () { super(); labelClass = date } } } Then i use: var marker:DateMarker = new DateMarker() marker.showTitle(hello world) # span class=defaulthello world/span This isnt what i would expect? Can anyone enlighten me where i'm going wrong? thanks keith ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] AS3 properties woes
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 subclass constructor to this: public function DateMarker () { labelClass = date super(); } I have the desired functionalitythink i probably need to spend some time refactoring tho. The example i've given (aside from Petro's astute comment) should actually work as expected, not as i described!! Sorry for the distractions!!! thanks for the help tho keith ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] OT: Blitz Labs Xray
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 the semi-OT: Blitz Labs seems to have turned their site into a blog basically, and in so doing, have broken many of the links. All the download links do not work on their site - at least the ones related to Xray - I'm trying to get XRay installed for Flash debugging - does anyone have all the components required to run Xray they can send me in a zip offlist? Or even an older version of Xray? Thanks. Jason Merrill Bank of America Learning Organization Effectiveness - Technology Solutions ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- [EMAIL PROTECTED] ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] how to set the root directory - swf vs html?
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. Used when embedding the swf in html more info here: http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_12701 On 8/9/06, quinrou . [EMAIL PROTECTED] wrote: cool thx! On 8/8/06, Merrill, Jason [EMAIL PROTECTED] wrote: swfFolder = _level0._url.substring(0,_level0._url.lastIndexOf(/)) + /; That looks familiar. ;) Jason Merrill Bank of America Learning Organization Effectiveness - Technology Solutions -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Chris Hill Sent: Tuesday, August 08, 2006 11:25 AM To: Flashcoders mailing list Subject: Re: [Flashcoders] how to set the root directory - swf vs html? swfFolder = _level0._url.substring(0,_level0._url.lastIndexOf(/)) + /; then use this variable to load your data: loadMovie(swfFolder + image.jpg); Peace Chris quinrou . wrote: Hi, My HTML and my flash movie live in 2 different directories. So when I work in the flash IDE my swf can load all its assets but when I try to use that same swf via its HTML page the swf can't find its assets. Because it now has its root as the html root. I am pretty sure there's a work around to define the swf directory as the root not the html. thanks seb ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- [EMAIL PROTECTED] ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Possible Challenge: AS 3.0 Compiler :)
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. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- [EMAIL PROTECTED] ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] XPathAPI problems with wildcard searches
I suspect you're expecting similar results to using XSLT where you xsl:template match=blah statement bearing in mind this only works when you use the xsl:apply-templates /, 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 xml) To my knowledge the XPathAPI wont support what you want, you're need to do some kind of recursion May be worth looking at the other XPath library, cant remember where it is, but a quick google will point you in the right direction i'm sure... On 8/1/06, Lori Hutchek [EMAIL PROTECTED] wrote: The reason I am trying to do the wildcard search is because I have nodes of the same name at different levels and I need them all. So giving a specific path wouldn't give me all of the nodes I need. Here's an expert... xml node nodid=cue14 /node node nodid=cue15 closecaptioning![CDATA[]]/closecaptioning actions action type=evt_post data type=reply order=1 videofile=debate1.flv length=55666 slides node nodid=cue1 order=13 index=true slidefile= printfile=slide1.jpg thumbfile=slide1.jpg type=slide closecaptioning![CDATA[]]/closecaptioning actions / /node /slides /action /actions /node /xml Yes * and / are mathematical operators but in the context of a xpath search they are used as you expect if you were doing a regex search... which also supports the * and / What I am attempting to do is get all the node nodes by doing r = XPathAPI.selectNodeList(myXML,/*/node); If anyone else has experienced the same trouble and know a way around it or know what I'm doing wrong that would be great! Thanks! Lori- -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of ryanm Sent: Tuesday, August 01, 2006 2:42 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] XPathAPI problems with wildcard searches r = XPathAPI.selectNodeList(x,/*/item); The problem is that / and * are both node operators and math operators, so your statement is ambiguous. The obvious answer, based on your example XML, is to use ./items/item, but I don't know if your real XML is more complex or not. If it is, you just need to make your select statement more explicit. ryanm ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- [EMAIL PROTECTED] ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] ActionScript Application Framework
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 ARP using C#, i dont know about Cairngorm. hope that clears it up for you. On 7/19/06, Ben Smeets [EMAIL PROTECTED] wrote: Correct me if I'm not getting this correctly. But for the sake of argument; I do not believe ARP and or Cairngorm are the same as Ruby in regards to PHP. ARP + Cairngorm give you some handles on how to architect your application, but nothing more than that. Ruby on rails gives the developer (I think) the tools to build a complete webapp in a fast and simple manner. That's why I think the simmilarities between Flex and Ruby on rails are much bigger then let's say Ruby and ARP. Correct me if I'm wrong plz :) Grt, Ben -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Nick Weekes Sent: woensdag 19 juli 2006 10:21 To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] ActionScript Application Framework no problemo. In case nobody has posted the links: http://www.osflash.org/arp And http://labs.adobe.com/wiki/index.php/Cairngorm Cheers, Nick -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of James Deakin Sent: 19 July 2006 09:13 To: Flashcoders mailing list Subject: Re: [Flashcoders] ActionScript Application Framework Sorry Nick I was simply unaware of them. Now that I am I will be trying them out. On 7/19/06, Nick Weekes [EMAIL PROTECTED] wrote: There still hasn't been a decent reason in this thread why the existing frameworks (such as arp + cairngorm) are not suitable? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ben Smeets Sent: 19 July 2006 08:43 To: Flashcoders mailing list Subject: RE: [Flashcoders] ActionScript Application Framework I like the idea, and think a lot of people are trying it with you. But wouldn't this result in something like...Flex? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of James Deakin Sent: dinsdag 18 juli 2006 18:49 To: Flashcoders@chattyfig.figleaf.com; flexcoders@yahoogroups.com Subject: [Flashcoders] ActionScript Application Framework Dear List (I should say lists this going to Flash and Flex coders), I am a very and I mean very experienced ActionScript coder. I have been writng code and storing it for re-use for 7 years. I have just installed Rails an application frame work for a language named Ruby which enabled me to create a whole aplication in the space of a few hours. Cant we follow the example and create a framework to make our lives easier as these guys have for Ruby programmers. I would be willing to contribute. What do you reckon would it work. Could we as a comunity of developers do this? James Deakin ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized
Re: [Flashcoders] Re: Iterate through instance methods
Hi Tom, No, not using AS3, just AS2. Its seems its not possible, so i've tackled the problem from the inside using __resolve instead thanks for your suggestion On 5/3/06, Tom Lee [EMAIL PROTECTED] wrote: What kind of object are you trying to introspect? A movieclip? 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: Wednesday, May 03, 2006 12:25 PM To: Flashcoders mailing list Subject: [Flashcoders] Re: Iterate through instance methods 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 methods of an instanceusing a for in seems to result in nothing -- [EMAIL PROTECTED] ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- [EMAIL PROTECTED] ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Iterate through instance methods
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/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Re: Iterate through instance methods
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 methods of an instanceusing a for in seems to result in nothing -- [EMAIL PROTECTED] ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Intellisense in Eclipse with ASDT plugin
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 - this could be because eclipse cant lookup through linked folders. Either way, is this an eclipse thing, or an ASDT thing? btw, is there an explanation anywhere of how to actually compile the ASDT plugin? tia keith ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Intellisense in Eclipse with ASDT plugin
OK so i've fixed it now, woohooo!! here is what i did. My ASDT Core path now points to FP8. In the FP8 folder i have created a symbolic link (http://alax.info/blog/category/utilities/ntfs-links/) that points to mx, and copied the toplevel.as in there too. (could do the same for FP7 if necessary) Now ASDT is aware of all packages, and all FP8 classes, and intellisense is working as expected cheers for your help chris!! keith On 4/7/06, Chris Allen [EMAIL PROTECTED] wrote: Keith, It's an ASDT configuration thingy. ;-) You need to set the global Flash class path location in Window-Preferences-ActionStep 2 -Core Path. If you have Flash 8 make sure to point it to the FP8 or FP7 directory, not the classes directory like it was in Flash MX 2004. If you are pointing to the mtasc/sdt/fp8 directory it doesn't include the mx package, so just keep that in mind. The mx package by default does not work with MTASC. There are too many little things that are off that Flash lets you get away with but MTASC doesn't. If you are dealing with the mx package a lot 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 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 - this could be because eclipse cant lookup through linked folders. Either way, is this an eclipse thing, or an ASDT thing? btw, is there an explanation anywhere of how to actually compile the ASDT plugin? tia keith ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- [EMAIL PROTECTED] ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Easing equations - explanation of parameters
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 parameters. On 2/27/06, Nick Weekes [EMAIL PROTECTED] wrote: I use these references for tweening/easing: ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Generic Message Prompt Design Pattern
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 done, you did something right with just Continue button In the first example, there may be many occasions where a yes/no question is asked, and the action will change each time, so it makes sense that the prompt window simply dispatches the event, either OK or Cancel etc and the listeners can deal with it as they see fit. .how do you guys solve this problem? tia keith ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Flash Kitesurfing Game
Anyone got any links? cheers keith ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders