Re: [Flashcoders] Best Practices for Flash Video and Flash Site Delivery AS3

2008-07-24 Thread tim shaya
Hi David, The site seems to work fine on a G4, Flash 9,0,124 on Firefox 2 and Safari 3. The video is a bit choppy at the beginning but that's common on this old system. I watched 4 to 5 videos and in each browser and had nor problems loading pages afterwards. I got the "rainbow wheel" for 30 seco

[Flashcoders] AS3 combine 2 objects

2008-07-24 Thread Latcho
Hello, What are my options to "concat" 2 objects to a new one in an aesthetic short way ? I don't know byte arrays, I saw a nice clone method with a byte array and I wondered or concat is also possible. Latcho ___ Flashcoders mailing list Flashcoders@

Re: [Flashcoders] Compare brightness of RGB values

2008-07-24 Thread Zeh Fernando
Oops: c = 0xc0ffee; r = c >> 16 & 0xff; g = c >> 8 & 0xff; b = 0xff; Should be: c = 0xc0ffee; r = c >> 16 & 0xff; g = c >> 8 & 0xff; b = c & 0xff; Zeh ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyf

Re: [Flashcoders] Compare brightness of RGB values

2008-07-24 Thread Zeh Fernando
Funny, was just messing with this now. Here's a striped down version. Find RGB first: c = 0xc0ffee; r = c >> 16 & 0xff; g = c >> 8 & 0xff; b = 0xff; Brightness/Value according to HSV/HSB is simple: l = Math.max(r, g, b); // 0 to 255 Lightness according to HSL is sort of simple too:

[Flashcoders] Best Practices for Flash Video and Flash Site Delivery AS3

2008-07-24 Thread David Rogers
Hello All, This is a long one, but PLEASE, PLEASE, read and help. I've recently built a fairly complex flash website in ActionScript 3.0 that uses a main .swf to load each individual page of the site. Some of those pages have video progressively downloading through them. In the future we

Re: [Flashcoders] Compare brightness of RGB values

2008-07-24 Thread Jim McIntyre
Hans Wichman wrote: Hi, just guessing here, but i think converting them to HSB first might work. Then you only need the B value. hth JC On Thu, Jul 24, 2008 at 8:55 PM, Jim McIntyre <[EMAIL PROTECTED]> wrote: Does anyone know a good formula for comparing brightness of RGB color values? Tha

RE: [Flashcoders] ColorPicker.selectedValue to #hex?

2008-07-24 Thread Merrill, Jason
Here is the function I ended up with if it's useful to anyone, somewhat deluxe-ified: public static function decimalToHexidecimal(number:Number, upperCase:Boolean=false, addPound:Boolean=false, addOx:Boolean=false ):String { var hexString:String = Number(number).toString(16); while

Re: [Flashcoders] You cannot debug this SWF because it does not contain any Actionscript

2008-07-24 Thread Steven Sacks
Yeah, what you should do is the 50 percent recursive deletion. Delete half the items and test. Then delete half of the half that has the bad library item in it and test. Repeat until you hone in on it. ___ Flashcoders mailing list Flashcoders@chatty

RE: [Flashcoders] Resizing Images

2008-07-24 Thread Lehr, Theodore M (N-SGIS)
What if I max out at 2.0 - how would I smooth the images? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Helmut Granda Sent: Thursday, July 24, 2008 2:28 PM To: Flash Coders List Subject: Re: [Flashcoders] Resizing Images you need the bitmap class: impor

Re: [Flashcoders] Compare brightness of RGB values

2008-07-24 Thread Hans Wichman
Hi, just guessing here, but i think converting them to HSB first might work. Then you only need the B value. hth JC On Thu, Jul 24, 2008 at 8:55 PM, Jim McIntyre <[EMAIL PROTECTED]> wrote: > Does anyone know a good formula for comparing brightness of RGB color > values? > > Obviously, 0xCC i

RE: [Flashcoders] ColorPicker.selectedValue to #hex?

2008-07-24 Thread Merrill, Jason
OK cool. Thanks Jim, Hans, Robert. These all look good. Much appreciated. Jason Merrill Bank of America Enterprise Technology & Global Risk L&LD Instructional Technology & Media Join the Bank of America Flash Platform Developer Community Are you a Bank of America associate interested in

Re: [Flashcoders] ColorPicker.selectedValue to #hex?

2008-07-24 Thread Jim McIntyre
Merrill, Jason wrote: If you're manipulating the number, as opposed to storing or displaying it, Thanks, but yeah, the purpose is to display the hex #, the full 6 digits, to the user as #006699. thanks though! The function I included at the bottom should do that. I modified it to pad the

Re: [Flashcoders] ColorPicker.selectedValue to #hex?

2008-07-24 Thread Hans Wichman
Hi Jason, trace (Number(102).toString(16)); hth, JC On Thu, Jul 24, 2008 at 8:46 PM, Merrill, Jason < [EMAIL PROTECTED]> wrote: > >>If you're manipulating the number, as opposed to storing or > >>displaying it, > > Thanks, but yeah, the purpose is to display the hex #, the full 6 > digits, to t

RE: [Flashcoders] ColorPicker.selectedValue to #hex?

2008-07-24 Thread Robert Leisle
Hi Jason, Is something like this what you need? function dec2hex(input):String { var hex:Number; var stgHex:String = uint(input).toString(16); while (stgHex.length < 6){ stgHex = "0"+stgHex; } stgHex = "0x"+stgHex; return stgHex; }

[Flashcoders] Compare brightness of RGB values

2008-07-24 Thread Jim McIntyre
Does anyone know a good formula for comparing brightness of RGB color values? Obviously, 0xCC is brighter than 0x33. But one can't always infer that a larger number is brighter than a smaller: 0x33 is a larger number, but much darker than, 0x00. Would averaging (or simply add

RE: [Flashcoders] ColorPicker.selectedValue to #hex?

2008-07-24 Thread Merrill, Jason
>>If you're manipulating the number, as opposed to storing or >>displaying it, Thanks, but yeah, the purpose is to display the hex #, the full 6 digits, to the user as #006699. thanks though! Jason Merrill Bank of America Enterprise Technology & Global Risk L&LD Instructional Technology & M

Re: [Flashcoders] ColorPicker.selectedValue to #hex?

2008-07-24 Thread Jim McIntyre
Merrill, Jason wrote: How can I translate the ColorPicker.selectedValue to a 6 digit hex number? i.e. if the color selected is, 66, if I trace ColorPicker.selectedColor, traces 102. I tried gooling for an Actionscript hex converter, but didn't come up with anything. Thanks. This may no

Re: [Flashcoders] Resizing Images

2008-07-24 Thread Helmut Granda
you need the bitmap class: import flash.display.Bitmap; On Thu, Jul 24, 2008 at 1:01 PM, Lehr, Theodore M (N-SGIS) < [EMAIL PROTECTED]> wrote: > The class or interface 'Bitmap' could not be loaded > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Ma

RE: [Flashcoders] Resizing Images

2008-07-24 Thread Lehr, Theodore M (N-SGIS)
The class or interface 'Bitmap' could not be loaded -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matt S. Sent: Thursday, July 24, 2008 1:09 PM To: Flash Coders List Subject: Re: [Flashcoders] Resizing Images On Thu, Jul 24, 2008 at 12:50 PM, Lehr, Theo

RE: [Flashcoders] ColorPicker.selectedValue to #hex?

2008-07-24 Thread Merrill, Jason
Sorry, that was meant for the Flex list, but it could also easily be answered here as well. I'm using the Flex 3 ColorPicker component. Thanks. Jason Merrill Bank of America Enterprise Technology & Global Risk L&LD Instructional Technology & Media Join the Bank of America Flash Platform Develo

[Flashcoders] ColorPicker.selectedValue to #hex?

2008-07-24 Thread Merrill, Jason
How can I translate the ColorPicker.selectedValue to a 6 digit hex number? i.e. if the color selected is, 66, if I trace ColorPicker.selectedColor, traces 102. I tried gooling for an Actionscript hex converter, but didn't come up with anything. Thanks. Jason Merrill Bank of America Enter

Re: [Flashcoders] You cannot debug this SWF because it does not contain any Actionscript

2008-07-24 Thread Helmut Granda
If I was in your case (and as you commented the debugger is the one that prompts you for the error) I would delete the library items in chucks of say 50 or even 100, then debug, if he debugger doesn't say that it cant compile the movie because you dont have AS in it, then you move to the next set.

[Flashcoders] Re: flash project with Ecard component

2008-07-24 Thread Joe Cutting
> I was curious if > anyone had done something similar or any ideas on how to go about this? > I'm having trouble deciding what technology to use (database xml or text > files) > to store the data in. a webdeveloper friend of mine says the message > could be encoded in the url itself, if anyone ou

Re: [Flashcoders] Resizing Images

2008-07-24 Thread Matt S.
On Thu, Jul 24, 2008 at 12:50 PM, Lehr, Theodore M (N-SGIS) <[EMAIL PROTECTED]> wrote: > I get an error on: var b:Bitmap; > > It allows for BitmapData? > What error did you get? .m ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://ch

Re: [Flashcoders] You cannot debug this SWF because it does not contain any Actionscript

2008-07-24 Thread Joe Cutting
>> What you've got here is the case of a corrupted library item. It happens sometimes and there's only one thing you can do about it. What we had to (and you have to) do is go through your library symbols one by one, deleting each one until you find the sucker, and then replacing it if need be

RE: [Flashcoders] Resizing Images

2008-07-24 Thread Lehr, Theodore M (N-SGIS)
I get an error on: var b:Bitmap; It allows for BitmapData? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matt S. Sent: Tuesday, July 22, 2008 12:59 PM To: Flash Coders List Subject: Re: [Flashcoders] Resizing Images smoothing. Cast the image as a Bitma

RE: [Flashcoders] barcode

2008-07-24 Thread Steve Abaffy
It all depends on what is the code for the barcode, There are many types. You can check out IDAutomation not sure of the website but they sell a bunch of different barcode type fonts. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Merrill, Jason Sent: Thu

RE: [Flashcoders] barcode

2008-07-24 Thread Merrill, Jason
>>If I want to make a mc that is a bar code - is it a simple >>matter of getting a bar code font? Yep - should be. Or you could draw your own vertical boxes using the patterns outlined here (http://en.wikipedia.org/wiki/Universal_Product_Code) to create the bit pattern, if it's a UPC bar code.

[Flashcoders] barcode

2008-07-24 Thread Lehr, Theodore M (N-SGIS)
If I want to make a mc that is a bar code - is it a simple matter of getting a bar code font? ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Re: [Flashcoders] stop microphone echos

2008-07-24 Thread laurent
Come on guys we are developpers I stoped having probems with my sound cards a long time ago, either with windows registry, windows actually gets better, at least for the developpement part, now they just need to fix the graphics and security alert ;) my app is echoing, midomi.com is not

Re: [Flashcoders] Buffer flv from midpoint?

2008-07-24 Thread Ali Drongo
Cheers Paul. that's a help. I've just realised that youtube's video player will buffer your video midway thru a movie, Does anyone know how they do this? Thanks :) Ali On 24 Jul 2008, at 11:47, Paul Jinks wrote: hi Ali I'm working on a similar project, also using progressive download. W

Re: [Flashcoders] Buffer flv from midpoint?

2008-07-24 Thread Jason Van Cleave
there were some efforts with php to create a "pseudo streaming" server http://www.flashcomguru.com/index.cfm/2005/11/2/Streaming-flv-video-via-PHP-take-two On Thu, Jul 24, 2008 at 9:03 AM, Christoffer Enedahl < [EMAIL PROTECTED]> wrote: > You need to have a flv streaming service running on a ser

Re: [Flashcoders] Buffer flv from midpoint?

2008-07-24 Thread Alistair Colling
Thanks Christoffer I'll check it out. Ali On 24 Jul 2008, at 14:03, Christoffer Enedahl wrote: You need to have a flv streaming service running on a server. Ie Flash Media Server. This is an open source alternative: http://osflash.org/red5. I have not tried it. /Christoffer Ali Drongo skrev:

Re: [Flashcoders] stop microphone echos

2008-07-24 Thread laurent
They do it on my machine here : http://www.midomi.com Find out who sings like you do... allandt bik-elliott (thefieldcomic.com) a écrit : if the mic is picking up the speakers on the end users machine then there's really very little you can do about it - anyone who plays mmo's with ventrilo wil

Re: [Flashcoders] Buffer flv from midpoint?

2008-07-24 Thread Christoffer Enedahl
You need to have a flv streaming service running on a server. Ie Flash Media Server. This is an open source alternative: http://osflash.org/red5. I have not tried it. /Christoffer Ali Drongo skrev: Cheers Paul. that's a help. I've just realised that youtube's video player will buffer your vid

Re: [Flashcoders] stop microphone echos

2008-07-24 Thread Latcho
if your sound mixer recording configuration is configured to record "stereo mix" you route the sound of your microphone through your flash application back to the soundcard and then it stays looping (same idea as if your speakers play too load and the microphone picsks it up again, but then in

Re: [Flashcoders] Buffer flv from midpoint?

2008-07-24 Thread Paul Jinks
hi Ali I'm working on a similar project, also using progressive download. What I'm doing is using a combination of 2 approaches: 1. Divide the flv into smaller sections - we've gone for 5-8 mins, which is still fairly big I think (otherwise your users are using bandwidth they probably don't need)

[Flashcoders] Buffer flv from midpoint?

2008-07-24 Thread Ali Drongo
Hi there, I have to build a video player that plays a video with a number of chapters that the user can skip between. The chapters need to play sequentially also and also. Is there a way can get an flv to buffer from a new chosen point of playback? (i.e. if the user skips to chapter 6 bef

Re: [Flashcoders] stop microphone echos

2008-07-24 Thread allandt bik-elliott (thefieldcomic.com)
if the mic is picking up the speakers on the end users machine then there's really very little you can do about it - anyone who plays mmo's with ventrilo will testify to that On Thu, Jul 24, 2008 at 6:11 AM, laurent <[EMAIL PROTECTED]> wrote: > Hi! > > Anyone knows how to stop the beautifull echo

Re: [Flashcoders] You cannot debug this SWF because it does not contain any Actionscript

2008-07-24 Thread allandt bik-elliott (thefieldcomic.com)
if you put any code on the timeline and then make that layer a guide, it can also happen not that it's ever happened to me erm... was a mate of mine, yeh that's it On Thu, Jul 24, 2008 at 4:09 AM, Steven Sacks <[EMAIL PROTECTED]> wrote: > Helmut Granda wrote: > > The question now is, h

RE: [Flashcoders] AS3 shop

2008-07-24 Thread Romuald Quantin
Matter of time, I need a front-end and ideally a back-end on this shop with log and command management, I just don't have time to build my own. If I don't find anything I might go to port an AS2 solution. Romu -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf