Re: [Flashcoders] Attention Recursion Speed Experts

2006-07-25 Thread Mark Winterhalder
On 7/25/06, Mark Winterhalder [EMAIL PROTECTED] wrote: On 7/25/06, Steven Sacks | BLITZ [EMAIL PROTECTED] wrote: It is iterating. It still needs to iterate through all nested arrays using the same method, which means recursion. Yes, but function calls aren't the only way to do recursion.

[Flashcoders] Weird problem with encryption...

2006-07-25 Thread ryanm
I'm working on some encryption classes, and I've run into an extremely odd problem. Let me give you an example: http://www.horsefish.net/businesstools/sample.html Scroll to the bottom to the Encryption Test and type asdf in the clear text string field. You'll notice that it breaks when

Re: [Flashcoders] as3 and attachmovie

2006-07-25 Thread eka
Hello :) read in french : - http://iteratif.free.fr/blog/index.php?2006/07/11/44-bibliotheque-partagee-sous-flash-9 attachMovie is remove in AS3 :) Use [embed(source=)] metadata and create the instance with new MyClass and addChild() method :) eKA+ :) 2006/7/25, Carl Welch [EMAIL

[Flashcoders] I am new to here

2006-07-25 Thread master
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: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf

Re: [Flashcoders] Key.CAPSLOCK woes.

2006-07-25 Thread Hans Wichman
Hi, the isDown call traces true when i test it here, the isToggled traces false (both when holding down capslock ofcourse). Tested on xp, flash 8 Just to be sure, 'disable keyboard shortcuts' doesnt have anything to do with it? When i do: Key.addListener(this); this.onKeyUp = function () { if

[Flashcoders] Avi to flv converter

2006-07-25 Thread master
Hi, Flash Video MX is powerful avi to flv converter, you can get it at http://www.flash-video-mx.com/video_to_flash_web/ Best regards! jack 2006-07-25 ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:

Re: [Flashcoders] Attention Recursion Speed Experts

2006-07-25 Thread Mark Winterhalder
On 7/25/06, Mark Winterhalder [EMAIL PROTECTED] wrote: Hmm... now that I'm having coffee and slowly waking up, I'm getting serious doubts about how to do depth-first without function calls. I'm probably wrong, sorry. Interesting problem, though. Got me thinking. So, here's my proposal for a

[Flashcoders] SWF player...

2006-07-25 Thread Steve Lloyd
Hi List, I am trying not to re-invent the wheel and am looking for what I call a SWF player like the one at Adobe: http://www.adobe.com/products/flash/flashpro/ All it needs to do is load in one external .swf but if it loads in more great! Anybody know of an open-source .fla file(s) that will

[Flashcoders] Mac IDE for AS !

2006-07-25 Thread Dan Course
Good morning chatty peeps, Quick question to people with Mac knowledge... What Program do you all develop you AS classes etc.. On PC I use Flash develop (www.osflash.org/flashDevelop) but I'm stumped on a Mac! Is there any software which will show me all my class members and stuff :) Thanks,

Re: [Flashcoders] Mac IDE for AS !

2006-07-25 Thread Ramon Miguel M. Tayag
It seems that a lot of people use PrimalScript On 7/25/06, Dan Course [EMAIL PROTECTED] wrote: Good morning chatty peeps, Quick question to people with Mac knowledge... What Program do you all develop you AS classes etc.. On PC I use Flash develop (www.osflash.org/flashDevelop) but I'm

Re: [Flashcoders] Mac IDE for AS !

2006-07-25 Thread Weyert de Boer
I currently using ADT/AST or something for it. Works fine. ___ 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] Attention Recursion Speed Experts

2006-07-25 Thread Danny Kodicek
On 7/25/06, Mark Winterhalder [EMAIL PROTECTED] wrote: On 7/25/06, Steven Sacks | BLITZ [EMAIL PROTECTED] wrote: It is iterating. It still needs to iterate through all nested arrays using the same method, which means recursion. Yes, but function calls aren't the only way to do

RE: [Flashcoders] Attention Recursion Speed Experts

2006-07-25 Thread Danny Kodicek
Ha - you beat me to it... public static function flatten( inArray : Array ) : Array { var outArray : Array = []; var list = inArray; list.index = 0; var item : Object; var index : Number; var length

Re: [Flashcoders] Attention Recursion Speed Experts

2006-07-25 Thread Mark Winterhalder
On 7/25/06, Danny Kodicek [EMAIL PROTECTED] wrote: Just out of interest, I tried a speed test using the three methods - mine was the fastest by a very long way: Thanks -- I was hoping somebody would test it :) This seemed a weird result, so I took a look for other differences. It turns out

