Re: [Flashcoders] LocalConnection: call functions on passed object
Hi, nope, but wouldn't it be nice:) greetz JC On Sun, Aug 2, 2009 at 4:16 PM, Andrew Sinning and...@learningware.comwrote: Using the LocalConnection object, is it be possible to pass a reference to an object from one movie to another, and hence forth call functions within the passed object directly, without having to go through the LocalConnection? This is in AS3. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Link reference issue
Hello all, Quick question. I have a swf loaded into a movieclip on another swf we'll say Movie1 and Movie2 and I have to use the link reference that starts in Movie1.. kinda weird, but it wouldn't work any other way. I end up having to write the path to the button like this: Eg: _root.stage_mc.quote_mc.close_btn.gotoAndPlay(close); Where _root.stage_mc is in Movie1 and .quote_mc.close_btn is inside Movie2 swf. _root.stage_mc is what Movie2 is loaded into. Am I missing something here? Shouldn't the button in Movie2 work with a relative path? Eg: this.quote_mc.close_btn.gotoAndPlay(close); ? Perplexedly yours, Karl DeSaulniers Design Drumm http://designdrumm.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] other lists for compiler design, assembly, and machine code?
It is not that I don't want to write code for flash anymore; it is just that I am interested in expanding my horizons. Can anyone recommend a good mailing list for compiler design for newbies? I have books on it, and I know the basics of how to perform tokenization and lexical analysis; yet, even with study and practise, I am most likely going to be considering myself a newbie in the compiler design realm for at least a few years. Keep in mind that my assembly is very rudimentary, and my machine code is even worse (having never actually taken a compiler design class). ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Link reference issue
Hi Karl, I would say quote_mc.close_btn.gotoAndPlay(close); works from the time line of stage_mc stage_mc.quote_mc.close_btn.gotoAndPlay(close); works from the main time line HTH Willem van den Goorbergh On 3-aug-2009, at 9:52, Karl DeSaulniers wrote: Hello all, Quick question. I have a swf loaded into a movieclip on another swf we'll say Movie1 and Movie2 and I have to use the link reference that starts in Movie1.. kinda weird, but it wouldn't work any other way. I end up having to write the path to the button like this: Eg: _root.stage_mc.quote_mc.close_btn.gotoAndPlay(close); Where _root.stage_mc is in Movie1 and .quote_mc.close_btn is inside Movie2 swf. _root.stage_mc is what Movie2 is loaded into. Am I missing something here? Shouldn't the button in Movie2 work with a relative path? Eg: this.quote_mc.close_btn.gotoAndPlay(close); ? Perplexedly yours, Karl DeSaulniers Design Drumm http://designdrumm.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+= Geografiek is a Dutch, Utrecht-based map and chart design company. Willem van den Goorbergh can be contacted by telephone: (+31) 30-2719512 or cell phone: (+31)6-26372378 or by fax: (+31)302719687 snail mail: Hooghiemstraplein 89 3514 AX UTRECHT Visit our website at: http://www.geografiek.nl =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+= ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] other lists for compiler design, assembly, and machine code?
Anthony Pace wrote: It is not that I don't want to write code for flash anymore; it is just that I am interested in expanding my horizons. In some ways writing a compiler is shortening your horizons - most likely you'll tire of the project or just be the only one to use the end result. That said, treating compiler design as a hobby (like doing crosswords) it can be fun. I had a stint along this road MANY years ago with a foray into small-c compilers on home micros. I stopped after producing a port of a small-c compiler to a bytecode and then having to write the byte code interpreter runtime environment (which I wrote using interpreted BCPL and BASIC). So as a doubly interpreted language running on an 8 bit micro, it ran like a dog. It was a fun project that took up a huge amount of time and was of little absolute worth. I also spent some time trying to write an assembler for the MC68000 and that was quite fun too (where did those old books go?) So my suggestion would be to really focus on what you want out of the project (and indeed why you want to write a compiler at all), otherwise you'll never get to an end. Contributing to an opensource project with a compiling component might cure you! All that said, I did recently consider an application where it would have been good to allow use of custom actionscript - compiled into the project, to drive the application template, but it sounds like a ton of work. Whatever you do good luck. Paul Can anyone recommend a good mailing list for compiler design for newbies? I have books on it, and I know the basics of how to perform tokenization and lexical analysis; yet, even with study and practise, I am most likely going to be considering myself a newbie in the compiler design realm for at least a few years. Keep in mind that my assembly is very rudimentary, and my machine code is even worse (having never actually taken a compiler design class). ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] XML Socket
Hi, I am (re-)writing an app that uses an XML socket to communicate with a server for sending commands and receiving messages calling various remote functions, etc. Because of the asynchronous nature of the server, what is the best way of making sure the command results get sent back to the corresponding caller? I looked into the RPC classes in Flex, but I am stuck on Flash for this project, so am looking for similar stuff in Flash, e.g. what would have been callbacks in AS2. It seems that event listeners are a bit heavyweight here because I only ever want to call a single function in response to a single command rather than broadcast the result to every potential caller... Any tips / ideas would be welcome, thanks. Glen ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] XML Socket
Wrote my own simple Interface implementation so that anything calling the command must handle the result. Glen ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] swf not loading in Firefox on Windows
Hey Everyone, Have any of you encountered a problem where swf content won't load properly in Firefox (2.x and/or 3.x) in WIndows? I've handed off a swf to a client but they come back and said it stays on the 'loading' screen for some people. I found this article: http://news.cnet.com/8301-17939_109-10027752.html but my swf doesn't contain any flvs. I can't think of a reason that it would act differently in different browsers. (Isn't that the point of using flash in the first place?) My only guess so far has been to check for errors in the embed code but nothing seems out of place. Any of suggestions? Thanks, Joe ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] swf not loading in Firefox on Windows
Adblockers? We've had that problem in the past, where people have installed 3rdparty over-aggressive adblockers which mean that Flash will just not load. Ian On Mon, Aug 3, 2009 at 4:02 PM, Joe Minkiewiczjoe.min...@gmail.com wrote: Hey Everyone, Have any of you encountered a problem where swf content won't load properly in Firefox (2.x and/or 3.x) in WIndows? I've handed off a swf to a client but they come back and said it stays on the 'loading' screen for some people. I found this article: http://news.cnet.com/8301-17939_109-10027752.html but my swf doesn't contain any flvs. I can't think of a reason that it would act differently in different browsers. (Isn't that the point of using flash in the first place?) My only guess so far has been to check for errors in the embed code but nothing seems out of place. Any of suggestions? Thanks, Joe ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] other lists for compiler design, assembly, and machine code?
Anthony Pace wrote: Can anyone recommend a good mailing list for compiler design for newbies? I have books on it, and I know the basics of how to perform tokenization and lexical analysis; yet, even with study and practise, I am most likely going to be considering myself a newbie in the compiler design realm for at least a few years. Keep in mind that my assembly is very rudimentary, and my machine code is even worse I did some compiler work for Borland, but that was 15 years ago or more. Anybody remember Borland's Fortran compiler? No? I thought not. I don't know of compiler mailing lists, but I can tell you that you probably don't need assembly or machine code. We did the Fortran compiler in C (not C++), with very little inline assembly code. I don't know of anybody who has done machine code for 20 years or more. It is truly obsolete unless you're writing for some proprietary hardware. There is a school of thought that you ought to be able to write a compiler in its own language. I.e., if you're writing a C++ compiler, you would write it in C++. I don't know if that would apply so well to ActionScript, though, because of its speed. I would probably choose a language that compiles to machine code, like C++, rather than a tokenized language--you want that extra speed boost in your primary tool. Cordially, Kerry Thompson ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] other lists for compiler design, assembly, and machine code?
You could do worse than take a look at the sources for both MTASC and haXe. MTASC is a compiler for AS2. http://mtasc.org/ haXe is a compiler for... uh... haXe. But haXe is a very AS3-like language (it has its roots in AS). http://haxe.org/ Both are written by Nicolas Cannasse. Both are written in the functional programming language OCAML and are lightning fast. A lot of people swear by functional languages for compiler-writing these days; BNF-style rule-based parsing maps on to functional languages much more naturally than on to OOP/procedural languages. HTH, Ian On Mon, Aug 3, 2009 at 4:37 PM, Kerry Thompsonal...@cyberiantiger.biz wrote: Anthony Pace wrote: Can anyone recommend a good mailing list for compiler design for newbies? I have books on it, and I know the basics of how to perform tokenization and lexical analysis; yet, even with study and practise, I am most likely going to be considering myself a newbie in the compiler design realm for at least a few years. Keep in mind that my assembly is very rudimentary, and my machine code is even worse I did some compiler work for Borland, but that was 15 years ago or more. Anybody remember Borland's Fortran compiler? No? I thought not. I don't know of compiler mailing lists, but I can tell you that you probably don't need assembly or machine code. We did the Fortran compiler in C (not C++), with very little inline assembly code. I don't know of anybody who has done machine code for 20 years or more. It is truly obsolete unless you're writing for some proprietary hardware. There is a school of thought that you ought to be able to write a compiler in its own language. I.e., if you're writing a C++ compiler, you would write it in C++. I don't know if that would apply so well to ActionScript, though, because of its speed. I would probably choose a language that compiles to machine code, like C++, rather than a tokenized language--you want that extra speed boost in your primary tool. Cordially, Kerry Thompson ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] [JOB] Flash/Flex Developer, San Mateo, CA | 75-120k
~noses through portfolio whassat? On 31 Jul 2009, at 16:41, Matt Gitchell wrote: Jeez. Sorry about that, folks. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders