Re: [Flashcoders] wmode=transparent and buttons behavior woes

2006-11-01 Thread Janis Radins
My problems appear only on FireFox IE does just fine. I'll send you link of how my problems looks offlist. 2006/10/31, Lyndon Headley [EMAIL PROTECTED]: Here's an interesting article I just came across concerning Flash 8 (if that is the version you are using) and wmode settings.

[Flashcoders] slightly OT - browser position

2006-11-01 Thread Eskil Janson
Hi, I need to track the browser postion when the user drags it around over the desktop. I can't find a JavaScript variable for this. Have I missed something basic ? If not, anyone who know how to do this? The problem is not communication Flash -JavaScript, i know the tricks. Regards /Eskil

[Flashcoders] How can I get a string in a date object ?

2006-11-01 Thread Sander van Surksum
How can I get a string in a date object ? var datum:LoadVars = new LoadVars(); datum.onLoad = checkTime; datum.load(http://localhost/time.php?cacheKiller=; + new Date().getTime()); function checkTime(){ var jaar:Number = this.jaar; var maand:Number = this.maand; var dag:Number = this.dag;

[Flashcoders] Flash Reomoting Service not connecting

2006-11-01 Thread Liam Mincy
This is a new one for me... I have a Flash application that uses Flash Remoting to pass along test information. I should first mention that I am using the same Service on a live server in both testing on local machine and when I deploy to the web. The thing is that when I test all of this from

[Flashcoders] Create zip file through flash

2006-11-01 Thread Abhijit Malpani
Hi, In my application I am having a button, which when pressed should compress some chunk of files to zip file. I am jus wondering whether this can be done through Flash or not? Most of the web services now days support gZip compression, just want to know whether we can achieve this through

[Flashcoders] Scaling problem while loading external jpeg's in the Movie Clip

2006-11-01 Thread Abhijit Malpani
Hi, I am using loadMovie function to load the external jpeg files in the Movie Clip. The Movie Clip (in which I am loading the external jpeg files) varies in size depending on the users screen resolution. The problem I am facing while scaling the images in the Movie Clip. When I scale the

RE: [Flashcoders] Create zip file through flash

2006-11-01 Thread Merrill, Jason
In my application I am having a button, which when pressed should compress some chunk of files to zip file. I am jus wondering whether this can be done through Flash or not? Depends on what you mean by through Flash. Not natively in Flash because Flash is a client-side application. You're

RE: [Flashcoders] Create zip file through flash

2006-11-01 Thread Abhijit Malpani
Hey Jason, I am talking about the desktop application, and I don't want to use any wrapper for flash. I am already having a .net wrapper which does it for me right now, but I want to get rid of it. Flash alone can't do that? Thanks! -Original Message- From: [EMAIL PROTECTED]

RE: [Flashcoders] Create zip file through flash

2006-11-01 Thread Merrill, Jason
Flash alone can't do that? Flash alone can't do that, no. Flash has no native filesystem access on the web or locally - other than the FileReference class which is used for uploading/downloading files. You could call another .exe that does it though locally. Jason Merrill Bank of America

RE: [Flashcoders] Create zip file through flash

2006-11-01 Thread Merrill, Jason
Flash Player 9 can do it. We wrote an unzip class in AS3 some time back: He's talking about zipping up files on the local filesystem. Flash 9 can do that? Flash 9 has native filesystem access which would allow compressing files on your hard drive? Jason Merrill Bank of America Learning

Re: [Flashcoders] Create zip file through flash

2006-11-01 Thread Claus Wahlers
He's talking about zipping up files on the local filesystem. Flash 9 can do that? Flash 9 has native filesystem access which would allow compressing files on your hard drive? Flash Player 9 can zip up files pretty easily, but of course can't access the local filesystem. Sorry for the

RE: [Flashcoders] Flash Reomoting Service not connecting

2006-11-01 Thread Miles, Mathew
I had this problem about 6 months ago and I don't remember how I solved it. However, here is the code that I currently use to make the connection and return results. Hope it helps. # import mx.remoting.Service;

Re: [Flashcoders] Scaling problem while loading external jpeg's in the Movie Clip

2006-11-01 Thread Marc Hoffman
First, use MovieClipLoader to load the image. This will allow you to determine when it has initialized (onLoadInit). Then determine the ratio of the image width to the actual width you want it to be. Do the same for the height. Determine which ratio is larger, and use that to rescale both the

Re: [Flashcoders] Q:Justifying Flash 8 Content

2006-11-01 Thread Andy Herrman
also the fact most people have it now is another. I'd debate this. It really depends on what your audience is. Individual home users probably have newer versions, or can easily upgrade them. Corporate users are a different matter though. We're using Flash for part of our product where I work

[Flashcoders] Flash MX Support for Localization

2006-11-01 Thread Suhas Kotkar
Hi All, Can anyone let me know if Flash MX supports the following languages using the XML structure? The purpose is to achieve the localization. Japanese, Thai, Korean and Mandarin (Chinese) Regards, Suhas ___

[Flashcoders] (no subject)

2006-11-01 Thread baji ajmal
hi i am baji i want how criating world clock? - Want to start your own business? Learn how on Yahoo! Small Business. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:

[Flashcoders] AS 3 - lockroot

2006-11-01 Thread Dave Geurts
Does anybody know anything about implementing something similar as lockroot for as3. The only thing I have found in my searches is in the migration guide it says lockroot has been removed. Thanks! ___ Flashcoders@chattyfig.figleaf.com To change

RE: [Flashcoders] Q:Justifying Flash 8 Content

2006-11-01 Thread Andrew Kirkpatrick
What about accessability/use-ability/SEO-friendly aspects? We just released skins for Flash 8 that support captioning and that are accessible to disabled users. I've got them on our accessibility blog for now, but will move them to the Flash exchange soon. http://blogs.adobe.com/accessibility

[Flashcoders] Hi all

2006-11-01 Thread Chris Benjaminsen
Hi all Some of you people might know me from the OSFlash mailing list. But so fare I have not participated on this email list. Anyway I just wanted to tell the world that I released my flash 8 webcam barcode scanner as a 100% free component. A bit more boring info + a download link can be

[Flashcoders] Keys...

2006-11-01 Thread eric dolecki
I have a simulation where I am communicating to hardware - no problem. I need to know press holds from the hardware, so I thought using something like: #A might mean press hold A would be a release However what is the best approach to capture 2 keys in an argument? Should I use a different

RE: [Flashcoders] Q:Justifying Flash 8 Content

2006-11-01 Thread Perdue, Blake
The major reason we are moving to Flash 8 is the enhanced text rendering. The custom anti-aliasing makes text much easier to read -- a major problem with many fonts in Flash 6,7. From: [EMAIL PROTECTED] on behalf of [EMAIL PROTECTED] Sent: Tue 10/31/2006 3:43

RE: [Flashcoders] Create zip file through flash

2006-11-01 Thread Mike Keesey
-Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Claus Wahlers Sent: Wednesday, November 01, 2006 6:49 AM To: Flashcoders mailing list Subject: Re: [Flashcoders] Create zip file through flash He's talking about zipping up files on

RE: [Flashcoders] Scaling problem while loading external jpeg's in theMovie Clip

2006-11-01 Thread Steven Sacks | BLITZ
this.holder.loadMovie(some.jpg); this.onEnterFrame = function() { if (this.holder._width 4) { resizeHolder(); delete this.onEnterFrame; } }; function resizeHolder() { holder._width = w; holder._height = h; }

RE: [Flashcoders] How can I get a string in a date object ?

2006-11-01 Thread Steven Sacks | BLITZ
The compiler only catches strict typing issues at compile-time, not run-time. It doesn't know what this.jaar is (because it's being loaded in at run-time) so it doesn't catch that you're loading a string into it. Since AS2 isn't actually strict (just for the compiler's sake), you can put strings

