Re: [Flashcoders] Apple developing flash-like alternative

2010-05-10 Thread Cedric Muller

Don't bother :)
Apple is doing its own playground in its own special island + walled  
gardens how could they develop a flash concurrent that would sit  
on the 'ubiquitous' side of things ??


The same ubiquity than with Quicktime Player or Safari ? :D (sorry,  
but ... these only work on Macs, again )


I'd rather not go negative, especially on this list which is so  
valuable to me, but this Flash Alternative news simply disgusts  
me.  It's as underhanded as a business can get.


- MM


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


Re: [Flashcoders] Re: Re: Producing a random list with no repeats

2010-05-10 Thread Henrik Andersson

Alan Neilsen wrote:

Thanks to all the suggestions re my random list problem. Particular thanks to 
Gerry Beauregard for this suggestion:

It's probably best just to create an Array or Vector containing numbers 1 to 40.  
(Vectors are only available in AS3, not sure about Array).  Shuffle the array, then 
choose the first 10 elements..

The following method of shuffling an array works fine in AS2:

var numArray:Array = new Array();
numArray = 
[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40];
shuffle(numArray);

function shuffle(arr:Array) {
  var i:Number;
  for (i in arr) {
var tmp = arr[i];
var rNr:Number = Math.floor(Math.random()*arr.length);
arr[i] = arr[rNr];
arr[rNr] = tmp;
  }
}



I doubt the quality of that algorithm. If you do some tests, it probably 
has a bias of some sort. You have forced a sorting algorithm to act as a 
randomization algorithm.


I prefer to just use the hat picking algorithm instead.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Apple developing flash-like alternative

2010-05-10 Thread allandt bik-elliott (thefieldcomic.com)
one of the best comments on digg:

[quote]
iTunes and Quicktime are absolute piles of shit. People talk about Flash
crashing a browser? Quicktime is just as bad. Complete shit.

iTunes is just as bad as Outlook when it comes to bloatware. Not to mention
a horrible to use piece of software.
[/quote]

amazingly true

On 10 May 2010 08:02, Cedric Muller flashco...@benga.li wrote:

 Don't bother :)
 Apple is doing its own playground in its own special island + walled
 gardens how could they develop a flash concurrent that would sit on the
 'ubiquitous' side of things ??

 The same ubiquity than with Quicktime Player or Safari ? :D (sorry, but ...
 these only work on Macs, again )


  I'd rather not go negative, especially on this list which is so valuable
 to me, but this Flash Alternative news simply disgusts me.  It's as
 underhanded as a business can get.

 - MM


 ___
 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] Apple developing flash-like alternative

2010-05-10 Thread allandt bik-elliott (thefieldcomic.com)
ah just re-read the article - this is a javascript framework

so nothing to see i guess?

a

On 10 May 2010 10:19, allandt bik-elliott (thefieldcomic.com) 
alla...@gmail.com wrote:

 one of the best comments on digg:

 [quote]
 iTunes and Quicktime are absolute piles of shit. People talk about Flash
 crashing a browser? Quicktime is just as bad. Complete shit.

 iTunes is just as bad as Outlook when it comes to bloatware. Not to mention
 a horrible to use piece of software.
 [/quote]

 amazingly true

 On 10 May 2010 08:02, Cedric Muller flashco...@benga.li wrote:

 Don't bother :)
 Apple is doing its own playground in its own special island + walled
 gardens how could they develop a flash concurrent that would sit on the
 'ubiquitous' side of things ??

 The same ubiquity than with Quicktime Player or Safari ? :D (sorry, but
 ... these only work on Macs, again )


  I'd rather not go negative, especially on this list which is so valuable
 to me, but this Flash Alternative news simply disgusts me.  It's as
 underhanded as a business can get.

 - MM


 ___
 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] debugging Flash apps

2010-05-10 Thread allandt bik-elliott (thefieldcomic.com)
i use flashdevelop, the debugger plugin for firefox and a console logging
class that i wrote which i pick up using firebug in firefox

a



On 8 May 2010 09:01, Jim Andrews j...@vispo.com wrote:



  I tend to use MonsterDebugger a lot. It is easy to debug stuff in almost
 any
 setting outside of mobile devices. I use that and a combo of trace
 statements and the IDE Debugger.

 http://www.demonsterdebugger.com/

 Ktu


 I installed DeMonster debugger a while ago, and it seems great for run-time
 debugging.

 But I'm such a noobie at ActionScript that what I currently need are good
 compilation error texts--which the Flash IDE does offer, sometimes.

 I'm not quite at the stage where run-time debugging is an issue, so mired
 am I in the writing mechanics of compilable code in ActionScript.

 But the Flash IDE is just too slow to be anything but deadly dull
 concerning coding and debugging.

 So I think I will give FDT a try. And use DeMonster for run-time debugging,
 possibly, depending on how it stacks up against FDT run-time debugging.

 Many thanks for the suggestions.

 ja
 http://vispo.com

 ps: here is some generative art i did in director (shockwave):
 http://vispo.com/dbcinema/londonhypotrochoid
 http://vispo.com/dbcinema/newyork
 http://vispo.com/dbcinema/vancouver
 ___
 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] Apple developing flash-like alternative

2010-05-10 Thread Cedric Muller


Yes, this blog post http://www.uza.lt/blog/2010/05/gianduia-vs-flash/ 
 gives two examples:


http://concierge.apple.com/reservations/R002
http://iphone-reserve.apple.com/WebObjects/RPRCustomer.woa/wo/0.

beware, these are extremely horrible proof of concept. The static  
forms loading is way too long ... and somewhat seems abnormal :|


Cedric




ah just re-read the article - this is a javascript framework

so nothing to see i guess?

a

On 10 May 2010 10:19, allandt bik-elliott (thefieldcomic.com) 
alla...@gmail.com wrote:


one of the best comments on digg:

[quote]
iTunes and Quicktime are absolute piles of shit. People talk about  
Flash

crashing a browser? Quicktime is just as bad. Complete shit.

iTunes is just as bad as Outlook when it comes to bloatware. Not  
to mention

a horrible to use piece of software.
[/quote]

amazingly true

On 10 May 2010 08:02, Cedric Muller flashco...@benga.li wrote:


Don't bother :)
Apple is doing its own playground in its own special island + walled
gardens how could they develop a flash concurrent that would  
sit on the

'ubiquitous' side of things ??

The same ubiquity than with Quicktime Player or Safari ? :D  
(sorry, but

... these only work on Macs, again )


 I'd rather not go negative, especially on this list which is so  
valuable

to me, but this Flash Alternative news simply disgusts me.  It's as
underhanded as a business can get.

- MM





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


Re: [Flashcoders] Apple developing flash-like alternative

2010-05-10 Thread allandt bik-elliott (thefieldcomic.com)
nice find cedric

On 10 May 2010 10:58, Cedric Muller flashco...@benga.li wrote:


 Yes, this blog post http://www.uza.lt/blog/2010/05/gianduia-vs-flash/
 gives two examples:

 http://concierge.apple.com/reservations/R002
 http://iphone-reserve.apple.com/WebObjects/RPRCustomer.woa/wo/0.

 beware, these are extremely horrible proof of concept. The static forms
 loading is way too long ... and somewhat seems abnormal :|

 Cedric




  ah just re-read the article - this is a javascript framework

 so nothing to see i guess?

 a

 On 10 May 2010 10:19, allandt bik-elliott (thefieldcomic.com) 
 alla...@gmail.com wrote:

  one of the best comments on digg:

 [quote]
 iTunes and Quicktime are absolute piles of shit. People talk about Flash
 crashing a browser? Quicktime is just as bad. Complete shit.

 iTunes is just as bad as Outlook when it comes to bloatware. Not to
 mention
 a horrible to use piece of software.
 [/quote]

 amazingly true

 On 10 May 2010 08:02, Cedric Muller flashco...@benga.li wrote:

  Don't bother :)
 Apple is doing its own playground in its own special island + walled
 gardens how could they develop a flash concurrent that would sit on
 the
 'ubiquitous' side of things ??

 The same ubiquity than with Quicktime Player or Safari ? :D (sorry, but
 ... these only work on Macs, again )


  I'd rather not go negative, especially on this list which is so
 valuable

 to me, but this Flash Alternative news simply disgusts me.  It's as
 underhanded as a business can get.

 - MM



 ___
 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] Apple developing flash-like alternative

2010-05-10 Thread Mendelsohn, Michael
I can understand the Quicktime complaints, but what are the common complaints 
about iTunes?

- MM


one of the best comments on digg:

[quote]
iTunes is just as bad as Outlook when it comes to bloatware. Not to mention
a horrible to use piece of software.
[/quote]

amazingly true

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


[Flashcoders] Sound

2010-05-10 Thread Lehr, Theodore
Say I have a sound that lasts 1.7 seconds. Is there a way to control what plays 
- for example. if I want to start it .4 seconds in and stop it .2 seconds 
before the end
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Sound

2010-05-10 Thread Glen Pike

On 10/05/2010 15:24, Lehr, Theodore wrote:

Say I have a sound that lasts 1.7 seconds. Is there a way to control what plays 
- for example. if I want to start it .4 seconds in and stop it .2 seconds 
before the end
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


   
Hi, you should be able to specify an offset to start from in the play 
command.


To stop at some point before the end, you would have to monitor the 
position with an enter-frame handler or a timer.


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


Re: [Flashcoders] Apple developing flash-like alternative

2010-05-10 Thread Jer Brand
Don't remember seeing this linked up this weekend. Not a flash replacement,
just another JS lib with cocoa-like syntax:

http://ajaxian.com/archives/gianduia

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


[Flashcoders] Slightly OT: Xpath select a section of nodes from a list with offset - e.g paging

2010-05-10 Thread Glen Pike

Hi,

Am doing some PHP work using the DOM XML and I want to be able to 
pull a chunk of nodes out of a list a section at a time using some kind 
of offset  amount thing.


Does anyone have any pointers / ideas about this.

Thanks

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


Re: [Flashcoders] Apple developing flash-like alternative

2010-05-10 Thread allandt bik-elliott (thefieldcomic.com)
i find that (even on a mac) iTunes slowly drains the machine of clocks and
memory (i don't use it on the pc - if only i could avoid quicktime in the
same way)

A

On 10 May 2010 13:08, Mendelsohn, Michael
michael.mendels...@fmglobal.comwrote:

 I can understand the Quicktime complaints, but what are the common
 complaints about iTunes?

 - MM


 one of the best comments on digg:

 [quote]
 iTunes is just as bad as Outlook when it comes to bloatware. Not to mention
 a horrible to use piece of software.
 [/quote]

 amazingly true

 ___
 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] Apple developing flash-like alternative

2010-05-10 Thread Dave Watts
 I can understand the Quicktime complaints, but what are the common complaints 
 about iTunes?

I've been using iTunes for years (on a PC) and without a doubt I have
more problems with it than anything else I use. Actually, I'm not sure
it's all iTunes' fault - every so often my iPod locks up during a sync
- but iTunes itself is slow, bloated, unresponsive, and ignores every
UI convention on Windows. I'm half convinced it's intentionally so bad
to convince people to get a Mac to run it.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
http://training.figleaf.com/

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Apple developing flash-like alternative

2010-05-10 Thread Glen Pike



- but iTunes itself is slow, bloated, unresponsive, and ignores every
UI convention on Windows. I'm half convinced it's intentionally so bad
to convince people to get a Mac to run it.
   

Oh, the irony :-D
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Apple developing flash-like alternative

2010-05-10 Thread bill
And, if you have to happen to use it for any serious email contact or content 
synching with sayoutlook,

watch out!

~b


-Original Message-
From: Dave Watts dwa...@figleaf.com
Sent: May 10, 2010 11:31 AM
To: Flash Coders List flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] Apple developing flash-like alternative

 I can understand the Quicktime complaints, but what are the common 
 complaints about iTunes?

I've been using iTunes for years (on a PC) and without a doubt I have
more problems with it than anything else I use. Actually, I'm not sure
it's all iTunes' fault - every so often my iPod locks up during a sync
- but iTunes itself is slow, bloated, unresponsive, and ignores every
UI convention on Windows. I'm half convinced it's intentionally so bad
to convince people to get a Mac to run it.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
http://training.figleaf.com/

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite.
___
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] Sound

2010-05-10 Thread Jim Andrews

http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/media/Sound.html

The above URL is the main page to acquaint yourself with concerning the 
Sound class in ActionScript 3.0, apparently.


If you scroll through it, you'll see some example code.

You'll also see the 'play' method under 'Public Methods' and, in the 
documentation of the 'play' method, you see that it takes a 'startTime' 
parameter. This one is what you use to start the sound not at the beginning 
of the Sound.


The 'play' method, in Director, also can take an 'endTime' parameter, and 
there is a 'stop' method. Not in Flash, though. Also, in Director, there is 
an 'elapsedTime' property for the sound. Not in Flash, though.


So if you want to end the sound before it ends, erm, I guess you have to use 
a timer to monitor where we are in the playing of the sound and then end the 
sound how? erm by using the 'close' method? Which also cancels any 
downloading.


ja
http://vispo.com



Say I have a sound that lasts 1.7 seconds. Is there a way to control what 
plays - for example. if I want to start it .4 seconds in and stop it .2 
seconds before the end


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


Re: [Flashcoders] Sound

2010-05-10 Thread Glen Pike

Hi,

   The Sound play method returns a SoundChannel instance, which you 
can call stop() on to stop the sound.


   Glen

Jim Andrews wrote:
http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/media/Sound.html 



The above URL is the main page to acquaint yourself with concerning 
the Sound class in ActionScript 3.0, apparently.


If you scroll through it, you'll see some example code.

You'll also see the 'play' method under 'Public Methods' and, in the 
documentation of the 'play' method, you see that it takes a 
'startTime' parameter. This one is what you use to start the sound not 
at the beginning of the Sound.


The 'play' method, in Director, also can take an 'endTime' parameter, 
and there is a 'stop' method. Not in Flash, though. Also, in Director, 
there is an 'elapsedTime' property for the sound. Not in Flash, though.


So if you want to end the sound before it ends, erm, I guess you have 
to use a timer to monitor where we are in the playing of the sound and 
then end the sound how? erm by using the 'close' method? Which also 
cancels any downloading.


ja
http://vispo.com



Say I have a sound that lasts 1.7 seconds. Is there a way to control 
what plays - for example. if I want to start it .4 seconds in and 
stop it .2 seconds before the end


___
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] Sound

2010-05-10 Thread Gerry Beauregard

Calling play() with a startPosition, and then calling stop() on the 
SoundChannel instance will work fine as long as the timing doesn't need to be 
too precise, and you don't mind slight glitches (pops or clicks) at the start 
and end.

If you want sample accurate start/end times, you can use a couple of new 
capabilities in FlashPlayer 10, namely the ability to extract audio sample data 
from an mp3, and the ability to send arbitrary audio data to the output in 
response to a SampleData event. Using these APIs, plus lots of other code, you 
can do some pretty sophisticated audio processing (see for example, 
http://labs.sonoport.com/audiostretch/).  In response to the original query, 
using Sound.extract and SampleData event, plus a bit of additional code, you 
could play an mp3 from any sample position to any sample position, and even 
apply a smooth ramp-in and ramp-out to prevent any glitching.

Andre Michelle's blog has some great examples of how to use the FP 10 audio 
API, for example:
http://blog.andre-michelle.com/2010/playback-mp3-loop-gapless/

-Gerry Beauregard

Lead Software Architect
Sonoport.com

On 2010-05-11  , at 03:45 , Glen Pike wrote:

 Hi,
 
  The Sound play method returns a SoundChannel instance, which you can call 
 stop() on to stop the sound.
 
  Glen
 
 Jim Andrews wrote:
 http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/media/Sound.html
  
 
 The above URL is the main page to acquaint yourself with concerning the 
 Sound class in ActionScript 3.0, apparently.
 
 If you scroll through it, you'll see some example code.
 
 You'll also see the 'play' method under 'Public Methods' and, in the 
 documentation of the 'play' method, you see that it takes a 'startTime' 
 parameter. This one is what you use to start the sound not at the beginning 
 of the Sound.
 
 The 'play' method, in Director, also can take an 'endTime' parameter, and 
 there is a 'stop' method. Not in Flash, though. Also, in Director, there is 
 an 'elapsedTime' property for the sound. Not in Flash, though.
 
 So if you want to end the sound before it ends, erm, I guess you have to use 
 a timer to monitor where we are in the playing of the sound and then end the 
 sound how? erm by using the 'close' method? Which also cancels any 
 downloading.
 
 ja
 http://vispo.com
 
 
 
 Say I have a sound that lasts 1.7 seconds. Is there a way to control what 
 plays - for example. if I want to start it .4 seconds in and stop it .2 
 seconds before the end
 
 ___
 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] Random Sort of Array

2010-05-10 Thread Donald Talcott
Last year I created a small timeline based intro of products for a  
client that used Math.random to produce a random start of the  
animation sequence. This year they would like two specific product  
animations to always start in the #1 and #2 position and the remaining  
7 products to play in a random order. I have given this some thought  
and am not sure how to go about it. Any ideas out there? If I contain  
the two specific products to the # 1 and # 2 positions, and procede  
randomly to the rest, how might I get all 7 remaining products to play  
before replaying #1 and #2?


Last years code below:

stop();
var minList:Array = [mmPretzel, 3Musketeers_truffle,  
MilkyWay_Caramel, mmCO, mmCherry, Twix_java, VOTE, mmPB,  
NASCAR];

var minStart:Number = Math.floor(Math.random()*9);
trace(minStart);
trace(minList[minStart]);

function goOn(){
gotoAndPlay(minList[minStart]);
};
setTimeout(goOn,+8);





Don Talcott
316 Greenwood Ave
Decatur, GA 30030
404 538-1642
dtalc...@mindspring.com

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


[Flashcoders] A query into advanced printing

2010-05-10 Thread John R. Sweeney Jr
Hi all,

Other than the building of a MC and then printing that is there a way to
make a more sophisticated looking, formatted printing? With indenting,
bold/stylizing/etc. Similar (to those that have done Director stuff) to
Print-o-matic. Where you can literally build your pages line by line with
all the formatting necessary.

I'm finding that Flash is very limited in its printing ability, or I'm
looking in the wrong places. :)



Thanks,
John


John R. Sweeney Jr.
Interactive Multimedia Developer


OnDemand Interactive Inc
945 Washington Blvd.
Hoffman Estates, IL 60169
Office/Fax: 847.310.5959
Cellular: 847.651.4469
www.ondemandinteractive.com


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