[Flashcoders] as3: my first attempt at writing a class... and I am sucking at it.

2006-07-26 Thread Carl Welch
I finally decided to bite the bullet and try to convert my as2 code to as3. I've gone though some tutorials on how to create classes. I can't seem to figure how how to chose what to import at the beginning of the class. plus I get an error: **Error** C:\Documents and Settings\Carl Welch\My

Re: [Flashcoders] I am new to here

2006-07-26 Thread denfi
hi, happie to see u here. On 7/25/06, master [EMAIL PROTECTED] wrote: Hi, All I am new to here, happy every day! jack 2006-07-25 ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:

RE: [Flashcoders] flash 8 video, cue points,and actions based on those cue points

2006-07-26 Thread Matt Haworth
Hi There, I'm assuming you're using an FLV Component that you've dragged onto the stage and named mcFLV. I don't know how your animations are set up, I've assumed you have 4 different movie clips, one for each, called mcAnim1, mcAnim2, etc. With those assumptions, here's the code: //CODE

[Flashcoders] access variable sitted in a movieClip... .

2006-07-26 Thread denfi
i have a problem trying to acess a variable of my movie(Global2.swf) that is loaded into a emptyMovieClip(swfHolder) that is on my maintimeline(container.swf) stage. I declare this code on my Global2.swf maintimeline: _global.myGlobal2 = this; counter = 2; then try to access the variable

RE: [Flashcoders] jigsaw puzzle piece algorithm

2006-07-26 Thread Danny Kodicek
Initially each piece group property is an empty array, but for a group something like: A B C D then, A.group is an array of (B, C, D). B.group is an array of (A, C, D), etc.. Without going into your post in detail, I think this is the source of your problem. For each group, you're better

Re: [Flashcoders] Back from html to specific point in flash

2006-07-26 Thread Ricardo Sánchez
Thanks to all of you. On 7/21/06, John Dowdell [EMAIL PROTECTED] wrote: Ricardo Sánchez wrote: So our second option is open the link in the same window but giving the user the chance to hit the back button of the browser (once in the html) and go back to the specific situation where he was

Re: [Flashcoders] About OOP metodology

2006-07-26 Thread Ricardo Sánchez
Still not sure what to do. My doubt is more related to the change in the appearenace, number and type of fields in a form from one project to another. Should I make a different swf with a form for each project and change the class every time? (whatever pattern I use, mvc...) Should I make a swf

Re: [Flashcoders] Decoding xml text w/no CDATA allowed

2006-07-26 Thread Toon Van de Putte
That does appear to be the case, i tried the following: textfield.htmlText = currentPand.firstChild; which shows 'bthis is bold/b' instead of bold text On the other hand, this: textfield.htmlText = currentPand.firstChild.nodeValue; Shows the text in bold, as would be expected. So i suppose

Re: [Flashcoders] Decoding xml text w/no CDATA allowed

2006-07-26 Thread Carl Welch
I think you just need to set the Dynamic text field to render HTML in the properties panel - its the button that looks like . I have xml that has quot;Specialquot; and it works fine. On 7/26/06, Toon Van de Putte [EMAIL PROTECTED] wrote: That does appear to be the case, i tried the following:

Re: [Flashcoders] About OOP metodology

2006-07-26 Thread Adrian Park
The approach I'd take would be to use an XML configuration file to work out what inputs are needed and then create all the widgets from the library. This way, all you need to modify for each deployment is the XML configuration file. You could then also add attributes to the XML to flag things

Re: [Flashcoders] About OOP metodology

2006-07-26 Thread Adrian Park
Ricardo, I just read you most recent post where you mention that the design of inputs could change on a form by form basis. How much difference do you anticipate there'll be? Do you think you could get away with using components and then specifying style attributes such as size, colour and text

Re: [Flashcoders] catching errors by webservice

2006-07-26 Thread PR Durand
Hi Hans, Yes it does, everythings works well, but the exceptions. It's a C# .net simple webservice (input: an Int id, output : a personal class object) We tryied yesterday in the evening with a C# coder. His code has a throw new SOAPException(entry not found) we made a local WS client in C#

Re: [Flashcoders] as3 and attachmovie

