Re: [Flashcoders] bandwidth detector.

2006-11-07 Thread Latcho
Here's a simple way. For bandwidth detection you need data transfer. _Frame 1:_ myDate = new Date() miStart = myDate.getTime() on _Frame 2_ place a hidden image 40 to 60 Kb in size, that gives a good result. stop(); myDate = new Date(); miEnd = myDate.getTime(); miTime =

[Flashcoders] Get key pressed on non-English keyboard

2006-11-07 Thread Danny Kodicek
If I need to know the value of the last key pressed, in English I'd use Key.getAscii(), but of course that's no use if the character being returned isn't Ascii. So is there an alternative to Key.getAscii()? A kind of 'Key.getString()'? Danny ___

[Flashcoders] Datagrid keeps 1 empty row visible

2006-11-07 Thread Ben Smeets
Hi all, Small problem with using the v2 datagrid component (which I try to avoid as much as I can). I have added a couple of rows which use CellRenderers to show per row a button with which the user can delete a specific row. This all seems to work fine, but the problem is that after deleting

RE: [Flashcoders] Datagrid keeps 1 empty row visible

2006-11-07 Thread Ben Smeets
Banging head against wall. Sorry guys, I managed to find a little line of code addItem('no items in list'); Which did the damage. Nothing wrong with the DataGrid :) Cheers, Ben -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ben Smeets Sent: dinsdag

Re: [Flashcoders] Datagrid keeps 1 empty row visible

2006-11-07 Thread Hans Wichman
99,9% of us know how you feel m8:) On 11/7/06, Ben Smeets [EMAIL PROTECTED] wrote: Banging head against wall. Sorry guys, I managed to find a little line of code addItem('no items in list'); Which did the damage. Nothing wrong with the DataGrid :) Cheers, Ben -Original Message-

RE: [Flashcoders] Where to add eventListners in UIComponent classes?

2006-11-07 Thread Ben Smeets
I might be getting it wrong but the following might help: In working with components and using placed onscreen in editor components, I always find myself needing to wait 1 frame before adding the component event listeners. It seems the v2 components need 1 enterframe to fully initialize

[Flashcoders] Crikey - Tamarin!

2006-11-07 Thread Ian Thomas
Apologies if you've already seen this: http://www.adobe.com/aboutadobe/pressroom/pressreleases/200611/110706Mozilla.html Looks on a cursory read through as if Adobe are releasing the source for AVM2 to Mozilla as open source, so that Mozilla can leverage it to stick Adobe's ECMAScript AVM into

[Flashcoders] Strange phenomenon: FLV / Flash 7 not showing

2006-11-07 Thread Roman Blöth
Hello flashcoders, a strange phenomenon happens here on a client's computer: I've built a TV-set in Flash, playing 6 different FLV videos (Flash version 7). This all seems to work fine -- in our office. On the client's computer (several computers have been tested there) the videos just don't

Re: [Flashcoders] Strange phenomenon: FLV / Flash 7 not showing

2006-11-07 Thread Hans Wichman
Hi, dumm question probably, but I'l ask it anyway: have you ruled out wrong paths ed? Does meta info show up, status info etc, or nothing at all? greetz JC On 11/7/06, Roman Blöth [EMAIL PROTECTED] wrote: Hello flashcoders, a strange phenomenon happens here on a client's computer: I've

Re: [Flashcoders] Strange phenomenon: FLV / Flash 7 not showing

2006-11-07 Thread Roman Blöth
Hans Wichman schrieb: Hi, dumm question probably, but I'l ask it anyway: have you ruled out wrong paths ed? Does meta info show up, status info etc, or nothing at all? Well, wrong paths are ruled out -- the version the client is viewing is exactly the same as the version I'm using on my

[Flashcoders] RTL input once again

