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 seconds or so
when what looked like the Google API-based map loaded on the "IL & MO WC
Venue" page.

Do you have all of your listeners removed when they're not needed? Google
Flash 9 or AS3 & "memory leak." My guess would be to read everything you can
find on Garbage Collection in AS3, starting with these:
http://gskinner.com/blog/archives/2008/04/failure_to_unlo.html
http://www.gskinner.com/blog/archives/2006/06/as3_resource_ma.html

Hope this helps  (I know that feeling),
Tim

On Thu, Jul 24, 2008 at 3:02 PM, David Rogers <[EMAIL PROTECTED]> wrote:

> Hello All,
>
> This is a long one, but PLEASE, PLEASE, read and help Please view the
> site at:  www.hennessyroach.com
>


> Best,
> Davido
>
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[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@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/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://chattyfig.figleaf.com/mailman/listinfo/flashcoders


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:

  max = Math.max(r, g, b);
  min = Math.min(r, g, b);
  l = (max+min) / 2; // 0 to 255

*Actual* light brightness is a bit different, and depends on color 
profile (this is an approximation):


  lr = 0.212671;
  lg = 0.715160;
  lb = 0.072169;
  l = (lr * r) + (lg * g) + (lb * b); // 0 to 255

The latter one is the 'right' way to measure the brightness of a color 
(ie, 0x00ff00 is actually much brighter than 0xff). The others are 
mathematical representation models and doesn't reflect our perception of 
brightness. Choosing the correct one will depend on what you're trying 
to do.


References:
http://en.wikipedia.org/wiki/HSL_color_space
http://www.faqs.org/faqs/graphics/colorspace-faq

Zeh

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?

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 adding) the three color components work, or is
it more nuanced than that?

Thanks,
Jim
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[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 plan on having many, many videos available for viewing  
on our site.


The site works fine on many computers and we've done a soft launch and  
gotten minimal complaints on the technical side. My co-worker,  
however, tests the site on any computer he comes across and he is  
encountering issues of locking up and pages not loading after the  
videos have been viewed.


We broke the site down into it's bare elements with the minimal amount  
of code to stream video through an FLVPlayback Component: the  
main .swf, and the external .swf pages to be loaded(some with  
progressive video) and still had problems with it locking up and pages  
seizing to load after video had begun downloading.


We then tried it with a raw dynamically created Video Class object and  
ran into the same issues.


I have set it up so that the video stops downloading to the users  
computer upon exiting a video page, this however, comes with a browser  
connection error going on in the  background( view it in safari with  
the activity window to see). We've tested this as well and still had  
problem whether the connection error occurs or not.


We will be doing a massive email blast for the new site to over 15,000  
people in our database. We wish to get business from the site so it is  
important that my boss doesn't get any phone calls or emails about the  
site crashing.


So, all that being said, the following is a list of unwanted behaviors  
the site displays and the viewing parameters(operating system,  
browser) where we encountered them. If you see anything that looks  
like a common reaction flash would have when trying to progressively  
download video, please identify it as such and let me know how I can  
fix it.  Also, any forums, chats, articles or livedocs you know of on  
this specific topic would help immensely.


UNWANTED BEHAVIORS ON WINDOWS XP SP2 with INTERNET EXPLORER 7 FLASH  
VERSION 9:


Site locks up after viewing video (sometimes two videos at most)
Site won't load other external .swf's after video has be played
Site stops while video is playing and then upon refresh won't load any  
video at all
Site won't allow you to refresh or view the site again until you close  
out of Internet Explorer but not on Firefox or Safari


Please view the site at:  www.hennessyroach.com

Thank you so much for your help and all you have done for me over the  
last year. I look forward to hearing your suggestions.  If anyone  
encounters errors, please send them back to me along with the browser  
you are using.

Best,
Davido
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


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?



Thanks. I found this, the beginning of which should work:

http://www.easyrgb.com/index.php?X=MATH&H=18#text18


-Jim
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


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 (hexString.length < 6) hexString = "0" + hexString;
if (addPound) hexString = "#" + hexString;
if (addOx) hexString = "0x" + hexString;
if (upperCase) hexString = hexString.toUpperCase();
return hexString;
}

Thanks again for your help.

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 innovative learning
ideas and technologies?
Check out our internal  GT&O Innovative Learning Blog & subscribe. 

 
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


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@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


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:
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 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, 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://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>



-- 
...helmut
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


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 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 adding) the three color components work, or is
> it more nuanced than that?
>
> Thanks,
> Jim
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


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 innovative learning
ideas and technologies?
Check out our internal  GT&O Innovative Learning Blog & subscribe. 

 
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


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 output with a pound sign and leading zeroes.


//--
function decimalToHex(decVal:Number):String {
  var digits:String = "012345689ABCDEF";
  var returnStr:String = "";
  while (decVal) {
returnStr += digits.substr(decVal & 15 -1, 1);
decVal >>= 4;
  }
  return "#" + ("00" + returnStr).substr(-6,6);
}

trace(decimalToHex(65535));

// outputs "#00"

//--


-Jim
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


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 the user as #006699.  thanks though!
>
> 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 innovative learning
> ideas and technologies?
> Check out our internal  GT&O Innovative Learning Blog & subscribe.
>
>
> ___
>  Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


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;
}

function hex2dec(input):String {
return String(uint(input));
}

// test run
var decColor:Number = 102;
var hexColor:String = dec2hex(decColor);
trace("hex: "+hexColor);
trace("dec: "+hex2dec(hexColor));

hth,
Bob

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Merrill,
Jason
Sent: Thursday, July 24, 2008 10:47 AM
To: Flash Coders List
Subject: [Flashcoders] ColorPicker.selectedValue to #hex?

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 
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 innovative learning
ideas and technologies?
Check out our internal  GT&O Innovative Learning Blog & subscribe. 

 
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[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 adding) the three color components work, or 
is it more nuanced than that?


Thanks,
Jim
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


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 & Media

Join the Bank of America Flash Platform Developer Community 

Are you a Bank of America associate interested in innovative learning
ideas and technologies?
Check out our internal  GT&O Innovative Learning Blog & subscribe. 

 
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


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 not help, but you can get each RGB color value from the 
selectedValue:


//--
  redValue = selectedValue >> 16;
  greenValue = (selectedValue >> 8) & 255;
  blueValue = selectedValue & 255;
//--

If you're manipulating the number, as opposed to storing or displaying 
it, can't you just work with it in decimal, even if you're using hex 
numbers as operands? This should change the green value to 256:


//--
  newColorValue = selectedValue | 0x00FF00;
//--


If you do need to convert it, what about something like this? (Tested 
only in AS2, but you get the idea.):


//--
function decimalToHex(decVal:Number):String {
  var digits:String = "012345689ABCDEF";
  var returnStr:String = "";
  while (decVal) {
returnStr += digits.substr(decVal & 15 -1, 1);
decVal >>= 4;
  }
  return returnStr;
}

trace(decimalToHex(65535));

// outputs ""

//--

-jim

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


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 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, 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://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>



-- 
...helmut
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


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, 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://chattyfig.figleaf.com/mailman/listinfo/flashcoders
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


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 Developer Community 

Are you a Bank of America associate interested in innovative learning
ideas and technologies?
Check out our internal  GT&O Innovative Learning Blog & subscribe. 

 

>>-Original Message-
>>From: [EMAIL PROTECTED] 
>>[mailto:[EMAIL PROTECTED] On Behalf 
>>Of Merrill, Jason
>>Sent: Thursday, July 24, 2008 1:47 PM
>>To: Flash Coders List
>>Subject: [Flashcoders] ColorPicker.selectedValue to #hex?
>>
>>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
>>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 innovative 
>>learning ideas and technologies?
>>Check out our internal  GT&O Innovative Learning Blog & subscribe. 
>>
>> 
>>___
>>Flashcoders mailing list
>>Flashcoders@chattyfig.figleaf.com
>>http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>>
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[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 
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 innovative learning
ideas and technologies?
Check out our internal  GT&O Innovative Learning Blog & subscribe. 

 
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


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. and
so forth.
That will allow you to find your asset quite faster rather than going one by
one and finding out that your problem is in asset #294..


On Thu, Jul 24, 2008 at 11:51 AM, Joe Cutting <[EMAIL PROTECTED]> wrote:

> >>
> 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.
> >>
> Thank you for this. It's good to know that I'm not the only one who's had
> this. I also gives me
> some way of looking for the problem. Currently my library has 297 items and
> removing them isn't straightforward because they're referenced in the code
> so it creates knock on errors. So it may all take some time.
>
> Presumably this type of thing will get better with flash CS4 as ".fla"
> files will become an open XML based format and we'll be able to write out
> our own validators/checkers.
>
> Cheers
>
> Joe
>
>
>
>
> Joe Cutting
> Computer exhibits and installations
> www.joecutting.com
> 35 Hospital Fields Road, York, YO10 4DZ
> 01904 624681
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>



-- 
...helmut
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[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 out there has any prior
> experience
Yes, I've done this just as you said by encoding the message in the url.
You can try it here.

http://www.thebuzzwebsite.co.uk/getinvolved/ReadEmail.php

The php ends up being very simple as you don't have to store every message.
The downsides are:
- You need to encode the message within the url otherwise people can 
just read it in the url
- You need to restrict the length of the message otherwise the url 
ends up being really long. This is not a problem for the browser but 
can be a problem if the url gets emailed.

- You don't have a record of what was sent in case of abuse

However, this one has been up and working for 6 months now and the 
client's happy so its not a bad way to go.


Cheers

Joe




Joe Cutting
Computer exhibits and installations
www.joecutting.com
35 Hospital Fields Road, York, YO10 4DZ
01904 624681
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


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://chattyfig.figleaf.com/mailman/listinfo/flashcoders


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.
>>
Thank you for this. It's good to know that I'm not the only one who's 
had this. I also gives me
some way of looking for the problem. Currently my library has 297 
items and removing them isn't straightforward because they're 
referenced in the code so it creates knock on errors. So it may all 
take some time.


Presumably this type of thing will get better with flash CS4 as 
".fla" files will become an open XML based format and we'll be able 
to write out our own validators/checkers.


Cheers

Joe




Joe Cutting
Computer exhibits and installations
www.joecutting.com
35 Hospital Fields Road, York, YO10 4DZ
01904 624681
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


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 Bitmap and apply smoothing, and you'll
be able to resize without image degradation.

function loadTheImage(iMG):void {
url = "uploads/"+iMG+".jpg";
var request:URLRequest = new URLRequest(url);
var loader:Loader = new Loader();
loader.load(request);
loader.contentLoaderInfo.addEventListener(Event.COMPLETE,
onThumbLoad);

loader.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS,
preLoader);

}

function onThumbLoad(e:Event):void {
//"cast" the loaded content as Bitmap
var b:Bitmap;
b = e.target.content as Bitmap;
b.smoothing = true;

this.img_mc.addChild(b);
}

.m


On Tue, Jul 22, 2008 at 12:40 PM, Lehr, Theodore M (N-SGIS)
<[EMAIL PROTECTED]> wrote:
> I have a small movie where I am importing images and dynamically
> resizing them - the problem is that when it is shrunken - it gets
really
> pixellated - I am using jpegs - is there a way to make it so they look
> better - maybe import a different type of image ?
>
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


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: Thursday, July 24, 2008 11:37 AM
To: Flash Coders List
Subject: RE: [Flashcoders] barcode

>>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.  

Looks like there is a free one here:

http://www.barcodesinc.com/free-barcode-font/


By the way, does anyone know of a PDA device that can also scan a 1D or
2D barcode?  Not a bar code scanner device, I mean a PDA device that can
also scan a bar code.   I'd be interested. Thanks.


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 innovative learning
ideas and technologies?
Check out our internal  GT&O Innovative Learning Blog & subscribe. 

 
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders



___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


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.  

Looks like there is a free one here:

http://www.barcodesinc.com/free-barcode-font/


By the way, does anyone know of a PDA device that can also scan a 1D or
2D barcode?  Not a bar code scanner device, I mean a PDA device that can
also scan a bar code.   I'd be interested. Thanks.


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 innovative learning
ideas and technologies?
Check out our internal  GT&O Innovative Learning Blog & subscribe. 

 
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[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, same machine, same 
configuration.my screen is turned on! :]


thx
L

Latcho a écrit :
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 internal ).
Make sure that for the recording configuration of your s-card, only 
"record microphone" is checked.

Latcho

allandt bik-elliott (thefieldcomic.com) wrote:
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 made from outcoming 
sound of

the microphone ?

It start when flash is done with the properties board for microphone
detection. We need to have sound recorded but no sound outusing a
headphone can't be the only solution.

thx
L


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders



___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

  


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


__ Information from ESET NOD32 Antivirus, version of virus 
signature database 3257 (20080710) __


The message was checked by ESET NOD32 Antivirus.

http://www.eset.com





___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


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.  
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) and
2. Within each clip have section chapter links that load in as they  
become
available. You'll need to use cue points for this. I still haven't  
worked

out the finer points of this approach, mostly because I'm using the
chapter links as 'summary' markers also.

HTH

Paul


On Thu, July 24, 2008 11:03 am, Ali Drongo wrote:

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  before the whole  
thing

is loaded)

If not I guess my best plan is to slice up my long flv into lots of
little ones and make a custom seekbar that shows the chapters and
allows the user to skip from chapter to chapter.

What do yous think?

Thanks!
Ali



___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders




--

Check out my website: http://www.pauljinks.co.uk :o)


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


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 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 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. 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) and
>>> 2. Within each clip have section chapter links that load in as they
>>> become
>>> available. You'll need to use cue points for this. I still haven't worked
>>> out the finer points of this approach, mostly because I'm using the
>>> chapter links as 'summary' markers also.
>>>
>>> HTH
>>>
>>> Paul
>>>
>>>
>>> On Thu, July 24, 2008 11:03 am, Ali Drongo wrote:
>>>
 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  before the whole thing
 is loaded)

 If not I guess my best plan is to slice up my long flv into lots of
 little ones and make a custom seekbar that shows the chapters and
 allows the user to skip from chapter to chapter.

 What do yous think?

 Thanks!
 Ali



 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


>>>
>>> --
>>> 
>>> Check out my website: http://www.pauljinks.co.uk :o)
>>>
>>>
>>> ___
>>> Flashcoders mailing list
>>> Flashcoders@chattyfig.figleaf.com
>>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>>>
>>
>> ___
>> Flashcoders mailing list
>> Flashcoders@chattyfig.figleaf.com
>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>>
>>
>>
>
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


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:

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.  
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) and
2. Within each clip have section chapter links that load in as they
become
available. You'll need to use cue points for this. I still haven't
worked
out the finer points of this approach, mostly because I'm using the
chapter links as 'summary' markers also.

HTH

Paul


On Thu, July 24, 2008 11:03 am, Ali Drongo wrote:

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  before the whole  
thing

is loaded)

If not I guess my best plan is to slice up my long flv into lots of
little ones and make a custom seekbar that shows the chapters and
allows the user to skip from chapter to chapter.

What do yous think?

Thanks!
Ali



___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders




--

Check out my website: http://www.pauljinks.co.uk :o)


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders





___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders



--
Alistair Colling
Interactive Developer

FPP Brand Communications (Newcastle upon Tyne)
The Courtyard
Dinsdale Place
Sandyford
Newcastle upon Tyne NE2 1BD
Telephone: +44 (0)191 261 6662
Fax: +44 (0)191 233 2511

This transmission is confidential and intended solely for the person or 
organisation to whom it is addressed.
It may contain privileged and confidential information. If you are not the 
intended recipient, you should not
copy, distribute or take any action in reliance on it. If you have received 
this transmission in error, please
notify the sender at the e-mail address above. 
FPP Design Limited. Reg. Office: The Courtyard, Dinsdale Place, Sandyford, Newcastle upon Tyne NE2 1BD. 
Registered Number 3775564. Registered in England and Wales. Visit our website at http://www.fpp.net/


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


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 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 made from outcoming sound of
the microphone ?

It start when flash is done with the properties board for microphone
detection. We need to have sound recorded but no sound outusing a
headphone can't be the only solution.

thx
L


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders



___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


__ Information from ESET NOD32 Antivirus, version of virus signature 
database 3257 (20080710) __

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com



  


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


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 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. 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) and
2. Within each clip have section chapter links that load in as they 
become
available. You'll need to use cue points for this. I still haven't 
worked

out the finer points of this approach, mostly because I'm using the
chapter links as 'summary' markers also.

HTH

Paul


On Thu, July 24, 2008 11:03 am, Ali Drongo wrote:

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  before the whole thing
is loaded)

If not I guess my best plan is to slice up my long flv into lots of
little ones and make a custom seekbar that shows the chapters and
allows the user to skip from chapter to chapter.

What do yous think?

Thanks!
Ali



___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders




--

Check out my website: http://www.pauljinks.co.uk :o)


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders





___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


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 internal ).
Make sure that for the recording configuration of your s-card, only 
"record microphone" is checked.

Latcho

allandt bik-elliott (thefieldcomic.com) wrote:

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 made from outcoming sound of
the microphone ?

It start when flash is done with the properties board for microphone
detection. We need to have sound recorded but no sound outusing a
headphone can't be the only solution.

thx
L


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders



___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

  


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


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) and
2. Within each clip have section chapter links that load in as they become
available. You'll need to use cue points for this. I still haven't worked
out the finer points of this approach, mostly because I'm using the
chapter links as 'summary' markers also.

HTH

Paul


On Thu, July 24, 2008 11:03 am, Ali Drongo wrote:
> 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  before the whole thing
> is loaded)
>
> If not I guess my best plan is to slice up my long flv into lots of
> little ones and make a custom seekbar that shows the chapters and
> allows the user to skip from chapter to chapter.
>
> What do yous think?
>
> Thanks!
> Ali
>
>
>
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>


-- 

Check out my website: http://www.pauljinks.co.uk :o)


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[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  before the whole thing  
is loaded)


If not I guess my best plan is to slice up my long flv into lots of  
little ones and make a custom seekbar that shows the chapters and  
allows the user to skip from chapter to chapter.


What do yous think?

Thanks!
Ali



___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


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 made from outcoming sound of
> the microphone ?
>
> It start when flash is done with the properties board for microphone
> detection. We need to have sound recorded but no sound outusing a
> headphone can't be the only solution.
>
> thx
> L
>
>
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


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, how do files in the library can become so corrupted?
> > This would help to avoid it I hope.
>
> Because Flash, like a lot of software, ain't perfect.
>
> There's no reliable way to make an image get corrupted.  Sometimes, the
> corruption is simple, like it says "Image Cannot Be Displayed" in the
> library preview, and it won't show up on stage.  Sometimes, it gets much
> worse.
>
> The solution is (often) fairly simple.  You have to save the image out
> again with a different name, because if you try to copy the same image and
> rename it, Flash will still get corrupted.
>
> Sometimes, it won't like it right away.  Sometimes, it won't like it until
> you Save and Compact.  Sometimes, it will work fine until you do a random
> amount of work in the file at which point it will stop working.  Sometimes,
> it will still show up in the library preview and the stage but it will cause
> the Flash file to have problems when compiling or opening on other
> computers.
>
> In other words, Flash ain't perfect (CS3 is the best example of that, while
> Flash 8 is the closest it's ever been - in one version they went from best
> to worst).
>
> There's no solution and don't expect a fix because this issue has been
> around since at least Flash 5 and they've never fixed it.  I don't even
> think they know what it is or why it happens, and it happens so
> infrequently, they simply don't talk about it.  The effort to figure it out
> might not make sense economically.
>
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


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 Of Steven Sacks
Sent: 23 July 2008 19:48
To: Flash Coders List
Subject: Re: [Flashcoders] AS3 shop

Is you or ain't you a developer?

If you know AS3, and you found an AS2 solution, why don't you port it to
AS3?

If you're making an online shop though, might I recommend Flex, which has
lots 
of great libraries available for e-commerce.  Here's a bonus - it's AS3!  :)
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders