[Flashcoders] I am new to here

2006-07-24 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 Software

Re: [Flashcoders] as3 and attachmovie

2006-07-24 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 PROT

[Flashcoders] Weird problem with encryption...

2006-07-24 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] Attention Recursion & Speed Experts

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

Re: [Flashcoders] Attention Recursion & Speed Experts

2006-07-24 Thread Mark Winterhalder
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. What you're doing is essentially like a depth-first searc

[Flashcoders] Key.CAPSLOCK woes.

2006-07-24 Thread Daniel Barber
Long time Flasher with the discovery of a simple issue that appears to be a show stopper. I have never had any issues with keyboard input, but can't seem to detect whether the caps lock key is held down. These two trace actions consistently return the same Boolean value based on the toggled

[Flashcoders] tree component delay opening

2006-07-24 Thread Gadi Srebnik
Hi coders, Using Flex 2 tree component, is there any way when I click the small triangles that opens subcategories, to indicate clicking on triangle BUT actually opening it only after another event occurs? Thanks, gadi ___ Flashcoders@chattyfig

RE: [Flashcoders] Attention Recursion & Speed Experts

2006-07-24 Thread Steven Sacks | BLITZ
AS2 is no faster than AS1 (in some ways it is slower). Strict typing has no effect on speed. In addition, this is not AS2 syntax, because I'm not extending Array, I'm plugging directly into its prototype at the moment. It is iterating. It still needs to iterate through all nested arrays using t

Re: [Flashcoders] Attention Recursion & Speed Experts

2006-07-24 Thread Bernard Poulin
I am assuming this is for AS2 - right? If you want speed that probably means you are dealing with a lot of data(?) 1- What is the typical "recursion" level? 2- What is the typical number of items? 3- What is the typical size of "sub arrays"? In general making a function call is not fast at all.

[Flashcoders] Attention Recursion & Speed Experts

2006-07-24 Thread Steven Sacks | BLITZ
Is there a way to make this script any faster? Array.prototype.flatten = function(r) { if (!r) r = []; var l = this.length; for (var a = 0; a < l; a++) { if (this[a].__proto__ != Array.prototype) { r.push(this[a]); } else { this[a].flatten(r); } } retu

Re: [Flashcoders] "drop frame" movieclip playback

2006-07-24 Thread Mark Winterhalder
Sound sync would be off, it would probably only work for silent clips, right? Actually, this is the easiest way to do it. Play some sound on the timeline, the player will take care of the rest, skipping frames if necessary. Some users will have problems, though -- the latest player for Linux, ve

Re: [Flashcoders] 195 ms versus 57 ms ping time

2006-07-24 Thread Daniel
The latancy really isn't going to create any problems. Latancy is only the amount of time that it takes information to go from one location, to another location. It doesn't actually have much of an effect on how quickly a web page will load (at least, not that you will see). The biggest effe

[Flashcoders] as3 and attachmovie

2006-07-24 Thread Carl Welch
I just downloaded the demo of Flash 9 / as3 and I noticed you can't use attachmovie anymore. I've found some new methods on google but it seems like the only way I can do it is by using classes. Is there another way to handle an attachmovie equivilent without using a class in as3? thanks. -- Car

Re: [Flashcoders] 195 ms versus 57 ms ping time

2006-07-24 Thread Marcelo de Moraes Serpa
Thanks for sharing your thoughts Bernard ;) - Marcelo. On 7/24/06, Bernard Visscher <[EMAIL PROTECTED]> wrote: I depends... If you're loading a lot of external resources, all calls will have the 195ms delay and so it will take longer to load the complete site. It also depends on the audience,

RE: [Flashcoders] 195 ms versus 57 ms ping time

2006-07-24 Thread Bernard Visscher
I depends... If you're loading a lot of external resources, all calls will have the 195ms delay and so it will take longer to load the complete site. It also depends on the audience, if most people who visit this site are abroad they may be faster then your local hoster. But most important is spee

[Flashcoders] 195 ms versus 57 ms ping time

2006-07-24 Thread Marcelo de Moraes Serpa
Well... I have my flash website hosted outside my country... the ping average time is 195ms. Another site like mine hosted locally (on my city) takes an average 57ms to ping. Does the 138ms of difference really makes difference? Does this justifies changing the host? Do you think I should search f

Re: [Flashcoders] AS3, BitmapData and domain security

2006-07-24 Thread John Dowdell
Paul Neave wrote: On 22/07/06, John Dowdell <[EMAIL PROTECTED]> wrote: If the foreign data acknowledges you (via a policy declaration on their server), or if your own server proxies that data yourself, then the ability to get inside that bitmap data is available.> I don't see the point of res

[FlashCoders] Flash Player Settings

2006-07-24 Thread Dimitrios Bendilas
Hello, I have a downloadable game made with Flash + Zinc. Some users told me that when they first run the game the Macromedia Flash player settings panel appears on the screen, asking them permission to store information on local storage. The thing is that I do not use SharedObjects on this pr

[Flashcoders] "drop frame" movieclip playback

2006-07-24 Thread August Gresens
Hello I was wondering about the possible effects of creating a class that would play back a movie clip by determining the current frame by the amount of time lapsed. This would be a "drop frame" style of movieClip playback. Has anyone tried this? I'm assuming there some kind of inter-frame compr

RE: [Flashcoders] Need help with posting to Plateau LMS

2006-07-24 Thread David Brunswick
Sorry for not being so clear. For example the student takes a course(content object) at the end they will click a close or exit button at that time the completion status will be sent to the LMS. I have had success in the past using php or asp as middleware. Now I am dealing with a Plateau LMS I hav

RE: [Flashcoders] Need help with posting to Plateau LMS

2006-07-24 Thread Sinead Hogan
Hi, I have some experience of working with flash content on LMSs. I don't fully understand your problem however. What close button are you referring to? The browser close button? I did encounter a serious problem trying to ensure flash content on an LMS had sent all its status/completion data be

[Flashcoders] Need help with posting to Plateau LMS

2006-07-24 Thread David Brunswick
Hello list I have searched and tried several methods with no success posting completion status to a plateau LMS with Flash player 8. The swf file is called from a wrapper.html I have tried fscommand on the close button and javascript functions on the timeline within the flash piece. Does anyone h

Re: [Flashcoders] Flash Remoting Updater

2006-07-24 Thread Jorge Tejada
Hi, I downloades it a long time ago, but I'm pretty sure this works. On 7/21/06, clark slater <[EMAIL PROTECTED]> wrote: At the start of this week we purchased Flash Remoting for integration with a client's .NET application. When I went to download the updater from the Adobe site I found a 404

Re: [Flashcoders] XML access

2006-07-24 Thread Jose Maria Barros
Thanks mate...ive got it: newBut.link2 = mainMenus[i].childNodes[1].firstChild.nodeValue; newBut.link = mainMenus[i].childNodes[0].firstChild.nodeValue; On 7/24/06, Mike Boutin <[EMAIL PROTECTED]> wrote: Yes you can use it in the same way... eg. mainMenu[i].childNodes[i].chil

[Flashcoders] Senior Flash Developer, UK

2006-07-24 Thread Tom McDonnell
// Folks I hope posting about jobs is ok on this list. If not, slap my wrist and I won't do it again. I just can't bring myself to call up an agency! dynamic class Job extends YourHorizons { public var jobTitle:String = "Senior Flash Developer"; public var jobLocation:String = "Work From Hom

Re: [Flashcoders] XML access

2006-07-24 Thread Mike Boutin
Yes you can use it in the same way... eg. mainMenu[i].childNodes[i].childNodes[0].firstChild.nodeValue; Jose Maria Barros wrote: sorry...i didnt explained the whole thing.. the thing is that flash duplicates one button mc with all the elements from the xml...and makes a loop. Every button have

Re: [Flashcoders] XML access

2006-07-24 Thread Jose Maria Barros
ups..this: http://www.kirupa.com/developer/mx2004/pg/kresge.jpg >> this dont work.. http://www.kirupa.com/developer/mx2004/pg/medialab.jpg On 7/24/06, Jose Maria Barros <[EMAIL PROTECTED]> wrote: sorry...i didnt explained the whole thing.. the thing is that f

Re: [Flashcoders] XML access

2006-07-24 Thread Jose Maria Barros
sorry...i didnt explained the whole thing.. the thing is that flash duplicates one button mc with all the elements from the xml...and makes a loop. Every button have a different link for a different pictures... But the first one works good..(newBut.link = mainMenus[i].firstChild .firstChild.node

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

2006-07-24 Thread Mike Boutin
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){ } else { } } myVars.sendAndLoad("yourfile.a

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

2006-07-24 Thread Loren R. Elks
Come on folks. I know someone can help me with this. Please. Sincerely, Loren -Original Message- From: Loren R. Elks Sent: Thursday, July 20, 2006 10:21 AM To: 'flashcoders@chattyfig.figleaf.com' Subject: Form Help Needed, Please Hi: I've got a form that just does not send. Can so

Re: [Flashcoders] XML access

2006-07-24 Thread Mike Boutin
My not use childNodes? mainMenu.firstChild.childNodes[0].childNodes[0].firstChild.nodeValue; mainMenu.firstChild.childNodes[0].childNodes[1].firstChild.nodeValue; Jose Maria Barros wrote: Hi, i have the xml: http://www.kirupa.com/developer/mx2004/pg/kresge.jpg http://www.

Re: [Flashcoders] Mosaic

2006-07-24 Thread David Rorex
On 7/24/06, kariminal <[EMAIL PROTECTED]> wrote: Hi All!.. Just wondering if anyone has a script to do a mosaic blur on an image?... - karim There are 2 ways I can think of: 1. Easy way: draw the image onto a bitmapdata, scale it smaller WITHOUT using smoothing, then scale it back up to the

[Flashcoders] XML access

2006-07-24 Thread Jose Maria Barros
Hi, i have the xml: http://www.kirupa.com/developer/mx2004/pg/kresge.jpg http://www.kirupa.com/developer/mx2004/pg/medialab.jpg in flash, the variable "link" that holded the "image" node: newBut.link = mainMenus[i].firstChild.firstChild.nodeValue; worked..welll...

[Flashcoders] Mosaic

2006-07-24 Thread kariminal
Hi All!.. Just wondering if anyone has a script to do a mosaic blur on an image?... - karim ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders B

FW: [Flashcoders] removing background from list component

2006-07-24 Thread Andy Stone
Actually, this is better... This will only set the backgroundColor, the previous function would set the rollover states as well. var alpha = 20; var color = 0xFF; // _global.styles.ScrollSelectList.backgroundColor = null; mx.controls.listclasses.SelectableRow.prototype.drawRowFill = functio

Re: [Flashcoders] sequential tweens ?

2006-07-24 Thread jcarlos
I think that there is time and occasion for each line of thought If you only want a serie of movements in time the solution proposed by Zeh is great and I tested it and it works fine, better would it be if he upgrade them to AS 2.0 and AS 3.0 -) But that are projects where we want some decisi

[Flashcoders] From getPixel to colorMatrix

2006-07-24 Thread Ricardo Sánchez
Ok, what I'm trying to do is getting the color of some pixels of an image and attachMovieClips tinted as those pixels. I can read the color and attach the clips with that color. But I would like the mcs not to be in that plain color but being a little tinted in that color so they keep the origina

Re: [Flashcoders] My swap function does not work

2006-07-24 Thread Julien Vignali
It seems that arguments are passed by values and not by reference. In fact, in the Utilities.swap methods, o1 and o2 are just fresh copies of your A & B objects. If you trace o1 and o2 in your swap method, you'll see that you've successfully swapped o1 and o2, but A and B are left intact. You m

Re: [Flashcoders] (no subject)

2006-07-24 Thread Adrian Park
Nice! On 7/23/06, Julian 'Julik' Tarkhanov <[EMAIL PROTECTED]> wrote: On 6-jul-2006, at 11:27, Adrian Park wrote: > I encountered this strange quirk recently as well. I found the most > reliable > solution is to duplicate your project folder, open and recompile > from that > folder, close and

Re: [Flashcoders] jigsaw puzzle

2006-07-24 Thread Hans Wichman
Hi Natalia, that sounds like you are drawing lines in the wrong direction at some point. If you remove the fill of the mask, and define the line type to be a visible linetype, do you see any straight lines where they shouldn't be? Bit hard to explain but it will look like a puzzle piece has 2 sid

Re: [Flashcoders] My swap function does not work

2006-07-24 Thread Hans Wichman
Hi, you cannot reassign the objects like you do in your method body. Reassign parameter values is a bad idea anyway i think, but assume you have: var a = myObj1; var b = myObj2; Utilities.swap (a,b); the swap function receives a copy of the reference to a and b. You reassign the copy, and exit th

[Flashcoders] My swap function does not work

2006-07-24 Thread Alberto Florentin
class Utilities { public static function swap(o1:Object, o2:Object) { var tmp:Object=o1; o1=o2; o2=tmp; } // etc } Somewhere in my code: function aFunction(A:aType, B:aType) { // ... if (/*some condition*/)