Re: [Flashcoders] Job postings ok?

2006-09-07 Thread Mike Britton
I'm surprised people are ok w/ job posts here. if (!codeRelatedPost) offTopic = true; Can a FlashJobPosts list be started? Job posts show us options, sure, but they aren't about code, they are about jobs. Mike ___ Flashcoders@chattyfig.figleaf.co

Re: [Flashcoders] [JOB] Sr. Flash/AS Programmers (4), Los Angeles, CA | 70-125k

2006-09-07 Thread Mike Britton
This is a ridiculous analogy, but to me, a job post here is kind of like jumping up on stage in the middle of a play with an advertisement for a nearby coffee shop. You have the target demographic's attention, but not in context. Mike ___ Flashcoders@c

Re: [Flashcoders] Job postings ok?

2006-09-07 Thread Mike Britton
imho it's a distraction from the point of the list, which is coding, and for this reason it's borderline unethical. Just my opinion. Mike ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.

Re: [Flashcoders] Re:Adjust .swf to 100 % to screen size

2006-09-07 Thread Mike Britton
Jorge, here's an example of using ExternalInterface to send stage dimensions to JavaScript. http://www.randomusa.com/flash/downloads/externalInterface_screenDimensions.zip Hope I'm not OT on this one. Mike ___ Flashcoders@chattyfig.figleaf.com To chan

Re: [Flashcoders] [JOB] Sr. Flash/AS Programmers (4), Los Angeles, CA | 70-125k

2006-09-07 Thread Mike Britton
It's good to know these jobs are out there, but there has to be a better place for these posts than a coding list. Plerase have some respect. Mike Britton ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the ar

Re: [Flashcoders] Fwd: Application Framework

2006-08-31 Thread Mike Britton
It's built into Flash 8: import mx.xpath.XPathAPI; function getXMLData() { var myXML:XML = new XML(); myXML.ignoreWhite = true; myXML.onLoad = function(success:Boolean) { if (success) { var groupAr:Array = XPathAPI.selectNodeList(t

Re: [Flashcoders] Flash + Web Services problems

2006-08-31 Thread Mike Britton
Like this: Mike ___ 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 Soft

Re: [Flashcoders] Flash + Web Services problems

2006-08-31 Thread Mike Britton
Try adding a domain="*" attribute to , and a node to your cross-domain-policy nodes. Let me know if this works so I can feel a smug sense of satisfaction. Mike ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the ar

Re: [Flashcoders] Flash + Web Services problems

2006-08-31 Thread Mike Britton
What does your crossdomain.xml file look like? Mike ___ 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 A

Re: [Flashcoders] mvc dillema

2006-08-29 Thread Mike Britton
You could use EventDispatcher in the Model, View and Controller, and send the XML data to your Model through your Controller. When the Model changes, make it dispatch an event that updates the view, etc. Mike ___ Flashcoders@chattyfig.figleaf.com To ch

Re: [Flashcoders] OOP methodology and flash. I'm loosing my faith...

2006-08-29 Thread Mike Britton
All I have to say about this is tellTarget and _global tellTarget was deprecated in Flash 5 and has been removed in AS3. Not sure what you mean about _global, or why the conversation is over. If the original poster wants to build scalable and easily maintained apps, suggesting he use tellTarge

Re: [Flashcoders] UML Diagrams

2006-08-25 Thread Mike Britton
It also has round trip AS2 code generation. Gotta love that. http://www.5etdemi.com/blog/archives/2005/11/uml-to-as2-generator-for-enterprise-architect/ Mike ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the arch

Re: [Flashcoders] UML Diagrams

2006-08-25 Thread Mike Britton
Enterprise Architect: http://www.sparxsystems.com.au/products/ea.html Mike ___ 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

Re: [Flashcoders] Best way to learn OO Analysis and Design with ActionScript

2006-08-18 Thread Mike Britton
I second James' recommendation of Headfirst Design Patterns. I also recommend downloading an Enterprise Architect trial http://www.sparxsystems.com/ or Poseidon http://gentleware.com/index.php and learning some UML. It helps me to step outside of the code and focus on the logic behind the busine

Re: [Flashcoders] [AMFPHP] return; -> Feature / bug ?

2006-08-16 Thread Mike Britton
I always put my methodTable in the constructor, not include it. This could be the source of the problem. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flash

Re: [Flashcoders] [AMFPHP] return; -> Feature / bug ?

2006-08-16 Thread Mike Britton
You need to create a methodTable array in the constructor of every class you're using with AMFPHP. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Re: [Flashcoders] [AMFPHP] return; -> Feature / bug ?

2006-08-16 Thread Mike Britton
methodTable = array( "test1" => array( "description"=>"I return 'hello world'", "access"=>"remote", "arguments"=>array(), "returntype"=>"string"),

Re: [Flashcoders] [AMFPHP] return; -> Feature / bug ?

2006-08-16 Thread Mike Britton
$this->test2(); hth, Mike ___ 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 Consultin

Re: [Flashcoders] Re: quotes in XML

2006-08-09 Thread Mike Britton
Are you using remoting? Check out AMFPHP: http://www.amfphp.org/ You don't need to use the XML object to send your POST, just to receive it. Create your XML object after you get your result back. var my_xml = new XML();my_xml.onLoad = function(success){if (success){trace( this);}}my_xml.load("y

Re: [Flashcoders] ActionScript Application Framework

2006-07-18 Thread Mike Britton
We definitely can do this, but it may amount to reinventing the wheel. Do you suggest this in lieu of Cairngorm and ARP? Are there things about these frameworks that make them undesirable? Mike ___ Flashcoders@chattyfig.figleaf.com To change your subs

Re: [Flashcoders] AMFPHP: CrossDomain

2006-07-17 Thread Mike Britton
To skirt this issue, I use AMFPHP proxy classes on my swf's host server to talk to other servers or snap up RSS files. Not sure about filesystem stuff though. It seems like that would be a security issue on the backend as well as the front! Feel free to mail me offlist if you want to check out

Re: [Flashcoders] How to embed metadata in SWF files?

2006-07-16 Thread Mike Britton
I would build a "wrapper" MovieClip class extension for your compiled SWF, and use LocalConnection to send/receive the values. That is, use LocalConnection in both the compiled swfs and in the wrapper. The wrapper is the receiver and the compiled clips are the broadcasters. http://www.osflash.o

Re: [Flashcoders] How to embed metadata in SWF files?

2006-07-15 Thread Mike Britton
A couple questions for you Jeff: 1. What version of Flash player are you targeting? 2. How are you generating the swfs? Mike ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/

Re: [Flashcoders] IIS vs Apache: transferring of vars from swf to PHPproblem?

2006-07-12 Thread Mike Britton
Bernard is right. Take a look at these resources before you go live with your application: http://del.icio.us/search/?all=PHP+security Mike ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chatty

Re: [Flashcoders] Php Host

2006-07-12 Thread Mike Britton
I use FutureQuest (http://www.futurequest.net/) and love their service. I've never had a problem for over four years. They have PHP, MySQL and Ruby; shared and dedicated hosting; I can't say enough good things about them quite honestly. hth, Mike ___

Re: [Flashcoders] Help for a Java Guy: Instantiating a MovieClip with a linked class and calling class methods

2006-07-06 Thread Mike Britton
Perhaps, but you never know: someone on this list may have a better solution for your problem. Mike ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoder

Re: [Flashcoders] Help for a Java Guy: Instantiating a MovieClip with a linked class and calling class methods

2006-07-06 Thread Mike Britton
Hey Julian, I feel your pain. Take a look at this example: http://www.randomusa.com/flash/downloads/tojulian.zip Mike Britton ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http

Re: [Flashcoders] Sound markers

2006-06-27 Thread Mike Britton
Cuepoints can be used with mp3 as well as flv. Mike ___ 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] Fjax... does this seem ridiculous to anyone else?

2006-06-23 Thread Mike Britton
Seems like a hack to me, from both the AJAX programming and Flash programming perspective. Mike ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders B

Re: [Flashcoders] growing animation

2006-06-20 Thread Mike Britton
It looks like a lot of onEnterFrame (to position the flower and adjust as it grows) and setInterval for the spawning of the branches. I think the text generation uses setInterval, maybe 100 milliseconds to make it seem like it's being output by a computer. Really beautiful work, I think. Mike _

[Flashcoders] Yahoo! Maps Flash API

2006-06-14 Thread Mike Britton
I'm getting started with the Yahoo! Flash API, and noticed their Maps mxp doesn't include com.yahoo.maps.widgets.NavigatorWidget. Looks like Yahoo! needs to update their MXP to include this code since there's an article on Adobe about how to use it. http://www.adobe.com/devnet/flash/articles/yah

Re: [Flashcoders] Flash coders content degrading

2006-06-13 Thread Mike Britton
I recommend avoiding flashvars and loading the XML using XML2 http://www.gskinner.com/blog/archives/2004/02/the_ultimate_as.html. Mike ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.fi

Re: [Flashcoders] Flash coders content degrading

2006-06-13 Thread Mike Britton
Any way you look at it, we're building a searchable repository of both newb and advanced tips. Flash programmers aren't Nazis, marching together as some kind of unified front against all newbies. A community has elements from all skill levels, and if a newbie has a coding question for the group,

Re: [Flashcoders] Flash coders content degrading

2006-06-12 Thread Mike Britton
Not to mention the ability to search through messages (or digests) for keywords of interest. Mike ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Re: [Flashcoders] Flash and Javascript Interaction

2006-06-12 Thread Mike Britton
I recommend going with ExternalInterface. No external files needed: http://livedocs.macromedia.com/flash/8/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=2200.html However the kit is good and definitely works! Mike ___ Fla

Re: [Flashcoders] Stretching Designs - Coded?

2006-06-11 Thread Mike Britton
Aaron, thanks for putting together that example. I made an example of keeping an element in the center of the Stage using zmc_tween along with your technique, something I started doing to add a little depth when the user resizes. Just eye candy. The attachment is your example with zmc_tween bei

Re: [Flashcoders] anyone using mCom?

2006-06-07 Thread Mike Britton
Could someone please email these .mxps to me so I can do a visual inspection? ;-) Mike ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought t

