Re: [Flashcoders] AS3 URL existence validation

2010-05-07 Thread Henrik Andersson
Eric E. Dolecki wrote: Hey all, I am trying to validate whether or not a file exists on a server. Normally this is easy peasy. Did you get the memo about http servign resources and not files? It doesn't matter what the path is, the reply can still be any of the reply codes.

Re: [Flashcoders] fl.controls.NumericStepper

2010-05-07 Thread Henrik Andersson
Jim Andrews wrote: why does one need to put fl.controls.NumericStepper in the Library, rather than just have import fl.controls.NumericStepper; in the class code? To begin with, the class code for the class is not in the default compile search path. With that said, you still need all the

Re: [Flashcoders] SIP library in as3 for player 10.1

2010-05-06 Thread Henrik Andersson
Anthony Pace wrote: Anyone know of a working SIP library in AS3 for player 10.1? You mean that phone protocol? I don't think that is possible. At least not without AIR. For some bizare reason, UDP support is restricted to AIR. ___ Flashcoders

Re: [Flashcoders] Writing to text file

2010-05-06 Thread Henrik Andersson
Lehr, Theodore wrote: Is it possible to use flash to write to a text file (maybe an xml file)? You can write to user chosen files using the FileRefernce class. You can also use network comunication/ExternalInterface to cause other applications to write to files. If you use AIR, you have

Re: [Flashcoders] Writing to text file

2010-05-06 Thread Henrik Andersson
Lehr, Theodore wrote: not in a php environment - pretty much has to be a pure flash solution - if possible... Flash has no server power at all. It can make HTTP requests and do socket connections, that's it. No random file writing on other computers.

Re: [Flashcoders] Doing a binary search in AS3?

2010-05-06 Thread Henrik Andersson
Merrill, Jason wrote: I understand what a binary search algorithm is, but am wondering how that could be implemented on an array in Actionscript (if at all) without using methods that would defeating the purpose of a binary search (speed). Anyone have experience in this area? So for example,

Re: [Flashcoders] Doing a binary search in AS3?

2010-05-06 Thread Henrik Andersson
Merrill, Jason wrote: Just compare the middle element, if it is bigger, use the left half, else use the right half. I don't follow - can you post an Actionscript example? //warning, not fully correct, will infinity loop while(leftright) { var middle=(left+right)/2; var

Re: [Flashcoders] Writing to text file

2010-05-06 Thread Henrik Andersson
Merrill, Jason wrote: in the FP10 see the FileReference.save() method That's a bit misleading. You might want to also tell him what else he needs on the server side to use that. You can't just use FileReference to save an XML file on anyone's computer. FileReference won't let you write

Re: [Flashcoders]

2010-05-06 Thread Henrik Andersson
What is wrong with parseInt(str,16)? ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Re: [Flashcoders] One Video, multiple Audio tracks?

2010-05-06 Thread Henrik Andersson
https://bugs.adobe.com/jira/browse/FP-3551 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Re: [Flashcoders] Question about Flash Builder 4

2010-05-05 Thread Henrik Andersson
Eric E. Dolecki wrote: Quick question... my document class is in FB4 and it's linked with my FLA in Flash CS5. Every time I save the document class, it publishes the FLA in the IDE. Is there a way to turn that off (even temporarily)? Eric Turn off automatic building.

Re: [Flashcoders] Changing display index on the stage

2010-05-05 Thread Henrik Andersson
natalia Vikhtinskaya wrote: Hi Is it possible to have mc1 manually placed on stage be over mc2 created dynamically mc2=new MovieClip(); addChild(mc2) My recommendation: create a holder mc on the timeline and add stuff to the holder instead. The holder can be given a proper layer in the IDE

Re: [Flashcoders] Changing display index on the stage

2010-05-05 Thread Henrik Andersson
natalia Vikhtinskaya wrote: Please explain. Do you mean to create empty holder manually? How to add stuff to it? Create a new empty movielclip symbol. Do not give it any class. Do not put any content in it. Now place an instance of this symbol on the timeline. Give this instance an

Re: [Flashcoders] Of Meercats and Music: The Daxophonic Hans Reichel of Daxo.de

2010-05-04 Thread Henrik Andersson
Jim Andrews wrote: Here is a review I wrote ( http://netpoetic.com/2010/05/the-daxophonic-hans-reichel-of-daxo-de ) of a suite of 12 interactive audio Flash works at daxo.de by Hans Reichel. It's been a while since I have experienced such an unorganized mess of ideas and a lack of a clear

Re: [Flashcoders] arranging

2010-04-28 Thread Henrik Andersson
Lehr, Theodore wrote: the issue is that these are mcs that are NOT put there in as but in the IDE I tried getChildIndex and it says that this is for display objects - not static objects... any way to change order with static objects? If it is visible, it is on the displaylist.

Re: [Flashcoders] arranging

2010-04-28 Thread Henrik Andersson
Lehr, Theodore wrote: ok - but what would container be for stuff just placed on the stage in the IDE?? The main timeline instance of course. It even has the class name MainTimeline unless you set an explicit document class. ___ Flashcoders

Re: [Flashcoders] arranging

2010-04-28 Thread Henrik Andersson
Nathan Mynarcik wrote: stage stage!=root as I always say. The stage has only one object by default, the main timeline. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Re: [Flashcoders] arranging

2010-04-28 Thread Henrik Andersson
jonathan howe wrote: This is also the part of the program where we discourage explicit references to root, as it will break if the swf is ever loaded by another swf, etc. etc. Except that it wont. Root is always the main timeline of the swf file the code comes from. It is not always the

Re: [Flashcoders] No-Cache script

2010-04-26 Thread Henrik Andersson
Karl DeSaulniers wrote: Its from a online php file manager, so I am pretty sure it is a legal script. I find that to be a questionable way of ensuring quality. While there is nothing wrong with the code, this time, just randomly grabbing from an existing application hoping that they did

Re: [Flashcoders] No-Cache script

2010-04-26 Thread Henrik Andersson
Karl DeSaulniers wrote: How would I go about insuring quality on a script like this? By understanding what the code does. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Re: [Flashcoders] skew and perspective

2010-04-23 Thread Henrik Andersson
Lehr, Theodore wrote: Any quick ways to skew an image and add some perspective via as3? I have found some stuff online but it looks old Let's see here, we have traditional skewing by transformation matrix, we have the z property and we have the option to use a 3d transformation matrix,

Re: [Flashcoders] addEventListener - repeat function call

2010-04-23 Thread Henrik Andersson
Merrill, Jason wrote: Yes, although he says in that post, So I'm not saying it's a bad thing [to use the Timer class], just realize that timers are susceptible to being slowed down by intensive code and slow CPUs, just like enterFrame is. There is also the fact that no matter how accurate

Re: [Flashcoders] Hello Everyone!!

2010-04-20 Thread Henrik Andersson
Ryan P wrote: I am kinda new to this listing thing. I am on here cause a friend of my uses this for help with AS3. Is there a faq about how this works, so I don't waste anyones time.. Thanks!! Just one rule: don't do like the ignorant people bellow and reply when you mean to create a new

Re: [Flashcoders] Interaction between clips and main timeline in AS3.

2010-04-16 Thread Henrik Andersson
Karl DeSaulniers wrote: Can you set an include on the first frame of the added movie clip that adds the appropriate class to record the variables and then talk to the main timeline? You don't include classes, you import them. It was the same deal in as 2.

Re: [Flashcoders] flash performance for 2d vector drawing into a scene graph

2010-04-16 Thread Henrik Andersson
Josh Saxe wrote: Any advice? Thanks in advance. Use bitmap caching where appropriate. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Re: [Flashcoders] Interaction between clips and main timeline in AS3.

2010-04-16 Thread Henrik Andersson
natalia Vikhtinskaya wrote: I have two good books Loey Lott and Colin Moock but could not find answer for this simple situation. Maybe this is not simple for AS3? Step by step: 1. Assign a class to the timeline. 2. Get a reference to the timeline using the parent or root properties. 3. Cast

Re: [Flashcoders] Interaction between clips and main timeline in AS3.

2010-04-16 Thread Henrik Andersson
Karl DeSaulniers wrote: I think its not simple because you are scripting timeline wise. Got to pick. AS2 or AS3. I believe what they were trying to say was if you have all the code in classes, you can communicate between the root and the added movie clip because the classes reference each other,

Re: [Flashcoders] Interaction between clips and main timeline in AS3.

2010-04-16 Thread Henrik Andersson
natalia Vikhtinskaya wrote: THANK YOU Just remember that you just turned off all type safety and even the slightest typo will result in a runtime error instead of a compile time error. ___ Flashcoders mailing list

Re: [Flashcoders] Interaction between clips and main timeline in AS3.

2010-04-16 Thread Henrik Andersson
David Hunter wrote: Hi, Seems you may have solved this by turning off strict mode. An alternative way (depending on how flexible you can be with your program) would be to reverse your approach and listen to what frame the clip is on (myClip.currentFrame) and perform functions accordingly. As

Re: [Flashcoders] Interaction between clips and main timeline in AS3.

2010-04-15 Thread Henrik Andersson
natalia Vikhtinskaya wrote: Hi to all On main timeline I have var countN:int=0; // this numberl be changed later var clip_mc = new clip_mc(); // this clip is placed in library addChild(clip_mc); How can I read countN inside clip_mc? Wait for the clip to be ADDED. The use the parent or root

Re: [Flashcoders] NetStream onMetaData does not get called

2010-04-15 Thread Henrik Andersson
allandt bik-elliott (thefieldcomic.com) wrote: those two functions have to be added as callbacks on a client object which is passed into netstream.client - have you done this? You get an error if they are called and you haven't. So, I am willing to bet that he has.

Re: [Flashcoders] Interaction between clips and main timeline in AS3.

2010-04-15 Thread Henrik Andersson
natalia Vikhtinskaya wrote: Maybe I do something wrong? On main timeline in the first frame var countN:int=0; var clip_mc = new clip_mc(); addChild(clip_mc); in the firtst frame of clip_mc addEventListener(Event.ADDED,added); function added(e:Event) { var

Re: [Flashcoders] Interaction between clips and main timeline in AS3.

2010-04-15 Thread Henrik Andersson
natalia Vikhtinskaya wrote: In linkage properties class is clip_mc That is a typical instance name, not a class name. Also, I am talking about the class name for the document class. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com

[Flashcoders] Cs 5 launch today?

2010-04-12 Thread Henrik Andersson
Adobe has a big event announced for today. As in, within a few hours at the time of writing. I am going to attend to see what they have to say. http://cs5launch.adobe.com/ ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com

Re: [Flashcoders] @#$% New iPhone Developer Agreement Bans the Use of Adobe’s Flash-to-iPhone Compiler

2010-04-10 Thread Henrik Andersson
Dave Watts wrote: ...AS3, Java and C# is different from ... C++ in many ways - primarily because you don't manage memory directly in the first three, I think. Yeah, you don't think that you need to manage memory in those. But you do. Just not as often.

Re: [Flashcoders] @#$% New iPhone Developer Agreement Bans the Use of Adobe's Flash-to-iPhone Compiler

2010-04-09 Thread Henrik Andersson
Karl DeSaulniers wrote: Well, they got that one covered with bootcamp. But us Old world mac heads will suffer. They have already stopped supporting non Intel cpus. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com

Re: [Flashcoders] Full screen with AIR 1.5

2010-04-07 Thread Henrik Andersson
John R. Sweeney Jr wrote: But when I publish to a AIR app it creates a swf not a exe and the fscommands only work in exe's, if I remember right. I'm using AIR because I'm using the HTMLLoader to load a clients website, inside of our kiosk. Fully incorrect. the fscommands fully depend on what

Re: [Flashcoders] Projective Transformations in flash

2010-04-06 Thread Henrik Andersson
Sumeet Kumar wrote: Hi All, I need to implement projective transformations in flash/AS2. Are there any ways to implement these in flash. Any suggestions or help in this regard would be a great help. There is plenty of people who are doing 3D in Flash, including everyone who has CS 4. It

Re: [Flashcoders] NoCache XML

2010-04-05 Thread Henrik Andersson
Karl DeSaulniers wrote: Hi there, Just thought I'd share some code I found. Seems to be a no-cache method that works. Nathan, I know you said you figured out your issue, but for anyone else looking for a no-cache code, here you go. ?php Header( Cache-Control: no-cache); Header( Cache-Control:

Re: [Flashcoders] What good is a Controller?

2010-03-29 Thread Henrik Andersson
allandt bik-elliott (thefieldcomic.com) wrote: if you look at the html / php / mysql model, mvc has a very natural flow - the mysql database and the php interact much like the controller (php) and the model (mysql) and the result is then fed to the views (the served html page). I do not

Re: [Flashcoders] Flash oddness with URLvariables

2010-03-26 Thread Henrik Andersson
Paul Andrews wrote: I'm usually a Flash CS3 user on a PC, but have been using a Mac G5 and CS4 recently. Today I came across some really weird behaviour. I'm pulling some XML from a server and passing some variables (URLVariables). Nothing special, except that today I found that one of my

Re: [Flashcoders] xml: counting parents

2010-03-22 Thread Henrik Andersson
Glen Pike wrote: You can access the parent of any XMLNode with it's parentNode property But that is the old xml parser. Most people uses the new one. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com

Re: [Flashcoders] xml: counting parents

2010-03-22 Thread Henrik Andersson
Steven Sacks wrote: A few optimizations for general coding practice: uint is slower than int for math and should only be used if you're not doing math on it. Number is faster than uint for numbers higher than int's positive limit. Generally speaking, always use int in for/while loops. I

Re: [Flashcoders] proper way for Flash to store user passwords

2010-03-19 Thread Henrik Andersson
Eric E. Dolecki wrote: Try this: http://www.marksanborn.net/php/creating-a-secure-md5-hash-for-storing-passwords-in-a-database/ I would assume that he does not need to know how to store it on the server. He wants to know how to store the password securely on the client.

Re: [Flashcoders] Calculator

2010-03-17 Thread Henrik Andersson
Karl DeSaulniers wrote: Hey Jonathan, Isn't it sum*total / 100 = percentage? Karl No, it is not and has never been. *mumbeling about kids these days* ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com

Re: [Flashcoders] AS3 LipSync Engine?

2010-03-15 Thread Henrik Andersson
Eric E. Dolecki wrote: Hey all, I'd like to produce lip syncing for dynamic audio that I have. I could try and roll my own (based on computeSpectrum results) but saw AS3 LipSync mentioned on Google. But I have yet to find it anywhere. Does anyone have a working link I could check out? Or do you

Re: [Flashcoders] hitTestPoint hit-ing on invisible objects

2010-03-12 Thread Henrik Andersson
Stan Vassilev wrote: So... Why is hitTestPoint not respecting child visibility? Does anyone know a solution to this issue? Because it is by design. Don't like it? Use getObjectsUnderPoint and figure out the exact object that you want. ___

Re: [Flashcoders] FLVplackback problem

2010-03-10 Thread Henrik Andersson
Cor wrote: It seems that after instanciating 32 FLVPlayback my SoundFacade crashes. What a coincidence, the Flash sound mixer only supports 32 sound channels at once. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com

[Flashcoders] Duplicate messages

2010-03-06 Thread Henrik Andersson
Am I the only one here that gets duplicates of the list messages? It only happens to this list and not my regular mail and it does happen too often for it to be human error on part of the authors. Also, the messages arrives out of order some of the time. My own messages have been delayed for

Re: [Flashcoders] Problem Importing Class

2010-03-04 Thread Henrik Andersson
Susan Day wrote: 1136 Incorrect number of arguments. Expected 1. Star.as What argument is it expecting?! The object to convert to the type. You omitted the keyword new and got the function style typecast. ___ Flashcoders mailing list

Re: [Flashcoders] Tween Issues

2010-03-04 Thread Henrik Andersson
Lehr, Theodore wrote: I have a bar graph where the bars are tweened the do no alway finish tweening... They are being drawn from the top down, so they do not alway make it to the bottom - and sometimes they do not get drawn at all... What could be causing this? Non-deterministic

Re: [Flashcoders] how to reduce CPU usage

2010-03-03 Thread Henrik Andersson
Karl DeSaulniers wrote: Yeah, if you have any images animating, remove the caching, as it has to cache every time it moves. Also, if you have any listeners that can be deleted after being called, do that as well. Animating as in not being just moved around without changing the size, rotation

Re: [Flashcoders] Preloader, Pt. 2

2010-03-01 Thread Henrik Andersson
Victor Subervi wrote: Is there any way to stop that, mask it, reduce the images to 1 pixel * 1 pixel? The most obvious solution would to not addChild them or their loaders to the wrong object. ___ Flashcoders mailing list

Re: [Flashcoders] (no subject)

2010-03-01 Thread Henrik Andersson
Geografiek wrote: The theoretical problem remains: myArray knows it contains item1 but does item1 have a way of knowing it is part of myArray? The thing is, it is not. The array only holds a reference to the object. ___ Flashcoders mailing list

Re: [Flashcoders] Local Storage Flash Player Settings alert

2010-03-01 Thread Henrik Andersson
jonathan howe wrote: Within your own app, iIt may be possible to test for permission before calling your function, and then instruct the user from there... but I don't remember specifics. There is no way to check for this prior to flushing the object to disk. You have to actually try to do

Re: [Flashcoders] Link Around a Bitmap

2010-02-26 Thread Henrik Andersson
Susan Day wrote: Hi; How do I create a link on a bitmap that I draw by code, so that people can click and go to another page? The Bitmap class does not extend InteractiveDisplayObject, so you need to stick it in something that does. Just stick it in a Sprite.

Re: [Flashcoders] finding x of sprite

2010-02-25 Thread Henrik Andersson
Lehr, Theodore wrote: given the following: var msprite:Sprite = new Sprite(); mSprite.graphics.beginFill(0x00,.1); mSprite.graphics.drawRect(15,337,646,207); mSprite.graphics.endFill(); addChild(mSprite); trace(mSprite.x = +mSprite.x); I would think that I should be tracing mSprite.x =

Re: [Flashcoders] targeting sprite

2010-02-25 Thread Henrik Andersson
Lehr, Theodore wrote: How would I do the following: function fname(sparent:Sprite) { sparent.addChildAt(childSprite,2); } fname(spriteParent); It does not seem to like this Not like is a very vague description. Your error can be anything.

Re: [Flashcoders] Error 1009

2010-02-25 Thread Henrik Andersson
Victor Subervi wrote: On Thu, Feb 25, 2010 at 8:52 AM, David Benmand...@dbenman.com wrote: Open your script in Flash and you can place debug break points to stop code execution at specific points. If you have no clue where the error occurs especially since Flash's output window errors can be

Re: [Flashcoders] removeChild Question

2010-02-24 Thread Henrik Andersson
Susan Day wrote: Ok, I'm embarrassed, but the following doesn't work: addChild(my_obj); trace(my_obj(parent)); Ok, sounds like you need to learn what a property is. I will leave it up to other people to explain such a fundamental thing. Your error is treating my_obj as a Function. It

Re: [Flashcoders] removeChild Question

2010-02-24 Thread Henrik Andersson
John McCormack wrote: A class is a template - usually written with a capital letter at the start. A class doesn't exist in the memory of the program. If you use addChild(my_obj); you add it to the stage (this is the main program's instance). There are two things here that I have to disagree

Re: [Flashcoders] Error 1009

2010-02-24 Thread Henrik Andersson
Victor Subervi wrote: On Tue, Feb 23, 2010 at 11:02 PM, Deepanjan Dasdeepanjan@gmail.comwrote: Hey, I have not seen your debugger error. So how do I debug? I downloaded what I thought was the debugger and it was just another copy of Flash! Flash IS the debugger. Just hit

Re: [Flashcoders] removeChild Question

2010-02-24 Thread Henrik Andersson
John McCormack wrote: I was careless. I am not sure about your objection about the stage. I never mentioned time lines, I assumed Susan was adding to the stage at the start of her program. Can you have a main SWF without a timeline (single frame)? Can you have a program without a stage? What

Re: [Flashcoders] bytesAvailable, readUTF() and ProgressEvent.SOCKET_DATA

2010-02-23 Thread Henrik Andersson
Doing anything but copying the data from the event to your own bytearray buffer object is a disaster waiting to happen. TCP is a stream based protocol, you can get chunks of any length each time the event is reviced. Assume that the chunks are random length and piece them together in a buffer

Re: [Flashcoders] Finding and Removing a Sprite

2010-02-23 Thread Henrik Andersson
Lehr, Theodore wrote: How can I find it an remove it? You need to get a reference to it. I recommend simply storing the one you used with addChild. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com

Re: [Flashcoders] Error 1009

2010-02-23 Thread Henrik Andersson
Victor Subervi wrote: Hi; I have a preloader that (obviously) calls another swf onload. This other swf loads by itself with no problem; however, it calls another script and apparently this is what's throwing the error. What error? Use the debugger and find out!

Re: [Flashcoders] Finding and Removing a Sprite: PART II

2010-02-23 Thread Henrik Andersson
Lehr, Theodore wrote: Any ideas? Store a reference to each object in a vector like this: var bars:Vector.Bar=new Vector.Bar(); function createBars():void { for (var i:int=0; itotalbars; i++) { var bar:Bar = new Bar(); ...

Re: [Flashcoders] removeChild Question

2010-02-23 Thread Henrik Andersson
Susan Day wrote: Hi; How do I determine what the parent object is of a child I have added and want to remove? Usually, there is only one possible candidate and you know what that one is ahead of time. But there is an embarrassingly simple way: the parent property.

Re: [Flashcoders] Error 1009

2010-02-23 Thread Henrik Andersson
Victor Subervi wrote: For Hendrik, I am currently downloading the debugger. It's big! Eh? The content debugging player is only marginally bigger than the normal player. It is smaller than some movies. Then again, you need a debugger for the player to connect to. It is integrated in all

Re: [Flashcoders] Using parent Sprites coordinates

2010-02-23 Thread Henrik Andersson
Lehr, Theodore wrote: Is there a way to have a child sprite reference the parent sprite when seeting it's x and y say I have a Sprite: You must have missed localToGlobal and globalToLocal. ___ Flashcoders mailing list

Re: [Flashcoders] 2.0 = 3.0

2010-02-22 Thread Henrik Andersson
Lehr, Theodore wrote: The error I am getting is Access of undefined property _root. did you try simply dropping the underscore? The api isn't THAT much different. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com

Re: [Flashcoders] 2.0 = 3.0

2010-02-22 Thread Henrik Andersson
Merrill, Jason wrote: Well, using root is just bad practice anyway - there's no need for it in anything you do. That is an elitist view on the matter. I say, think, then code. If you mean the main timeline, use root. I am more concerned with people who insist on dynamic instance names

Re: [Flashcoders] 2.0 = 3.0

2010-02-22 Thread Henrik Andersson
Merrill, Jason wrote: No - I mean just broadcasting events instead of coupling code across timelines. Even if you're not using design patterns or even coding outside the IDE, you don't need to use root. For events you still need an object to dispatch them on. And it really is just used as

Re: [Flashcoders] An event when a Sprite's visible changes?

2010-02-21 Thread Henrik Andersson
Alexander Farber wrote: Is there please an AS3-event broadcasted when a Sprite is shown or hidden? Nope. It might be possible to override the property itself, but that's it. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com

Re: [Flashcoders] TextField width bizarrenesss

2010-02-16 Thread Henrik Andersson
Glen Pike wrote: It's a subclass of a subclass of Sprite, both of which are handrolled. Sprite-SimpleButton-ComposeButton You do realize that flash already has a class called SimpleButton, right? It is far from impossible to make one with the same name, but you are asking for name

Re: [Flashcoders] yuva...@gmail.com has sent you a private message

2010-02-11 Thread Henrik Andersson
Ok, how did this happen? Is it just some lame spam or is it some misconfiguration? ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Re: [Flashcoders] Registration Point Issue

2010-02-09 Thread Henrik Andersson
Greg Ligierko wrote: 1) Do not instantiate objects in properties declaration list. Its 99% cases bad. Allow me to explain why it is bad. It is due to the object only being created once. Not once per instance of the class, but once total. This is clearly going to cause issues for any class

Re: [Flashcoders] hs_err_pid WAS: E4X, it's just not my day.

2010-02-08 Thread Henrik Andersson
Dave Watts wrote: Thanks Dave. I'm using Flash. Any suggestions for that? Nope. I'm at a loss to see how running Flash involves Java at all, but then I don't use the Flash IDE. Does the Flash IDE use Java for anything? This is just me extrapolating, but the facts are clear: * The flex

Re: [Flashcoders] Re: is it ever ideal to NOT use weak references?

2010-02-07 Thread Henrik Andersson
Steven Sacks wrote: Guess what never fires? If you guessed onComplete, you win the prize. You do realize that this is not guaranteed, right? It might not fire, but it may also do fire. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com

Re: [Flashcoders] Library of vector math functions for Flash

2010-02-05 Thread Henrik Andersson
Gerry Beauregard wrote: Does anyone know of a good, fast, well-documented library of AS3 vector math operations? I'm thinking specifically of a good FFT, as well as more basic functions to add, multiply vectors, convert to/from polar coordinates, etc. Short of FFT, there is the flash.geom

Re: [Flashcoders] OT: How good is TCP/IP compression

2010-02-05 Thread Henrik Andersson
Andrew Sinning wrote: Related to another post about php to AS2 compression/decompression: How good is the compression built in to TCP/IP? That would be nonexistent. TCP does not do any compression. ___ Flashcoders mailing list

Re: [Flashcoders] XMLList question

2010-02-05 Thread Henrik Andersson
Jared wrote: My rule of thumb is anything that will be used for display text is in CDATA tags, not attributes Does that rule account for formatted text? You should see how Word does it. It's quite an elegant solution to the issue. ___ Flashcoders

Re: [Flashcoders] Filters in flash 8

2010-02-04 Thread Henrik Andersson
Sumeet Kumar wrote: Hi All, Is there any way by which we can achieve following filters in flash 8. Noise Pixelate Sharp Water Metallic Neon Noise is possible with BitmapData, Pixelate is done with drawing to BitmapData and upscaling the bitmap. Sharp is done with one of the more

Re: [Flashcoders] Filters in flash 8

2010-02-04 Thread Henrik Andersson
Glen Pike wrote: Metallic: - not sure that's more of a reflection type effect that you could do with your graphical components. Most people are happy with gradients for metal textures, but indeed you need a more complicated system for true reflections.

Re: [Flashcoders] Filters in flash 8

2010-02-04 Thread Henrik Andersson
Piers Cowburn wrote: You can do a lot of things, including sharpen, with the ConvulsionFilter: http://help.adobe.com/en_US/ActionScript/3.0_ProgrammingAS3/WS5b3ccc516d4fbf351e63e3d118a9b90204-7da3.html Use this kind of matrix: [0, -1, 0 -1, 5, -1 0, -1, 0] Larger matrices and different

Re: [Flashcoders] SEO + Flash = any great strategies?

2010-02-04 Thread Henrik Andersson
Gustavo Duenas wrote: do you mind to share with me how to use the mod_rewrite...is on the as3 , in the javascript or the html? It is a module for the Apache group http server. So, it is a server side module to perform regex replacements on the url before the server parses it further. Many

Re: [Flashcoders] SEO + Flash = any great strategies?

2010-02-04 Thread Henrik Andersson
Glen Pike wrote: Hi Gus, Mod_rewrite can often be controlled from within each webusers webspace by putting the commands inside a file called .htaccess in the root folder (or any other) of your site. As I said, that is a horribly bad idea that relies on a hack. Get a host that knows what they

Re: [Flashcoders] SEO + Flash = any great strategies?

2010-02-04 Thread Henrik Andersson
Glen Pike wrote: That's fine in an ideal world where you probably have access to the apache config file, but being as a lot of hosting is virtualised and most people don't have access to their apache conf, it is probably far more realistic and less dangerous to let users loose with .htaccess

Re: [Flashcoders] SEO + Flash = any great strategies?

2010-02-04 Thread Henrik Andersson
tom rhodes wrote: mind explaining what it is possible to do? what is the http host header sniffing type? My idea is to assign each customer their own server account. They run whatever http server application they want. The host header detection is done by a separate process on the server

Re: [Flashcoders] I Must Be Asking This Question Wrong...

2010-02-03 Thread Henrik Andersson
beno - wrote: Hendrik Andersson writes the following about breakpoints: Hit ctrl-b to set them, use ctrl-shift-enter to start debugging mode so that they actually are used. Could you kindly translate that into Mac lingo? Last time I checked, the command key was treated like the ctrl key for

Re: [Flashcoders] I Must Be Asking This Question Wrong...

2010-02-02 Thread Henrik Andersson
Matt S. wrote: traces are for pussies. Traces are for morons. Professionals uses breakpoints. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Re: [Flashcoders] I Must Be Asking This Question Wrong...

2010-02-02 Thread Henrik Andersson
Nathan Mynarcik wrote: Lmao. I now have a whole train car of people looking at me from bursting out with laughter! Uhm, are we degrading into irc now? I had this idea that this was a serious list. ___ Flashcoders mailing list

Re: [Flashcoders] I Must Be Asking This Question Wrong...

2010-02-02 Thread Henrik Andersson
Gustavo Duenas wrote: Gus call me pussy or moron I use to trace , but if you want to teach me breackpoints, no problem, i'll bring my sharpest pencil to defend myself ;) Hit ctrl-b to set them, use ctrl-shift-enter to start debugging mode so that they actually are used. Then use the classical

Re: [Flashcoders] XMLList question

2010-02-02 Thread Henrik Andersson
XMLList implicitly converts to XML resulting in either the only XML object in the list or a runtime error. XML in turn implicitly converts to String. There is little you can do to fix your issue that you have not already done. The toString method does the same thing as the implicit

Re: [Flashcoders] Preloader error (AS3)

2010-02-01 Thread Henrik Andersson
Paul Steven wrote: lpc.loadingMC.percent.text=int(pcent0)+%; This line is the only one even mentioning other objects. One of the properties are null. Check that said object actually exists at that point in time. The note about the COMPLETE event is correct, listen for it as well,

Re: [Flashcoders] Known memory leaks in FP10

2010-02-01 Thread Henrik Andersson
W.R. de Boer wrote: Yeah, I thought maybe itself but it definitely didn't. But I am having some other strange issues popping up. For example, I am trying to load XML files every 10 seconds to check if they have been changed. Only when I only use one Loader-instance and keep re-using it the

Re: [Flashcoders] Known memory leaks in FP10

2010-02-01 Thread Henrik Andersson
Mario Gonzalez wrote: Using an anvil to place a thumbtack approach, you could use flash player 10.1 and it's new 'unloadAndStop' method The method has been there sine fp 10, not fp 10.1 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com

Re: [Flashcoders] WIRED hates Flash

2010-02-01 Thread Henrik Andersson
Gerry wrote: Flash Player 1. I emailed Tobias and he replied... Sorry, but Gordon supports only SWF version 1.0 at this time. Export your movie to FP1 and it will works great. Can you even do that with recent Flash versions? ___ Flashcoders mailing

Re: [Flashcoders] Known memory leaks in FP10

2010-01-31 Thread Henrik Andersson
Jer Brand wrote: I'm sure someone will correct me if I'm wrong, but it's not just listeners. It's references to objects in the swf you want to unload. So say if your code creates a reference to a movieClip in that swf, you have to clear that reference or the GC won't reclaim the memory. I was

Re: [Flashcoders] Known memory leaks in FP10

2010-01-31 Thread Henrik Andersson
W.R. de Boer wrote: Maybe I should change it to code block below? The dispose()-method tries to stop any Timer-instances and removes event listeners and nullifies any objects (i.e. not Numbers or ints). if ( _element != null ) { _element.dispose(); removeChild( _element );

<    1   2   3   4   5   6   >