RE: [Flashcoders] Attention Recursion Speed Experts

2006-07-25 Thread Danny Kodicek
BTW, the reason I didn't have a detailed look were the shortened, non-descriptive variable names. This is most likely not necessary. It makes sense for properties, but variables usually are stored as registers (if the compiler chooses to use function2 instead of the old function tag, which

Re: [Flashcoders] Attention Recursion Speed Experts

2006-07-25 Thread Mark Winterhalder
On 7/25/06, Mark Winterhalder [EMAIL PROTECTED] wrote: This seems to be extreme. Any chance something is going wrong with the test? Did you wait a few frames before doing the first test to ensure initialization has finished? Maybe switch the order to see if the first one always is the slowest?

[Flashcoders] send and read datas

2006-07-25 Thread Laurent CUCHET
Hi I try to read data as this and I meet security problem : Theres two domains A : http://www.laurentcuchet.fr/test/ B : http://www.aniblog.com 1. index.swf from A load sys1.swf from A : sys1 can read index.swf datas 2. index.swf from A load sys1.swf from B : sys1 can¹t read index.swf datas

[Flashcoders] Re: Re: Form Help Needed, Please - STILL NEED HELP

2006-07-25 Thread Loren R. Elks
Can you explain that code a little to me? You could try using loadVars and return a status in xml rather than loadVariablesNum... var myVars:LoadVars = new LoadVars; var xml_results:XML = new XML(); xml_results.ignoreWhite = true; xml_results.onLoad = function(success:Boolean){ if (success){ }

Re: [Flashcoders] send and read datas

2006-07-25 Thread Supriya
I think you need to specify allowDomain(www.laurentcuchet.fr) in sys1.swf in B - Original Message - From: Laurent CUCHET [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Tuesday, July 25, 2006 4:29 PM Subject: [Flashcoders] send and read datas

[Flashcoders] Converting stage elements into code

2006-07-25 Thread Weyert de Boer
Does anyone know any utilities for Flash which make it possible to convert stage elements into ActionScript, in such way that the elements get created at runtime? I am looking for something which make it easy to get the settings of existing (dynamic) text fields at the stage, and make it work

RE: [Flashcoders] Converting stage elements into code

2006-07-25 Thread Danny Kodicek
Does anyone know any utilities for Flash which make it possible to convert stage elements into ActionScript, in such way that the elements get created at runtime? I don't, but it sounds like something that wouldn't be *insanely* hard to do with JSFL. I am looking for something which make it

Re: [Flashcoders] Converting stage elements into code

2006-07-25 Thread Weyert de Boer
Hi Danny, I don't, but it sounds like something that wouldn't be *insanely* hard to do with JSFL. Hmm, JSFL time to read more about that. I suppose their will be a PDF about it. I can't see how the above would help with this, though. Well, this would save myself time, because I won't be

RE: [Flashcoders] Converting stage elements into code

2006-07-25 Thread Ben Smeets
I remember one of the Development kits released by macromedia contained an action which would take a stage drawn object and convert that to actionscript. Not exactly what you need, but might be a good place to start. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On

Re: [Flashcoders] Converting stage elements into code

2006-07-25 Thread Weyert de Boer
Ben Smeets wrote: I remember one of the Development kits released by macromedia contained an action which would take a stage drawn object and convert that to actionscript. Not exactly what you need, but might be a good place to start. Hmm, what do you mean with Development Kit one of those kits

Re: [Flashcoders] Mac IDE for AS !

2006-07-25 Thread Juan Carlos Anorga
I use TextMate http://www.macromates.com/ - Juan On Jul 25, 2006, at 1:28 AM, Dan Course wrote: What Program do you all develop you AS classes... I'm stumped on a Mac! ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or

RE: [Flashcoders] Converting stage elements into code

2006-07-25 Thread Danny Kodicek
Hi Danny, I don't, but it sounds like something that wouldn't be *insanely* hard to do with JSFL. Hmm, JSFL time to read more about that. I suppose their will be a PDF about it. Ahahahaha! Yeah, right :) Actually, it's not that bad. It's a bit confusing, though, because it's like a

Re: [Flashcoders] Mac IDE for AS !

2006-07-25 Thread Troy Rollins
On Jul 25, 2006, at 9:44 AM, Juan Carlos Anorga wrote: I use TextMate http://www.macromates.com/ AFAIK, TextMate isn't really kept up-to-date with AS syntax though. Of course, if you don't care about colorization or autocomplete it probably doesn't matter. -- Troy RPSystems, Ltd.

Re: [Flashcoders] Mac IDE for AS !

2006-07-25 Thread Peter Witham
Hi, I first used SE|PY Action Script editor on Windows (and still do) but they do have a Mac version which I have not used that much, it is always a little behind the current build but I have found it to be excellent on the Windows platform for coding, all my code is now done with

Re: [Flashcoders] SWF player...

2006-07-25 Thread Charles Parcell
Wow wow! What are you asking for? A SWF player is the Flash Player. I think there is terminology issue here. Perhaps you are looking for a FLV Player? One that you can just point to a FLV file and it will play, etc. If this is the case then look in your components. There is an FLV player

Re: [Flashcoders] Mac IDE for AS !

2006-07-25 Thread Rich Rodecker
I use TextMate. I'd say it's the best text editor out there for mac. The built in actionscript bundle (sorta like a plugin) comes with some cool features, like command-enter for testing the movie in flash. it's also very extensible and easy to add functionality to a bundle...I've seen people

[Flashcoders] Re-parenting movie clips in AS 2.0

2006-07-25 Thread Jason Lutes
Surely there is a work-around, however convoluted, for assigning a movie clip instance to some other parent movie clip in AS 2.0. Does someone know of a trick? It can involve undocumented features, removing/attaching... whatever. Much appreciated. - pixelTwiddler, a.k.a. Jason

RE: [Flashcoders] SWF player...

2006-07-25 Thread Jim Tann
I think he is looking for a movie that can load external swf files. You should look at the MovieClipLoader class http://livedocs.macromedia.com/flash/8/main/2538.html#wp379952 Hth Jim -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Charles Parcell

[Flashcoders] catching errors by webservice

2006-07-25 Thread PR Durand
Hi List Has anyone any way to receive the exceptions thrown by a webservice server please? as it's asynchronous, the classical try...catch can't work on the service method call. but, as soon as the server throws an exception (the sent SOAP is a correct fault soap file if I call it from a

Re: [Flashcoders] as3 and attachmovie

2006-07-25 Thread Meinte van't Kruis
Carl, Everything in AS3 is classes, so you can't do anything without using classes. It's actually easier than attachmovie. Just make a var newMC=new MovieClip(); this.addChild(newMC); feels alot cleaner that attachmovie(gf,gf+_root.getNextHighestDepth(),_root.getNextHighestDepth()); doesn't it

RE: [Flashcoders] SWF player...

2006-07-25 Thread Steve Lloyd
Charles, Unfortunately the client has provided me a locked .swf which contains their movie instead of a .flv. The default components appear to only handle .flv and .mp3 files so that ruled that out. I was able to find something workable on Flashkit.com and have it fairly tweaked to what I want

Re: [Flashcoders] Re-parenting movie clips in AS 2.0

2006-07-25 Thread John Mark Hawley
Simple movies can be almost re-parented by deep-copying all the data and methods from one movie into another, but you'll run into problems if you try this with MovieClip subclasses that require constructor calls, and things rapidly get complicated as the clip you need to reparent gets more

Re: [Flashcoders] SWF player...

2006-07-25 Thread John Grden
if you're looking to extract those resources (FLV, mp3) from the compiled SWF for your client, check out ASV: http://buraks.com/asv/ Open your SWF with it and extract all of the resources/embedded assets JG On 7/25/06, Steve Lloyd [EMAIL PROTECTED] wrote: Charles, Unfortunately the client

Re: [Flashcoders] as3 and attachmovie

2006-07-25 Thread Arul Prasad M L
Everything in AS3 is classes, so you can't do anything without using classes. not necessarily. You can use AS3 to code on the timeline as well. check out http://as3.betaruce.com/tut/appendix/app_1/app_1.html ~Arul Prasad. On 7/25/06, Meinte van't Kruis [EMAIL PROTECTED] wrote: Carl,

RE: [Flashcoders] SWF player...

2006-07-25 Thread Steve Lloyd
I've got something that works with the .swf now but I will definitely keep your link handy for the next time I run into this problem. Thanks -Steve -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of John Grden Sent: Tuesday, 25 July 2006 11:25 PM To:

[Flashcoders] Key.CAPSLOCK woes.

2006-07-25 Thread Daniel Barber
Perhaps a more detailed explanation will help explain the problem. On the Mac, if the capslock key is not toggled and not down, the Key.onKeyDown event is triggered when the key is pressed. While the key is held down both isDown and isToggled return true. When the key is released the

Re: [Flashcoders] catching errors by webservice

2006-07-25 Thread Josh Santangelo
Check out the WebServiceConnector.status event. -josh On Jul 25, 2006, at 8:12a, PR Durand wrote: Hi List Has anyone any way to receive the exceptions thrown by a webservice server please? as it's asynchronous, the classical try...catch can't work on the service method call. but, as

Re: [Flashcoders] catching errors by webservice

2006-07-25 Thread PR Durand
thanks a lot, josh, I'll look at this. but I was using the webservice and pendingcall classes. Is there a way with it or do I have to use the connector component? thx PiR Josh Santangelo a écrit : Check out the WebServiceConnector.status event. -josh On Jul 25, 2006, at 8:12a, PR Durand

Re: [Flashcoders] catching errors by webservice

2006-07-25 Thread PR Durand
I changed everything to work with the connector instead of the service class : same result If I right understood, an exception thrown with server should give me a faultcode=Server and faultstring=[the exception message], isn't it? here I got once more a Server.connection faultcode, with the

[Flashcoders] onLoadInit works when testing movie, but inconsistent in Projector

2006-07-25 Thread Tony Fairfield
Is anyone familiar with this -- I see several posts but none with this specific twist: I am loading all content as swf files into a content clip in my program, using the movieClipLoader event onLoadInit to show the page once ready for displaying. This works perfectly when testing the movie in

RE: [Flashcoders] Attention Recursion Speed Experts

2006-07-25 Thread Steven Sacks | BLITZ
First off, thanks to everyone helping on this thread. I originally was using object == typeof(this[a]). Glad to see instanceof Array was fastest. What I'm trying to do here is write new methods for Array (and next up is String) that other languages have but Flash does not. Some of these

Re: [Flashcoders] catching errors by webservice

2006-07-25 Thread Hans Wichman
Hi, just to be clear on this, PendingCall.onFault is not working for you? greetz hans On 7/25/06, PR Durand [EMAIL PROTECTED] wrote: I changed everything to work with the connector instead of the service class : same result If I right understood, an exception thrown with server should give

RE: [Flashcoders] Attention Recursion Speed Experts

2006-07-25 Thread Steven Sacks | BLITZ
Oh, I just noticed that Mark's was fastest. But, I can't get it to work (freezes flash) There seems to be an error in the final while loop. It's a single = not a double ==. Is that a typo? ___ Flashcoders@chattyfig.figleaf.com To change your

[Flashcoders] png transparency - size of stage

2006-07-25 Thread jordan robinson
App using: Flash 8 with png file imported from a swift 3d export. I am working on a project in which i bring in png files exported out of swift 3d. For some reason even though there is tons of transparent area it brings the png at the size of the stage. I tried opening up the pngs

Re: [Flashcoders] Weird problem with encryption...

2006-07-25 Thread ryanm
I'm working on some encryption classes, and I've run into an extremely odd problem. Let me give you an example: Nothing? Not a single response on the list? ryanm ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or

Re: [Flashcoders] Multiple instances of ExternalInterface in IE

2006-07-25 Thread Geoff Stearns
hey, here's an update (and a fix) to this issue: it looks like (as you pointed out) it is a bug in the new fp9 - this code was added in to fix an issue in IE with streaming media... if you were using flash media server to stream video, and left the page while the video was playing, the

RE: [Flashcoders] Attention Recursion Speed Experts

2006-07-25 Thread Steven Sacks | BLITZ
Ok, I got Mark's to work however it does not work when turned into a prototype and I set list = this. Why it doesn't work may be the result of another problem, though, and I'm not sure yet what it is, but here's the behavior. I created a movie with 3 buttons. An new array is instantiated.

Re: [Flashcoders] Attention Recursion Speed Experts

2006-07-25 Thread Mark Winterhalder
On 7/25/06, Steven Sacks | BLITZ [EMAIL PROTECTED] wrote: Oh, I just noticed that Mark's was fastest. But, I can't get it to work (freezes flash) There seems to be an error in the final while loop. It's a single = not a double ==. Is that a typo? No, not a typo. I know it's confusing, but

Re: [Flashcoders] Attention Recursion Speed Experts

2006-07-25 Thread Mark Winterhalder
On 7/25/06, Steven Sacks | BLITZ [EMAIL PROTECTED] wrote: Mark, please check your script to try and find out what's wrong with it. I'd like to run some more accurate comparisons. Ah, yes, just noticed I forgot to look into the freezing problem you mentioned in your last mail (also, I noticed I

[Flashcoders] Back button fun

2006-07-25 Thread Paul Neave
This is an age-old problem but I still can't find a decent solution. I'm looking for a JavaScript library or script for browser back-button support for Flash, and one that uses the hash notation in the browser window so users can navigate to points in a Flash movie through the address bar, e.g.

Re: [Flashcoders] Back button fun

2006-07-25 Thread Geoff Stearns
it's been on my list for months now... i did create one, but it was a bit buggy and not documented at all - http://blog.deconcept.com/code/historymanager/ and there's changes to this I wanted to make, so it does more friendly looking hashes, instead of name/value pairs as it does now...

Re: [Flashcoders] Attention Recursion Speed Experts

2006-07-25 Thread Danny Kodicek
One thing I'm wondering is if a decrementing loop and then a reverse() at the end is faster than an incrementing loop. I'd be astounded if it was! I'm working on compacting Danny's script at the moment. Sounds like an odd idea to me: Mark's was way faster and was essentially the same idea

Re: [Flashcoders] Attention Recursion Speed Experts

2006-07-25 Thread Danny Kodicek
Oh, I just noticed that Mark's was fastest. Sorry, replied to an easlier mail before noticing the thread continued... Danny ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:

Re: [Flashcoders] Back button fun

2006-07-25 Thread Geoff Stearns
Do you think you'll carry on development on it? yeah eventually... i haven't had much time lately for stuff like this, but it's at the top of my 'would be nice to have...' list. On Jul 25, 2006, at 3:53 PM, Paul Neave wrote: On 25/07/06, Geoff Stearns [EMAIL PROTECTED] wrote: i did

RE: [Flashcoders] Attention Recursion Speed Experts

2006-07-25 Thread Steven Sacks | BLITZ
Could you post (or send me) the test script, please? Sure, here you go. --- function randomArray(p) { var a = []; for (var i = 0; i p; i++) { if (random(2) random(5)) { a.push(i); } else {

RE: [Flashcoders] Attention Recursion Speed Experts

2006-07-25 Thread Bernard Visscher
I don't know if I understand this correctly, but is it making a array flat? Then this is the fastest way I think: var foo : Array = [a, b, c, [d, e,[d, e,[d, e,[d, e, f, [g, [h]], [[], i], j]; var fooString:String = foo.join(;); fooString = fooString.split(,).join(;); foo =

[Flashcoders] resize flash stage after the fact.

2006-07-25 Thread Matthew Ganz
hi. quick question about adding width to an fla and arranging the elements without having to change the registration point of each symbol. you can do this easily in photoshop by choosing the side of the canvas you want the dimensions added to. basically, i'm adding 180 pixels of width and

RE: [Flashcoders] Attention Recursion Speed Experts

2006-07-25 Thread Mike
Why have the step with the semicolon? You can just do this: var foo:Array = [a, b, c, [d, e, [d, e, [d, e, [d, e, f, [g, [h]], [[], i], j]; var fooFlat:Array = foo.toString().split(,); Potential problems with this approach: - It does not preserve the type of the elements, converting them all

Re: [Flashcoders] Back button fun

2006-07-25 Thread Radley Marx
I've found a couple of sites that seem to work: http://www.orange-project.com/ http://www.redbulltrackattack.co.uk/index_phase3.php The RB track attack site seems to fail in safari for pages that require two values. Orange-project seems to be solid in all browsers and

[Flashcoders] Array Empowerment

2006-07-25 Thread Steven Sacks | BLITZ
Other programming languages have more comprehensive Array methods. While some are rarely used, some are quite useful, and some are merely shortcuts. I have included them all here in my Array Empowerment script. If anyone can speed any of these up, please let me know. Some of these for loops

Re: [Flashcoders] Back button fun

2006-07-25 Thread Alan Shaw
I'm also going to work on this capability soon, and my search led to: http://chakramedia.com/deeplink-backbutton/index.html -A On 7/25/06, Radley Marx [EMAIL PROTECTED] wrote: I've found a couple of sites that seem to work: http://www.orange-project.com/

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

2006-07-25 Thread derrickito
im having a hell of a time finding info on this. ive got a person with a transparent background (in an flv file), and based on cue points i need to trigger different animations in different movie clips. cant for the life of me figure out how to set up the scripts to respond to the different cue

[Flashcoders] Flash 7 image upload and .NET

2006-07-25 Thread Merrill, Jason
With a .NET MS SQL backend, and a Flash 7 player in IE front end, what are some of my options for image uploading to the server by the user? Can't use PHP, ColdFusion, etc. in this case. Thanks, Jason Merrill Bank of America Learning Organization Effectiveness - Technology Solutions

Re: [Flashcoders] resize flash stage after the fact.

2006-07-25 Thread jcarlos
well by hand I would group all symbols, register the lef margin for the group, modify the document size, and add/subtract the value added/subtracted to the symbols group´s left margin. I think it works, not tested yet. João Carlos - Original Message - From: Matthew Ganz [EMAIL

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

2006-07-25 Thread Pedro Furtado
Javascript and an hidden form ;) Old style file upload. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Merrill, Jason Sent: terça-feira, 25 de Julho de 2006 23:53 To: Flashcoders mailing list Subject: [Flashcoders] Flash 7 image upload and .NET With a

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

2006-07-25 Thread Pedro Furtado
Check the manual under NetStream onCuePoint event. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of derrickito Sent: terça-feira, 25 de Julho de 2006 23:34 To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] flash 8 video, cue points, and actions

[Flashcoders] update tween value while running

2006-07-25 Thread Jagadishwaran
Hi there, I've got a question about updating actionscript tweens in real time. When for example you use the mx.transitions.Tween class and have an object move from x value 50 to 100, how would you go about updating that end value while the tween is running? If you update the x value manually the

RE: [Flashcoders] update tween value while running

2006-07-25 Thread Pedro Furtado
As far as I know, you have to stop the tween a start a new one. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jagadishwaran Sent: quarta-feira, 26 de Julho de 2006 0:14 To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] update tween value

Re: [Flashcoders] jigsaw puzzle

2006-07-25 Thread Guntur N. Sarwohadi
Hi Natalia, I think it's best to attach a screen dump as Hans said earlier.. since you mention in your previous post that when you hadn't apply the mask mc, both pic and mask mc looks fine, but once mask, I say pic.setMask(mask) after that picture is masked but it has configuration that is

Re: [Flashcoders] jigsaw puzzle piece algorithm

2006-07-25 Thread Guntur N. Sarwohadi
Hi Hans, Sorry for the long reply on this subject,.. my previous mail got rejected at hadn't notice it till now.. o_O I think your algorithm is about how to search for puzzle pieces, but what I'm looking for is how to tell pieces in the same group to move together.. Here's what I have: For

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

2006-07-25 Thread Raymond Simmons
In Flash 6, I was able to embed a font in an FLA (we'll call it base.fla), load into base.swf an external SWF (we'll call it main.swf), and create a text field in main.swf using the font embedded in base.swf. However, I can't seem to get this approach to work in Flash 7. More specifically, in

RE: [Flashcoders] Array Empowerment

2006-07-25 Thread Steven Sacks | BLITZ
Thank you for your comments. Writing these methods is like creating and solving little puzzles. Much fun! // Remove all elements from Array Array.prototype.clear = function() { this.length = 0; }; This function scares me to death. According to the official Flash documentation

RE: [Flashcoders] Array Empowerment

2006-07-25 Thread Steven Sacks | BLITZ
Here is the next iteration - new and improved. Again, all comments and optimizations, including conversations about optimizations, are most welcome! // Array Empowerment // Removes all elements from Array Array.prototype.clear = function() { this.length = 0; }; // Invoking block once

Re: [Flashcoders] Array Empowerment

2006-07-25 Thread ryanm
Here is the next iteration - new and improved. Again, all comments and optimizations, including conversations about optimizations, are most welcome! Those are great additions. You need a duplicate_deep and a replicate_deep, though. Right now, any obejcts stored in the array will be

RE: [Flashcoders] Array Empowerment

2006-07-25 Thread Mike
Question totally unrelated to implementation and optimization: Why do the function names have underscores when camel-humped names are the customary syntax in ActionScript (and Java, and Javascript...)? Some of the names could be clearer: - nitems looks like number of items (i.e., length); why

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

2006-07-25 Thread Adrian Park
I have successfully used this exact technique when targeting Flash 6 but, as I think about it, I haven't used it in any Flash 7 projects yet. That said, due to a quirk in the way a current project has evolved, it has ended up using this technique but with the addition of identical Symbols in the