Re: [Flashcoders] mp3 play back being sped up

2006-06-06 Thread Mike Britton
The sample rate shopuld be 44.1Khz. You may need to resample your audio before you create the mp3. I've also had problems using variable bitrate. hth, Mike Britton ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or s

Re: [Flashcoders] self published.

2006-06-01 Thread Mike Britton
Red5 requires a jvm (or jre) on the server, if I read correctly. I've been trying to get my host to install one for shared hosting accounts, and would use this red5 over localconnection if I were lucky enough to have java. Mike ___ Flashcoders@chattyfi

Re: [Flashcoders] re: self published

2006-05-31 Thread Mike Britton
Good luck Thomas. From a high-level perspective, your "server flash element" can create a localconnection to receive, and your "client flash element" can do the sending. In the data can be the type of action required, allowing for a switch statement to route it properly, as well as the data itse

Re: [Flashcoders] self published.

2006-05-30 Thread Mike Britton
Someone please correct me if I'm wrong, but it would be possible to make a connection between servers using LocalConnection. You'd have to ensure your client swf was assigned an id to "authenticate" their application to access the data. There would have to be a security model, in other words. O

Re: [Flashcoders] XML Parsing

2006-05-25 Thread Mike Britton
t;+menu_interactive_xml.firstChi ld.childNodes[counter].attributes.buttonIMAGE, this["btn"+counter].imageLoader.btnImage); counter++; } _parent._visible = true; info_clip._visible = false; } ---

Re: [Flashcoders] XML Parsing

2006-05-25 Thread Mike Britton
How many nodes are in the XML file? Can you post the code that does the parsing? Mike ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to

Re: [Flashcoders] ads inside a SWF

2006-05-06 Thread Mike Britton
Do it! (Disclaimer: I have no legal training...) Mike ___ 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 Premie

Re: [Flashcoders] Q:del.icio.us API

2006-05-05 Thread Mike Britton
t way would be to build an API around the query strings. _xml.load(http://del.icio.us/api/posts/get?tag=humor); This technique is a bit sketchy though. M. On 5/4/06, Mike Britton <[EMAIL PROTECTED]> wrote: > > Mike, can it be done with AS2? > > Mike Britton > > > >

Re: [Flashcoders] Q:del.icio.us API

2006-05-04 Thread Mike Britton
Mike, can it be done with AS2? Mike Britton On 5/4/06, Troy Rollins <[EMAIL PROTECTED]> wrote: On May 4, 2006, at 1:01 PM, Mike Chambers wrote: > Also, I am doing this in AS3, not AS2. You wouldn't happen to be doing this in AS3 on a Mac, would you Mike? ;-) (Still wait

Re: [Flashcoders] Q:del.icio.us API

2006-05-03 Thread Mike Britton
This may be a dumb question, but how would HTTP basic authentication be handled through AS2? Wouldn't it have to go through some kind of server-side proxy? Mike Britton On 5/3/06, Mike Chambers <[EMAIL PROTECTED]> wrote: I am in the process of building an ActionScript 3 library t

Re: [Flashcoders] Q:del.icio.us API

2006-05-03 Thread Mike Britton
The API is under development and it requires authentication. I looked into it and it's pretty simple: http://del.icio.us/api/posts/get?tag=humor ...returns an XML object like this: Pretty easy to consume with Flash, but I'm not sure how to 1) authenticate and 2) prevent being banned becaus

Re: [Flashcoders] retrieving names of external files in a folder (or is there something similar to Directors getNthFileNameInFolder())

2006-05-03 Thread Mike Britton
I made a very basic "directory scraper" class way back. I use this with AMFPHP. http://www.randomusa.com/flash/downloads/directoryScraper.zip hth, Mike On 5/3/06, Mikael Wirén <[EMAIL PROTECTED]> wrote: Hi gang, I´m slowly finding the pros (can admit there are some =) and cons of Flash I´m

Re: [Flashcoders] eLearning Standards Guide?

2006-05-02 Thread Mike Britton
Although e-learning is interesting, a call for these kinds of standards is probably more appropriate on a design list or discussion forum, not flashcoders imho (please correct me if I'm wrong). That is, unless the question relates to coding or best practices. Mike ___

Re: [Flashcoders] Required Actionscript Programmers

2006-05-02 Thread Mike Britton
As a precautionary measure, I never work with people who use the word 'gr8'. Mike ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you

[Flashcoders] MXNA

2006-04-28 Thread Mike Britton
What's going on with MXNA? It looks like the server is down. http://weblogs.macromedia.com/mxna/index.cfm Mike -- http://www.mikebritton.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http

Re: [Flashcoders] Flash Layout Manager

2006-04-26 Thread Mike Britton
I hear ya. Mike ___ 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 Traini

Re: [Flashcoders] Flash Layout Manager

2006-04-26 Thread Mike Britton
Also keep in mind that layout management will be part of Flex 2. Personally I can't wait. http://livedocs.macromedia.com/labs/1/flex20beta2/langref//mx/containers/Panel.html Mike ___ Flashcoders@chattyfig.figleaf.com To change your subscription options

Re: [Flashcoders] ExternalInterface

2006-04-19 Thread Mike Britton
Sorry about the crappily-formatted code - I'm writing it in GMail! FLASH: import flash.external.ExternalInterface; class blah { var instance:Object = new Object(); // Function alias for JavaScript var methodName:String = "goToCuePoint"; // Function alias for Actionscript var

Re: [Flashcoders] RE:Flashcoders] Extending Array Question

2006-04-18 Thread Mike Britton
class com.ArrayExtension extends Array { public function ArrayExtension() { super() var argString = arguments[0].split(","); for(var i=0; i< argString.length; i++) push(argString[i]); } } Usage: var arEx = new ArrayExtension("one,two,three"); trace(ar

Re: [Flashcoders] Local Connection Object problem

2006-04-11 Thread Mike Britton
I've also had problems when there's more than one instance of your application active. If the name of the LC is the same across applications it can result in windows stealing LC's from each other. Mike ___ Flashcoders@chattyfig.figleaf.com To change you

Re: [Flashcoders] PayPal issues

2006-04-01 Thread Mike Britton
Thanks Dave, that's good to know. You have to love when a company stops supporting a product and fails to notify us about it. Mike ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.

Re: [Flashcoders] Recommendation on good AS 2.0 framework code?

2006-03-29 Thread Mike Britton
ARP: http://www.osflash.org/arp Cairngorn: http://www.macromedia.com/devnet/flex/articles/cairngorm_pt1_02.html William Gibson: http://en.wikipedia.org/wiki/William_Gibson_%28novelist%29 - respect! Mike ___ Flashcoders@chattyfig.figleaf.com To change y

Re: [Flashcoders] Actionscript 2 - suitable for designers?

2006-03-27 Thread Mike Britton
Knowing AS2 well would also make it easier to learn architectural frameworks for Flash applications (ARP and Cairngorn). These allow you to fully experience the benefits of OOP, and you get the added bonus of a developer community around any given framework to answer specific questions. Mike

Re: [Flashcoders] 8.5 player and javascript

2006-03-27 Thread Mike Britton
I suggest switching to the flash.external (ExternalInterface) package. This seems to be *the way* to do it in AS3. I use it currently in AS2 and it works really well. Mike ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or sea

Re: [Flashcoders] Accordion Component

2006-03-11 Thread Mike Britton
Here's some code I snipped out of one of my apps that uses the accordion. I'm sure it can be simplified. var childWidth:Number = 300; var childHeight:Number = 200; main_ac.setSize(300,400); main_ac.createChild("View","latest",{label:" Posts"}); main_ac.createChild("View","latestComments",{label

Re: [Flashcoders] Flash / Flex / ActionScript Podcasts?

2006-03-10 Thread Mike Britton
Eric Dolecki's is the best out there right now. Mike ___ 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 A

Re: [Flashcoders] Flash / Flex / ActionScript Podcasts?

2006-03-09 Thread Mike Britton
I did one, but I think the most interesting development podcasts involve more than one person. Conversation between more than one developer is compelling; the pontifications of one person are weak, at best. I'm still trying to figure out the medium. Mike _

Re: [Flashcoders] Newbiew question AS3

2006-03-06 Thread Mike Britton
Adobe Labs http://labs.macromedia.com/ is the place to go for demos and examples. > there isn't a build of flex for osx It would be consistent with Eclipse's cross-platform standing if one were eventually made available. Flex Builder 2 should install on any machine ColdFusion can install on. Mi

Re: [Flashcoders] RE: rich text box

2006-03-06 Thread Mike Britton
This one looks nice: http://www.flashloaded.com/flashcomponents/flashtexteditor/ Pricey though for a component. hth, Mike ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mai

Re: [Flashcoders] How does goowy do it? (HTML in Flash)

2006-03-04 Thread Mike Britton
Does anyone have a working example of the Drumbeat comp? All I know is if you need to drop a div on top of your flash app using FSCommand, you may as well build the app with AJAX. I didn't see online examples of this component, just screenshots. Can someone set me straight? Mike ___

Re: [Flashcoders] RIA patent granted

2006-03-02 Thread Mike Britton
All your innovations are belong to us Mike ___ 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] {Business/Workflow} The use of mock prototypes

2006-03-01 Thread Mike Britton
Thorough prototyping is so key. I made a prototyping tool for internal use that allows people to discuss prototype screens. This allows the designer to follow a discussion between users, creating elements as they are requested. I got the inspiration from success with FLiP - style development htt

Re: [Flashcoders] Q:Add tracking to dynamic text

2006-03-01 Thread Mike Britton
A couple things I saw in the docs: "Kerning is supported for embedded fonts only. " "The kerning property is only supported in SWF files created in Windows, not in SWF files created on the Macintosh." Mike ___ Flashcoders@chattyfig.figleaf.com To chang

Re: [Flashcoders] Q:Add tracking to dynamic text

2006-03-01 Thread Mike Britton
I've never heard of this being possible with dynamic text fields. With regular text fields you simply adjust the value with the IDE, of course. If it is possible I'd like to know myself. Mike ___ Flashcoders@chattyfig.figleaf.com To change your subscri

Re: [Flashcoders] Q:Add tracking to dynamic text

2006-03-01 Thread Mike Britton
What do you mean by tracking? Make a dynamic text field automatically populate with a value based on some conditions? Sorry if this is obvious and I'm just not understanding. Mike ___ Flashcoders@chattyfig.figleaf.com To change your subscription option

Re: [Flashcoders] Focus within the Browser

2006-02-27 Thread Mike Britton
I would look at onClick as the event handler if a mouse click is the entry point. Both object and embed tags support it, but don't forget that the code I showed only works in Mozilla if the embed tag is taken out of the object tag. I'd have to work more with it to come up with anything more speci

Re: [Flashcoders] Focus within the Browser

2006-02-27 Thread Mike Britton
No - just when you receive it. When you lose focus, onblur is called. The event handler would look like var obj00 = document.getElementById ("oid"); obj00.onblur = function() { alert("Embed tag has lost focus"); } On 2/27/06, Claudia Barnal <[EMAIL PROTECTED]> wrote: > > Thanks Mi

Re: [Flashcoders] How often do you use components? Or do you use it at all?

2006-02-27 Thread Mike Britton
I meant distribution / EULA concerns, not the ability to look at the code. Mike ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by

Re: [Flashcoders] Focus within the Browser

2006-02-27 Thread Mike Britton
IE and Mozilla handle this differently. I wasn't able to detect focus via JavaScript unless I took the embed tag out of the object tag. Ref: http://msdn.microsoft.com/workshop/author/dhtml/reference/objects/object.asp http://msdn.microsoft.com/workshop/author/dhtml/reference/objects/embed.asp T

Re: [Flashcoders] Attaching code to buttons already on stage

2006-02-27 Thread Mike Britton
var universalButtonHandler = new Object(); universalButtonHandler.click = function(eventObject) { trace("click!"); trace(eventObject.target); // get button name // Logic here } btn00.addEventListener("click", universalButtonHandler); btn01.addEventListener("click", universalButtonHandle

Re: [Flashcoders] mailto is not working

2006-02-27 Thread Mike Britton
Better yet, don't use mailto: at all. Personally I don't like when Outlook opens from links. It's disruptive. Mike ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/lis

Re: [Flashcoders] How often do you use components? Or do you use it at all?

2006-02-26 Thread Mike Britton
I use the v2 components because I really don't like reinventing the wheel. Unless you're creating a component set as a standalone product, I don't see the value in making your own combobox, data grid, etc. Educational, but a waste of time. Another reason I use the v2's: they will be versioned, an

Re: [Flashcoders] simple FUSE question

2006-02-23 Thread Mike Britton
I would use zmc_tween: http://hosted.zeh.com.br/mctween/using.html #include "zmc_tween.as" var timeTo = 2; var pointB = Stage.width/2; mcname.onRollOver = function() { mcname.tween(["_xscale", "_yscale"], [120,120], 1, "easeoutcirc", 0, function() { trace("done scaling")

Re: [Flashcoders] How can I display a tall document?

2006-02-22 Thread Mike Britton
Make a ScrollPane width and height equal to Stage.width and Stage.height of a fullscreen app and load a clip containing your text field into the ScrollPane. You could also send the new textfield height to JavaScript and dynamically resize the object and embed (I think, though I'd probably never do

Re: [Flashcoders] Podcasts

2006-02-21 Thread Mike Britton
For Flash, I like Eric Dolecki's: http://www.ericd.net Mike ___ 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 P

Re: [Flashcoders] > Using Cairngorm, good idea?

2006-02-13 Thread Mike Britton
I think ARP http://osflash.org/arp would work well with this, too. It would make it easier to reapproach the code later. Mike ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/m

Re: [Flashcoders] MovieclipTween120.mxp from http://laco.wz.cz/tween/

2006-02-09 Thread Mike Britton
I found the download here: http://www.mosessupposes.com/2004/sequencer/index2.html This ARE the right files, right? Mike ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mail

Re: [Flashcoders] MovieclipTween120.mxp from http://laco.wz.cz/tween/

2006-02-09 Thread Mike Britton
Apologies to this list -- I solved the problem. Just change the path to the version xml file to your local path com\mosesSupposes\util\sequencer\documentation in Sequencer.as. Works great! Mike ___ Flashcoders@chattyfig.figleaf.com To change your sub

Re: [Flashcoders] MovieclipTween120.mxp from http://laco.wz.cz/tween/

2006-02-09 Thread Mike Britton
Fuse is giving this error: Error opening URL "http://www.mosessupposes.com/2004/sequencer/version.xml"; Mike ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/f

Re: [Flashcoders] Q:getter setters vs accessor methods

2006-02-08 Thread Mike Britton
I use get someSuch(): 1. When I'm making components in the v2 framework and I want to make vars show up in the IDE (using metadata) 2. When I know I'll need to access a public property and don't want to call a method explicitly every time I use getSomeSuch() for: 1. Private members 2. Event hand

Re: [Flashcoders] How to alter all movieClips with as2

2006-02-02 Thread Mike Britton
class someObj extends MovieClip { public var someProperty:String; function someObj() {} } ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Re: [Flashcoders] v2 components - are you kidding me?

2006-02-01 Thread Mike Britton
Much of AS1 isn't deprecated, but that's just how I think of it. Sorry if it seemed like I was declaring AS1 deprecated because it isn't (officially). The point I wanted to make was that it makes me nervous to use AS1 stuff for practical reasons, one being the *likelihood* AS1 contains much synta

Re: [Flashcoders] v2 components - are you kidding me?

2006-02-01 Thread Mike Britton
Ghostwire's are fast and simple, but the deprecated AS1 syntax makes me wonder how good they'll fit with a new project. Are there plans to update these components? Mike ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figl

Re: [Flashcoders] v2 components - are you kidding me?

2006-02-01 Thread Mike Britton
mCom components are an attractive alternative: http://www.metaliq.com/mCOM/ These were formerly known as 'glic'. Supposedly they are easier to skin, too. Mike On 2/1/06, Meinte van't Kruis <[EMAIL PROTECTED]> wrote: > 'something that can "play nicely" with stuff that other people are likely

Re: [Flashcoders] How to call functions in sequence

2006-01-28 Thread Mike Britton
Yes, don't think in terms of avoiding functions. If something needs to be repeated, it's a candidate for a function. Performance is important for a game, but if an app's object-orientated design makes it a millisecond slower than procedural (inline) code, that's acceptable if you get the benefits

Re: [Flashcoders] How to call functions in sequence

2006-01-28 Thread Mike Britton
The more of them you use, the slower the performance. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Re: [Flashcoders] How to call functions in sequence

2006-01-28 Thread Mike Britton
function1() { function2(); } function2() { function3(); } You could also use onEnterFrame to conditionally check for flags indicating the progress of execution: var f1Fired = false; var f2Fired = false; var f3Fired = false; this.onEnterFrame = function() { if (f1Fired) { tr

Re: [Flashcoders] ActionScript Cheatsheet Update (new URL)!

2006-01-27 Thread Mike Britton
Nice! It would be great if each element was a link to the docs! Mike ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Re: [Flashcoders] Microsoft Sparkle

2006-01-26 Thread Mike Britton
Agreed, well put. Mike ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Re: [Flashcoders] AMFPHP for commercial projects

2006-01-26 Thread Mike Britton
AMFPHP is really straightforward code -- any PHP programmer worth his salt could go in and fix if needed. It also keeps the option of moving to CF or Java open, since your AS2 will be the same. The project has picked up again and has been out of beta for some time. Mike _

Re: [Flashcoders] array question

2006-01-26 Thread Mike Britton
FruitArray = ["apples", "pears", "watermelons", "oranges", "peaches"]; for (i=0; ihttp://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Re: [Flashcoders] Re: AMFPHP for commercial projects

2006-01-26 Thread Mike Britton
If that is their approach, it inhibits AMFPHP which is itself oppressive. Mike ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Re: [Flashcoders] Re: AMFPHP for commercial projects

2006-01-26 Thread Mike Britton
Because they have a capable competing language, ColdFusion. It would be like bringing a product to market and then releasing a free version of the same thing. Mike ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.c

  1   2   >