Re: [Flashcoders] TLF: Questions... My situation... Your thoughts?

2011-04-18 Thread Henrik Andersson
Kevin Newman skriver: ... I don't think they are loaded from Adobe's servers Check the publish settings, the exact url list for each RSL is listed there. TLF defaults to being loaded from Adobe's servers. ___ Flashcoders mailing list

Re: [Flashcoders] TLF: Questions... My situation... Your thoughts?

2011-04-18 Thread Henrik Andersson
Micky Hulse skriver: Thanks for all the additional information Kevin and Henrik! Just out of curiosity, do you guys (or others on the list) use TLF text boxes much? I have yet to need it. I don't to such projects. Besides, I find it fun to work with the direct flash.text.engine classes.

Re: [Flashcoders] TLF: Questions... My situation... Your thoughts?

2011-04-17 Thread Henrik Andersson
Micky Hulse skriver: Does TLF text add much additional Kb to a document? Some people think so. It's a few hundred kb. But with the RSL preloader that cost is offloaded to the Adobe hosts. You only pay for the preloader that is just a few kb. ___

Re: [Flashcoders] TLF: Questions... My situation... Your thoughts?

2011-04-16 Thread Henrik Andersson
Long story short, the TLF library is implemented in actionscript. Said library is hosted on adobe's servers. In order to use the library, the player must have loaded it. The default solution to this used by Flash is to wrap the main movie in a separate preloader movie. This system is called

Re: [Flashcoders] Simulating image in textfield in AIR

2011-04-06 Thread Henrik Andersson
Mattheis, Erik (MIN-WSW) skriver: For AIR content in the application security sandbox, You don't have to run in the application security sandbox. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com

Re: [Flashcoders] useCapture = true is faster?

2011-04-05 Thread Henrik Andersson
Capture happens before bubbling. Go for the capture phase if it works for you and you need to shave a few microseconds. Just remember that the capture phase does not extend to the actual target. ___ Flashcoders mailing list

Re: [Flashcoders] Reusing an Image

2011-03-29 Thread Henrik Andersson
Kevin Holleran skriver: then do something like this? Good start, but I suggest using a vector here to make the code simpler. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Re: [Flashcoders] Reusing an Image

2011-03-28 Thread Henrik Andersson
You might want to have a look at the Bitmap.bitmapData property. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Re: [Flashcoders] IE not releasing memory after unloading Flash object

2011-03-16 Thread Henrik Andersson
Karl DeSaulniers skriver: Hi Chris, I was rummaging around in one of my php.ini files and found this nifty little tid bit. Take a look. ; After this number of seconds, stored data will be seen as 'garbage' and ; cleaned up by the garbage collection process.

Re: [Flashcoders] Simple encapsulation question

2011-03-16 Thread Henrik Andersson
Mattheis, Erik (MIN-WSW) skriver: I have a typical tabbed layout and am trying to figure out the simplest/best way to reset the focused state on the focused tab when another is clicked. Classes: Tab - contains graphics and a public variable referencing the MovieClip of the over state.

Re: [Flashcoders] Duplicate varibale definition

2011-03-16 Thread Henrik Andersson
The way I would do it is to assign each clickable object the url it needs to go to in a property and then use a single event listener that reads the property to know what url to use. If I was in a really fancy mood I would look into using a component definition to allow the url to be easily

Re: [Flashcoders] Getting Data into my SWF

2011-03-14 Thread Henrik Andersson
Developer skriver: Wouldn't it also be helpful to have the server-side script verify (validate) the data the swf is sending back up? That way if someone manually triggered the date, the server would not accept it because it doesn't match it's system date. Don. You have a point. The server

Re: [Flashcoders] Getting Data into my SWF

2011-03-14 Thread Henrik Andersson
Kevin Holleran skriver: Thanks to everyone for all of your responses. What is going to happen, is the application is going to hold a coupon. That coupon will be retrieved from a database and passed into the Flash application. I guess as I am writing this, the script will just check the date

Re: [Flashcoders] Getting Data into my SWF

2011-03-14 Thread Henrik Andersson
Jordan L. Chilcott - Interactivity Unlimited skriver: Unless the client is actually displaying a countdown, it has no need for the data. All the client needs in this case is a polling mechanism to occur on a set interval, whether or not it intends to display any countdown down. No data needs

Re: [Flashcoders] Getting Data into my SWF

2011-03-11 Thread Henrik Andersson
Glen Pike skriver: Hello, The parameters that you pass to the SWF in your HTML are different to communicating with a back-end system. If you look at URLLoader in actionscript. This enables you to load data as you would load a web-page. You would use URLLoader with your server-side code, e.g.

Re: [Flashcoders] Getting Data into my SWF

2011-03-11 Thread Henrik Andersson
Merrill, Jason skriver: Then you need to provide each user with a computer controlled by you and a competent guard You clearly haven't heard of And he's clearly new to this stuff as he said is his original post, so lay off play nice. There's no reason to respond to people like that. The

Re: [Flashcoders] Getting Data into my SWF

2011-03-10 Thread Henrik Andersson
Kevin Holleran skriver: I am not concerned with the user SEEING the data, I just don't want them to be able to load the SWF in a way that they would be able to pass in their own values. Then you need to provide each user with a computer controlled by you and a competent guard to prevent the

Re: [Flashcoders] newbie class question

2011-03-09 Thread Henrik Andersson
Kian Chang skriver: Hi all, thanks for taking the time to read this and help a newbie out. I'm just getting my feet wet with AS3 as I've finally decided to abandon the AS2 way of life. I'm trying to use CustomOrientation.as, and I keep getting 3 errors in my main .fla file, error 1180: Call to

Re: [Flashcoders] Rendering limitation? Bitmap goes poof.

2011-03-04 Thread Henrik Andersson
Filters rend to bitmaps. Said bitmaps have maximum sizes. You actually get a trace entry when this limit is hit. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Re: [Flashcoders] Automatic quality toggle

2011-03-03 Thread Henrik Andersson
Kevin Newman skriver: I have pretty good experience exporting to QuickTime right from Flash - though others swear it's problematic (maybe they are doing it wrong?). Maybe they are using actionscript? ___ Flashcoders mailing list

Re: [Flashcoders] Automatic quality toggle

2011-02-26 Thread Henrik Andersson
Christoffer Enedahl skriver: It sounds like it's time to encode the flash animation to video. For some of the cases, yeah. You are right in that encoding to video would solve the issue for local playback. Give me a shout when you find a tool that actually can do it properly. But it is not

[Flashcoders] Automatic quality toggle

2011-02-25 Thread Henrik Andersson
I have been thinking a lot about the problem of optimizing animation playback. I know that some people here are unfamiliar with working with real animations and have been doing applications instead. Please consider this aimed at real animations like in movies and games. While the best

Re: [Flashcoders] Automatic quality toggle

2011-02-25 Thread Henrik Andersson
You bring up a lot of valid points, but you fail to focus on the main concern here, how to deal with the graphics being the most heavy part. Please keep in mind that I am trying to focus on how to deal with animations that can't be simplified much. I am looking for a generic solution to the

Re: [Flashcoders] Automatic quality toggle

2011-02-25 Thread Henrik Andersson
Ktu skriver: But what can you do when you have exhausted your options to edit the content? You only got the quality setting left to use. - maybe then you've got to re-evaluate what you are doing or use the quality settings. How do you decide on the thresholds? Can you successfully predict

Re: [Flashcoders] flash.filesystem not in Flash?

2011-02-23 Thread Henrik Andersson
Merrill, Jason skriver: Or if you switch to a Flash wrapper tool like mProjector or Zinc. Wrappers are lame compared to AIR if you ask me. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com

Re: [Flashcoders] flash.filesystem not in Flash?

2011-02-23 Thread Henrik Andersson
Merrill, Jason skriver: i think AIR has negated the need for these windowless flash wrappers - are these still in production? Yes, the tools are still out there. AIR requires installation of the AIR runtime first. The wrappers do not, they are standalone .exes. For first time user, it

Re: [Flashcoders] how to get a byteArray of multiple sounds?

2011-02-17 Thread Henrik Andersson
Pierrick Pluchon skriver: Hi List, I'm currently working on a little musical app with multiple sounds. Think of it like a piano - each key plays a different note. What i'm trying to do is to record my whole composition as a byteArray and to export it as wav file. The export is ok, i get good

Re: [Flashcoders] how to get a byteArray of multiple sounds?

2011-02-17 Thread Henrik Andersson
You need to do your own mixing. First you need a way to get each note and then a way to know when each note should play. With that information you can start mixing, read the value of the first sample from each note currently playing and add them together, this is the mixed value. Now write

Re: [Flashcoders] Quick greeting

2011-02-16 Thread Henrik Andersson
John R. Sweeney Jr skriver: TestŠ TestŠ Is this mic on? Nope. Try this one: ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Re: [Flashcoders] OTish MP3 files for a piano scale

2011-02-08 Thread Henrik Andersson
Kerry Thompson skriver: ... and volume controls wouldn't be able to emulate different attacks. Yes they could. Who is to say that you can't make the control change based on the frequency? ___ Flashcoders mailing list

Re: [Flashcoders] OTish MP3 files for a piano scale

2011-02-08 Thread Henrik Andersson
Kerry Thompson skriver: Henrik Andersson wrote: ... and volume controls wouldn't be able to emulate different attacks. Yes they could. Who is to say that you can't make the control change based on the frequency? Of course you could base the volume control based on the frequency. You could

Re: [Flashcoders] OTish MP3 files for a piano scale

2011-02-07 Thread Henrik Andersson
Kerry Thompson skriver: Maybe one of the musical geniuses on the list knows. In the meantime, I'll ask some of my musician/computer friends. I'd try the classical software synth approach. Pianos are pretty close to sine waves with an envelope filter controlling the amplitude and some reverb

Re: [Flashcoders] OTish MP3 files for a piano scale

2011-02-07 Thread Henrik Andersson
Kerry Thompson skriver: I would use midi, then. Midi capabilities are pretty much universal these days, and you'll need a lot smaller download. Plus, mp3's have a lag on startup--not bad, but it gets annoying pretty quickly. Midi won't have that problem. Except for the tiny detail that Flash

Re: [Flashcoders] Events for setChildIndex, swapChildren, swapChildrenAt

2011-02-06 Thread Henrik Andersson
ekameleon skriver: Sorry... I forget : or handle the added events with addEventListener( Event.ADDED , .. or addEventListener( Event.ADDED_TO_STAGE That's not enough, what about stuff getting removed? What about two things swapping positions? Is there even an event for the last thing?

Re: [Flashcoders] Screen rendering problem

2011-01-28 Thread Henrik Andersson
Karl DeSaulniers skriver: Also, if I am not mistaken, you should never cacheAsBitmap on any moving objects. I believe this is a no no on the processing end of flash as it has to cache it every time it moves. Unless it is a very small graphic.. but then why would you need to cache it. :) Best,

Re: [Flashcoders] Call method by name: A few questions...

2011-01-15 Thread Henrik Andersson
You want the getDefinitionByName function, not the dynamic property access syntax. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Re: [Flashcoders] Flash Player 10.2 RC

2011-01-12 Thread Henrik Andersson
(About fullscreen with multiple monitors) I can't believe that they are claiming that fixing a on-and-off bug for the last couple of years is a feature. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com

Re: [Flashcoders] How to utilize this code:public staticconst: Needhelp understanding...

2011-01-12 Thread Henrik Andersson
Ivan Dembicki skriver: Hello Merrill, This message w/attachments (message) is intended solely for the use of the intended recipient(s) and may contain information that is privileged, confidential or proprietary. [...] - are you sure? this list is public. Yeah, people need to turn off

Re: [Flashcoders] test

2011-01-11 Thread Henrik Andersson
Mendelsohn, Michael skriver: Test: is the list alive? No, it died, the funeral is on feb 29. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Re: [Flashcoders] Problems when converting to Number

2010-12-19 Thread Henrik Andersson
Anthony Pace skriver: trace(Number('1992.2')); //why does it output 1992.3 //I am assuming I am missing something pretty obvious First it is parsed to binary floating point, losing accuracy and then it is output as decimal form again, losing accuracy again.

Re: [Flashcoders] problem with adding two digits

2010-12-14 Thread Henrik Andersson
tom rhodes skriver: yup interesting that the old AVM gives you what you'd think... Pure luck, you might have compiled against something that happened to drop the decimal instead . ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com

Re: [Flashcoders] Components With Pure ActionScript

2010-12-13 Thread Henrik Andersson
it...@aol.com skriver: Hello, Am wondering whether it is possible to generate the basic Flash components like buttons, checkbox and scrolling fields with pure ActionScript (no Flex), i.e., without placing them in the Flash IDE library. Thanks, Daniel A No. They need their skin symbols.

Re: [Flashcoders] fscommand Issue.

2010-12-12 Thread Henrik Andersson
Omar Fouad skriver: Hello all, I'm trying to call a function in JavaScript from a SWF file (AS3). fscommand(start, 1); This function works fine. However, when I pass a variable to the fscommand parameters argument, JavaScript doesn't work: fscommand(start, myString); // this doesn't work. Am I

Re: [Flashcoders] RE: swf not compiling

2010-12-11 Thread Henrik Andersson
David Benman skriver: I've had intermittent problems compiling on with CS4 on Mac OS X. I think its usually something with the IDE environment rather than the specific Flash project. These are things I try. You forgot the classic of nuking the profile directory.

Re: [Flashcoders] Masked mc and total size

2010-12-08 Thread Henrik Andersson
Glen Pike skriver: mc.mask.width? What if the maskee is smaller? What if the mask and the maskee only partially overlaps? ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Re: [Flashcoders] Masked mc and total size

2010-12-08 Thread Henrik Andersson
natalia Vikhtinskaya skriver: Mask is 100px width. Image is 200px width. Putting 3 masked mc in one container don't give 300px width. True, but if you put the image at (0,50) the visible size is 50 pixels. That is, assuming that the image has the registration point in the top left corner.

Re: [Flashcoders] Masked mc and total size

2010-12-08 Thread Henrik Andersson
natalia Vikhtinskaya skriver: How I can check how they intersect? Can you explain at this example how I should calculate total size? You can find the bounding boxes with the getBounds method and take it from there. But it is still only the bounding boxes. And things do get complicated when

Re: [Flashcoders] E4X strangeness

2010-12-06 Thread Henrik Andersson
Mendelsohn, Michael skriver: Hi list... For some strange reason (and I mean REALLY strange), the second statement below depends on the first statement. As far as I can tell, the two lines have nothing to do with each other. When c runs, clickedOne returns an XMLList. When c is commented

[Flashcoders] Deep diving into playerglobals.swc

2010-12-02 Thread Henrik Andersson
I am sure that most people here know what playerglobals.swc is, but I might as well explain it anyway. The playerglobals.swc file is used by the compiler to know how the flash player api looks like. It lists all the classes, packages and so on. What may not be immediately obvious is that it

Re: [Flashcoders] Getting bitmap data after successfully loading a swf file

2010-12-01 Thread Henrik Andersson
There are several ways to get at the assets. The most obvious one is to simple ask the code in the loaded swf to give you what you want. You can use all the fancy factory patterns that you've been reading about this way. Personally I keep it simple and just store each thing in an object that

Re: [Flashcoders] Testing display object if its MovieClip or BitMap?

2010-12-01 Thread Henrik Andersson
Micky Hulse skriver: trace(getQualifiedClassName(loadedDisplayObject)); Would that be the best way to test for MovieClip or Bitmap? It fails the empty base class test. It is an extremely bad way. ___ Flashcoders mailing list

Re: [Flashcoders] Testing display object if its MovieClip or BitMap?

2010-12-01 Thread Henrik Andersson
Karim Beyrouti skriver: attached a class that does that, hope it helps... The mailer ate it. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Re: [Flashcoders] Getting bitmap data after successfully loading a swf file

2010-11-30 Thread Henrik Andersson
SWF files are not bitmaps. Stop trying to treat them like bitmaps. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Re: [Flashcoders] Advice on calling subscriber script on another server

2010-11-25 Thread Henrik Andersson
Paul Steven skriver: I realise this is probably something that requires a crossdomain.xml file on the other server but this is not possible. Why not? Did you even ask the people responsible for the server? Either they are going to fix it quickly or they are going to turn you down. And if

Re: [Flashcoders] Advice on calling subscriber script on another server

2010-11-25 Thread Henrik Andersson
Paul Steven skriver: Therefore [I] doubt... Quit being so lazy and contact them already. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Re: [Flashcoders] Advice on calling subscriber script on another server

2010-11-25 Thread Henrik Andersson
Paul Steven skriver: Thought I could get some help here not labelled lazy! You do realize that it takes just as long to simply ask the site in question right? ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com

Re: [Flashcoders] ARgb to Rgb

2010-11-23 Thread Henrik Andersson
Karim Beyrouti skriver: Thanks Karl, had seen that one, but it slightly confused me, i go this out of it which is kindof wrong: private function ARGBtoRGB( argb : uint ) : uint { var alpha:uint = (argb 24 0xFF ); return alpha % argb } My head hurts from trying to figure

Re: [Flashcoders] Iterating internal list of definitions

2010-11-23 Thread Henrik Andersson
Tom Gooding skriver: Hi- does anyone know if it's possible to access the list of definitions available by 'linkage' in an external swf? Short of manually parsing the file, nope. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com

Re: [Flashcoders] How to detect for modifier (alt/ctrl) keys

2010-11-19 Thread Henrik Andersson
I am curious, does the key say Alt or AltGr? They are not quite the same. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Re: [Flashcoders] Set HTTP cookies with navigateToURL()

2010-11-13 Thread Henrik Andersson
Alexander Farber skriver: My problem is, that I can't find the way to set HTTP cookies through the navigateToURL() method. Please advise me Normally it would be the same as any other http header, it's part of the URLRequest class. However, the cookie related headers are on the blacklist.

Re: [Flashcoders] How to view and edit alternate content

2010-11-12 Thread Henrik Andersson
Run the flash player uninstaller? They actually provide one, just for cases like this. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Re: [Flashcoders] Actionscript 4?

2010-11-09 Thread Henrik Andersson
They don't need a new major version. They need a new minor version. A little bigger than the Vector addition. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Re: [Flashcoders] MAX

2010-10-26 Thread Henrik Andersson
Merrill, Jason skriver: And don't forget the free Droid 2s they gave us and Martha Stewart paying a visit. :) I didn't those parts where important enough to mention. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com

Re: [Flashcoders] Re: Removing movieClip from memory

2010-10-26 Thread Henrik Andersson
Jeremy Hicks skriver: We've created a class for tracking what is in memory. It doesn't add any cleanup functions but it gives a good indicator what's there so you can see if your efforts are having a positive effect. Can't you use the flash.sampler package to track things automatically?

Re: [Flashcoders] Removing movieClip from memory

2010-10-25 Thread Henrik Andersson
Objects can not be destroyed explicitly. You need to do your own cleanup work and then wait for the garbage collector to reclaim the memory. The garbage collector is unpredictable and may or may not run at all. If you need any specific work done at a specific time, do it yourself. Also,

[Flashcoders] MAX

2010-10-25 Thread Henrik Andersson
For those that missed the keynote, let me do a quick summary of the Flash relevant stuff: * Hardware accelerated 3D * Hardware accelerated Video * The Flash platform has more devices, including settop boxes, blueray players and tvs. * Game controller support Watch the rerun on

Re: [Flashcoders] Converting fla to mov

2010-10-24 Thread Henrik Andersson
Karl DeSaulniers skriver: Oh and any Movieclips you have that play content inside them, move their content to a new layer on the main timeline. Unless you need them to be scripted. Like perhaps it's a particle effect. Or even worse, a virtual camera.

Re: [Flashcoders] Converting fla to mov

2010-10-23 Thread Henrik Andersson
The built in exporter is crap and doesn't deal with actionscript. You might get better luck with a 3rdparty solution. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Re: [Flashcoders] Converting fla to mov

2010-10-23 Thread Henrik Andersson
I would rather use a dedicated tool. Googling swf to video should find most of them. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

[Flashcoders] RFC: Performance monitor

2010-10-22 Thread Henrik Andersson
I have been working on a little tool to detect lag. It simply draws a little square with a number showing how long the last frame took to rend. The square changes color depending on the detected frameskip. Anything over some flashes of yellow is grounds for concern. Is there anything about

Re: [Flashcoders] (no subject)

2010-10-21 Thread Henrik Andersson
John Goodman skriver: ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders I agree. ___ Flashcoders mailing list

Re: [Flashcoders] FileReference

2010-10-21 Thread Henrik Andersson
Lehr, Theodore skriver: 1061: Call to a possibly undefined method save through a reference with static type flash.net:FileReference Why would it work in one but not the other? Because only one of them targets FP 10 where the method was added. ___

Re: [Flashcoders] Actionscript 3 and Flashplayer 8

2010-10-19 Thread Henrik Andersson
Beatrix Krümmer-Frau skriver: Am 18.10.2010 14:08, schrieb Henrik Andersson: The old flash player will ignore the swf tags related to as 3. This means: as long as I write AS3 syntax without as 3 specific classes it can work? No, not only would that be completely useless practically

Re: [Flashcoders] Actionscript 3 and Flashplayer 8

2010-10-18 Thread Henrik Andersson
Beatrix Krümmer-Frau skriver: Hi all, I am searching informations about using Actionscript 3 for projects, which have to run in old, old Flash Versions. I need arguments for customers who still work with Actionscript 2. Any suggestions are welcome, will do a paper on this issue. Thanks in

Re: [Flashcoders] Actionscript 3 and Flashplayer 8

2010-10-18 Thread Henrik Andersson
strk skriver: I disagree. There is NO _free_ player supporting AVM2 movies. Free player means virtual support for _any_ platform. You must be using some definition of free that doesn't involve beer. ___ Flashcoders mailing list

Re: [Flashcoders] Flash CS4 to Flash CS5: Size Problem

2010-10-08 Thread Henrik Andersson
Save as XFL and report back what files are taking up the majority of the size. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Re: [Flashcoders] Call to a possibly undefined method inflate through a reference with static type flash.utils:ByteArray

2010-10-03 Thread Henrik Andersson
Dave Watts skriver: I'm trying to compress XML data being exchanged via Socket with a Perl backend and after taking several hurdles, I'm stuck at this error message: 1061: Call to a possibly undefined method inflate through a reference with static type flash.utils:ByteArray. In your

Re: [Flashcoders] Call to a possibly undefined method inflate through a reference with static type flash.utils:ByteArray

2010-10-03 Thread Henrik Andersson
Alexander Farber skriver: On Sun, Oct 3, 2010 at 7:44 PM, Henrik Anderssonhe...@henke37.cjb.net wrote: Dave Watts skriver: In your code, if there's nothing to read, your exception handlers fall through after calling handleTcpError. At compile time, the compiler has no guarantee that there'll

Re: [Flashcoders] AIR 2 / 10.1 + Microphone

2010-10-02 Thread Henrik Andersson
Trust me on this one, computeSpectrum is not useful for anything but music visualization. It provides no gurantees that it wont miss samples, in fact, it is highly likely that it will. That makes it unacceptable for any serious use. ___ Flashcoders

Re: [Flashcoders] FLV audio doesn't stop

2010-09-30 Thread Henrik Andersson
Off the display list does not mean not playing. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Re: [Flashcoders] CS5 where to put tween engines etc?

2010-09-30 Thread Henrik Andersson
That's the answer to the wrong question. The truth is that the option is exactly where you are looking, just look again. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Re: [Flashcoders] RS-232 triggered by Actionscript

2010-09-28 Thread Henrik Andersson
The flash player has no such feature. In fact, most modern OSes doesn't even let applications bitbang hardware ports directly. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Re: [Flashcoders] correct path

2010-09-28 Thread Henrik Andersson
Misconception correction time! Read my article: http://www.actionscript.org/resources/articles/943/1/Actionscript-and-timelines/Page1.html ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com

Re: [Flashcoders] Inheritance and abstract classes

2010-09-25 Thread Henrik Andersson
I want it to match examples as: Bathroom HAS-A Baththub. Cat IS-A Feline. Cat IS-NOT-A Simalian, but Cat HAS-A Simalian owner. MovieClip IS-A Sprite, but a Sprite can HAVE-A MovieClip child. Loader HAS-A Sprite accessible by the content property. Bitmap HAS-AN associated BitmapData. Socket IS-AN

Re: [Flashcoders] Downloading a .swc library

2010-09-23 Thread Henrik Andersson
SWC files are zip files with swf files inside them (and some other misc stuff). The flash player does not know how to deal with them. You would have to unpack the zip, read the metadata and feed the stored swf to Loader.loadBytes. Or you could just load a swf like everyone else...

Re: [Flashcoders] Inheritance and abstract classes

2010-09-23 Thread Henrik Andersson
Glen Pike skriver: has a (interfaces) than is a (subclass), That's wrong. HAS-A is not used for interfaces, it is used for reference properties and other forms of containment. Both interfaces and classes use the IS-A relation. You don't say Picture HAS-A IDrawable, you say Picture IS-A

Re: [Flashcoders] multi audio channel mp4 video

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

Re: [Flashcoders] Flash On The Beach 2010

2010-09-20 Thread Henrik Andersson
David Hunter skriver: Anyone going to Flash On The Beach next week in Brighton? Buy me the tickets and I will be there ;) ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Re: [Flashcoders] locating point on object

2010-09-14 Thread Henrik Andersson
DisplayObject.mouseX ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Re: [Flashcoders] locating point on object

2010-09-14 Thread Henrik Andersson
I think you are expecting too much, it's a mailing-list. Discussion boards and similar systems doesn't invite to saying thanks. I am not against it, but personally, I find saying thank you to be a bit like noise. It's not very important, but it's nice I suppose. Then again, I don't want to

Re: [Flashcoders] locating point on object

2010-09-14 Thread Henrik Andersson
Merrill, Jason skriver: I think one of the main benefits of saying thank you is it tells the rest of the list, problem solved, no need to comment further. So people don't keep replying, they know the solutions given worked and problem solved. Because that has worked so well in the past... We

Re: [Flashcoders] Zooming

2010-09-13 Thread Henrik Andersson
Lehr, Theodore skriver: Is there anyway to zoom into a mc and make sure a certain point on an object (just an image converted to a mc in this instance) is always in the center? Yes, with geometry. I recommend using a virtual camera, since it will take out a bunch of complicated (but far

Re: [Flashcoders] Zooming

2010-09-13 Thread Henrik Andersson
Glen Pike skriver: You should be able to find a nice virtual camera class on Bitey castle guys website. http://www.biteycastle.com/ I prefer my own one, you can stick a camera in a camera with it and it's simpler. But that one isn't half bad either.

Re: [Flashcoders] Apple backing off. Why?

2010-09-10 Thread Henrik Andersson
Carl Welch skriver: I don't believe apple really gives a crap about developers. We can thank the FTC probe for their sudden change of policy. I still feel burnt by Mr. Jobs. I must have missed that, what probe? ___ Flashcoders mailing list

[Flashcoders] Namespaces vs friends

2010-09-10 Thread Henrik Andersson
I have been thinking about namespaces in as and have realized that they can be considered a solution to the same problem that friends solve in c++. I wonder which solution is the best. Namespaces are defined once and can be used by multiple files, while friends needs to be listed fully for

Re: [Flashcoders] Playing With Fire

2010-09-10 Thread Henrik Andersson
You don't want a mask. You want a bitmap with alpha values. If you really need two bitmaps, you can use the alpha blend mode to combine them during rendering. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com

Re: [Flashcoders] Playing With Fire

2010-09-10 Thread Henrik Andersson
George Jones skriver: Any other thoughts? Don't try to use the alpha channel on a bitmap that doesn't have one. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Re: [Flashcoders] Best (fastest/memory efficient) way to animate bitmaps

2010-09-09 Thread Henrik Andersson
allandt bik-elliott (thefieldcomic.com) skriver: i was always under the impression that the best way of doing that (for games sprite animations for instance) is bitmap 'blitting' where you use a tilesheet and then use bitmap draw to pull the current frame you want to show into your actual sprite

[Flashcoders] Apple changes their guidelines

2010-09-09 Thread Henrik Andersson
http://www.apple.com/pr/library/2010/09/09statement.html ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Re: [Flashcoders] Apple changes their guidelines

2010-09-09 Thread Henrik Andersson
Nathan Mynarcik skriver: That link is not even a page long... True, but it's not the actual agreement either. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

<    1   2   3   4   5   6   >