2006-11-07 Thread Danny Kodicek
Okay, I know this area has been visited a few times (and I've touched on it several times recently) but I'd just like to see if anyone knows the current state of the art. As far as I can see, there is no really decent RTL component available out there. Everything seems to be output-only. I'd like

Re: [Flashcoders] Chopping an FLV

2006-11-07 Thread Meinte van't Kruis
that's odd, it works for me. I did install the on2 vp6 codec tho, perhaps the video you're trying to cut is encoded with that codec, which would explain the audio working but video not working. for the codec, search for 'vp6 vfw codec 6.2 -pack'. It used to be distributed by on2, but not

RE: [Flashcoders] Chopping an FLV

2006-11-07 Thread Adrian Lynch
Thanks Meinte. I had a look at FLVKnife which uses FLVTool. Not sure why FLVTool on it's own wouldn't work, maybe installing FLVKnife installed some dependencies. Thanks all. Adrian -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Meinte van't Kruis Sent:

RE: [Flashcoders] Chopping an FLV

2006-11-07 Thread Sönke Rohde
Be sure to download the latest flvtool2.exe while using FLV Knife. The release on my website uses an older version and simply replace the flvtool2.exe. I will release a new version in the near future. Cheers, Sönke -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]

Re: [Flashcoders] Freelancer Class

2006-11-07 Thread JulianG
I know I don't have to. But I think the code is more clear that way. Thanks, JulianG Rich Rodecker wrote: you know you dont have to reference 'this' inside the class, right? :D ___ Flashcoders@chattyfig.figleaf.com To change your subscription

RE: [Flashcoders] Chopping an FLV

2006-11-07 Thread Sönke Rohde
No, it simply uses the commandline which is also displayed in the gui. Cheers, sönke -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Adrian Lynch Sent: Tuesday, November 07, 2006 3:00 PM To: Flashcoders mailing list Subject: RE: [Flashcoders]

[Flashcoders] Adding user Defined parameter in Flash Component

2006-11-07 Thread hidayath q
Hi all, Im really thankful to you all,bcos i have got good solutions whenever i post here. I want to know whether *Adding user Defined parameter in Flash Component (*if need to add a *Bold* parameter* in a text input component ).*if so,can anyone please tell me the way in which i can get it.it

Re: [Flashcoders] Can Flash determine which server it is being served from?

2006-11-07 Thread Julien Vignali
Have you tried to play with the _root._url property ? BOYD SPEER a écrit : Any ideas on how a Flash .swf could be aware of the server from which it has been loaded? I would like to somehow create a .swf that would only run if loaded from a certain server to prevent the database front end from

[Flashcoders] Scrollbar component

2006-11-07 Thread Mendelsohn, Michael
Hi list... I've skinned my scrollbar component, but why is it that the scroll thumb's over state never seems to work? It's happened to me on a few projects and I've seen it on others' work out there. What gives? Thanks, - Michael M. ___

[Flashcoders] access to drawing API information via ActionScript

2006-11-07 Thread Ben
Hi Flashcoders is it possible to write ActionScript code to gain access to lines/fills/shapes drawn on the stage using the standard Flash API? eg open a new document draw a line on the stage draw another line add some more lines, curves, add some filled shapes, rectangles, circles etc now is it

Re: [Flashcoders] access to drawing API information via ActionScript

2006-11-07 Thread Tom Rhodes
Have a google for actionscript SVG file readers, i seem to remember people achieving the effect you are after like that, i'm pretty sure exactly what you are asking is impossible though... Ben wrote: Hi Flashcoders is it possible to write ActionScript code to gain access to

Re: [Flashcoders] access to drawing API information via ActionScript

2006-11-07 Thread Janis Radins
No you cannt access curve data throught AS. Only thing thats possible would be to save all drawing activity in memory for later reproduction. That wouldnt be that hard actually. 2006/11/7, Ben [EMAIL PROTECTED]: Hi Flashcoders is it possible to write ActionScript code to gain access to

Re: [Flashcoders] access to drawing API information via ActionScript

2006-11-07 Thread slangeberg
Are you asking if you can somehow save out all the commands to a text file? now is it possible to write ActionScript that will translate the drawing you created above into AS-style: You see, you would have been using AS to perform all those commands in the first place. ie. lineTo, moveTo...

[Flashcoders] allowScriptAccess and swfobject.js

2006-11-07 Thread aaron smith
Hey All, I am having issues with javascript working from a swf file. The problem is that the html file I embed the flash in, is pulling the flash content from another server. So to fix this I found out that i need to have the allowScriptAccess param. It works when I use the html generated by

RE: [Flashcoders] allowScriptAccess and swfobject.js

2006-11-07 Thread Ryan Potter
I believe you are using the wrong flash object method. It should be so.addParam(allowScriptAccess, always); not so.addVariable(allowScriptAccess, always); -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of aaron smith Sent: Tuesday, November 07,

Re: [Flashcoders] 3-6M Flash contract in Little Rock, AR

2006-11-07 Thread Steve Mathews
What, have recruiters actually figure out how to find the right person for a job? No way. It seems that Flash (along with HTML/JavaScript) run into this problem where recruiters, or even HR staff, don't understand what they need. So we end up with these really bad keyword copy and paste lists.

RE: [Flashcoders] AS 3.0 - dynamically create object from libraryclass

2006-11-07 Thread Dave Geurts
Awesome, worked like a charm. thanks! -Original Message- From: [EMAIL PROTECTED] on behalf of Juan Carlos Anorga Sent: Mon 11/6/2006 10:29 PM To: Flashcoders mailing list Cc: Subject:Re: [Flashcoders] AS 3.0 - dynamically create object from libraryclass I

Re: [Flashcoders] 3-6M Flash contract in Little Rock, AR

2006-11-07 Thread John Grden
that's exactly what I thought ;( say it just once MILLLIIOONNNdollars. On 11/7/06, Carl Welch [EMAIL PROTECTED] wrote: me too. I thought it was a 3 to 6 million dollar contract... In my dreams... On 11/6/06, Adam Pasztory [EMAIL PROTECTED] wrote: Darn. When I saw the

Re: [Flashcoders] access to drawing API information via ActionScript

2006-11-07 Thread Ben
You see, you would have been using AS to perform all those commands in the first place. ie. lineTo, moveTo... etc. Scott the lines are first created directly onto the stage using the Flash IDE (not ActionScript) eg the line, circle, box tools from the tools palette on the left side of the

Re: [Flashcoders] Can Flash determine which server it is being served from?

2006-11-07 Thread BOYD SPEER
Thanks Julien, works great! - Original Message - From: Julien Vignali [EMAIL PROTECTED] Date: Tuesday, November 7, 2006 8:57 am Subject: Re: [Flashcoders] Can Flash determine which server it is being served from? Have you tried to play with the _root._url property ? BOYD SPEER a

Re: [Flashcoders] access to drawing API information via ActionScript

2006-11-07 Thread slangeberg
I want to be able to trace out a fairly complex drawing using all the Flash tools, but then control how it gets drawn entirely from ActionScript. Now I understand you want to take drawings from IDE and trace them in ActionScript. What is your goal with this? You want to stylize your

RE: [Flashcoders] 3-6M Flash contract in Little Rock, AR

2006-11-07 Thread flashcoders
Sorry for the confusion folks. Was trying to put as much in subject line to save you time as possible and that didn't even cross my mind. I would love a 3-6 Million dollar contract too. :) Sincerely, Dave Phillips WebTech Staffing, LLC -Original Message- From: [EMAIL PROTECTED]

RE: [Flashcoders] Flash and DHTML menus

2006-11-07 Thread Perdue, Blake
I'm guessing there isn't a solution to this? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Perdue, Blake Sent: Monday, November 06, 2006 10:31 AM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] Flash and DHTML menus We're building a Flash

Re: [Flashcoders] Flash and DHTML menus

2006-11-07 Thread slangeberg
Yeah, if you could have, the menu in flash would have been ideal. If you search this list for 'transparent wmode', you'll find that this has poor cross-platform support. Scott On 11/7/06, Perdue, Blake [EMAIL PROTECTED] wrote: I'm guessing there isn't a solution to this? -Original

RE: [SPAM]Re: [Flashcoders] access to drawing API information via ActionScript

2006-11-07 Thread Ben
I want to be able to trace out a fairly complex drawing using all the Flash tools, but then control how it gets drawn entirely from ActionScript. Now I understand you want to take drawings from IDE and trace them in ActionScript. What is your goal with this? You want to stylize your

Re: [Flashcoders] Adding user Defined parameter in Flash Component

2006-11-07 Thread Muzak
Check the docs for: Using Components Creating Components Creating the ActionScript class file Adding component metadata Livedocs: http://livedocs.macromedia.com/flash/8/main/3031.html Muzak - Original Message - From: hidayath q [EMAIL PROTECTED] To:

[Flashcoders] Preloader not working with singleton

2006-11-07 Thread Mendelsohn, Michael
Hi list... Dumb throwback question: my load progress bar isn't working. I have two frames, one to monitor the loading of the swf, and when it happens, go to the next frame to init a singleton, but my load progress bar doesn't show up until the swf is 100% loaded. What am I missing here?

Re: [SPAM]Re: [Flashcoders] access to drawing API information via ActionScript

2006-11-07 Thread slangeberg
You're going to need a fairly complex system to set this up! Even if you could use AS to trace the artwork in the IDE (which I doubt), you'd need a system in place to figure out where you are in the drawing. reversed, speeded up, slowed down, paused, branched etc. Can you imagine how hard

RE: [Flashcoders] Preloader not working with singleton

2006-11-07 Thread Alain Rousseau
You have instances in the library that Loads in first frame, So they load before frame 0, plus you use attachMovie to load your preloader. What happens is that the preloader and all assets that are set to export in first frame load, then the preloader gets attached but all your assets are allready

[Flashcoders] Preciso de programador actionscript/flash/php

2006-11-07 Thread Cliquei
Preciso de programador actionscript/flash/php se tiver alguem na lista que seja do Brasil e esteja disponivel para freela ..responda a este email. Até já. -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.13.31/522 - Release

Re: [Flashcoders] Preciso de programador actionscript/flash/php

2006-11-07 Thread Zeh Fernando
Preciso de programador actionscript/flash/php se tiver alguem na lista que seja do Brasil e esteja disponivel para freela ..responda a este email. The above email reads: I need a actionscript/flash/php programmer if there's anyone on this list that's from Brazil and is available for freelance

Re: [Flashcoders] Freelancer Class

2006-11-07 Thread slangeberg
I don't know if it's a remnant. You may be doing property initialization and need to nail down scope: class Student { private var name:String function Student( name:String ) { this.name = name; } } -Scott On 11/7/06, Steven Sacks | BLITZ [EMAIL PROTECTED] wrote: I know I don't have to.

RE: [Flashcoders] Freelancer Class

2006-11-07 Thread Steven Sacks | BLITZ
I don't know if it's a remnant. You may be doing property initialization and need to nail down scope: class Student { private var name:String function Student( name:String ) { this.name = name; } } That's just bad coding. Don't use class variable names as argument names. It's

Re: [Flashcoders] access to drawing API information via ActionScript

2006-11-07 Thread R�kos Attila
B is it possible to write ActionScript code to gain access to B lines/fills/shapes drawn on the stage using the standard Flash API? If you need to parse a drawing created in the Flash IDE and convert it to an AS script which creates the same result, but using Drawing API methods, then use JSFL.

RE: [Flashcoders] access to drawing API information via ActionScript