2006-07-26 Thread Carl Welch
OK. I am trying to learn how to use classes and have had some success - But what I just can't seem to grasp in this situation is if I use this: var newMC=new MovieClip(); this.addChild(newMC); instead of this: attachmovie(gf,gf+_root.getNextHighestDepth(),_root.getNextHighestDepth How do I

Re: [Flashcoders] Array Empowerment

2006-07-26 Thread Hans Wichman
Hi Steven, awesome, very welcome additions. Would addIfNotPresent (in want of a better name), getRandomItem(with the option of deleting that randomItem), randomizeOrder , make any sense to add as well? Or am I missing something (with respect to the code that is). greetz Hans On 7/26/06, Mike

RE: [Flashcoders] Array Empowerment

2006-07-26 Thread Mike Mountain
Yup good to see, an optimised remove duplicate items would be good, or have I missed it? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Hans Wichman Sent: 26 July 2006 10:41 To: Flashcoders mailing list Subject: Re: [Flashcoders] Array

Re: [Flashcoders] Array Empowerment

2006-07-26 Thread janosch
uniq is the appropriate function Janosch Mike Mountain schrieb: Yup good to see, an optimised remove duplicate items would be good, or have I missed it? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Hans Wichman Sent: 26 July 2006 10:41

[Flashcoders] Loader component cannot be added as a child

2006-07-26 Thread Gadi Srebnik
hi coders, I'm loading binary image data to a flex 2 movie through socket connection. in order to place the image in stage, I used Loader component, which according to Adobe Flex tutorial, can be placed in UIComponent using addChild(Loader) I tried that and got: TypeError: Error #1034: Type

RE: [Flashcoders] Array Empowerment

2006-07-26 Thread Mike Mountain
Doh, scrolled right past it, nice work. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of janosch Sent: 26 July 2006 11:04 To: Flashcoders mailing list Subject: Re: [Flashcoders] Array Empowerment uniq is the appropriate function Janosch

Re: [Flashcoders] Attention Recursion Speed Experts

2006-07-26 Thread Mark Winterhalder
index = list.index; len = list.length; while (index length) { It's a problem with len/gth, you overlooked the 'length' in the while() when you renamed it to 'len'. Below is the reworked testing class. It creates the array in the beginning, then

Re: [Flashcoders] Attention Recursion Speed Experts

2006-07-26 Thread Cedric Muller
weird results! I do get very different results from the IDE, but I am testing using Flash 8 and Flash Player IDE is 8 could that (it should) explain the difference with results seen in the browser (which has Flash Player 9) ? Cedric index = list.index; len

Re: [Flashcoders] sequential tweens ?

2006-07-26 Thread Hans Wichman
Hi peeps, i think my post from a while ago, is related to this post: http://www.mail-archive.com/flashcoders@chattyfig.figleaf.com/msg17995.html It completely falls under zeh's opinion of overcomplication :), but i think there is a time and a place to either overcomplicate things or keep it

Re: [Flashcoders] Attention Recursion Speed Experts

2006-07-26 Thread Mark Winterhalder
Hey Cedric, What results are you getting? Which one is how much faster in what player? It would surprise me if there were different results for FP8 and FP9, because it runs in the old VM and I doubt they reworked it since it's there for backwards compatibility anyway. It's probably more of a

Re: [Flashcoders] as3 and attachmovie

2006-07-26 Thread Supriya
In the library, right click on the symbol , click on Linkage. There select the checkbox Export for ActionScript. Give a name (gf) in the class field, flash will autogenerate a class for you with that name Now on timeline do this var myGf = new gf() this.addChild(myGf) this is equivalent to

[Flashcoders] Overriding implicit getters and setters

2006-07-26 Thread Rui Duarte Silva
Hi, Is it possible to override implicit getters and setters in child classes? I want to introduce some changes to the scrollbar component in Flash 8 by extending it, but it seems to be impossible to override the set ScrollPosition setter. Can it be done? Thanks, Rui Duarte Silva

Re: [Flashcoders] Attention Recursion Speed Experts

2006-07-26 Thread Cedric Muller
Hey Cedric, What results are you getting? Which one is how much faster in what player? F8 IDE (FP 8 IDE): flatten: 1576 flatten2: 1554 flatten: 1451 flatten2: 1593 flatten: 1390 flatten2: 1437 flatten: 1526 flatten2: 1439 flatten: 1313 flatten2: 1528 flatten: 1368

RE: [Flashcoders] sequential tweens ?

2006-07-26 Thread Danny Kodicek
Soo I by no means wish to hijack this thread, but i have a 5 week vacation coming up, and was still thinking on starting on what i called in my previous post some kind of sequencer framework, Obviously the word 'vacation' means different things to you than to me ;) Danny

Re: [Flashcoders] Attention Recursion Speed Experts

2006-07-26 Thread Mark Winterhalder
Thanks, Cedric. I assume those were results compiled by the Flash IDE, so we can conclude recursion *is* the fastest. It's also the most elegant solution, not requirements in this case, but nice to have anyway. I still don't understand why Danny got contrary results, but I like recursion better

Re: [Flashcoders] Creating dynamic text field using font embedded in parent movie clip

2006-07-26 Thread Raymond Simmons
Adrian, Thanks for your reply. I'm afraid I might be missing something, but with the technique you described for Flash 7, wouldn't the end result be that the child FLAs are exported with the font as well? By adding the font symbols to the libraries of the child FLAs, that's causing the font

Re: [Flashcoders] Attention Recursion Speed Experts

2006-07-26 Thread Mark Winterhalder
On 7/26/06, Mark Winterhalder [EMAIL PROTECTED] wrote: I still don't understand why Danny got contrary results, but I like recursion better so let's just leave it like that :) OK, let's not -- I had another look, and found a ! was missing in the recursive method. I've updated the test class

[Flashcoders] dynamic linkage for a Shared library

2006-07-26 Thread jordan robinson
I am using a shared library that loads into the initial shell.swf. Currently I have relative paths, but is there a way to set the linkage path as a variable instead of it being relative or a full path? Since the file is on a test environment the directory will change once it goes live and

Re: [Flashcoders] sequential tweens ?

2006-07-26 Thread Hans Wichman
;-), well first 2,5 weeks are a real vacation no laptop on penalty of death, after that there are some hobby projects such as the logger and this thing that have been lying on my desk for too long now :) but hey no pressure On 7/26/06, Danny Kodicek [EMAIL PROTECTED] wrote: Soo I by no

RE: [Flashcoders] Flash 7 image upload and .NET

2006-07-26 Thread Merrill, Jason
Any links to examples? Thanks. Jason Merrill Bank of America Learning Organization Effectiveness - Technology Solutions -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Pedro Furtado Sent: Tuesday, July 25, 2006 7:01 PM To:

[Flashcoders] loadComplete but no loadInit

2006-07-26 Thread Danny Kodicek
Can anyone think of a reason why I might get a loadComplete without getting a loadInit when using MovieClipLoader? That is, the swf loads in, but never plays (a trace action in the first frame doesn't execute). The httpStatus flag on loadComplete is coming through as 0, and the very same code is

RE: [Flashcoders] Flash 7 image upload and .NET

2006-07-26 Thread Merrill, Jason
Nevermind, I found some links. Are there any other recommended methods? Thanks. Jason Merrill Bank of America Learning Organization Effectiveness - Technology Solutions -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Merrill,

RE: [Flashcoders] About OOP metodology

2006-07-26 Thread Merrill, Jason
Another thing I love about this approach - (abstract flash file, layout, content and config dictated by XML) is that if you want to database-ize it, you can in the future - you would have a script update the XML from the database, and you could create an interface in Flash or HTML to update the

Re: [Flashcoders] Flash 7 image upload and .NET

2006-07-26 Thread PR Durand
Hi Merrill We've implemented the yamzbrowser (from www.yamago.net) with a .net application in F7 and it works perfectly. for me the best solution when you can't use F8! sourceforge.net/projects/*yamzbrowser*/ ++ PiR Merrill, Jason a écrit : Nevermind, I found some links. Are there any

RE: [Flashcoders] Flash 7 image upload and .NET

2006-07-26 Thread Merrill, Jason
Thanks! However, my company categorizes that url as Games and blocks me from accessing it. I have to get approval from someone much higher up to access it. Could you send me off-list a screenshot or copy and paste text descriptions from the site? Is there an alternative way to contact the

[Flashcoders] Flash Player 9 : Development status and issues regarding the Linux version.

2006-07-26 Thread Honeyghan
http://blogs.adobe.com/penguin.swf/ ___ 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

[Flashcoders] Persisting Arrays of Objects with Local Shared Objects

2006-07-26 Thread Chris McFadyen aka Grayson Carlyle
The first thing to be aware of is circular object references, i.e. can you recursively trace the array without crashing Flash. So, linked lists are out of the question. The second is not to pass any object references (including methods) where the referred object might change before it is

Re: [Flashcoders] as3 and attachmovie

2006-07-26 Thread Carl Welch
doh! I was thrown by the lack of quotation marks for the linkage name. thanks On 7/26/06, Supriya [EMAIL PROTECTED] wrote: In the library, right click on the symbol , click on Linkage. There select the checkbox Export for ActionScript. Give a name (gf) in the class field, flash will

[Flashcoders] as3 class flowchart

2006-07-26 Thread quinrou .
Hi all, I am after an as3 class flowchart that would tell me the way that classes are organised. I have seen one kicjing about a little while ago but i can't seem to be able to find the link thanks seb ___ Flashcoders@chattyfig.figleaf.com To change

[Flashcoders] Standalone database connectivity on the Mac

2006-07-26 Thread Clayton
Hi All! I'm currently working on a project that will require access to, and search capabilities for, a database for well over 1000 media elements (and all their attribute fields). This project will run cross platform (separate installers) and I have to assume that some machines may not be

[Flashcoders] ?? inconsistant results - remoting ??

2006-07-26 Thread Bbt Lists
Hi there - I have a flash movie with different frames that make remoting calls. Now when I view them from the server (and loaded into another movie) - not all the data will populate in various text fields. When i just test it out of the IDE and local on my computer - it works fine! Now the

[Flashcoders] net connection debugger not working in F8

2006-07-26 Thread Bbt Lists
Has anyone had this issue, or a way around it? I had searched google, and found references to using the mx2004 files to replace the F8 ones, but i do not have access to those... Thanks! -- dnk ___ Flashcoders@chattyfig.figleaf.com To change your

Re: [Flashcoders] net connection debugger not working in F8

2006-07-26 Thread Mike Boutin
Ive had this problem using the f8 remoting files. It seems to fix itself for me by restarting flash... Bbt Lists wrote: Has anyone had this issue, or a way around it? I had searched google, and found references to using the mx2004 files to replace the F8 ones, but i do not have access to

Re: [Flashcoders] Array Empowerment

2006-07-26 Thread Chris Hill
Thanks a lot for your array functions. I'm setting these up in a class file, and I was thinking that I'd add the functions to the intrinsics. But I looked at the intrinsics file for Array.as, and I was a bit surprised to learn that Array is dynamic. So is it worth the effort to modify the

Re: [Flashcoders] net connection debugger not working in F8

2006-07-26 Thread Bbt Lists
Mike Boutin wrote: Ive had this problem using the f8 remoting files. It seems to fix itself for me by restarting flash... Bbt Lists wrote: Has anyone had this issue, or a way around it? I had searched google, and found references to using the mx2004 files to replace the F8 ones, but i do

Re: [Flashcoders] Array Empowerment

2006-07-26 Thread Chris Hill
Found a couple problems with sum(): First off, instanceof works with *objects* not primitives, and so you must do: var a:Array = new Array(new Number(2),new Number(3),new Number(54),new Number(6),new Number(7),new Number(8),new Number(9)); instead of say: var b:Array = new

RE: [Flashcoders] Array Empowerment

2006-07-26 Thread Steven Sacks | BLITZ
I appreciate all feedback on this Array extension. Why do the function names have underscores when camel-humped names are the customary syntax in ActionScript It's how Ruby does it and I'm learning Ruby so I guess it just carried over. I've changed them to AS formatting. Some of the names

Re: Re: [Flashcoders] Array Empowerment

2006-07-26 Thread John Mark Hawley
One thing about putting these methods into a class -- it would be nice if they were a mixin so only Arrays that actually needed the methods got them. (Mixing into the Array prototype would add them to all Arrays if a user decided that would be worthwhile.) I occasionally make utility classes

RE: [Flashcoders] Array Empowerment

2006-07-26 Thread Steven Sacks | BLITZ
Thanks for pointing out the issues with sum. I think I have found a decent solution, though I'm not certain of the performance hit. Array.prototype.sum = function() { var x = 0; var a = this.length; while (--a -(-1)) { if (!isNaN(Number(this[a]))) {

[Flashcoders] _global.styles.TextArea.embedFonts=true - problem

2006-07-26 Thread Andrew Newstead
Hi, theres alot of posts here and allover the internet about this issue but no find an answers i can see. i'm try to embed a global font for use with a v2 textarea component: _global.styles.TextArea.embedFonts=true; _global.styles.TextArea.fontFamily=hnm;//hnm is a non system font embeded and

[Flashcoders] LocalConnection Problem

2006-07-26 Thread Jessica Hensley
Is anyone aware of problems using a localConnection on different browsers and on Mac versus PC? I'm working on a project in which I have two Flash files running on an HTML page and the first file sends a cookie to the second file using a localConnection. The complication is that the first file

Re: [Flashcoders] Array Empowerment

2006-07-26 Thread Chris Hill
I just checked and delete_all did not have 'var a' but just 'a' in the loops. No biggie. I'm not really sure that converting a primitive to an object, then testing with isNaN is faster than just using typeof and (if that fails) instanceof. But what I do like about it is that it works with

RE: [Flashcoders] Array Empowerment

2006-07-26 Thread Steven Sacks | BLITZ
Yes I see it. Thanks for pointing that out. Yes, the isNaN(Number(this[a])) check will convert string numbers to numbers and that's a great benenfit in a language where strict typing is bogus. ___ Flashcoders@chattyfig.figleaf.com To change your

RE: [Flashcoders] Array Empowerment

2006-07-26 Thread Steven Sacks | BLITZ
Those are great additions. You need a duplicate_deep and a replicate_deep, though. Right now, any obejcts stored in the array will be references in the new array. A _deep method would make copies of those too, recursively caling Array.duplicate, or Object.duplicate. ;-) I'm not sure this is

RE: [Flashcoders] Array Empowerment

2006-07-26 Thread Steven Sacks | BLITZ
Version 3 - Keep those revisions, suggestions, comments coming! --- // Empowered Array // Runs a function on every item in the array // Returns true if the function returns true for any one item Array.prototype.any = function(block) { var a = this.length;

RE: [Flashcoders] Array Empowerment

2006-07-26 Thread Steven Sacks | BLITZ
Quick optimization - Pulled the if instanceof Array out of the loop: Array.prototype.lastIndexOf = function(obj) { var a = this.length; if (!(this[a] instanceof Array)) { while (--a -(-1)) { if (this[a] == obj) return a;

Re: [Flashcoders] Array Empowerment

2006-07-26 Thread Chris Hill
Darn, I wasn't fast enough to get this into rev 3 :) Array.prototype.sum = function() { var x = 0; var a = this.length; while (--a -(-1)) { var n = Number(this[a]); if (!isNaN(n)) { x += n; } else { return undefined; } } return x;

RE: [Flashcoders] Array Empowerment

2006-07-26 Thread Mike
- nitems looks like number of items (i.e., length); why not numSetItems or countSetItem? Yeah, I didn't think it was very descriptive either, but it returns the number of non null/undefined items in the array (which, at the moment, I don't see as very useful, hehe). Perhaps it could be

RE: [Flashcoders] Array Empowerment

2006-07-26 Thread Steven Sacks | BLITZ
Ah. Thanks! I updated the list. Ok, I'm getting back to work on String extension, the next in the series. Keep the feedback coming! -Steven ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:

[Flashcoders] Tree component icons

2006-07-26 Thread Grant Davies
Is it possible to mark a tree node as Special so I can apply different icons ? I have a tree that has the hierarchy Groups |__Roles |_ Permissions An I want each level to have a different icon. Can this be done, and do I have to do a custom tree renderer ? Grant

[Flashcoders] Flash AICC tracking

2006-07-26 Thread David Brunswick
Hello List I am able to post completion to my LMS using exitBtn.onRelease = function(){ getURL(myurl\myservlet?edt_action=RecModuleCmpl , POST); getURL(javascript: window.opener=self; window.close();); } The problem is the servlet launches a html page verifying completion which I do not

Re: [Flashcoders] Flash AICC tracking

2006-07-26 Thread Aaron Silvers
Unfortunately, I think you're stuck with that html page. It is what keeps the connection open to the LMS to make sure that completion_status is written to the learner's transcript. AICC can an ugly mistress, depending on the LMS implementation. -a- On 7/26/06, David Brunswick [EMAIL

[Flashcoders] Re: Flashcoders Digest, Vol 18, Issue 72

2006-07-26 Thread anartist
the Water the Land the Air, are the Tribes of Earth, Sovereign Right to Protect Hi flashcoders-request, I am new to this but I am trying to find out how to put an onLoad java script statement onto a flash button to launch a htmlwindow at a specified size and location. Could any help me Please.

RE: [Flashcoders] Array Empowerment

2006-07-26 Thread Steven Sacks | BLITZ
There must be equivalent Java functions somewhere (and ActionScript is far more akin to Java than PHP or Ruby). I think every and any are fine, to be honest. But, as pointed out before, ActionScript is far more akin to Java, where equals is something just about every single object has.

Re: [Flashcoders] Array Empowerment

2006-07-26 Thread Mark Winterhalder
On 7/26/06, Steven Sacks | BLITZ [EMAIL PROTECTED] wrote: Keep the feedback coming! Hi Steve, very nice -- I went back to the flattening thing, the current test is at snafoo.org/tmp/flatten.swf. I'm getting: iterative:1453 new recursive: 1678 recursive: 1738 I'm posting this here because

Re: [Flashcoders] Array Empowerment

2006-07-26 Thread Ammon Lauritzen
On 7/26/06, Steven Sacks | BLITZ [EMAIL PROTECTED] wrote: Backspace and Delete, Enter and Return...which is right? :) ^H ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:

[Flashcoders] Flash plugin preinstalled starting with what browser versions?

2006-07-26 Thread Doug Brashear
Hello all, I'm trying to make a business case for one of my clients, and in order to do so need to know when (the specific IE, Opera and Firefox version numbers) the Flash plug came pre-installed with the browser. Our Flash need is pretty basic (images and text that fade in and out, no

RE: [Flashcoders] Flash AICC tracking

2006-07-26 Thread Matthew Simpson
I have not read the prior posts so I'm not sure if this is what you are looking for, but I pass XML/Vars to JSP servlets all day using: poXML.sendAndLoad(acmm.servletURL+POManager, poReplyXML); poXML is the doc I send Acmm.servletURL is a dynamic var containing the JSP URL POManager is the

RE: [Flashcoders] Flash AICC tracking

2006-07-26 Thread David Brunswick
That sounds like a good solution where can I find xml object flash samples? David Brunswick Multimedia Developer/OLP Administrator FedEx Customer Information Services Customer Service Organizational Learning 901-434-6605 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL

Re: [Flashcoders] Attention Recursion Speed Experts

2006-07-26 Thread Mark Winterhalder
OK, my final conclusion: http://www.snafoo.org/tmp/flatten.swf Iterative *is* faster than recursion. Run the test and examine the test class below. (Use an empty .fla, import it, call TestArray.main() ) Also, we learn that whenever you have to get the item at the same position of an array

[Flashcoders] setInterval

2006-07-26 Thread keitai guy
hi list - i have some weirdness with setInterval, wondering if someone could suggest solutions? code: var intId:Number; img = new ImageLoader( imgUrl, tgtMc ); intId = setInterval(img, checkLoading, 100 ); // doesnt work

RE: [Flashcoders] Flash AICC tracking

2006-07-26 Thread Matthew Simpson
Google it and there should be plenty if not, here's the entire method: //Submit Purchase Order public function submitPO(){ //construct new XML object var poXML:XML = new XML() var element1:XMLNode =

RE: [Flashcoders] setInterval

2006-07-26 Thread jim
I don't think you should be using quotes around the function name. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of keitai guy Sent: 26 July 2006 21:10 To: Flashcoders mailing list Subject: [Flashcoders] setInterval hi list - i have some weirdness with

Re: [Flashcoders] Flash plugin preinstalled starting with what browser versions?

2006-07-26 Thread Paul BH
this should help: http://www.adobe.com/products/player_census/flashplayer/version_penetration.html On 7/26/06, Doug Brashear [EMAIL PROTECTED] wrote: Hello all, I'm trying to make a business case for one of my clients, and in order to do so need to know when (the specific IE, Opera and

Re: [Flashcoders] Flash Player 8 Corporate Penetration

2006-07-26 Thread John Dowdell
Charlie Skinner wrote: Does anyone know any sources for statistics on Flash Player 8 Penetration within Corporate networks? I think it varies by the organization, with each choosing one of three different styles: (a) In some intranets the IT decisionmakers already install Adobe Flash Player

Re: [Flashcoders] Flash plugin preinstalled starting with what browser versions?

2006-07-26 Thread John Dowdell
Doug Brashear wrote: I'm trying to make a business case for one of my clients, and in order to do so need to know when (the specific IE, Opera and Firefox version numbers) the Flash plug came pre-installed with the browser. This page doesn't have browser versions, but it does have the years

Re: [Flashcoders] setInterval

2006-07-26 Thread Michael Bedar
The first form is fine, but you are trying to address a function called checkLoading inside an instance of ImageLoader, which does not exist.. if checkLoading is on the root level, then you would say: intId = setInterval(_root, checkLoading, 100 ); The second form is incorrect, no

Re: [Flashcoders] Flash plugin preinstalled starting with what browser versions?

2006-07-26 Thread Mark Winterhalder
On 7/26/06, Doug Brashear [EMAIL PROTECTED] wrote: Our Flash need is pretty basic (images and text that fade in and out, no interactivity), and I'd also appreciate any recommendations you have in terms of which version of the Flash player to design for (in terms of features supported) in order

Re: [Flashcoders] Array Empowerment

2006-07-26 Thread Chris Hill
Hmmm...it looks as though there are some name conflicts or something between MM v2 Array mixins and your functions. I've got a DataGrid, and as soon as I add the ArrayEmpowerment class, the data grid stops working. I'm assuming that DataProvider's adding some methods with the same names as

RE: [Flashcoders] Decoding xml text w/no CDATA allowed

2006-07-26 Thread Merrill, Jason
I think you just need to set the Dynamic text field to render HTML in the properties panel - its the button that looks like . I have xml that has quot;Specialquot; and it works fine Actually, this original thread (almost two months old now) was about character entities in XML related to the

Re: [Flashcoders] setInterval

2006-07-26 Thread keitai guy
hi - thanks for the help ... if checkLoading is on the root level, then you would say: intId = setInterval(_root, checkLoading, 100 ); great, this works. now i'd like to try and get it working inside an object... The second form is incorrect, no quotes there.. intId = setInterval( this,

Re: [Flashcoders] Array Empowerment

2006-07-26 Thread Chris Hill
DataProvider is not secretly decorating things, BUT something somewhere in the V2 stuff is iterating over the array object itself, and is silently blowing up when it finds these extra functions. I've had a similar problem when some third party code was adding a function to object.prototype,

RE: [Flashcoders] Array Empowerment

2006-07-26 Thread Steven Sacks | BLITZ
Chris, You rock! How about calling it PowerArray or XArray instead. :) -Steven BLITZ | Steven Sacks - 310-551-0200 x209 ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:

RE: [Flashcoders] Array Empowerment

2006-07-26 Thread Steven Sacks | BLITZ
Ok, I'll go through and make those changes to every loop with this[a] is referenced more than once. BLITZ | Steven Sacks - 310-551-0200 x209 ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:

[Flashcoders] Flash Expert needed ASAP in Dallas Area

2006-07-26 Thread Ludovick William Michaud
Good afternoon folks First time user, so I hope I'm not breaking any rules by doing this. If so I apologize. So Janimation is in urgent need of a Flash coder/developper for the next 3-4 business days. Janimation is located in the Dallas area in Texas. This is what we are currently looking

Re: [Flashcoders] Array Empowerment

2006-07-26 Thread Chris Hill
Done! :D http://ubergeek.tv/XArray/XArray.as I'll put it up there from now on instead of spamming people's inboxes more. -C Steven Sacks | BLITZ wrote: Chris, You rock! How about calling it PowerArray or XArray instead. :) -Steven BLITZ | Steven Sacks - 310-551-0200 x209

RE: [Flashcoders] Array Empowerment

2006-07-26 Thread Steven Sacks | BLITZ
It's not done yet. I've identified some bugs in certain functions and I'm also optimizing it still with everyone's help. Don't want to jump the gun too quick until it's absolutely ready. :) I think once it's ready, though, SVN would be a great place to keep this open source project. BLITZ |

RE: [Flashcoders] Array Empowerment

2006-07-26 Thread Steven Sacks | BLITZ
http://paste.plone.org/7080 I've fixed some bugs, implemented flatten4, and also changed the methods to just function() calls for easier implementation into the great mixin class that Chris wrote. I also assigned this[a] to a variable 'e' where this[a] is used more than once in a loop. Removing

RE: [Flashcoders] Attention Recursion Speed Experts

2006-07-26 Thread Steven Sacks | BLITZ
Sweet. The only other method that uses recursion is eql. -Steven ___ 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

RE: [Flashcoders] Array Empowerment

2006-07-26 Thread Steven Sacks | BLITZ
http://paste.plone.org/7081 Meh, silly bug with indices now that it's just functions. Removed for now. -s ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:

[Flashcoders] as3 uml packages

2006-07-26 Thread quinrou .
Hi all, Has anyone got a UML flow diagram of all the AS3 packages/classes? thanks seb ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought

[Flashcoders] Loaded External JPEGs into LivePreview Clip

2006-07-26 Thread Rifled Cloaca
All, I'm developing an imageloader component, and I want to be able to load external images into the livepreview. The problem is, it doesn't seem to be able to find the images. It's as if the location of the livepreview is not relative to the FLA file. Any clues on how to set this? Thanks!

Re: [Flashcoders] setInterval

2006-07-26 Thread Michael Bedar
setInterval either takes a function, or an object with the name of a function that object contains as a string, hence the 2 ways of using it On Jul 26, 2006, at 5:16 PM, keitai guy wrote: hi - thanks for the help ... if checkLoading is on the root level, then you would say: intId =

Re: [Flashcoders] Array Empowerment

2006-07-26 Thread ryanm
every and some come from php. Php is probably a bad place to take naming conventions from. It is a prime example of the mess that open source can cometimes bring, considering they have split and join *and* explode and implode, not to mention about 2 dozen different functions that do the

Re: [Flashcoders] Array Empowerment

2006-07-26 Thread ryanm
Remove and delete are essentially synonymous. Backspace and Delete, Enter and Return...which is right? :) Well, if you want to get into the semantics, return and enter are different, and backspace and delete are different. Enter just means execute, while return actually means carriage

RE: [Flashcoders] Array Empowerment

2006-07-26 Thread Steven Sacks | BLITZ
Remove and delete aren't synonymous, and I think remove is much better suited to what is happening in the function. Without looking at the function or reading any documentation, I would assume that a delete method destroyed the object, not just removed it from the array. An Array.delete

Re: [Flashcoders] Array Empowerment

2006-07-26 Thread Mark Winterhalder
On 7/27/06, Steven Sacks | BLITZ [EMAIL PROTECTED] wrote: http://paste.plone.org/7081 I just had a look at eql (equality) because of the recursion there and actually I'm not sure it should be there at all. By that logic you would have to compare the properties of objects, too, which would

Re: [Flashcoders] Array Empowerment

2006-07-26 Thread Mark Winterhalder
On 7/27/06, Steven Sacks | BLITZ [EMAIL PROTECTED] wrote: Here are the methods that use push, btw: compact deleteAll deleteIf filter indexes map uniq Below. Is there something like a test yet so I can make sure I didn't accidentally introduced some errors? Mark function compact() {

  1   2   >