RE: [Flashcoders] Q:Justifying Flash 8 Content

2006-11-01 Thread Steven Sacks | BLITZ
You can still make banner ads and cartoons with Flash 4. That's what Flash is used for right? ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

RE: [Flashcoders] Q:Justifying Flash 8 Content

2006-11-01 Thread Steven Sacks | BLITZ
You can still make banner ads and cartoons with Flash 4. That's what Flash is used for right? WINK! ;) *SARCASM* J/K ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:

RE: [Flashcoders] Scaling problem while loading external jpeg's in theMovie Clip

2006-11-01 Thread Marc Hoffman
doesn't address the problem -- resizing the image to a fixed ratio that may not be the ratio of the loaded image, so it becomes distorted. -Marc Hoffman At 10:43 AM 11/1/2006, you wrote: this.holder.loadMovie(some.jpg); this.onEnterFrame = function() { if (this.holder._width 4) {

RE: [Flashcoders] Scaling problem while loading externaljpeg's in theMovie Clip

2006-11-01 Thread Steven Sacks | BLITZ
It addresses half the problem. I missed the other requirement. It's pretty easy to accomplish that, though. You find the largest dimension delta and determine its percentage delta and then adjust based on that. var perc:Number; if (actualW - targetW actualH - targetH) { perc =

[Flashcoders] Q:Coding : from Procedural to Class based code?

2006-11-01 Thread moveup
Hi I have a project that I'd like to convert to class based code but would appreciate some advice on the best approach. Basically I have a routine which attaches a number of library items to the stage and, on either a rollover or press event, tweens these items(images) out in a radial fashion.

[Flashcoders] Useful Ascii codes:

2006-11-01 Thread eric dolecki
I never wanna do this again, and you probably don't either, so here are some constants to make using ascii values of character codes more legible... - e. code // Constants (to make logic more readible) var KEY_EXCLAMATION:Number = 33; var KEY_DOUBLE_QUOTE:Number = 34; var KEY_POUND:Number = 35;

[Flashcoders] Maths: scale one mc, whilst keeping an mc within it the same size

2006-11-01 Thread Jon Bennett
hi, I'm scaling a large-ish MovieClip to specific width/height combinations. Within this MovieClip I have numerous link MCs, which I want to keep at 100%, regardless of their containing MovieClip's width/height, and the maths involved has me a little stumped! some example code: // attach map

Re: [Flashcoders] Useful Ascii codes:

2006-11-01 Thread Michael Stuhr
eric dolecki schrieb: I never wanna do this again, and you probably don't either, so here are some constants to make using ascii values of character codes more legible... - e. code // Constants (to make logic more readible) var KEY_EXCLAMATION:Number = 33; var KEY_DOUBLE_QUOTE:Number = 34; var

RE: [Flashcoders] Q:Coding : from Procedural to Class based code?

2006-11-01 Thread Mark Lapasa
The primary motivation for 'converting to class based code' should be to establish a seperation of concerns. If your one routine does many things or better said 'has many responsibilities', then you need to identify those areas that do very distinct things and decouple them from the routine. Over

Re: [Flashcoders] Maths: scale one mc, whilst keeping an mc within it the same size

2006-11-01 Thread Hans Wichman
Hi Jon, imagine you have a lot of nested clips, structure a-b-c-d-e for example (a is parent of b, b is parent of c etc). Imagine a is scaled 50% and the rest hundred. Then you can be sure, b/c/d/e will be 50% as well. If b is scaled 50% as well, c/d/e will be at 25% (a's 50 times b's 50). Damn

Re: [Flashcoders] Maths: scale one mc, whilst keeping an mc within it the same size

2006-11-01 Thread Jon Bennett
So in general to keep a child scaled at 100% independents of its parents, you need to divide 100% by the result of multiplying all its parent's scale factors. Eg, to keep e at 100%, you'd scale e to : 1/ ( a.scale*b.scale*c.scale*d.scale/100^4) so My original MC is 744 px wide, and I scale it

Re: [Flashcoders] Useful Ascii codes:

2006-11-01 Thread eric dolecki
Oh man... i wish i had seen that... thanks for the link! On 11/1/06, Michael Stuhr [EMAIL PROTECTED] wrote: eric dolecki schrieb: I never wanna do this again, and you probably don't either, so here are some constants to make using ascii values of character codes more legible... - e.

RE: [Flashcoders] Q:Coding : from Procedural to Class based code?

2006-11-01 Thread Mike Keesey
Well, as an initial stab, you could do something like this: package radialnav class RadialManager extends MovieClip center:Point [read-only] createItem(symbolName:String, tweenSettings:TweenSettings):RadialItem tweenIn():Void tweenOut():Void class RadialItem

Re: [Flashcoders] Maths: scale one mc, whilst keeping an mc within it the same size

2006-11-01 Thread Jon Bennett
So in general to keep a child scaled at 100% independents of its parents, you need to divide 100% by the result of multiplying all its parent's scale factors. Eg, to keep e at 100%, you'd scale e to : 1/ ( a.scale*b.scale*c.scale*d.scale/100^4) so My original MC is 744 px wide, and I scale

Re: [Flashcoders] Maths: scale one mc, whilst keeping an mc within it the same size

2006-11-01 Thread Jon Bennett
yeah my example was downscaling, while you are upscaling:). var intMapScale:Number = mcMap._width / 744; // width = 2710 // 364% (3,64) so btnScale is 100/intMapScale. Imagine mcMap._width had been 1000 and original was 500, you'd have 1000/500 = 200% so btnScale 100/200% is 50. Note about the

RE: [Flashcoders] AS 3 - event args

2006-11-01 Thread Mike Keesey
Yeah, the simplest way is to create an index field on the buttons themselves, and then access that in the listener with event.target.index. ― Mike Keesey -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of dnk Sent: Tuesday, October 31, 2006

[Flashcoders] playing audio filetypes other than mp3?

2006-11-01 Thread Josh Santangelo
I'm wondering if anyone's managed to play filetypes other than MP3 in Flash. Obviously you can't just load them up, but I'm envisioning loading them into a hidden instance of the QuickTime plugin, and then using JavaScript to bridge the two so that you can control the playback from Flash.

RE: [Flashcoders] playing audio filetypes other than mp3?

2006-11-01 Thread Mike Keesey
You can use ByteArray in Flash 9 to load any kind of binary data. While you could use this to create image-rendering plugins using BitmapData (or even video-rendering, although I question performance), there's no corresponding SoundData class, is there? So I think, at least as far as sound goes,

RE: [Flashcoders] Scaling problem while loading externaljpeg's in theMovie Clip

2006-11-01 Thread Marc Hoffman
You also need to use MovieClipLoader and onLoadInit before measuring the size of the clip. Just testing it for _width4 (per your earlier example) will return an immediate positive if there was an image already loaded prior to calling loadMovie. -Marc At 11:50 AM 11/1/2006, you wrote: It

RE: [Flashcoders] Scaling problem while loading externaljpeg'sin theMovie Clip

2006-11-01 Thread Steven Sacks | BLITZ
You don't NEED to use MovieClipLoader and onLoadInit, but feel free to if you WANT. :) ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to

[Flashcoders] FLVPlayback class documentation

2006-11-01 Thread Dave Wood
Can someone tell me where to find the full documentation for the FLVPlayback class? Thanks David ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:

Re: [Flashcoders] FLVPlayback class documentation

2006-11-01 Thread Reuben Stanton
F1 - Help - Components Language Reference FLVPlayback Component FLVPlayback Class Reuben On 02/11/2006, at 12:02 PM, Dave Wood wrote: Can someone tell me where to find the full documentation for the FLVPlayback class? Thanks David ___

RE: [Flashcoders] Scaling problem while loading externaljpeg'sin theMovie Clip

2006-11-01 Thread Marc Hoffman
Perhaps I'm wrong, but I thought I did a valid test to see what _width was returned right after a holder clip, which already had an image loaded, was instructed to load another image. The width that was returned was for the prior image, even though the loadMovie command for a new image had

Re: [Flashcoders] FLVPlayback class documentation

2006-11-01 Thread Dave Wood
F1 - Help - Components Language Reference FLVPlayback Component FLVPlayback Class Thank you thank you:) David\ ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:

RE: [Flashcoders] Scaling problem while loadingexternaljpeg'sin theMovie Clip

2006-11-01 Thread Steven Sacks | BLITZ
I did not write out the entire solution because I was focusing on the specific functionality. When you use a holder clip, you're going to be creating it and removing it on the fly. this.holder.removeMovieClip(); this.createEmptyMovieClip(holder, 10); this.holder.loadMovie(some.jpg); Easy peasy.

Re: [Flashcoders] FLVPlayback class documentation

2006-11-01 Thread Reuben Stanton
Lucky - I happened to have it open at the time :) On 02/11/2006, at 12:41 PM, Dave Wood wrote: F1 - Help - Components Language Reference FLVPlayback Component FLVPlayback Class Thank you thank you:) David\ ___

Re: [Flashcoders] Flash Reomoting Service not connecting

2006-11-01 Thread Ray Chuan
Hi, - how are you opening the SWF? Is your swf loading any swfs/files? This won't work (without work): http://domain.com/ flash.HTML http://domain.com/assets/ flash.SWF On 11/1/06, Liam Mincy [EMAIL PROTECTED] wrote: This is a new one for me... I have a Flash application that uses Flash

[Flashcoders] Flash Print Function and Callbacks ?

2006-11-01 Thread Stephen Ford
Does anyone know if Flash's built in Print command has anyway of providing a callback once a print job has been executed ?? I need to set a clips visibility to false while the printing takes place, then set it back to visible once the print executes ?? Is this possible ?? Thanks, Stephen.