2006-11-07 Thread Steven Sacks | BLITZ
I think he wants to take what some artist drew in Flash and code it to draw at run-time using the drawing API. I'm not sure what benefit that has except to make designers have to code their drawings instead of draw their drawings and I don't know (m)any designers who would like to do that.

RE: [Flashcoders] Freelancer Class

2006-11-07 Thread Mike Keesey
-Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Steven Sacks | BLITZ Sent: Tuesday, November 07, 2006 12:05 PM To: Flashcoders mailing list Subject: RE: [Flashcoders] Freelancer Class I don't know if it's a remnant. You may be

[Flashcoders] Q:associate class with MovieClip using composition and WITHOUT attachmovie

2006-11-07 Thread moveup
Hi Normally if I want to associate a MovieClip with a class using composition I simply use attachMovie and cast the returned instance to the class I want to use. If you can't use attachMovie (ie the Movieclip already exists on the stage for example) is it still possible to use comoposition

[Flashcoders] Q:slider that 'snaps to' predefined values

2006-11-07 Thread moveup
I'm bullding an app that uses a slider... id eally I want the slider to 'snap to' predefined values if the slider is within a certain distance.. Ideally I'd build myself from scratch but I'm on a too tight timeline (aren't all timelines too short) does anyone know of a third party component

RE: [Flashcoders] Q:associate class with MovieClip using composition and WITHOUT attachmovie

2006-11-07 Thread Alain Rousseau
It's been discussed in here before, You should look up that thread : http://chattyfig.figleaf.com/pipermail/flashcoders/2003-May/075855.html Or search through Muzak's search page for this list : http://www.muzakdeezign.com/flashcoders/ HTH ! A -Original Message- From: [EMAIL

[Flashcoders] Q;Convert hex values to ra,rb,ga,gb,ba,bb,aa,ab??

2006-11-07 Thread moveup
Hi Woking on a color selctor and I need to dynamically convert loaded hex values to values the ColorTransform class uses (ra,ra,ga,gb,ba,gb,aa,ab) Does anyone know the forumula to do this? Mucho gracias para tu ayuda! Jim Bachalo [e] jbach at bitstream.ca [c] 416.668.0034 [w] www.bitstream.ca

RE: [Flashcoders] Q;Convert hex values to ra,rb,ga,gb,ba,bb,aa,ab??

2006-11-07 Thread Alain Rousseau
Jim, Here's a utility Class I made to tint any MovieClip using the ColorTransform object. Use it and modify it as you wish :) HTH ! A class ca.daroost.utils.Tint { // /*** ** * *

Re: [Flashcoders] Freelancer Class

2006-11-07 Thread slangeberg
I don't think it's bad coding. Documentation generated from this signature might be a bit clearer than documentation generated from a signature where the argument was, e.g., nameValue, since it would be more immediately obvious that the argument name corresponds to the property name. That said,

RE: [Flashcoders] Freelancer Class

2006-11-07 Thread Steven Sacks | BLITZ
Pretty much. You either muddy up your code or your docs. I opt to muddy up docs over code, just like Macromedia. ;) ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:

RE: [Flashcoders] access to drawing API information via ActionScript

2006-11-07 Thread Ben
I think he wants to take what some artist drew in Flash and code it to draw at run-time using the drawing API. I'm not sure what benefit that has except to make designers have to code their drawings instead of draw their drawings and I don't know (m)any designers who would like to do that.

RE: [Flashcoders] Freelancer Class

2006-11-07 Thread Mike Keesey
They (now Adobe) have pretty much done an about-face on this issue. The ActionScript 3.0 documentation (http://livedocs.macromedia.com/flex/2/langref/ ) is excellent. And they do use the argument name = property name syntax in constructors. For example,

RE: [Flashcoders] Freelancer Class

2006-11-07 Thread Sönke Rohde
I don't know if it's a remnant. You may be doing property initialization and need to nail down scope: class Student { private var name:String function Student( name:String ) { this.name = name; } } That's just bad coding. Don't use class variable names as

Re: [Flashcoders] Preciso de programador actionscript/flash/php

2006-11-07 Thread Pedro Rodrigues
i am new to the list but it seems to me this is for discussion of flash programming and not for job offers... On 11/7/06, Zeh Fernando [EMAIL PROTECTED] wrote: Preciso de programador actionscript/flash/php se tiver alguem na lista que seja do Brasil e esteja disponivel para freela ..responda

RE: [Flashcoders] Freelancer Class

2006-11-07 Thread Steven Sacks | BLITZ
I shouldn't have used the term bad to describe these practices and for that I apologize. My eyes see all those extra this references as clutter and some people's eyes see them as useful pointers. I don't use document writing programs like AsDoc or Jdoc so the concerns of people who do are

RE: [Flashcoders] Freelancer Class

2006-11-07 Thread Steven Sacks | BLITZ
They (now Adobe) have pretty much done an about-face on this issue. The ActionScript 3.0 documentation (http://livedocs.macromedia.com/flex/2/langref/ ) is excellent. Macromedia's AS docs were (in)famously bad due to what many considered to be poor examples and they also had many errors. I

[Flashcoders] FLEX 2.0 Chart and PDF Generation

2006-11-07 Thread Claude Hussenet
Is there a way to include a chart created with the FLEX Charting library into a PDF file ? I also would like to know if it's possible to do it in batch mode ! Thank you for your help. Regards-Claude - Sponsored Link Get a free Motorola Razr! Today Only!

Re: [Flashcoders] access to drawing API information via ActionScript

2006-11-07 Thread Robert r. Sanders
I'd second two earlier opinions, plus a few other ideas. 1. You could get a JSFL component written to translate the FLA content to a different structure. 2. You could look at the SVG renders for Flash/SWF; then the drawing could be in a different tool and exported or saved as SVG. 3. With

Re: [Flashcoders] access to drawing API information via ActionScript

2006-11-07 Thread Joseph Balderson
Ben is not asking designers to code their drawings, and I'm pretty sure you cannot access the IDE freeform pencil's actions in JSFL, I tried it once. Unless you somehow manage to get a tablet PC connected to the line drawing tool in Flash but build continuous lines, then yes, /that/ is

Re: [Flashcoders] access to drawing API information via ActionScript

2006-11-07 Thread Joseph Balderson
You would then need to create a 'player' app that reads the data and replicates the drawing's creation, at either a hardcoded or user-defined speed, to 'animate-in' the final drawing, all using the Drawing API. You can see an example of what I'm talking about here:

Re: [Flashcoders] access to drawing API information via ActionScript

2006-11-07 Thread Joseph Balderson
1. Make a drawing. 2. Email it to yourself. 3. Click the link in the email. 4. Watch it recreate the drawing. or just press Replay, DOH! :) if you move your mouse very fast while drawing you can see that it's actually creating lines...

Re: [Flashcoders] Freelancer Class

2006-11-07 Thread Dennis Roche
On 08/11/06, Mike Keesey [EMAIL PROTECTED] wrote: That's just bad coding. Don't use class variable names as argument names. It's not like you don't have a choice about it. ;) I don't think it's bad coding. Documentation generated from this signature might be a bit clearer than

[Flashcoders] about BitmapData.draw() crossdomain

2006-11-07 Thread 赵洪日
when crossdomain , BitmapData.draw Expiration,the swf in a.com,and the jpg in b.com,have any Solution in this? ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:

[Flashcoders] about BitmapData.draw() crossdomain

2006-11-07 Thread 赵洪日
when crossdomain , BitmapData.draw Expiration,the swf in a.com,and the jpg in b.com,have any Solution in this? ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:

[Flashcoders] about BitmapData.draw() crossdomain

2006-11-07 Thread 赵洪日
when crossdomain , BitmapData.draw Expiration,the swf in a.com,and the jpg in b.com,have any Solution in this? ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: