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

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:

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 ___

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 ___

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

Re: [Flashcoders] Flash + Web Services problems

2006-08-31 Thread Mike Britton
Try adding a domain=* attribute to cross-domain-policy, and a allow-access-from domain=* / 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

Re: [Flashcoders] Flash + Web Services problems

2006-08-31 Thread Mike Britton
Like this: ?xml version=1.0? cross-domain-policy domain=* / allow-access-from domain=somedomain secure=false / allow-access-from domain=anotherdomain secure=false / allow-access-from domain=* / /cross-domain-policy Mike

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

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

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

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

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

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

2006-08-16 Thread Mike Britton
?php class testClass { function testClass() { $this-methodTable = array( test1 = array( description=I return 'hello world', access=remote,

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
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:

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(

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

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.

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:

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] 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:

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] 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:

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

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.

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

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:

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_Partsfile=2200.html However the kit is good and definitely works! Mike ___

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] 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

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

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 search

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 ___

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 itself

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.

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

Re: [Flashcoders] XML Parsing

2006-05-25 Thread Mike Britton
; } -- -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mike Britton Sent: Thursday, May 25, 2006 10:18 AM To: Flashcoders mailing list Subject: Re: [Flashcoders] XML Parsing How many nodes are in the XML file? Can you post the code that does the parsing? Mike

Re: [Flashcoders] ads inside a SWF

2006-05-07 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

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

2006-05-05 Thread Mike Britton
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 On 5/4/06, Troy Rollins [EMAIL PROTECTED] wrote

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 waiting for a flex beta

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] 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: posts dt=2006-05-03 tag=humor user= post href= description= hash= others=2 tag=humor time=2006-05-03T15:14:14Z/

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 to wrap

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

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

[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:

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

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);

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

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:

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

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

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] 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: Latest

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

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] 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:

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.

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] 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

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

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:

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, universalButtonHandler);

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
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 Mike,

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

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,

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

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:

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:

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

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:

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
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 to

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

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

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) {

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
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

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] Re: AMFPHP for commercial projects

2006-01-26 Thread Mike Britton
It's the legal issue -- this implies risk where other options don't. Personally I love AMFPHP and have never observed it blowing up; it's far faster than ColdFusion remoting in my experience. Legal issues aside, I'd go with it for enterprise-scale projects. Mike On 1/26/06, Simen Brekken

Re: [Flashcoders] Re: AMFPHP for commercial projects

2006-01-26 Thread Mike Britton
Any would-be lawyers lurking here who could once and for all help us resolve this issue? 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

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] array question

2006-01-26 Thread Mike Britton
FruitArray = [apples, pears, watermelons, oranges, peaches]; for (i=0; iFruitArray.length; i++) { if (FruitArray[i] == oranges) { trace(i); } } hth, Mike ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com

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] 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

[Flashcoders] Preview window: always full screen?

2006-01-24 Thread Mike Britton
I apologize if this has been covered, but can someone tell me how to make the Flash IDE preview window launch fullscreen? I have dynamically-scaling apps I need to test without causing a resize event to trigger by making the damn window larger. This is killing me! Thanks in advance, Mike

Re: [Flashcoders] embed SWF with PHP

2006-01-17 Thread Mike Britton
Pumping the object and embed tags into a DIV's innerHTML using AJAX is one possibility. You could also write the object and embed tags with an external JavaScript. This would prevent the source from being viewed and is probably an easier option given its all on the client. It's impossible to

Re: [Flashcoders] Using the $ sign at the beginning of a variable

2006-01-12 Thread Mike Britton
Nothing in particular - just a style of naming vars. I don't do it because it looks too much like PHP and I get disoriented. I recall seeing this technique used to distinguish public from private vars, but I think it went out of favor when AS2 came out. On 1/12/06, Ryan Luce [EMAIL PROTECTED]

Re: [Flashcoders] Stage.height Misreporting

2006-01-05 Thread Mike Britton
Try using setInterval Mike ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Re: [Flashcoders] Flash does not run when wmode is transparent and div is hidden

2006-01-04 Thread Mike Britton
I never use wmode transparent -- it's buggy and broken. Mike ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Re: [Flashcoders] flash and cfm

2005-12-20 Thread Mike Britton
Looks like you're running into the character limit of URL strings. I second Jason's recommendation of remoting. Either that or use coldfusion to write XML files. Mike ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com

Re: [Flashcoders] anchors in dynamic textfield?

2005-12-15 Thread Mike Britton
In the past I've simulated anchors with a ScrollPane using its vPosition property and duplicated clips inside the ScrollPane. However I agree it would be nice if TextArea had the ability to anchor. You could use asfunction to control the textArea's vPosition based on a variable you pass in. The

Re: [Flashcoders] Flash is a single-threaded app? Maybe it's just the AVM? or...

2005-12-08 Thread Mike Britton
It scares me too, but so does UI lock, something that's been happening to me a lot lately. Mike ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Re: [Flashcoders] targeting classes in a loaded swf

2005-12-03 Thread Mike Britton
I'd look into LocalConnection. It sounds like you're trying to figure out how to avoid dependencies between objects, which (to me) makes sense. Rather than over-design and make things work in a complicated way, you can use LocalConnection to init your child clips from your controller:

  1   2   >