[Flashcoders] UIScrollbar

2010-04-29 Thread Glen Pike

Hi,

I am looking at skinning a List for a touchscreen device and 
reading the doc's for CS4 skinning it seems to imply that I cannot 
change the width of a vertical scrollbar.


Does anyone know of any workarounds for this as people using the 
touchscreen don't tend to have mouse-pointer sized fingers (nice one Adobe!)


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


[Flashcoders] libraries of wav files?

2010-04-29 Thread Jim Andrews
i know you can load external mp3 files in flash, but is it possible to load 
a library (if that is the right term) of wav files in flash?


the app i want to make involves loops, and mp3 files are not real good for 
loops.


ja
http://vispo.com 


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


Re: [Flashcoders] UIScrollbar

2010-04-29 Thread Glen Pike

Hi,

Think I have found a solution using Grant Skinners hack for the 
Scrollbar component detailed here.


http://www.gskinner.com/blog/archives/2007/05/variable_scroll.html

Glen

On 29/04/2010 09:51, Glen Pike wrote:

Hi,

I am looking at skinning a List for a touchscreen device and 
reading the doc's for CS4 skinning it seems to imply that I cannot 
change the width of a vertical scrollbar.


Does anyone know of any workarounds for this as people using the 
touchscreen don't tend to have mouse-pointer sized fingers (nice one 
Adobe!)


GLen
___
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] libraries of wav files?

2010-04-29 Thread kennethkawam...@gmail.com
If you are talking about sound imported into the Library in IDE, you
can assign a Class name to it and instantiate it as normal:

var snd:Sound = new LibaraySound();
snd.play();
...etc.
-- 
Kenneth Kawamoto
http://www.materiaprima.co.uk/

On 29 April 2010 10:35, Jim Andrews j...@vispo.com wrote:
 i know you can load external mp3 files in flash, but is it possible to load
 a library (if that is the right term) of wav files in flash?

 the app i want to make involves loops, and mp3 files are not real good for
 loops.

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


Re: [Flashcoders] libraries of wav files?

2010-04-29 Thread Jim Andrews
Sorry. I should have been more specific. What I'd like to do is create an 
external file that contains a bunch of wav files. Perhaps a bunch of such 
such groups of wav files. And then, at run-time, the user may select one of 
those groups of wav files. And then the program should download that 
particular file.


Is that sort of thing supported in Flash?

In Director, such groups of wav files (and/or other media) can be stored in 
.cst files and downloaded at run-time.


ja
http://vispo.com

- Original Message - 
From: kennethkawam...@gmail.com

To: Flash Coders List flashcoders@chattyfig.figleaf.com
Sent: Thursday, April 29, 2010 3:47 AM
Subject: Re: [Flashcoders] libraries of wav files?



If you are talking about sound imported into the Library in IDE, you
can assign a Class name to it and instantiate it as normal:

var snd:Sound = new LibaraySound();
snd.play();
...etc.
--
Kenneth Kawamoto
http://www.materiaprima.co.uk/

On 29 April 2010 10:35, Jim Andrews j...@vispo.com wrote:
i know you can load external mp3 files in flash, but is it possible to 
load

a library (if that is the right term) of wav files in flash?

the app i want to make involves loops, and mp3 files are not real good 
for

loops.

ja
http://vispo.com 


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


Re: [Flashcoders] libraries of wav files?

2010-04-29 Thread Glen Pike

Hi,

You could compile the wav files into SWF's that you load as runtime 
libraries - then you could still instanciate your sounds the same way as 
Kenneth said.


You have to use a Loader class load the external SWF in and wait 
for the Loader's INIT event before accessing library items.  You may 
also have to set the Loader's application domain to the same as your 
application in order to instanciate the sounds:


Search for runtime library in flash.

Glen

On 29/04/2010 12:25, Jim Andrews wrote:
Sorry. I should have been more specific. What I'd like to do is create 
an external file that contains a bunch of wav files. Perhaps a bunch 
of such such groups of wav files. And then, at run-time, the user may 
select one of those groups of wav files. And then the program should 
download that particular file.


Is that sort of thing supported in Flash?

In Director, such groups of wav files (and/or other media) can be 
stored in .cst files and downloaded at run-time.


ja
http://vispo.com

- Original Message - From: kennethkawam...@gmail.com
To: Flash Coders List flashcoders@chattyfig.figleaf.com
Sent: Thursday, April 29, 2010 3:47 AM
Subject: Re: [Flashcoders] libraries of wav files?



If you are talking about sound imported into the Library in IDE, you
can assign a Class name to it and instantiate it as normal:

var snd:Sound = new LibaraySound();
snd.play();
...etc.
--
Kenneth Kawamoto
http://www.materiaprima.co.uk/

On 29 April 2010 10:35, Jim Andrews j...@vispo.com wrote:
i know you can load external mp3 files in flash, but is it possible 
to load

a library (if that is the right term) of wav files in flash?

the app i want to make involves loops, and mp3 files are not real 
good for

loops.

ja
http://vispo.com 


___
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] libraries of wav files?

2010-04-29 Thread Karl DeSaulniers

I would set it up using XML.

I think the trick to loading MP3s and having them loop is to preload  
them.
Then figure out how long till the sound plays and how long is left  
after the sound ends to the end of the track.
Time your next song in line to start playing before the other ends at  
the right point to where the current ends
the next in line has had time to get to the point where its sound  
starts.

Then do a little DJing utilizing some kind of fade of the volumes. :)
You could even have them overlap some to have that cross-fade effect.
If anyone has a better suggestion, I am all ears as well.

Best,

Karl


On Apr 29, 2010, at 6:25 AM, Jim Andrews wrote:

Sorry. I should have been more specific. What I'd like to do is  
create an external file that contains a bunch of wav files. Perhaps  
a bunch of such such groups of wav files. And then, at run-time,  
the user may select one of those groups of wav files. And then the  
program should download that particular file.


Is that sort of thing supported in Flash?

In Director, such groups of wav files (and/or other media) can be  
stored in .cst files and downloaded at run-time.


ja
http://vispo.com

- Original Message - From: kennethkawam...@gmail.com
To: Flash Coders List flashcoders@chattyfig.figleaf.com
Sent: Thursday, April 29, 2010 3:47 AM
Subject: Re: [Flashcoders] libraries of wav files?



If you are talking about sound imported into the Library in IDE, you
can assign a Class name to it and instantiate it as normal:

var snd:Sound = new LibaraySound();
snd.play();
...etc.
--
Kenneth Kawamoto
http://www.materiaprima.co.uk/

On 29 April 2010 10:35, Jim Andrews j...@vispo.com wrote:
i know you can load external mp3 files in flash, but is it  
possible to load

a library (if that is the right term) of wav files in flash?

the app i want to make involves loops, and mp3 files are not real  
good for

loops.

ja
http://vispo.com


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


Karl DeSaulniers
Design Drumm
http://designdrumm.com

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


[Flashcoders] How to hault execution and raise a error flag

2010-04-29 Thread Fahim Akhter
Hi,

I was wondering how can I put the execution of a application to a hault and
raise a error flag ( maybe quite everything) so it does not move anywhere
further. I have some logical errors which do not cause troubles in the
execution, but I still want to stop execution when they occur. For debugging
purposes.

Fahim Akhter
Game Developer | White Rabbit Studios |
http://apps.facebook.com/feline-frenzy/
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] Quick question about dynamic groupings

2010-04-29 Thread Merrill, Jason
A generic object has no meaning, you lose typecasting and all the
benefits of using a custom class, like for example, code completion.

Remember anonymous functions in AS1/2 and why they were bad?  It's not
quite as bad to use generic objects, but still not good practice IMO.

With VOs, you know what properties it contains, and that's very useful
in situations, like for example, when you attach data to an event and
want to use it on the other end. Believe me, VOs are worth the slight
extra effort they are to create.


Jason Merrill 

Bank of  America  Global Learning 
Learning  Performance Solutions

Join the Bank of America Flash Platform Community  and visit our
Instructional Technology Design Blog
(note: these are for Bank of America employees only)






-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Cor
Sent: Monday, April 26, 2010 4:23 PM
To: 'Flash Coders List'
Subject: RE: [Flashcoders] Quick question about dynamic groupings

Hi Jason,

Thank you.

So the personVO.as should look like this:
package
{
class PersonVO
{
public var firstName:String;
public var lastName:String;
public var phoneNumber:Number;
public var indicatorColor:uint;
}
}

Now I think I understand what you are doing, but I lost to see the
benefit of the VO over doing it with a generic Object.
Because it is now in a public array I can address everything.
Like this:


var personVO:PersonVO = new Object();
personVO.firstName = personnodex...@firstname; etc..

Or maybe I don't understand the VO concept???

Regards
Cor


-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Merrill,
Jason
Sent: maandag 26 april 2010 15:52
To: Flash Coders List
Subject: RE: [Flashcoders] Quick question about dynamic groupings

 Could you extend this with an example on the part of:
I typically do is load in XML data and create VOs from that (in my
Model
class) to use in my app.


Sure.  Here is an example of what the parsing might look like inside
your model class.  If your XML looked like this:


xml
people
person firstName=Hank lastName=Aaron
phoneNumber=7043237564 indicatorColor=0xe39132 /
person firstName=Fred lastName=Astaire
phoneNumber=9082321214 indicatorColor=0xe73721 /
person firstName=Judy lastName=Garland
phoneNumber=3107382234 indicatorColor=0xd4e355 /
person firstName=Marilyn lastName=Monroe
phoneNumber=3107673721 indicatorColor=0xbab5ab /
/people
/xml

Then inside your model class, you may have some code like this (which of
course would run after the XML is loaded):

public var personVOs:Array = []; //array of PersonVOs

private function createPersonVOs():void
{
for each (var personNodeXML:XML in myXML.people.person)
{
var personVO:PersonVO = new PersonVO();
personVO.firstName = personnodex...@firstname;
personVO.lastName = personnodex...@lastname;
personVO.phoneNumber =
Number(personnodex...@phonenumber);
personVO.indicatorColor =
uint(personnodex...@indicatorcolor);
personVOs.push(personVO);
}
}

So now, you have personVOs as a public property in your model you can
call and get the people information from their VO class.  Does that
help?  


Jason Merrill 

Bank of  America  Global Learning
Learning  Performance Solutions

Join the Bank of America Flash Platform Community  and visit our
Instructional Technology Design Blog
(note: these are for Bank of America employees only)





-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Cor
Sent: Saturday, April 24, 2010 6:53 AM
To: 'Flash Coders List'
Subject: RE: [Flashcoders] Quick question about dynamic groupings

Hi Jason,

Nice explaination!
Thanks!

Could you extend this with an example on the part of:
I typically do is load in XML data and create VOs from that (in my
Model
class) to use in my app.


Kind regards
Cor van Dooren
The Netherlands
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Geen virus gevonden in het binnenkomende-bericht.
Gecontroleerd door AVG - www.avg.com
Versie: 9.0.814 / Virusdatabase: 271.1.1/2833 - datum van uitgifte:
04/24/10 20:31:00

___
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] How to hault execution and raise a error flag

2010-04-29 Thread Nathan Mynarcik
You could try in your logic to use a case switch. Then break on error. 

--Original Message--
From: Fahim Akhter
Sender: flashcoders-boun...@chattyfig.figleaf.com
To: Flash Coders List
ReplyTo: Flash Coders List
Subject: [Flashcoders] How to hault execution and raise a error flag
Sent: Apr 29, 2010 7:13 AM

Hi,

I was wondering how can I put the execution of a application to a hault and
raise a error flag ( maybe quite everything) so it does not move anywhere
further. I have some logical errors which do not cause troubles in the
execution, but I still want to stop execution when they occur. For debugging
purposes.

Fahim Akhter
Game Developer | White Rabbit Studios |
http://apps.facebook.com/feline-frenzy/
___
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] Quick question about dynamic groupings

2010-04-29 Thread Eric E. Dolecki
Yup - using VOs now - and I have produced documentation with VisDoc that
include them as well. Thanks everyone.

Eric


On Thu, Apr 29, 2010 at 8:23 AM, Merrill, Jason 
jason.merr...@bankofamerica.com wrote:

 A generic object has no meaning, you lose typecasting and all the
 benefits of using a custom class, like for example, code completion.

 Remember anonymous functions in AS1/2 and why they were bad?  It's not
 quite as bad to use generic objects, but still not good practice IMO.

 With VOs, you know what properties it contains, and that's very useful
 in situations, like for example, when you attach data to an event and
 want to use it on the other end. Believe me, VOs are worth the slight
 extra effort they are to create.


 Jason Merrill

 Bank of  America  Global Learning
 Learning  Performance Solutions

 Join the Bank of America Flash Platform Community  and visit our
 Instructional Technology Design Blog
 (note: these are for Bank of America employees only)






 -Original Message-
 From: flashcoders-boun...@chattyfig.figleaf.com
 [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Cor
 Sent: Monday, April 26, 2010 4:23 PM
 To: 'Flash Coders List'
 Subject: RE: [Flashcoders] Quick question about dynamic groupings

 Hi Jason,

 Thank you.

 So the personVO.as should look like this:
 package
 {
class PersonVO
{
public var firstName:String;
public var lastName:String;
public var phoneNumber:Number;
public var indicatorColor:uint;
}
 }

 Now I think I understand what you are doing, but I lost to see the
 benefit of the VO over doing it with a generic Object.
 Because it is now in a public array I can address everything.
 Like this:


 var personVO:PersonVO = new Object();
 personVO.firstName = personnodex...@firstname; etc..

 Or maybe I don't understand the VO concept???

 Regards
 Cor


 -Original Message-
 From: flashcoders-boun...@chattyfig.figleaf.com
 [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Merrill,
 Jason
 Sent: maandag 26 april 2010 15:52
 To: Flash Coders List
 Subject: RE: [Flashcoders] Quick question about dynamic groupings

  Could you extend this with an example on the part of:
 I typically do is load in XML data and create VOs from that (in my
 Model
 class) to use in my app.


 Sure.  Here is an example of what the parsing might look like inside
 your model class.  If your XML looked like this:


 xml
people
person firstName=Hank lastName=Aaron
 phoneNumber=7043237564 indicatorColor=0xe39132 /
person firstName=Fred lastName=Astaire
 phoneNumber=9082321214 indicatorColor=0xe73721 /
person firstName=Judy lastName=Garland
 phoneNumber=3107382234 indicatorColor=0xd4e355 /
person firstName=Marilyn lastName=Monroe
 phoneNumber=3107673721 indicatorColor=0xbab5ab /
/people
 /xml

 Then inside your model class, you may have some code like this (which of
 course would run after the XML is loaded):

 public var personVOs:Array = []; //array of PersonVOs

 private function createPersonVOs():void
 {
for each (var personNodeXML:XML in myXML.people.person)
{
var personVO:PersonVO = new PersonVO();
personVO.firstName = personnodex...@firstname;
personVO.lastName = personnodex...@lastname;
personVO.phoneNumber =
 Number(personnodex...@phonenumber);
personVO.indicatorColor =
 uint(personnodex...@indicatorcolor);
personVOs.push(personVO);
}
 }

 So now, you have personVOs as a public property in your model you can
 call and get the people information from their VO class.  Does that
 help?


 Jason Merrill

 Bank of  America  Global Learning
 Learning  Performance Solutions

 Join the Bank of America Flash Platform Community  and visit our
 Instructional Technology Design Blog
 (note: these are for Bank of America employees only)





 -Original Message-
 From: flashcoders-boun...@chattyfig.figleaf.com
 [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Cor
 Sent: Saturday, April 24, 2010 6:53 AM
 To: 'Flash Coders List'
 Subject: RE: [Flashcoders] Quick question about dynamic groupings

 Hi Jason,

 Nice explaination!
 Thanks!

 Could you extend this with an example on the part of:
 I typically do is load in XML data and create VOs from that (in my
 Model
 class) to use in my app.


 Kind regards
 Cor van Dooren
 The Netherlands
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 Geen virus gevonden in het binnenkomende-bericht.
 Gecontroleerd door AVG - www.avg.com
 Versie: 9.0.814 / Virusdatabase: 271.1.1/2833 - datum van uitgifte:
 04/24/10 20:31:00

 ___
 Flashcoders mailing list
 

Re: [Flashcoders] How to hault execution and raise a error flag

2010-04-29 Thread Fahim Akhter
breaking an error would just hault the loop. Or that perticular place and it
would come to the parent and go on with the rest of the program.

Fahim Akhter
Game Developer | White Rabbit Studios |
http://apps.facebook.com/feline-frenzy/


On Thu, Apr 29, 2010 at 5:24 PM, Nathan Mynarcik nat...@mynarcik.comwrote:

 You could try in your logic to use a case switch. Then break on error.

 --Original Message--
 From: Fahim Akhter
 Sender: flashcoders-boun...@chattyfig.figleaf.com
 To: Flash Coders List
 ReplyTo: Flash Coders List
 Subject: [Flashcoders] How to hault execution and raise a error flag
 Sent: Apr 29, 2010 7:13 AM

 Hi,

 I was wondering how can I put the execution of a application to a hault and
 raise a error flag ( maybe quite everything) so it does not move anywhere
 further. I have some logical errors which do not cause troubles in the
 execution, but I still want to stop execution when they occur. For
 debugging
 purposes.

 Fahim Akhter
 Game Developer | White Rabbit Studios |
 http://apps.facebook.com/feline-frenzy/
 ___
 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] libraries of wav files?

2010-04-29 Thread Jim Andrews

Aha. That'd be the ticket. Thanks very much, Glen.

ja
http://vispo.com 

- Original Message - 
From: Glen Pike g...@engineeredarts.co.uk

To: Flash Coders List flashcoders@chattyfig.figleaf.com
Sent: Thursday, April 29, 2010 4:35 AM
Subject: Re: [Flashcoders] libraries of wav files?



Hi,

You could compile the wav files into SWF's that you load as runtime 
libraries - then you could still instanciate your sounds the same way as 
Kenneth said.


You have to use a Loader class load the external SWF in and wait 
for the Loader's INIT event before accessing library items.  You may 
also have to set the Loader's application domain to the same as your 
application in order to instanciate the sounds:


Search for runtime library in flash.

Glen

On 29/04/2010 12:25, Jim Andrews wrote:
Sorry. I should have been more specific. What I'd like to do is create 
an external file that contains a bunch of wav files. Perhaps a bunch 
of such such groups of wav files. And then, at run-time, the user may 
select one of those groups of wav files. And then the program should 
download that particular file.


Is that sort of thing supported in Flash?

In Director, such groups of wav files (and/or other media) can be 
stored in .cst files and downloaded at run-time.


ja
http://vispo.com


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


RE: [Flashcoders] gapless looping of external mp3's

2010-04-29 Thread Andrew Murphy
This might work to achieve gapless looping:

Once you've loaded the audio assets (an mp3 file, swf file library assets,
etc.), copy the raw sound data into a ByteArray.  Then to play it back you
create a duplicate of that ByteArray and feed it to a new Sound object when
it throws it's SampleDataEvent event.  Once you've used up the ByteArray,
duplicate it again and keep feeding it to the Sound object.

I've been messing around with this, off and on, for a while to try and loop
a simple sine wave audio data that I've generated.  It works pretty well,
except that I always get a little 'pop' whenever the next loop starts..
possibly because the phase of the end of the previous loop doesn't match the
start of the next one.


 --
Andrew Murphy
Interactive Media Developer
amur...@delvinia.com

Delvinia
370 King Street West, 5th Floor, Box 4 
Toronto Canada M5V 1J9
P (416) 364-1455 ext. 232
F (416) 364-9830  
W www.delvinia.com

-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Jim Andrews
Sent: April 29, 2010 01:52 am
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] gapless looping of external mp3's

I'm new to the list.

Does anyone have experience with gapless looping of external mp3's in Flash?

I'm having probs with it.

I read http://www.compuphase.com/mp3/mp3loops.htm . There's even a section 
in there about gapless looping in Flash.

But I'm not sure how old that page is and if there are better methods now 
than what's described there.

I have done some previous work with gapless looping, but it was all in 
Director, such as at http://vispo.com/nio and http://vispo.com/jig/arteroids

. I'm just learning ActionScript now.

ja 

___
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] libraries of wav files?

2010-04-29 Thread Jim Andrews
If you create an mp3 in SoundBooth or Sound Forge and loop it, even in those 
environments, you see that simply creating an mp3 introduces some silence at 
the beginning and end of the file. Even if the mp3 was made from a perfectly 
gapless looping wav file, the mp3 will have a gap in it.


Consequently, if one wants to use external mp3's in Flash (or any other 
program) things get a bit tricky.


I've read a couple of good docs on this at
http://blog.andre-michelle.com/2010/playback-mp3-loop-gapless/#more-590
http://www.compuphase.com/mp3/mp3loops.htm

The first URL contains some excellent ActionScript code for gaplessly 
looping an mp3--as long as you know the total number of samples in the wav 
file from which the mp3 was made. This code was written by Andre Michelle, 
probably one of the main people who made http://audiotool.com , which is a 
very impressive Flash audio app.


The second URL is very good also, but after investigating it quite a bit, my 
conclusion is Andre Michelle's code is the way to go if you want to 
gaplessly loop external mp3 sounds. But, again, this presupposes that you 
know the total number of samples in the wav from which the mp3 was made.


A good alternative, which I haven't tried yet, is to create external SWF 
files that contain groups of wav files, let the user select which group they 
want to use, download the SWF, and use it as per Glen and Kenneth's 
suggestions in this thread.


ja
http://vispo.com

ps: Here are some interesting online interactive audio apps: 
http://vispo.com/misc/ia.htm


- Original Message - 
From: Karl DeSaulniers k...@designdrumm.com

To: Flash Coders List flashcoders@chattyfig.figleaf.com
Sent: Thursday, April 29, 2010 5:03 AM
Subject: Re: [Flashcoders] libraries of wav files?



I would set it up using XML.

I think the trick to loading MP3s and having them loop is to preload 
them.
Then figure out how long till the sound plays and how long is left  after 
the sound ends to the end of the track.
Time your next song in line to start playing before the other ends at  the 
right point to where the current ends

the next in line has had time to get to the point where its sound  starts.
Then do a little DJing utilizing some kind of fade of the volumes. :)
You could even have them overlap some to have that cross-fade effect.
If anyone has a better suggestion, I am all ears as well.

Best,

Karl


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


Re: [Flashcoders] gapless looping of external mp3's

2010-04-29 Thread Jim Andrews
That's basically what Andre Michelle is doing with his code at 
http://blog.andre-michelle.com/2010/playback-mp3-loop-gapless/#more-590 , 
Andrew.


ja
http://vispo.com

- Original Message - 
From: Andrew Murphy amur...@delvinia.com

To: 'Flash Coders List' flashcoders@chattyfig.figleaf.com
Sent: Thursday, April 29, 2010 6:28 AM
Subject: RE: [Flashcoders] gapless looping of external mp3's



This might work to achieve gapless looping:

Once you've loaded the audio assets (an mp3 file, swf file library assets,
etc.), copy the raw sound data into a ByteArray.  Then to play it back you
create a duplicate of that ByteArray and feed it to a new Sound object 
when

it throws it's SampleDataEvent event.  Once you've used up the ByteArray,
duplicate it again and keep feeding it to the Sound object.

I've been messing around with this, off and on, for a while to try and 
loop

a simple sine wave audio data that I've generated.  It works pretty well,
except that I always get a little 'pop' whenever the next loop starts..
possibly because the phase of the end of the previous loop doesn't match 
the

start of the next one.


--
Andrew Murphy
Interactive Media Developer
amur...@delvinia.com

Delvinia
370 King Street West, 5th Floor, Box 4
Toronto Canada M5V 1J9
P (416) 364-1455 ext. 232
F (416) 364-9830
W www.delvinia.com



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


[Flashcoders] letter from Steve Jobs on Flash

2010-04-29 Thread David Hunter

i know there has already been a lot of talk about flash and iphones/ipads and 
developer agreements on this list and i don't wish to add unnecessarily or 
stoke up the fire again but i thought this might be a worthwhile read for all 
from the man at the centre of it all: 
http://www.apple.com/hotnews/thoughts-on-flash/ 
 
_
http://clk.atdmt.com/UKM/go/195013117/direct/01/
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] letter from Steve Jobs on Flash

2010-04-29 Thread Matt S.
In addition, Flash has not performed well on mobile devices. We have
routinely asked Adobe to show us Flash performing well on a mobile
device, any mobile device, for a few years now. We have never seen
it.

isn't this just utter B.S.?
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] gapless looping of external mp3's

2010-04-29 Thread Andrew Murphy
Yep, this looks like it.. though with added code for dealing with silence
added to the MP3 during encoding. :)


 --
Andrew Murphy
Interactive Media Developer
amur...@delvinia.com

Delvinia
370 King Street West, 5th Floor, Box 4 
Toronto Canada M5V 1J9
P (416) 364-1455 ext. 232
F (416) 364-9830  
W www.delvinia.com


-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Jim Andrews
Sent: April 29, 2010 10:09 am
To: Flash Coders List
Subject: Re: [Flashcoders] gapless looping of external mp3's

That's basically what Andre Michelle is doing with his code at 
http://blog.andre-michelle.com/2010/playback-mp3-loop-gapless/#more-590 , 
Andrew.

ja
http://vispo.com

- Original Message - 
From: Andrew Murphy amur...@delvinia.com
To: 'Flash Coders List' flashcoders@chattyfig.figleaf.com
Sent: Thursday, April 29, 2010 6:28 AM
Subject: RE: [Flashcoders] gapless looping of external mp3's


 This might work to achieve gapless looping:

 Once you've loaded the audio assets (an mp3 file, swf file library assets,
 etc.), copy the raw sound data into a ByteArray.  Then to play it back you
 create a duplicate of that ByteArray and feed it to a new Sound object 
 when
 it throws it's SampleDataEvent event.  Once you've used up the ByteArray,
 duplicate it again and keep feeding it to the Sound object.

 I've been messing around with this, off and on, for a while to try and 
 loop
 a simple sine wave audio data that I've generated.  It works pretty well,
 except that I always get a little 'pop' whenever the next loop starts..
 possibly because the phase of the end of the previous loop doesn't match 
 the
 start of the next one.


 --
 Andrew Murphy
 Interactive Media Developer
 amur...@delvinia.com

 Delvinia
 370 King Street West, 5th Floor, Box 4
 Toronto Canada M5V 1J9
 P (416) 364-1455 ext. 232
 F (416) 364-9830
 W www.delvinia.com
 

___
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] letter from Steve Jobs on Flash

2010-04-29 Thread Glen Pike
I think some of his comments about Flash not being designed for Touch 
devices have a ring of truth to them, for example, I develop for a 
touchscreen system and have written many custom components without 
rollovers.


I can't really comment on battery life, web-video, etc. because I do all 
my browsing from a PC and only watch videos stuff that's plugged in.


This morning, I found myself hacking cellrenderers and making special 
workarounds for Flash's list control in order to implement a list that 
scrolled when you swipe it.  This is not multi-touch, just single touch, 
but still there is either a derth of components / tutorials / 
documentation for doing this sort of stuff.


OTOH, I managed to develop my own list control in Flash for the 
Touchscreen in under 8 hours without having to learn another language.  
I guess I am one of the lucky people - I work on a proprietary 
touch-screen based system supplied to specific customers and don't have 
to bend to the whims of the iPhone generation / market forces as much as 
if I was developing websites and RIA's and one of the 50,000+ games in 
the App store.  Can you call it a game if it is merely a graphic of a 
pint glass tipping beer?


Glen

On 29/04/2010 15:18, David Hunter wrote:

i know there has already been a lot of talk about flash and iphones/ipads and 
developer agreements on this list and i don't wish to add unnecessarily or 
stoke up the fire again but i thought this might be a worthwhile read for all 
from the man at the centre of it 
all:http://www.apple.com/hotnews/thoughts-on-flash/ 

_
http://clk.atdmt.com/UKM/go/195013117/direct/01/
___
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] letter from Steve Jobs on Flash

2010-04-29 Thread Merrill, Jason
Funny, Jobs makes no mention of Silverlight anywhere in that article. :)



Jason Merrill 

Bank of  America  Global Learning 
Learning  Performance Solutions

Join the Bank of America Flash Platform Community  and visit our
Instructional Technology Design Blog
(note: these are for Bank of America employees only)






-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of David
Hunter
Sent: Thursday, April 29, 2010 10:19 AM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] letter from Steve Jobs on Flash


i know there has already been a lot of talk about flash and
iphones/ipads and developer agreements on this list and i don't wish to
add unnecessarily or stoke up the fire again but i thought this might be
a worthwhile read for all from the man at the centre of it all:
http://www.apple.com/hotnews/thoughts-on-flash/

_
http://clk.atdmt.com/UKM/go/195013117/direct/01/
___
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] Quick question about dynamic groupings

2010-04-29 Thread Cor

The extra effort is no problem.
The way of using VOs in MVC is where my lack of knowledge lays, and I am
trying to learn it...

And you are helping very well on the way.
I just need those little (working) examples to get me on track of fully
understanding.
And sometimes technical stuff is extra difficult because English is not my
native language.

Thanks again, Jason.
And of course all other participants!

Regards
Cor

-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Merrill,
Jason
Sent: donderdag 29 april 2010 14:24
To: Flash Coders List
Subject: RE: [Flashcoders] Quick question about dynamic groupings

A generic object has no meaning, you lose typecasting and all the
benefits of using a custom class, like for example, code completion.

Remember anonymous functions in AS1/2 and why they were bad?  It's not
quite as bad to use generic objects, but still not good practice IMO.

With VOs, you know what properties it contains, and that's very useful
in situations, like for example, when you attach data to an event and
want to use it on the other end. Believe me, VOs are worth the slight
extra effort they are to create.


Jason Merrill 

Bank of  America  Global Learning 
Learning  Performance Solutions

Join the Bank of America Flash Platform Community  and visit our
Instructional Technology Design Blog
(note: these are for Bank of America employees only)






-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Cor
Sent: Monday, April 26, 2010 4:23 PM
To: 'Flash Coders List'
Subject: RE: [Flashcoders] Quick question about dynamic groupings

Hi Jason,

Thank you.

So the personVO.as should look like this:
package
{
class PersonVO
{
public var firstName:String;
public var lastName:String;
public var phoneNumber:Number;
public var indicatorColor:uint;
}
}

Now I think I understand what you are doing, but I lost to see the
benefit of the VO over doing it with a generic Object.
Because it is now in a public array I can address everything.
Like this:


var personVO:PersonVO = new Object();
personVO.firstName = personnodex...@firstname; etc..

Or maybe I don't understand the VO concept???

Regards
Cor


-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Merrill,
Jason
Sent: maandag 26 april 2010 15:52
To: Flash Coders List
Subject: RE: [Flashcoders] Quick question about dynamic groupings

 Could you extend this with an example on the part of:
I typically do is load in XML data and create VOs from that (in my
Model
class) to use in my app.


Sure.  Here is an example of what the parsing might look like inside
your model class.  If your XML looked like this:


xml
people
person firstName=Hank lastName=Aaron
phoneNumber=7043237564 indicatorColor=0xe39132 /
person firstName=Fred lastName=Astaire
phoneNumber=9082321214 indicatorColor=0xe73721 /
person firstName=Judy lastName=Garland
phoneNumber=3107382234 indicatorColor=0xd4e355 /
person firstName=Marilyn lastName=Monroe
phoneNumber=3107673721 indicatorColor=0xbab5ab /
/people
/xml

Then inside your model class, you may have some code like this (which of
course would run after the XML is loaded):

public var personVOs:Array = []; //array of PersonVOs

private function createPersonVOs():void
{
for each (var personNodeXML:XML in myXML.people.person)
{
var personVO:PersonVO = new PersonVO();
personVO.firstName = personnodex...@firstname;
personVO.lastName = personnodex...@lastname;
personVO.phoneNumber =
Number(personnodex...@phonenumber);
personVO.indicatorColor =
uint(personnodex...@indicatorcolor);
personVOs.push(personVO);
}
}

So now, you have personVOs as a public property in your model you can
call and get the people information from their VO class.  Does that
help?  


Jason Merrill 

Bank of  America  Global Learning
Learning  Performance Solutions

Join the Bank of America Flash Platform Community  and visit our
Instructional Technology Design Blog
(note: these are for Bank of America employees only)





-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Cor
Sent: Saturday, April 24, 2010 6:53 AM
To: 'Flash Coders List'
Subject: RE: [Flashcoders] Quick question about dynamic groupings

Hi Jason,

Nice explaination!
Thanks!

Could you extend this with an example on the part of:
I typically do is load in XML data and create VOs from that (in my
Model
class) to use in my app.


Kind regards
Cor van Dooren
The Netherlands

Re: [Flashcoders] letter from Steve Jobs on Flash

2010-04-29 Thread Glen Pike

What's Silverlight?

On 29/04/2010 15:51, Merrill, Jason wrote:

Funny, Jobs makes no mention of Silverlight anywhere in that article. :)



Jason Merrill

Bank of  America  Global Learning
Learning  Performance Solutions

Join the Bank of America Flash Platform Community  and visit our
Instructional Technology Design Blog
(note: these are for Bank of America employees only)






-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of David
Hunter
Sent: Thursday, April 29, 2010 10:19 AM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] letter from Steve Jobs on Flash


i know there has already been a lot of talk about flash and
iphones/ipads and developer agreements on this list and i don't wish to
add unnecessarily or stoke up the fire again but i thought this might be
a worthwhile read for all from the man at the centre of it all:
http://www.apple.com/hotnews/thoughts-on-flash/

_
http://clk.atdmt.com/UKM/go/195013117/direct/01/
___
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] letter from Steve Jobs on Flash

2010-04-29 Thread Eric E. Dolecki
I think that's a new-fangled fishing lure used for freshwater carp or
something.


On Thu, Apr 29, 2010 at 10:57 AM, Glen Pike g...@engineeredarts.co.ukwrote:

 What's Silverlight?


 On 29/04/2010 15:51, Merrill, Jason wrote:

 Funny, Jobs makes no mention of Silverlight anywhere in that article. :)



 Jason Merrill

 Bank of  America  Global Learning
 Learning  Performance Solutions

 Join the Bank of America Flash Platform Community  and visit our
 Instructional Technology Design Blog
 (note: these are for Bank of America employees only)






 -Original Message-
 From: flashcoders-boun...@chattyfig.figleaf.com
 [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of David
 Hunter
 Sent: Thursday, April 29, 2010 10:19 AM
 To: flashcoders@chattyfig.figleaf.com
 Subject: [Flashcoders] letter from Steve Jobs on Flash


 i know there has already been a lot of talk about flash and
 iphones/ipads and developer agreements on this list and i don't wish to
 add unnecessarily or stoke up the fire again but i thought this might be
 a worthwhile read for all from the man at the centre of it all:
 http://www.apple.com/hotnews/thoughts-on-flash/

 _
 http://clk.atdmt.com/UKM/go/195013117/direct/01/
 ___
 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




-- 
http://ericd.net
Interactive design and development
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] letter from Steve Jobs on Flash

2010-04-29 Thread Paul Andrews

On 29/04/2010 15:51, Merrill, Jason wrote:

Funny, Jobs makes no mention of Silverlight anywhere in that article. :)

   

If he's talking specifically about Flash, why would he?


Jason Merrill

Bank of  America  Global Learning
Learning  Performance Solutions

Join the Bank of America Flash Platform Community  and visit our
Instructional Technology Design Blog
(note: these are for Bank of America employees only)

   


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


RE: [Flashcoders] letter from Steve Jobs on Flash

2010-04-29 Thread Merrill, Jason
 If he's talking specifically about Flash, why would he?

Switched off your irony detector today?


Jason Merrill 

Bank of  America  Global Learning 
Learning  Performance Solutions

Join the Bank of America Flash Platform Community  and visit our
Instructional Technology Design Blog
(note: these are for Bank of America employees only)


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


Re: [Flashcoders] letter from Steve Jobs on Flash

2010-04-29 Thread Glen Pike

I thought it was an elven character from LOTR?

On 29/04/2010 16:15, Eric E. Dolecki wrote:

I think that's a new-fangled fishing lure used for freshwater carp or
something.


On Thu, Apr 29, 2010 at 10:57 AM, Glen Pikeg...@engineeredarts.co.ukwrote:
   


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


Re: [Flashcoders] letter from Steve Jobs on Flash

2010-04-29 Thread allandt bik-elliott (thefieldcomic.com)
this basically sums up why apple don't support flash

Another Adobe claim is that Apple devices cannot play Flash games. This is
true. Fortunately, there are over 50,000 games and entertainment titles on
the App Store, and many of them are free.

in other words 'we don't want you to play flash games, we want you to play
apple games which we get paid for, especially when we bring out our iAd
platform that will monetise the free apps as well'

FUD Don Jobbso

a

On 29 April 2010 16:20, Glen Pike g...@engineeredarts.co.uk wrote:

 I thought it was an elven character from LOTR?


 On 29/04/2010 16:15, Eric E. Dolecki wrote:

 I think that's a new-fangled fishing lure used for freshwater carp or
 something.


 On Thu, Apr 29, 2010 at 10:57 AM, Glen Pikeg...@engineeredarts.co.uk
 wrote:



 ___
 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] How to hault execution and raise a error flag

2010-04-29 Thread Josh Saxe
Hi Fahim,

It sounds like you want, at the point in the code in which the condition is 
reached,


  throw new Error(Description of the condition that is causing me to halt 
execution ...);

You can subclass Error to get more fine grained classes describing various 
undesirable states if that's helpful.  If this is new to you try googling 
'actionscript try catch'.
You need to be running your code in the debug player for execution to halt, and 
to see the error.

Best,
Josh




From: Fahim Akhter akhter.fa...@gmail.com
To: Flash Coders List flashcoders@chattyfig.figleaf.com
Sent: Thu, April 29, 2010 5:13:33 AM
Subject: [Flashcoders] How to hault execution and raise a error flag

Hi,

I was wondering how can I put the execution of a application to a hault and
raise a error flag ( maybe quite everything) so it does not move anywhere
further. I have some logical errors which do not cause troubles in the
execution, but I still want to stop execution when they occur. For debugging
purposes.

Fahim Akhter
Game Developer | White Rabbit Studios |
http://apps.facebook.com/feline-frenzy/
___
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] letter from Steve Jobs on Flash

2010-04-29 Thread Paul Andrews

On 29/04/2010 16:17, Merrill, Jason wrote:

If he's talking specifically about Flash, why would he?
   

Switched off your irony detector today?
   


All detectors switched off by extreme fatigue right now.




Jason Merrill

Bank of  America  Global Learning
Learning  Performance Solutions

Join the Bank of America Flash Platform Community  and visit our
Instructional Technology Design Blog
(note: these are for Bank of America employees only)


___
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] libraries of wav files?

2010-04-29 Thread Kerry Thompson
Jim Andrews wrote:

 i know you can load external mp3 files in flash, but is it possible to load
 a library (if that is the right term) of wav files in flash?

 the app i want to make involves loops, and mp3 files are not real good for
 loops.

Hi Jim,

Coming a bit late to the conversation, but I did exactly that for some
music education games. We had to have seamless playback of multiple
audio files, and mp3 just doesn't cut it.

I put my .aiff files into one Flash file, set the linkage, and
downloaded the swf at run time. When the swf download was finished, I
instantiated instances of the .aiff files. I can send you some code if
you like (it's a little to long to post in a message).

Cordially,

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


RE: [Flashcoders] Quick question about dynamic groupings

2010-04-29 Thread Merrill, Jason
 The way of using VOs in MVC is where my lack of knowledge lays 

VOs are not specific to the MVC pattern, they are just a good way to
handle related data, period.


Jason Merrill 

Bank of  America  Global Learning 
Learning  Performance Solutions

Join the Bank of America Flash Platform Community  and visit our
Instructional Technology Design Blog
(note: these are for Bank of America employees only)






-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Cor
Sent: Thursday, April 29, 2010 10:58 AM
To: 'Flash Coders List'
Subject: RE: [Flashcoders] Quick question about dynamic groupings


The extra effort is no problem.
The way of using VOs in MVC is where my lack of knowledge lays, and I am
trying to learn it...

And you are helping very well on the way.
I just need those little (working) examples to get me on track of fully
understanding.
And sometimes technical stuff is extra difficult because English is not
my native language.

Thanks again, Jason.
And of course all other participants!

Regards
Cor

-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Merrill,
Jason
Sent: donderdag 29 april 2010 14:24
To: Flash Coders List
Subject: RE: [Flashcoders] Quick question about dynamic groupings

A generic object has no meaning, you lose typecasting and all the
benefits of using a custom class, like for example, code completion.

Remember anonymous functions in AS1/2 and why they were bad?  It's not
quite as bad to use generic objects, but still not good practice IMO.

With VOs, you know what properties it contains, and that's very useful
in situations, like for example, when you attach data to an event and
want to use it on the other end. Believe me, VOs are worth the slight
extra effort they are to create.


Jason Merrill 

Bank of  America  Global Learning
Learning  Performance Solutions

Join the Bank of America Flash Platform Community  and visit our
Instructional Technology Design Blog
(note: these are for Bank of America employees only)






-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Cor
Sent: Monday, April 26, 2010 4:23 PM
To: 'Flash Coders List'
Subject: RE: [Flashcoders] Quick question about dynamic groupings

Hi Jason,

Thank you.

So the personVO.as should look like this:
package
{
class PersonVO
{
public var firstName:String;
public var lastName:String;
public var phoneNumber:Number;
public var indicatorColor:uint;
}
}

Now I think I understand what you are doing, but I lost to see the
benefit of the VO over doing it with a generic Object.
Because it is now in a public array I can address everything.
Like this:


var personVO:PersonVO = new Object();
personVO.firstName = personnodex...@firstname; etc..

Or maybe I don't understand the VO concept???

Regards
Cor


-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Merrill,
Jason
Sent: maandag 26 april 2010 15:52
To: Flash Coders List
Subject: RE: [Flashcoders] Quick question about dynamic groupings

 Could you extend this with an example on the part of:
I typically do is load in XML data and create VOs from that (in my
Model
class) to use in my app.


Sure.  Here is an example of what the parsing might look like inside
your model class.  If your XML looked like this:


xml
people
person firstName=Hank lastName=Aaron
phoneNumber=7043237564 indicatorColor=0xe39132 /
person firstName=Fred lastName=Astaire
phoneNumber=9082321214 indicatorColor=0xe73721 /
person firstName=Judy lastName=Garland
phoneNumber=3107382234 indicatorColor=0xd4e355 /
person firstName=Marilyn lastName=Monroe
phoneNumber=3107673721 indicatorColor=0xbab5ab /
/people
/xml

Then inside your model class, you may have some code like this (which of
course would run after the XML is loaded):

public var personVOs:Array = []; //array of PersonVOs

private function createPersonVOs():void
{
for each (var personNodeXML:XML in myXML.people.person)
{
var personVO:PersonVO = new PersonVO();
personVO.firstName = personnodex...@firstname;
personVO.lastName = personnodex...@lastname;
personVO.phoneNumber =
Number(personnodex...@phonenumber);
personVO.indicatorColor =
uint(personnodex...@indicatorcolor);
personVOs.push(personVO);
}
}

So now, you have personVOs as a public property in your model you can
call and get the people information from their VO class.  Does that
help?  


Jason Merrill 

Bank of  America  Global Learning
Learning  Performance Solutions


RE: [Flashcoders] letter from Steve Jobs on Flash

2010-04-29 Thread Andrew Murphy
I think his comment was that many Flash sites were not designed for touch
screens, not that Flash itself is not designed for touch screens.

Even then it isn't really a fair comment since the vast majority of web
experiences were not designed with touch screen interactivity in mind.


 --
Andrew Murphy
Interactive Media Developer
amur...@delvinia.com

Delvinia
370 King Street West, 5th Floor, Box 4 
Toronto Canada M5V 1J9
P (416) 364-1455 ext. 232
F (416) 364-9830  
W www.delvinia.com


-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Glen Pike
Sent: April 29, 2010 10:41 am
To: Flash Coders List
Subject: Re: [Flashcoders] letter from Steve Jobs on Flash

I think some of his comments about Flash not being designed for Touch 
devices have a ring of truth to them, for example, I develop for a 
touchscreen system and have written many custom components without 
rollovers.

I can't really comment on battery life, web-video, etc. because I do all 
my browsing from a PC and only watch videos stuff that's plugged in.

This morning, I found myself hacking cellrenderers and making special 
workarounds for Flash's list control in order to implement a list that 
scrolled when you swipe it.  This is not multi-touch, just single touch, 
but still there is either a derth of components / tutorials / 
documentation for doing this sort of stuff.

OTOH, I managed to develop my own list control in Flash for the 
Touchscreen in under 8 hours without having to learn another language.  
I guess I am one of the lucky people - I work on a proprietary 
touch-screen based system supplied to specific customers and don't have 
to bend to the whims of the iPhone generation / market forces as much as 
if I was developing websites and RIA's and one of the 50,000+ games in 
the App store.  Can you call it a game if it is merely a graphic of a 
pint glass tipping beer?

Glen

On 29/04/2010 15:18, David Hunter wrote:
 i know there has already been a lot of talk about flash and iphones/ipads
and developer agreements on this list and i don't wish to add unnecessarily
or stoke up the fire again but i thought this might be a worthwhile read for
all from the man at the centre of it
all:http://www.apple.com/hotnews/thoughts-on-flash/

 _
 http://clk.atdmt.com/UKM/go/195013117/direct/01/
 ___
 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] letter from Steve Jobs on Flash

2010-04-29 Thread Micky Hulse
I would love to see a Thoughts on Apple letter from Adobe. :)
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] letter from Steve Jobs on Flash

2010-04-29 Thread Micky Hulse
 I would love to see a Thoughts on Apple letter from Adobe. :)

This is close enough:

http://mashable.com/2010/04/29/jon-stewart-apple/

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


Re: [Flashcoders] letter from Steve Jobs on Flash

2010-04-29 Thread Dave Watts
 this basically sums up why apple don't support flash

 Another Adobe claim is that Apple devices cannot play Flash games. This is
 true. Fortunately, there are over 50,000 games and entertainment titles on
 the App Store, and many of them are free.

 in other words 'we don't want you to play flash games, we want you to play
 apple games which we get paid for, especially when we bring out our iAd
 platform that will monetise the free apps as well'

 FUD Don Jobbso

This is exactly right. It's a business decision - a sound one - but
that's all it is. It has nothing to do with protecting the user
experience etc.

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] letter from Steve Jobs on Flash

2010-04-29 Thread Glen Pike
Pity it's US only, would have been nice to see, but it's not from Adobe 
though!


Apple have thrown down the gauntlet - it may be FUD, but it's from Steve 
Jobs / Apple and that's better than any speculation from other sources.


I guess I would like to see Adobe be able to respond to this without 
coming across as bitter about Apple's decisions, tough for a blow to 
potential revenue streams, but maybe Adobe do need a bit of motivation 
to ensure their products are slick and stable as well as being 
pervasive.  People like to slate both Adobe  Apple, sometimes it might 
make sense for both companies to listen to the jungle drums and move 
forward.


Micky Hulse wrote:

I would love to see a Thoughts on Apple letter from Adobe. :)



This is close enough:

http://mashable.com/2010/04/29/jon-stewart-apple/

:D
___
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] letter from Steve Jobs on Flash

2010-04-29 Thread Zeh Fernando
The problem is that pretty much all of that has already been responded to a
while ago. Steve Jobs is only repeating what has already been echoing among
people who want to rationalize the fact that iP* doesn't have Flash, like
this stupid rollover/hover discussion. If Adobe is to respond to that,
they'd been repeating what has already been said my Mike Chambers, Lee
Brimelow and others -- preaching to the choir, in a way, since Mac fanatics
who already made up their mind won't ever get to that or allow any logic to
intrude their argument.

Right now I'm more of the opinion that rolling your eyes and moving on is
the right thing to do. Adobe apparently has done so. This letter is just
Steve's way to say 'no wait, let's fight more'.

In 5 years we'll see the state in which mobile/online UI technology is and
we'll see who won -- past the FUD, past the hyperbole, past the lies. I, for
one, can't wait.

Zeh

On Thu, Apr 29, 2010 at 2:08 PM, Glen Pike postmas...@glenpike.co.ukwrote:

 Pity it's US only, would have been nice to see, but it's not from Adobe
 though!

 Apple have thrown down the gauntlet - it may be FUD, but it's from Steve
 Jobs / Apple and that's better than any speculation from other sources.

 I guess I would like to see Adobe be able to respond to this without coming
 across as bitter about Apple's decisions, tough for a blow to potential
 revenue streams, but maybe Adobe do need a bit of motivation to ensure their
 products are slick and stable as well as being pervasive.  People like to
 slate both Adobe  Apple, sometimes it might make sense for both companies
 to listen to the jungle drums and move forward.


 Micky Hulse wrote:

 I would love to see a Thoughts on Apple letter from Adobe. :)



 This is close enough:

 http://mashable.com/2010/04/29/jon-stewart-apple/

 :D
 ___
 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] letter from Steve Jobs on Flash

2010-04-29 Thread Merrill, Jason
He talks about Flash being yesterday's tech, but that statement makes me
wonder if he's ever coded in Objective-C.


Jason Merrill 

Bank of  America  Global Learning 
Learning  Performance Solutions

Join the Bank of America Flash Platform Community  and visit our
Instructional Technology Design Blog
(note: these are for Bank of America employees only)


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


Re: [Flashcoders] letter from Steve Jobs on Flash

2010-04-29 Thread Kerry Thompson
Zeh Fernando wrote:

 Right now I'm more of the opinion that rolling your eyes and moving on is
 the right thing to do.

Me too. I don't have the time to spare just now, but if I did, I'd be
writing Android apps. I see a whole lot of upside there for Flash
programmers.

Cordially,

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


RE: [Flashcoders] letter from Steve Jobs on Flash

2010-04-29 Thread Merrill, Jason
 Right now I'm more of the opinion that rolling your eyes and moving on

 is the right thing to do.

I'll third that.


Jason Merrill 

Bank of  America  Global Learning 
Learning  Performance Solutions

Join the Bank of America Flash Platform Community  and visit our
Instructional Technology Design Blog
(note: these are for Bank of America employees only)



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


Re: [Flashcoders] letter from Steve Jobs on Flash

2010-04-29 Thread Carl Welch
And here is the TRUE reason Apple wants to kill flash:
Apple may charge $1 million to display mobile ads: report
http://www.reuters.com/article/idUSTRE63S0IE20100429




On Thu, Apr 29, 2010 at 12:35 PM, Merrill, Jason 
jason.merr...@bankofamerica.com wrote:

  Right now I'm more of the opinion that rolling your eyes and moving on

  is the right thing to do.

 I'll third that.


 Jason Merrill

 Bank of  America  Global Learning
 Learning  Performance Solutions

 Join the Bank of America Flash Platform Community  and visit our
 Instructional Technology Design Blog
 (note: these are for Bank of America employees only)



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




-- 
Carl Welch
http://www.carlwelch.com
805.403.4819
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] letter from Steve Jobs on Flash

2010-04-29 Thread Brian Mays



On 4/29/10 2:35 PM, Merrill, Jason jason.merr...@bankofamerica.com
wrote:

 Right now I'm more of the opinion that rolling your eyes and moving on
 
 is the right thing to do.
 
 I'll third that.

I've been preaching at our company to continue to do Flash graphics for our
news site. But those graphics are targeted to our desktop users. The iPhone
users get a site that isn't built to handle graphics like that. The iPad
users get a customized site as well. Now we can say our desktop users have
their own product :)

Brian Mays

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


Re: [Flashcoders] libraries of wav files?

2010-04-29 Thread Jim Andrews

Coming a bit late to the conversation, but I did exactly that for some
music education games. We had to have seamless playback of multiple
audio files, and mp3 just doesn't cut it.

I put my .aiff files into one Flash file, set the linkage, and
downloaded the swf at run time. When the swf download was finished, I
instantiated instances of the .aiff files. I can send you some code if
you like (it's a little to long to post in a message).

Cordially,

Kerry Thompson


Hi Kerry. Nice to see you in this forum!

Sure, I'd appreciate the code. Thanks very much.

Also, can you tell me why you're working with .aiff files rather than, say, 
.wav files? I have never worked with .aiff files. I don't know anything 
about them. How do they compare with .wav files?


ja
http://vispo.com 


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


[Flashcoders] Return of the Blue Lego

2010-04-29 Thread Matt S.
Return of the Blue Lego
Posted at Apr 9, 10 by Grant Skinner « Colorgasm Music Visuali... |
BitmapSlice9: Scale9 fo... »

As some people have noticed, Apple has eliminated the blue lego icon
that indicates a missing plugin on the iPad. I believe that this is a
not so subtle way of shifting users from believing that the iPad
browser is lacking something, to believing that the site they are
viewing is broken.

In response to this, I've created the blueLego edition of SWFObject
2.2. It works exactly the same as regular SWFObject, except it will
display the blue lego icon, with a link to Adobe's get Flash Player
page on iPhone, iPod, and iPad.

As of April 13, this page correctly displays content explaining to
iPad users why Flash is unavailable on their device. This is the same
content shown on the iPhone, which is described here. You're obviously
free to modify the iDevice alternate content or the code itself to
suit your own needs.

It is released under the MIT license, and you can download it by
clicking here. Whether it is useful for production or not, I leave to
you. It was created more as a statement than anything.



You can test it by pointing your iDevice browser to this url:
http://gskinner.com/playpen/bluelego/

http://www.gskinner.com/blog/archives/2010/04/return_of_the_b.html

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


Re: [Flashcoders] letter from Steve Jobs on Flash

2010-04-29 Thread Jim Andrews

Does HTML 5 do anything about the basically non-existant audio API in HTML?

I gather that the canvas tag was Apple's proposal. How does it compare 
with the graphical abilities of Flash or Director?


Microsoft has not implemented the canvas tag. Is the canvas tag in the 
W3C HTML 5 spec?


And how does the canvas tag compare with the ideas around SVG, which seems 
like a competing graphical API?


In an ideal world, we could use 'open' tools with 'open' standards to create 
our apps.


But what we have, instead, are corporations struggling with one another for 
business turf/markets.


I've been a Director programmer for over ten years. Seeing what Adobe is 
doing with Director, I have no allegiance to Adobe. Eventually it will be 
Flash's turn to suffer the same fate.


As go these big corporations and their products, so goes my work and your 
work? Then it's only a matter of time before it all becomes data trash.


By no means an ideal situation any way you look at it.

I was attracted to Director cuz I could do things with it that I couldn't do 
with any other tools. Flash is now the more popular and contemporary tool 
for doing these sorts of things. And it has equalled Director in various 
(though not all) ways. So I'm learning Flash.


But I wonder if it'll all be data trash in twenty years.

ja
http://vispo.com 


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


Re: [Flashcoders] letter from Steve Jobs on Flash

2010-04-29 Thread Karl DeSaulniers
The best thing for Adobe to do right now is get flash player up to  
STELLAR performance, even by Apples standards and then refuse to put  
it on the iPhone. That would just be funny.


When flash is benchmarking html5 under the table, then adobe will have  
some barganing chips if you will. I dont agree with Jobs attitude but  
flash could use a performance update on adobe's end. Since the  
majority of smart phones are leaning towards touch, it may be time to  
graduate. Not to mention the fact that touch screen computers and  
keyboards are on their way. We don't want flash to not be able to work  
on regular desktops. But I hope/am thinking Adobe is already on this  
one and it will be some time before touch is standard.


Maybe add a displays.touch class to the IDE? Is there a way currently  
to check if a computer uses touch? I am thinking not but stand to be  
corrected.



Karl

Sent from losPhone

On Apr 29, 2010, at 3:21 PM, Brian Mays bm...@newsok.com wrote:





On 4/29/10 2:35 PM, Merrill, Jason jason.merr...@bankofamerica.com
wrote:

Right now I'm more of the opinion that rolling your eyes and  
moving on



is the right thing to do.


I'll third that.


I've been preaching at our company to continue to do Flash graphics  
for our
news site. But those graphics are targeted to our desktop users. The  
iPhone
users get a site that isn't built to handle graphics like that. The  
iPad
users get a customized site as well. Now we can say our desktop  
users have

their own product :)

Brian Mays

___
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] letter from Steve Jobs on Flash

2010-04-29 Thread David Hunter

not sure about audio. but here is a good but long introduction to some of the 
features of HTML 5: http://www.youtube.com/watch?v=siOHh0uzcuY . from memory i 
think SVG is good for drawing and simple interaction, canvas is for more 
complex stuff with a lot of javascript. I think canvas is in everything 
except IE.

 From: j...@vispo.com
 To: flashcoders@chattyfig.figleaf.com
 Subject: Re: [Flashcoders] letter from Steve Jobs on Flash
 Date: Thu, 29 Apr 2010 15:06:46 -0700
 
 Does HTML 5 do anything about the basically non-existant audio API in HTML?
 
 I gather that the canvas tag was Apple's proposal. How does it compare 
 with the graphical abilities of Flash or Director?
 
 Microsoft has not implemented the canvas tag. Is the canvas tag in the 
 W3C HTML 5 spec?
 
 And how does the canvas tag compare with the ideas around SVG, which seems 
 like a competing graphical API?
 
 In an ideal world, we could use 'open' tools with 'open' standards to create 
 our apps.
 
 But what we have, instead, are corporations struggling with one another for 
 business turf/markets.
 
 I've been a Director programmer for over ten years. Seeing what Adobe is 
 doing with Director, I have no allegiance to Adobe. Eventually it will be 
 Flash's turn to suffer the same fate.
 
 As go these big corporations and their products, so goes my work and your 
 work? Then it's only a matter of time before it all becomes data trash.
 
 By no means an ideal situation any way you look at it.
 
 I was attracted to Director cuz I could do things with it that I couldn't do 
 with any other tools. Flash is now the more popular and contemporary tool 
 for doing these sorts of things. And it has equalled Director in various 
 (though not all) ways. So I'm learning Flash.
 
 But I wonder if it'll all be data trash in twenty years.
 
 ja
 http://vispo.com 
 
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
  
_
http://clk.atdmt.com/UKM/go/19780/direct/01/
Do you have a story that started on Hotmail? Tell us 
now___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] letter from Steve Jobs on Flash

2010-04-29 Thread Zeh Fernando
Mobile and desktop performance is already above and beyond what HTML5 can
do:
http://themaninblue.com/writing/perspective/2010/03/22/
http://vimeo.com/10553088

Touch events/gestures/points are supported by FP 10.1 so I'm pretty sure
we'll have a way to see whether any of those are actually present.

I'd say that as you get past the kicking and screaming and the lack of Apple
support, Flash is in a very comfortable position and bound for a brilliant
future.

Zeh

On Thu, Apr 29, 2010 at 6:18 PM, Karl DeSaulniers k...@designdrumm.comwrote:

 The best thing for Adobe to do right now is get flash player up to STELLAR
 performance, even by Apples standards and then refuse to put it on the
 iPhone. That would just be funny.

 When flash is benchmarking html5 under the table, then adobe will have some
 barganing chips if you will. I dont agree with Jobs attitude but flash could
 use a performance update on adobe's end. Since the majority of smart phones
 are leaning towards touch, it may be time to graduate. Not to mention the
 fact that touch screen computers and keyboards are on their way. We don't
 want flash to not be able to work on regular desktops. But I hope/am
 thinking Adobe is already on this one and it will be some time before touch
 is standard.

 Maybe add a displays.touch class to the IDE? Is there a way currently to
 check if a computer uses touch? I am thinking not but stand to be corrected.


 Karl

 Sent from losPhone


 On Apr 29, 2010, at 3:21 PM, Brian Mays bm...@newsok.com wrote:




 On 4/29/10 2:35 PM, Merrill, Jason jason.merr...@bankofamerica.com
 wrote:

  Right now I'm more of the opinion that rolling your eyes and moving on


  is the right thing to do.


 I'll third that.


 I've been preaching at our company to continue to do Flash graphics for
 our
 news site. But those graphics are targeted to our desktop users. The
 iPhone
 users get a site that isn't built to handle graphics like that. The iPad
 users get a customized site as well. Now we can say our desktop users have
 their own product :)

 Brian Mays

 ___
 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] Return of the Blue Lego

2010-04-29 Thread Carl Welch
I love it. Thanks!

On Thu, Apr 29, 2010 at 2:10 PM, Matt S. mattsp...@gmail.com wrote:

 Return of the Blue Lego
 Posted at Apr 9, 10 by Grant Skinner « Colorgasm Music Visuali... |
 BitmapSlice9: Scale9 fo... »

 As some people have noticed, Apple has eliminated the blue lego icon
 that indicates a missing plugin on the iPad. I believe that this is a
 not so subtle way of shifting users from believing that the iPad
 browser is lacking something, to believing that the site they are
 viewing is broken.

 In response to this, I've created the blueLego edition of SWFObject
 2.2. It works exactly the same as regular SWFObject, except it will
 display the blue lego icon, with a link to Adobe's get Flash Player
 page on iPhone, iPod, and iPad.

 As of April 13, this page correctly displays content explaining to
 iPad users why Flash is unavailable on their device. This is the same
 content shown on the iPhone, which is described here. You're obviously
 free to modify the iDevice alternate content or the code itself to
 suit your own needs.

 It is released under the MIT license, and you can download it by
 clicking here. Whether it is useful for production or not, I leave to
 you. It was created more as a statement than anything.



 You can test it by pointing your iDevice browser to this url:
 http://gskinner.com/playpen/bluelego/

 http://www.gskinner.com/blog/archives/2010/04/return_of_the_b.html

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




-- 
Carl Welch
http://www.carlwelch.com
805.403.4819
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] letter from Steve Jobs on Flash

2010-04-29 Thread Karl DeSaulniers

@Zeh
Thanks for the links. Good to know.
I have investied a LOT of time in flash, as have many others.
:)

Karl


On Apr 29, 2010, at 5:28 PM, Zeh Fernando wrote:

Mobile and desktop performance is already above and beyond what  
HTML5 can

do:
http://themaninblue.com/writing/perspective/2010/03/22/
http://vimeo.com/10553088

Touch events/gestures/points are supported by FP 10.1 so I'm pretty  
sure

we'll have a way to see whether any of those are actually present.

I'd say that as you get past the kicking and screaming and the lack  
of Apple
support, Flash is in a very comfortable position and bound for a  
brilliant

future.

Zeh

On Thu, Apr 29, 2010 at 6:18 PM, Karl DeSaulniers  
k...@designdrumm.comwrote:


The best thing for Adobe to do right now is get flash player up to  
STELLAR
performance, even by Apples standards and then refuse to put it on  
the

iPhone. That would just be funny.

When flash is benchmarking html5 under the table, then adobe will  
have some
barganing chips if you will. I dont agree with Jobs attitude but  
flash could
use a performance update on adobe's end. Since the majority of  
smart phones
are leaning towards touch, it may be time to graduate. Not to  
mention the
fact that touch screen computers and keyboards are on their way.  
We don't

want flash to not be able to work on regular desktops. But I hope/am
thinking Adobe is already on this one and it will be some time  
before touch

is standard.

Maybe add a displays.touch class to the IDE? Is there a way  
currently to
check if a computer uses touch? I am thinking not but stand to be  
corrected.



Karl

Sent from losPhone


On Apr 29, 2010, at 3:21 PM, Brian Mays bm...@newsok.com wrote:





On 4/29/10 2:35 PM, Merrill, Jason  
jason.merr...@bankofamerica.com

wrote:

 Right now I'm more of the opinion that rolling your eyes and  
moving on




 is the right thing to do.




I'll third that.



I've been preaching at our company to continue to do Flash  
graphics for

our
news site. But those graphics are targeted to our desktop users. The
iPhone
users get a site that isn't built to handle graphics like that.  
The iPad
users get a customized site as well. Now we can say our desktop  
users have

their own product :)

Brian Mays

___
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


Karl DeSaulniers
Design Drumm
http://designdrumm.com

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


Re: [Flashcoders] letter from Steve Jobs on Flash

2010-04-29 Thread Beatrix Krümmer-Frau
Steve Jobs will be dead before Flash - don't worry.

*Beatrix Kruemmer-Frau*
Dipl. Ing. Designer|CEH-LPIG-1
Flash/Flex Developer
Network Security Administrator

Blog http://www.blog.dieanstalt.com
Twitter http://twitter.com/Birikini 
Xing http://www.xing.com/profile/Beatrix_KruemmerFrau 
LinkenID http://de.linkedin.com/in/beatrixkruemmerfrau


Am 30.04.2010 00:41, schrieb Karl DeSaulniers:
 @Zeh
 Thanks for the links. Good to know.
 I have investied a LOT of time in flash, as have many others.
 :)

 Karl


 On Apr 29, 2010, at 5:28 PM, Zeh Fernando wrote:

 Mobile and desktop performance is already above and beyond what HTML5
 can
 do:
 http://themaninblue.com/writing/perspective/2010/03/22/
 http://vimeo.com/10553088

 Touch events/gestures/points are supported by FP 10.1 so I'm pretty sure
 we'll have a way to see whether any of those are actually present.

 I'd say that as you get past the kicking and screaming and the lack
 of Apple
 support, Flash is in a very comfortable position and bound for a
 brilliant
 future.

 Zeh

 On Thu, Apr 29, 2010 at 6:18 PM, Karl DeSaulniers
 k...@designdrumm.comwrote:

 The best thing for Adobe to do right now is get flash player up to
 STELLAR
 performance, even by Apples standards and then refuse to put it on the
 iPhone. That would just be funny.

 When flash is benchmarking html5 under the table, then adobe will
 have some
 barganing chips if you will. I dont agree with Jobs attitude but
 flash could
 use a performance update on adobe's end. Since the majority of smart
 phones
 are leaning towards touch, it may be time to graduate. Not to
 mention the
 fact that touch screen computers and keyboards are on their way. We
 don't
 want flash to not be able to work on regular desktops. But I hope/am
 thinking Adobe is already on this one and it will be some time
 before touch
 is standard.

 Maybe add a displays.touch class to the IDE? Is there a way
 currently to
 check if a computer uses touch? I am thinking not but stand to be
 corrected.


 Karl

 Sent from losPhone


 On Apr 29, 2010, at 3:21 PM, Brian Mays bm...@newsok.com wrote:




 On 4/29/10 2:35 PM, Merrill, Jason jason.merr...@bankofamerica.com
 wrote:

  Right now I'm more of the opinion that rolling your eyes and
 moving on


  is the right thing to do.


 I'll third that.


 I've been preaching at our company to continue to do Flash graphics
 for
 our
 news site. But those graphics are targeted to our desktop users. The
 iPhone
 users get a site that isn't built to handle graphics like that. The
 iPad
 users get a customized site as well. Now we can say our desktop
 users have
 their own product :)

 Brian Mays

 ___
 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

 Karl DeSaulniers
 Design Drumm
 http://designdrumm.com

 ___
 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] Return of the Blue Lego

2010-04-29 Thread Karl DeSaulniers

Thats great..

Weird thing though, when I went to that link the first time on my  
iPhone, it took me to a different adobe page that said it couldn't  
pull up the url because of too many redirects and then took me to  
download flash.
I had to hit back and touch the blue lego about three times before it  
showed that apple message you made. FYI. I am on a 2G iPhone with 3.1OS.



Karl


On Apr 29, 2010, at 4:10 PM, Matt S. wrote:


Return of the Blue Lego
Posted at Apr 9, 10 by Grant Skinner « Colorgasm Music Visuali... |
BitmapSlice9: Scale9 fo... »

As some people have noticed, Apple has eliminated the blue lego icon
that indicates a missing plugin on the iPad. I believe that this is a
not so subtle way of shifting users from believing that the iPad
browser is lacking something, to believing that the site they are
viewing is broken.

In response to this, I've created the blueLego edition of SWFObject
2.2. It works exactly the same as regular SWFObject, except it will
display the blue lego icon, with a link to Adobe's get Flash Player
page on iPhone, iPod, and iPad.

As of April 13, this page correctly displays content explaining to
iPad users why Flash is unavailable on their device. This is the same
content shown on the iPhone, which is described here. You're obviously
free to modify the iDevice alternate content or the code itself to
suit your own needs.

It is released under the MIT license, and you can download it by
clicking here. Whether it is useful for production or not, I leave to
you. It was created more as a statement than anything.



You can test it by pointing your iDevice browser to this url:
http://gskinner.com/playpen/bluelego/

http://www.gskinner.com/blog/archives/2010/04/return_of_the_b.html

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


Karl DeSaulniers
Design Drumm
http://designdrumm.com


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


Re: [Flashcoders] Return of the Blue Lego

2010-04-29 Thread Karl DeSaulniers

You, lol I meant Grant Skinner.

Karl


On Apr 29, 2010, at 5:46 PM, Karl DeSaulniers wrote:


Thats great..

Weird thing though, when I went to that link the first time on my  
iPhone, it took me to a different adobe page that said it couldn't  
pull up the url because of too many redirects and then took me to  
download flash.
I had to hit back and touch the blue lego about three times before  
it showed that apple message you made. FYI. I am on a 2G iPhone  
with 3.1OS.



Karl


On Apr 29, 2010, at 4:10 PM, Matt S. wrote:


Return of the Blue Lego
Posted at Apr 9, 10 by Grant Skinner « Colorgasm Music Visuali... |
BitmapSlice9: Scale9 fo... »

As some people have noticed, Apple has eliminated the blue lego icon
that indicates a missing plugin on the iPad. I believe that this is a
not so subtle way of shifting users from believing that the iPad
browser is lacking something, to believing that the site they are
viewing is broken.

In response to this, I've created the blueLego edition of SWFObject
2.2. It works exactly the same as regular SWFObject, except it will
display the blue lego icon, with a link to Adobe's get Flash Player
page on iPhone, iPod, and iPad.

As of April 13, this page correctly displays content explaining to
iPad users why Flash is unavailable on their device. This is the same
content shown on the iPhone, which is described here. You're  
obviously

free to modify the iDevice alternate content or the code itself to
suit your own needs.

It is released under the MIT license, and you can download it by
clicking here. Whether it is useful for production or not, I leave to
you. It was created more as a statement than anything.



You can test it by pointing your iDevice browser to this url:
http://gskinner.com/playpen/bluelego/

http://www.gskinner.com/blog/archives/2010/04/return_of_the_b.html

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


Karl DeSaulniers
Design Drumm
http://designdrumm.com


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


Karl DeSaulniers
Design Drumm
http://designdrumm.com


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


[Flashcoders] iPhone viable solutions???

2010-04-29 Thread Karl DeSaulniers

Hello everyone,
Your thoughts on this idea.. and this may not be the best way about it,
but maybe Adobe could get CS5 or CS6 to be able to utilize/open a  
base Obj C iPhone app template,
retaining the original Obj C base (approved by apple) and let you add  
your content,
then compile the content to work with that approved Apple iPhone  
template?
The developer would just have to work with certain parameters set by  
the template resources I would think.
Then Apple and Adobe can start a playing nicely and start a whole  
iApp template resource that provided everything for us developers.
You could go and sign up as a developer with Apple or Adobe and  
utilize templates they have that allow you to use CS5 or CS6,

whichever is the most current at the time.

Adobe gets on iPhone and Apple gets to control the templates to an  
extent of performance. Not content.


Would this be a viable possibility?  Or am I just a dreamer.. :)

JAT

Karl

Karl DeSaulniers
Design Drumm
http://designdrumm.com

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


RE: [Flashcoders] letter from Steve Jobs on Flash

2010-04-29 Thread David Hunter

here is the reaction from Adobe head honcho, Shantanu Narayen: 
http://blogs.wsj.com/digits/2010/04/29/live-blogging-the-journals-interview-with-adobe-ceo/

 Date: Fri, 30 Apr 2010 00:45:26 +0200
 From: birik...@hotmail.de
 To: flashcoders@chattyfig.figleaf.com
 Subject: Re: [Flashcoders] letter from Steve Jobs on Flash
 
 Steve Jobs will be dead before Flash - don't worry.
 
 *Beatrix Kruemmer-Frau*
 Dipl. Ing. Designer|CEH-LPIG-1
 Flash/Flex Developer
 Network Security Administrator
 
 Blog http://www.blog.dieanstalt.com
 Twitter http://twitter.com/Birikini 
 Xing http://www.xing.com/profile/Beatrix_KruemmerFrau 
 LinkenID http://de.linkedin.com/in/beatrixkruemmerfrau
 
 
 Am 30.04.2010 00:41, schrieb Karl DeSaulniers:
  @Zeh
  Thanks for the links. Good to know.
  I have investied a LOT of time in flash, as have many others.
  :)
 
  Karl
 
 
  On Apr 29, 2010, at 5:28 PM, Zeh Fernando wrote:
 
  Mobile and desktop performance is already above and beyond what HTML5
  can
  do:
  http://themaninblue.com/writing/perspective/2010/03/22/
  http://vimeo.com/10553088
 
  Touch events/gestures/points are supported by FP 10.1 so I'm pretty sure
  we'll have a way to see whether any of those are actually present.
 
  I'd say that as you get past the kicking and screaming and the lack
  of Apple
  support, Flash is in a very comfortable position and bound for a
  brilliant
  future.
 
  Zeh
 
  On Thu, Apr 29, 2010 at 6:18 PM, Karl DeSaulniers
  k...@designdrumm.comwrote:
 
  The best thing for Adobe to do right now is get flash player up to
  STELLAR
  performance, even by Apples standards and then refuse to put it on the
  iPhone. That would just be funny.
 
  When flash is benchmarking html5 under the table, then adobe will
  have some
  barganing chips if you will. I dont agree with Jobs attitude but
  flash could
  use a performance update on adobe's end. Since the majority of smart
  phones
  are leaning towards touch, it may be time to graduate. Not to
  mention the
  fact that touch screen computers and keyboards are on their way. We
  don't
  want flash to not be able to work on regular desktops. But I hope/am
  thinking Adobe is already on this one and it will be some time
  before touch
  is standard.
 
  Maybe add a displays.touch class to the IDE? Is there a way
  currently to
  check if a computer uses touch? I am thinking not but stand to be
  corrected.
 
 
  Karl
 
  Sent from losPhone
 
 
  On Apr 29, 2010, at 3:21 PM, Brian Mays bm...@newsok.com wrote:
 
 
 
 
  On 4/29/10 2:35 PM, Merrill, Jason jason.merr...@bankofamerica.com
  wrote:
 
   Right now I'm more of the opinion that rolling your eyes and
  moving on
 
 
   is the right thing to do.
 
 
  I'll third that.
 
 
  I've been preaching at our company to continue to do Flash graphics
  for
  our
  news site. But those graphics are targeted to our desktop users. The
  iPhone
  users get a site that isn't built to handle graphics like that. The
  iPad
  users get a customized site as well. Now we can say our desktop
  users have
  their own product :)
 
  Brian Mays
 
  ___
  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
 
  Karl DeSaulniers
  Design Drumm
  http://designdrumm.com
 
  ___
  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
  
_
http://clk.atdmt.com/UKM/go/19780/direct/01/
Do you have a story that started on Hotmail? Tell us 
now___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] letter from Steve Jobs on Flash

2010-04-29 Thread Mattheis, Erik (MIN - WSW)
Ha ha http://topherchris.com/post/558594718

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