Re: [Flashcoders] Baby Step #2

2009-11-18 Thread Cedric Muller

otherwise (if you haven't) you should buy a  serious book ;)



You know, I just moved back from a 3rd world country (the Dominican
Republic) where I went broke (it was wonderful). I learned to  
survive on
very little in the process. And I ain't changing those habits. I  
don't buy

nuttin unless I absolutely have to :))
beno


:) Ok, and now for something completely different: you have to, you  
absolutely have to buy a book, one that is called ActionScript 3.0  
Essentials by Colin Moock.


I survive on low processes too :) but I must admit that AS3 is none  
of the beautiful things out there, ie: it isn't Nature :) Buy the  
book, read it carefully, and then you will still be able to say you  
have 'survived on very little in the process'. A book, is just a book.


I am really trying to motivate you to buy this book, that's a futile  
thing. It is best when a book answers your questions, because the  
list is cool but goes broke too sometimes (nah, that isn't true).


So, will you please buy this book ? :P


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


[Flashcoders] Who uses Adobe Flex?

2009-11-18 Thread Sid Ferreira
I know this isn't actually an Adobe Flex / Adobe Flash Builder list
(actually, if you know a good one, forward me), but today a client sent a
briefing asking the website to be done in Adobe Flex.

Once it will need CEO and it isn't for small audiences, we plan to deny it,
but then I got the doubt: Are there good websites made in flex?

Here is a link of a website made for us using flash technology, and it's
what we would like to do: http://www.florense.com

Thanks in advance!
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Who uses Adobe Flex?

2009-11-18 Thread Giro
I do website with flex, flex builder is a best IDE thant Flash IDE. And
using flex is more easy to do somethings, and one good thing for me it is
less code lines.

Some website I do, in spanish.

http://www.salgueda.com/
http://www.bricoceramic.com/


Giro.



2009/11/18 Sid Ferreira sid@gmail.com

 I know this isn't actually an Adobe Flex / Adobe Flash Builder list
 (actually, if you know a good one, forward me), but today a client sent a
 briefing asking the website to be done in Adobe Flex.

 Once it will need CEO and it isn't for small audiences, we plan to deny it,
 but then I got the doubt: Are there good websites made in flex?

 Here is a link of a website made for us using flash technology, and it's
 what we would like to do: http://www.florense.com

 Thanks in advance!
 ___
 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] Who uses Adobe Flex?

2009-11-18 Thread Henrik Andersson

Giro wrote:

I do website with flex, flex builder is a best IDE thant Flash IDE. And
using flex is more easy to do somethings, and one good thing for me it is
less code lines.



I find the opposite to be true. The swf format has a lot of neat 
features that you are just throwing away when using Flex. For example, 
the ability to use vector graphics. I wouldn't use Flex unless I had to.


Sure, Flex Builder has code hinting, but so does CS 5. I find that there 
is less and less reasons to use Flex these days.

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


Re: [Flashcoders] Who uses Adobe Flex?

2009-11-18 Thread Sid Ferreira
Well, indeed you changed my mind...
Now, a thing that bothers me is that buttons, for instance, uses timeline
and not AS animation...

On Wed, Nov 18, 2009 at 09:19, Cedric Muller flashco...@benga.li wrote:

 Hi,

 My answer is one of those very general and informative answers, please
 pardon me for that.

 All in all, Flex / Flash Builder is just  Flash platform ... which is
 just  Flash.
 Flash is Flash. The florense site could have been done with Flex. Actually
 you can use Flex Builder to build a 100% actionscript project involving NONE
 of the flex framework / components.
 Flex / Flash Builder is just a nice IDE, truely dedicated towards
 application development.

 I am answering to your question with the one I asked to Gringo's (
 http://www.gringo.nu/ co founder: Do you happen to use Flex in the
 websites/applications you produce ?
 Answer: Yes, almost always.

 From that answer I started wondering what Flex was :) Now I am building
 custom components for Flex specialists :) Actually it is quite amazing how
 far you can consolidate what you learnt with Flash. Moreover if you are
 being able to develop sites like florense.com you will be able to do great
 things with Flex, and definitely replicate what you did in Flash with some
 time gain, if you are being proficient.


 Another question could be: why does the client want Flex ? (because SEO is
 not an answer, it can be done with a 100% pure AS project compiled with
 Flash IDE).


 hth,
 Cedric

  I know this isn't actually an Adobe Flex / Adobe Flash Builder list
 (actually, if you know a good one, forward me), but today a client sent a
 briefing asking the website to be done in Adobe Flex.

 Once it will need CEO and it isn't for small audiences, we plan to deny
 it,
 but then I got the doubt: Are there good websites made in flex?

 Here is a link of a website made for us using flash technology, and it's
 what we would like to do: http://www.florense.com

 Thanks in advance!
 ___
 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




-- 
Sidney G B Ferreira
Desenvolvedor Web
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Who uses Adobe Flex?

2009-11-18 Thread Glen Pike

Hi,

   But you can easily create your own button type class rather than use 
the Flash symbols...
  
   Glen


Sid Ferreira wrote:

Well, indeed you changed my mind...
Now, a thing that bothers me is that buttons, for instance, uses timeline
and not AS animation...

On Wed, Nov 18, 2009 at 09:19, Cedric Muller flashco...@benga.li wrote:

  

Hi,

My answer is one of those very general and informative answers, please
pardon me for that.

All in all, Flex / Flash Builder is just  Flash platform ... which is
just  Flash.
Flash is Flash. The florense site could have been done with Flex. Actually
you can use Flex Builder to build a 100% actionscript project involving NONE
of the flex framework / components.
Flex / Flash Builder is just a nice IDE, truely dedicated towards
application development.

I am answering to your question with the one I asked to Gringo's (
http://www.gringo.nu/ co founder: Do you happen to use Flex in the
websites/applications you produce ?
Answer: Yes, almost always.

From that answer I started wondering what Flex was :) Now I am building
custom components for Flex specialists :) Actually it is quite amazing how
far you can consolidate what you learnt with Flash. Moreover if you are
being able to develop sites like florense.com you will be able to do great
things with Flex, and definitely replicate what you did in Flash with some
time gain, if you are being proficient.


Another question could be: why does the client want Flex ? (because SEO is
not an answer, it can be done with a 100% pure AS project compiled with
Flash IDE).


hth,
Cedric

 I know this isn't actually an Adobe Flex / Adobe Flash Builder list


(actually, if you know a good one, forward me), but today a client sent a
briefing asking the website to be done in Adobe Flex.

Once it will need CEO and it isn't for small audiences, we plan to deny
it,
but then I got the doubt: Are there good websites made in flex?

Here is a link of a website made for us using flash technology, and it's
what we would like to do: http://www.florense.com

Thanks in advance!
___
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] Who uses Adobe Flex?

2009-11-18 Thread Sid Ferreira
I need to retake the studies in flex...

At this moment Im deciding between Html 5 or focus in the flash media...

On Wed, Nov 18, 2009 at 09:51, Glen Pike g...@engineeredarts.co.uk wrote:

 Hi,

   But you can easily create your own button type class rather than use the
 Flash symbols...
 Glen


 Sid Ferreira wrote:

 Well, indeed you changed my mind...
 Now, a thing that bothers me is that buttons, for instance, uses timeline
 and not AS animation...

 On Wed, Nov 18, 2009 at 09:19, Cedric Muller flashco...@benga.li wrote:



 Hi,

 My answer is one of those very general and informative answers, please
 pardon me for that.

 All in all, Flex / Flash Builder is just  Flash platform ... which is
 just  Flash.
 Flash is Flash. The florense site could have been done with Flex.
 Actually
 you can use Flex Builder to build a 100% actionscript project involving
 NONE
 of the flex framework / components.
 Flex / Flash Builder is just a nice IDE, truely dedicated towards
 application development.

 I am answering to your question with the one I asked to Gringo's (
 http://www.gringo.nu/ co founder: Do you happen to use Flex in the
 websites/applications you produce ?
 Answer: Yes, almost always.

 From that answer I started wondering what Flex was :) Now I am building
 custom components for Flex specialists :) Actually it is quite amazing
 how
 far you can consolidate what you learnt with Flash. Moreover if you are
 being able to develop sites like florense.com you will be able to do
 great
 things with Flex, and definitely replicate what you did in Flash with
 some
 time gain, if you are being proficient.


 Another question could be: why does the client want Flex ? (because SEO
 is
 not an answer, it can be done with a 100% pure AS project compiled with
 Flash IDE).


 hth,
 Cedric

  I know this isn't actually an Adobe Flex / Adobe Flash Builder list


 (actually, if you know a good one, forward me), but today a client sent
 a
 briefing asking the website to be done in Adobe Flex.

 Once it will need CEO and it isn't for small audiences, we plan to deny
 it,
 but then I got the doubt: Are there good websites made in flex?

 Here is a link of a website made for us using flash technology, and it's
 what we would like to do: http://www.florense.com

 Thanks in advance!
 ___
 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




-- 
Sidney G B Ferreira
Desenvolvedor Web
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Who uses Adobe Flex?

2009-11-18 Thread Mauro Martins
Hi! I tend to start a project in flash IDE and then code it all the way 
inside a flex bluider or eclipse + FDT. I just use my IDE for Flash 
assets like custom constructed components. That way you have all the 
neat code hinting (wich you still dont have in IDE) and have all the 
good things from the Flash and not Flex.


Sid Ferreira escreveu:

I need to retake the studies in flex...

At this moment Im deciding between Html 5 or focus in the flash media...

On Wed, Nov 18, 2009 at 09:51, Glen Pike g...@engineeredarts.co.uk wrote:

  

Hi,

  But you can easily create your own button type class rather than use the
Flash symbols...
Glen


Sid Ferreira wrote:



Well, indeed you changed my mind...
Now, a thing that bothers me is that buttons, for instance, uses timeline
and not AS animation...

On Wed, Nov 18, 2009 at 09:19, Cedric Muller flashco...@benga.li wrote:



  

Hi,

My answer is one of those very general and informative answers, please
pardon me for that.

All in all, Flex / Flash Builder is just  Flash platform ... which is
just  Flash.
Flash is Flash. The florense site could have been done with Flex.
Actually
you can use Flex Builder to build a 100% actionscript project involving
NONE
of the flex framework / components.
Flex / Flash Builder is just a nice IDE, truely dedicated towards
application development.

I am answering to your question with the one I asked to Gringo's (
http://www.gringo.nu/ co founder: Do you happen to use Flex in the
websites/applications you produce ?
Answer: Yes, almost always.

From that answer I started wondering what Flex was :) Now I am building
custom components for Flex specialists :) Actually it is quite amazing
how
far you can consolidate what you learnt with Flash. Moreover if you are
being able to develop sites like florense.com you will be able to do
great
things with Flex, and definitely replicate what you did in Flash with
some
time gain, if you are being proficient.


Another question could be: why does the client want Flex ? (because SEO
is
not an answer, it can be done with a 100% pure AS project compiled with
Flash IDE).


hth,
Cedric

 I know this isn't actually an Adobe Flex / Adobe Flash Builder list




(actually, if you know a good one, forward me), but today a client sent
a
briefing asking the website to be done in Adobe Flex.

Once it will need CEO and it isn't for small audiences, we plan to deny
it,
but then I got the doubt: Are there good websites made in flex?

Here is a link of a website made for us using flash technology, and it's
what we would like to do: http://www.florense.com

Thanks in advance!
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders



  

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








  

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






  


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


Re: [Flashcoders] Who uses Adobe Flex?

2009-11-18 Thread Sid Ferreira
But, now the big question: How to handle with the legal costs? In brazil
there are many people using flash, most of them I doubt are legal...

Mauro: Are you brazillian?

On Wed, Nov 18, 2009 at 10:04, Mauro Martins 
mauroalexandremart...@gmail.com wrote:

 Hi! I tend to start a project in flash IDE and then code it all the way
 inside a flex bluider or eclipse + FDT. I just use my IDE for Flash assets
 like custom constructed components. That way you have all the neat code
 hinting (wich you still dont have in IDE) and have all the good things from
 the Flash and not Flex.

 Sid Ferreira escreveu:

  I need to retake the studies in flex...

 At this moment Im deciding between Html 5 or focus in the flash media...

 On Wed, Nov 18, 2009 at 09:51, Glen Pike g...@engineeredarts.co.uk
 wrote:



 Hi,

  But you can easily create your own button type class rather than use the
 Flash symbols...
Glen


 Sid Ferreira wrote:



 Well, indeed you changed my mind...
 Now, a thing that bothers me is that buttons, for instance, uses
 timeline
 and not AS animation...

 On Wed, Nov 18, 2009 at 09:19, Cedric Muller flashco...@benga.li
 wrote:





 Hi,

 My answer is one of those very general and informative answers, please
 pardon me for that.

 All in all, Flex / Flash Builder is just  Flash platform ... which
 is
 just  Flash.
 Flash is Flash. The florense site could have been done with Flex.
 Actually
 you can use Flex Builder to build a 100% actionscript project involving
 NONE
 of the flex framework / components.
 Flex / Flash Builder is just a nice IDE, truely dedicated towards
 application development.

 I am answering to your question with the one I asked to Gringo's (
 http://www.gringo.nu/ co founder: Do you happen to use Flex in the
 websites/applications you produce ?
 Answer: Yes, almost always.

 From that answer I started wondering what Flex was :) Now I am building
 custom components for Flex specialists :) Actually it is quite amazing
 how
 far you can consolidate what you learnt with Flash. Moreover if you are
 being able to develop sites like florense.com you will be able to do
 great
 things with Flex, and definitely replicate what you did in Flash with
 some
 time gain, if you are being proficient.


 Another question could be: why does the client want Flex ? (because SEO
 is
 not an answer, it can be done with a 100% pure AS project compiled with
 Flash IDE).


 hth,
 Cedric

  I know this isn't actually an Adobe Flex / Adobe Flash Builder list




 (actually, if you know a good one, forward me), but today a client
 sent
 a
 briefing asking the website to be done in Adobe Flex.

 Once it will need CEO and it isn't for small audiences, we plan to
 deny
 it,
 but then I got the doubt: Are there good websites made in flex?

 Here is a link of a website made for us using flash technology, and
 it's
 what we would like to do: http://www.florense.com

 Thanks in advance!
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders





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










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









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




-- 
Sidney G B Ferreira
Desenvolvedor Web
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Who uses Adobe Flex?

2009-11-18 Thread Giro
You can use vector graphics on flex. You can create this on flash and export
to flex as symbol inside a swf.
On flex you can scale and don't lose quality.


Giro..



2009/11/18 Henrik Andersson he...@henke37.cjb.net

 Giro wrote:

 I do website with flex, flex builder is a best IDE thant Flash IDE. And
 using flex is more easy to do somethings, and one good thing for me it is
 less code lines.


 I find the opposite to be true. The swf format has a lot of neat features
 that you are just throwing away when using Flex. For example, the ability to
 use vector graphics. I wouldn't use Flex unless I had to.

 Sure, Flex Builder has code hinting, but so does CS 5. I find that there is
 less and less reasons to use Flex these days.

 ___
 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] Who uses Adobe Flex?

2009-11-18 Thread Henrik Andersson

Giro wrote:

You can use vector graphics on flex. You can create this on flash and export
to flex as symbol inside a swf.
On flex you can scale and don't lose quality.



Using Flash to create graphics for flex kinda defeats the point of flex, 
doesn't it?

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


Re: [Flashcoders] Who uses Adobe Flex?

2009-11-18 Thread Sid Ferreira
This is a real problem... it's over expensive a flash license...

On Wed, Nov 18, 2009 at 10:35, Henrik Andersson he...@henke37.cjb.netwrote:

 Giro wrote:

 You can use vector graphics on flex. You can create this on flash and
 export
 to flex as symbol inside a swf.
 On flex you can scale and don't lose quality.


 Using Flash to create graphics for flex kinda defeats the point of flex,
 doesn't it?

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




-- 
Sidney G B Ferreira
Desenvolvedor Web
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Who uses Adobe Flex?

2009-11-18 Thread Giro
Not. You only use flash to create a vector graphic, but not code on flash,
all code is in flex. The same for example if you user photoshop to create
jpeg and use this jpeg on flex.

Giro

2009/11/18 Henrik Andersson he...@henke37.cjb.net

 Giro wrote:

 You can use vector graphics on flex. You can create this on flash and
 export
 to flex as symbol inside a swf.
 On flex you can scale and don't lose quality.


 Using Flash to create graphics for flex kinda defeats the point of flex,
 doesn't it?

 ___
 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] Who uses Adobe Flex?

2009-11-18 Thread Sid Ferreira
What about handle libraries?
Create classes to define the look of a button?

On Wed, Nov 18, 2009 at 10:46, Giro g...@enhoresdefeina.com wrote:

 Not. You only use flash to create a vector graphic, but not code on flash,
 all code is in flex. The same for example if you user photoshop to create
 jpeg and use this jpeg on flex.

 Giro

 2009/11/18 Henrik Andersson he...@henke37.cjb.net

  Giro wrote:
 
  You can use vector graphics on flex. You can create this on flash and
  export
  to flex as symbol inside a swf.
  On flex you can scale and don't lose quality.
 
 
  Using Flash to create graphics for flex kinda defeats the point of flex,
  doesn't it?
 
  ___
  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




-- 
Sidney G B Ferreira
Desenvolvedor Web
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Who uses Adobe Flex?

2009-11-18 Thread Paul Andrews

Sid Ferreira wrote:

I know this isn't actually an Adobe Flex / Adobe Flash Builder list
(actually, if you know a good one, forward me),
I don't know how anyone on a flashcoders list could possibly miss 
flexcoders, or the adobe flex forums..  ;-)

 but today a client sent a
briefing asking the website to be done in Adobe Flex.

Once it will need CEO and it isn't for small audiences, we plan to deny it,
but then I got the doubt: Are there good websites made in flex?

Here is a link of a website made for us using flash technology, and it's
what we would like to do: http://www.florense.com
  

Very nice site.

I can see that you've had a fair number of responses, though in my 
opinion they mostly miss the point of using Flex completely. I would 
agree that the flex IDE is better than the Flash one, but that doesn't 
make Flex a replacement for Flash.


In a simplistic comparison of the Flex and Flash IDE, the Flash IDE 
supports a way of working with graphical assets presented using a 
timeline and layer metaphor with good support for the production of 
bespoke graphics for animation. In comparison the FlexBuilder (cough, 
Flash Builder) IDE does not offer good support for the production of 
such graphical assets, but is oriented towards the creation of software 
interfaces using inbuilt and bespoke components without the use of a 
timeline.


On that basis,for most of the tasks Flash is used for, Flex would appear 
to be quite inferior, but in practice the FlexBuilder IDE has a far 
superior debugger and development environment for actionscript projects 
or component based interfaces.


Flash is complimetary to flex rather than a direct competitor for it 
since it is strong on animation, the timeline metaphor and the 
production of sophisticated graphical assets via the IDE. Flash 
developed assets are often incorporated into Flex projects.


So why bother with Flex? The answer is that is far easier to produce 
software interfaces using it than with Flash. The reasons are below.


Flex offers sophisticated layout managers that are missing from Flash, 
so that the display of multiple assets in a table or grid is a matter of 
adding a component rather than rolling your own. There is a 
sophisticated table (datagrid) component and charting options. The ide 
supports the use of state-based interface development and the 
development of interfaces can be achieved via the designer interface, 
mxml (a tagged representation of components, rather like xhtml), or 
actionscript. As well as this, Flex supports binding between components 
allowing data changes to be propagated between components. Flex also 
excels at transitions and effects. You can build quite sophisticated 
things in Flex with very little actionscript, just by assembling 
components and binding them to data providers.


So a broad brush comparison sees Flex as suitable for applications that 
do real work and data manipulation rather than the eye candy often 
associated with Flash, though there is a huge crossover - Flash can be 
used for sophisticated application and indeed Flex can provide the eye 
candy.


The provision of layout managers and interface components in Flex means 
that if you use them, the swf size is generally much larger than swf 
produced by the Flash IDE - it's simply that the components themselves 
have a lot of code in them that become part of the resultant swf. If 
your client is looking for a 100K swf for their website, you won't be 
using Flex with the layout managers or datagrid.


I would also venture that the ethos of Flex is towards enterprise 
development in teams.


I hope my bad description is helpful. I think Adobe messed up with the 
production of Flash Builder, which must be really confusing to many 
people who haven't used Flash and Flex already.


Paul

Thanks in advance!
___
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] one class listening for another classes dispatchedevent

2009-11-18 Thread Latcho


If like you said,  --totally tightly coupled solution is overkill.-- 
,than I can agree with you :P



But alright, to plug in on this matter. As I found out it's not hard to 
lose the tight coupling.

The hard part is to find a system that works fast and intuitive for you.
Once you found or created one, you'll be happy to reuse that system, 
even for simple setups and for the simple reason that it is YOUR OWN ( 
or preferred ) loosely coupled  (event) system.
At that click you will find out that it that it can work more for you 
than against you or against your speed.
Integrating a loosely coupled flow also helps you in creating your own 
app-paradigm and workflow and enables you to start or reopen  a project 
faster.
You now know the best place to implement and to listen for that shout. 
And a lightyear later when you look back into your crappy-small-app code 
of the past, you will smile and think:

Nice try but I know better now ;)
Latcho




Matt Folkard wrote:
I completely agree with this as I've been in exactly the same 
situation with a largish scale project. The sort of projects I tend to 
do are small scale games for which the *totally tightly coupled 
solution is overkill*. However, I've eaten my words on that point as 
well...




On 17 Nov 2009, at 21:05, Mendelsohn, Michael 
michael.mendels...@fmglobal.com wrote:


Alright, since I asked the question, I'm piping in.  I just finished 
a project that became immensely complicated precisely because I 
eventually had everything tightly coupled.  Had I used custom events 
and done some other things from the get go, I'm nearly certain it 
would have been easier to do my updates.  With the tight coupling of 
that project, it would be difficult for anyone else to go into it in 
the future.


In smaller one-off projects, I don't think it's a big deal, but I'm 
trying to force myself to get in the habit of loosely coupling 
everything, via custom events.


- MM

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

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




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


Re: [Flashcoders] Who uses Adobe Flex?

2009-11-18 Thread Henrik Andersson

Paul Andrews wrote:

Stuff


Allow me to summarize your post:

You think that Flash is good for graphical projects, such as animations. 
You also think that Flex builder is better for creating software.

You like the Flex components and how they are data driven.
You acknowledge that Flex projects end up larger, due to having more 
code doing stuff instead of the authoring tool.


My opinion:
I think that Flash is better for anything that isn't strictly code only, 
and that is more or less all projects, since it's quite boring to design 
graphics using code.
The upcoming code completion in Flash CS 5 seems to take care of most 
coding needs in my opinion. It's not going to give you any fancy class 
feature listing panels or profilers, but those are rarely needed.


If I had to chose what to use, I would use Flash, because I want to use 
the full swf format. I do not think that Flex alone can do that.

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


[Flashcoders] Flex Coders List

2009-11-18 Thread Joel Stransky
What is the Flex equivalent of this mailing list?

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


Re: [Flashcoders] Who uses Adobe Flex?

2009-11-18 Thread Dave Watts
 Allow me to summarize your post:

 You think that Flash is good for graphical projects, such as animations. You
 also think that Flex builder is better for creating software.
 You like the Flex components and how they are data driven.
 You acknowledge that Flex projects end up larger, due to having more code
 doing stuff instead of the authoring tool.

That never works out very well, does it? Because it seems to me that
your summary missed a lot of Paul's points.

 My opinion:
 I think that Flash is better for anything that isn't strictly code only, and
 that is more or less all projects, since it's quite boring to design
 graphics using code.
 The upcoming code completion in Flash CS 5 seems to take care of most coding
 needs in my opinion. It's not going to give you any fancy class feature
 listing panels or profilers, but those are rarely needed.

 If I had to chose what to use, I would use Flash, because I want to use the
 full swf format. I do not think that Flex alone can do that.

But you don't have to pick one. You can use both. Or, like me, you can
use one and work with someone who uses the other. But if you just see
Flex as nothing more than a subset of Flash, you're kind of missing
the point.

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

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Flex Coders List

2009-11-18 Thread Dave Watts
 What is the Flex equivalent of this mailing list?

The biggest list, I think, is Flexcoders on Yahoo.

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

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Flex Coders List

2009-11-18 Thread Paul Andrews

Joel Stransky wrote:

What is the Flex equivalent of this mailing list?

  

Surprisingly..  http://groups.yahoo.com/group/flexcoders/


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


Re: [Flashcoders] Who uses Adobe Flex?

2009-11-18 Thread Henrik Andersson

Dave Watts wrote:

Allow me to summarize your post:


That never works out very well, does it? Because it seems to me that
your summary missed a lot of Paul's points.


When summarizing, you have to remove details. I just focused on what I 
felt was the core message.



But if you just see Flex as nothing more than a subset of Flash, you're kind of 
missing the point.


Oh, but I am not. Flex is not just a subset of Flash. It has it's own 
components that Flash does not come with. It also has mxml, that Flash 
does not support at all. And for builder, it has a bunch of profilers, 
and Flash has none.


I just think that the Flash unique features are better than the Flex 
unique features for most purposes.


And of course, you can use both. With the announced Flash and Flex 
Builder integration, that will work even better.

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


Re: [Flashcoders] Who uses Adobe Flex?

2009-11-18 Thread Ian Thomas
On Wed, Nov 18, 2009 at 2:40 PM, Henrik Andersson he...@henke37.cjb.net wrote:

 My opinion:
 I think that Flash is better for anything that isn't strictly code only, and
 that is more or less all projects, since it's quite boring to design
 graphics using code.
 The upcoming code completion in Flash CS 5 seems to take care of most coding
 needs in my opinion. It's not going to give you any fancy class feature
 listing panels or profilers, but those are rarely needed.

 If I had to chose what to use, I would use Flash, because I want to use the
 full swf format. I do not think that Flex alone can do that.

We seem to be getting confused between Flex, Flex Builder and Flash here.

Flash - obviously - is a vector graphics editor and a cut-down code
editor. It leans towards the visual side.

Flex Builder/Flash Builder is simply a programming environment - a
code editor and component layout tool. It leans towards the coding
side.

Flex (or the Flex SDK) is _not_ Flex Builder. It is a component
framework (written in ActionScript - and MXML which is actually
compiled to ActionScript) and a compiler. It can make use of any
assets created by Flash. (And yes, it can use the whole SWF format, by
drawing in SWF assets and recompiling them.)

You don't have to design graphics using code in Flex Builder; you can
design graphics in Flash, and use them from code that you write in
Flex Builder.

The two products are _complementary_, not rivals. Flex Builder works
together with Flash.

The choices for creating a website (which started this discussion)
include (but are not limited to):
1) Use Flash to do the layout; don't use the Flex framework classes,
write your own classes to support the Flash assets that you've
created.
2) Use the Flex component framework, create visual assets to use
within the framework using Flash, extend the Flex code with your own
logic to support the site.

2) need not be more expensive, as you don't have to use Flex Builder,
you can simply use the free Flex SDK.

Flex is effectively just a series of useful components with a bit of
syntactic sugar on top.

Reasons you _might_ want to use Flex for your project:
- A lot of hard work done for you. Why write another scrollbar or
progress bar from scratch when that code already exists?
- Very easy to layout complex forms and tables.
- Very easy to skin/change global appearance (using CSS)

Reasons you might not want to use Flex for your project:
- Including the Flex framework in your application makes your SWF
significantly bigger.
- Your site simply might not suit Flex; if you don't have form
layouts, tables and buttons to deal with, Flex may be overkill.

Once again - the two are _complementary_. It's not a choice between
the two. It's a choice between using Flash as is, or using Flash + a
library of premade components.

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


Re: [Flashcoders] Who uses Adobe Flex?

2009-11-18 Thread Paul Andrews

Henrik Andersson wrote:

Paul Andrews wrote:

Stuff


Allow me to summarize your post:

You think that Flash is good for graphical projects, such as 
animations. You also think that Flex builder is better for creating 
software.

You like the Flex components and how they are data driven.
You acknowledge that Flex projects end up larger, due to having more 
code doing stuff instead of the authoring tool.


My opinion:
I think that Flash is better for anything that isn't strictly code 
only, and that is more or less all projects, since it's quite boring 
to design graphics using code.
I would disagree with that statement since it implies that Flex doesn't 
support IDE based graphical design - which it does - but only for 
components and not general design work. Your statement also forgets the 
tedium of building complex layout management of the kind that comes with 
Flex.
The upcoming code completion in Flash CS 5 seems to take care of most 
coding needs in my opinion. It's not going to give you any fancy class 
feature listing panels or profilers, but those are rarely needed.
I would say I can't really comment on CS5, but it seems to be a catchup 
game with Flex and coding support. A lot of developers would strongly 
disagree with the idea that class documentation support or profiling is 
rarely needed - it's more a question of project scale and coding 
emphasis perhaps.


If I had to chose what to use, I would use Flash, because I want to 
use the full swf format. I do not think that Flex alone can do that.
Anything that the swf format supports can be achieved using Flex (albeit 
via actionscript, than perhaps IDE support).


I'm not knocking Flash - it's far better for many tasks than Flex and 
vice-versa.


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


Re: [Flashcoders] Who uses Adobe Flex?

2009-11-18 Thread Cedric Muller

The cool thing is the future :)

Adobe wants to correct this bias; Flash Builder will happen, and the  
distinction between Flex Builder and Flex framework will melt. There  
we will be happy and everything :)


The IDE is about to get all dressed up for a sexy evening ;)

Now, if one could, he/she can reinvent its wheel, developping his/her  
own framework, handling data processes and liquid layouts and more  
all with Flash, that's not a problem.


The current really nice thing about the flex framework is how simple  
it is to build up something **quickly**; the current downside of the  
flex framework is that some people do not know that everything under  
it is a Flash Player thing.

Next, people won't even know how to build their own buttons :(
(the last paragraph is optional and not intended to pun anyone)

As Paul says, the crucial part is to know when to use the Flex  
Framework, because as all frameworks, it *can* have its downside.
Anyways, the easier way to build up applications is to use Flex  
Builder and Flex Framework. But we all know that good Flex  
applications are all customized and built upon strong knowledge of  
Flash.


Cedric


Henrik Andersson wrote:

Paul Andrews wrote:

Stuff


Allow me to summarize your post:

You think that Flash is good for graphical projects, such as  
animations. You also think that Flex builder is better for  
creating software.

You like the Flex components and how they are data driven.
You acknowledge that Flex projects end up larger, due to having  
more code doing stuff instead of the authoring tool.


My opinion:
I think that Flash is better for anything that isn't strictly code  
only, and that is more or less all projects, since it's quite  
boring to design graphics using code.
I would disagree with that statement since it implies that Flex  
doesn't support IDE based graphical design - which it does - but  
only for components and not general design work. Your statement  
also forgets the tedium of building complex layout management of  
the kind that comes with Flex.
The upcoming code completion in Flash CS 5 seems to take care of  
most coding needs in my opinion. It's not going to give you any  
fancy class feature listing panels or profilers, but those are  
rarely needed.
I would say I can't really comment on CS5, but it seems to be a  
catchup game with Flex and coding support. A lot of developers  
would strongly disagree with the idea that class documentation  
support or profiling is rarely needed - it's more a question of  
project scale and coding emphasis perhaps.


If I had to chose what to use, I would use Flash, because I want  
to use the full swf format. I do not think that Flex alone can do  
that.
Anything that the swf format supports can be achieved using Flex  
(albeit via actionscript, than perhaps IDE support).


I'm not knocking Flash - it's far better for many tasks than Flex  
and vice-versa.


Paul


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


[Flashcoders] AS2 to AS3 Translation

2009-11-18 Thread beno -
Hi;
I've found the following AS2 script I'm trying to translate into AS3. Right
now, I'd just like a little help understanding how to rewrite some code
variables. Please help me translate into AS3 (with my guesses ;)

_xmouse (mouseX?)
_root (root?)

Just for good style, should I eliminate all the leading underscores, or is
this used for keeping the variables private (like in python)?

Also, is there a good online doc for translation from AS2 to AS3?
BTW, I assume the Flash IDE (integrated dev. env.) means the GUI, as
opposed to coding directly?
TIA,
beno


/**
* Animated Explosion Effect
*
* Version: 1.0
* Author: Philip Radvan
* URL: http://www.freeactionscript.com
*/

//Settings
var explosionParticleAmount:Number = 15;
var explosionDistance:Number = 30;
var explosionSize:Number = 100;
var explosionAlpha:Number = 75;

function addExplosion(targetX:Number, targetY:Number,
_explosionParticleAmount:Number, _distance:Number, _explosionSize:Number,
_explosionAlpha:Number):Void
{
//run a for loop based on the amount of explosion particles
for(var i = 0; i  _explosionParticleAmount; i++)
{
//create particle
var _tempClip2 = _root.attachMovie(explosion2, explosion2_ +
_root.getNextHighestDepth(), _root.getNextHighestDepth());
var _tempClip = _root.attachMovie(explosion, explosion +
_root.getNextHighestDepth(), _root.getNextHighestDepth());
//set particle position
_tempClip.x = targetX+random(_distance)-(_distance/2);
_tempClip.y = targetY+random(_distance)-(_distance/2);
_tempClip2.x = targetX+random(_distance)-(_distance/2);
_tempClip2.y = targetY+random(_distance)-(_distance/2);

//get random particle scale
var tempRandomSize = random(_explosionSize)+_explosionSize/2;
//set particle scale
_tempClip.scaleX = tempRandomSize;
_tempClip.scaleY = tempRandomSize;
//get random particle scale
var tempRandomSize = random(_explosionSize)+_explosionSize/2;
//set particle scale
_tempClip2.scaleX = tempRandomSize;
_tempClip2.scaleY = tempRandomSize;

//set particle rotation
_tempClip2._rotation = random(359);

//set particle alpha
_tempClip.alpha = random(explosionAlpha)+explosionAlpha/4;
_tempClip2.alpha = random(explosionAlpha)+explosionAlpha/4;
}
}

/**
*
* Mouse Controls
*
*/
//create an object that we'll listen to
mouseListener = new Object();

//on Click, create explosionle
mouseListener.addEventListener(mouseEvent.onMouseDown, doThis);
functioin doThis():void
{
addExplosion(_xmouse, _ymouse, explosionParticleAmount,
explosionDistance, explosionSize, explosionAlpha);
};

//add listener
Mouse.addListener(mouseListener);
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] AS2 to AS3 Translation

2009-11-18 Thread Glen Pike

Try this useful doc

http://www.adobe.com/devnet/actionscript/articles/as3_migration_cookbook/as3_migration_cookbook.pdf

Glen
beno - wrote:

Hi;
I've found the following AS2 script I'm trying to translate into AS3. Right
now, I'd just like a little help understanding how to rewrite some code
variables. Please help me translate into AS3 (with my guesses ;)

_xmouse (mouseX?)
_root (root?)

Just for good style, should I eliminate all the leading underscores, or is
this used for keeping the variables private (like in python)?

Also, is there a good online doc for translation from AS2 to AS3?
BTW, I assume the Flash IDE (integrated dev. env.) means the GUI, as
opposed to coding directly?
TIA,
beno


/**
* Animated Explosion Effect
*
* Version: 1.0
* Author: Philip Radvan
* URL: http://www.freeactionscript.com
*/

//Settings
var explosionParticleAmount:Number = 15;
var explosionDistance:Number = 30;
var explosionSize:Number = 100;
var explosionAlpha:Number = 75;

function addExplosion(targetX:Number, targetY:Number,
_explosionParticleAmount:Number, _distance:Number, _explosionSize:Number,
_explosionAlpha:Number):Void
{
//run a for loop based on the amount of explosion particles
for(var i = 0; i  _explosionParticleAmount; i++)
{
//create particle
var _tempClip2 = _root.attachMovie(explosion2, explosion2_ +
_root.getNextHighestDepth(), _root.getNextHighestDepth());
var _tempClip = _root.attachMovie(explosion, explosion +
_root.getNextHighestDepth(), _root.getNextHighestDepth());
//set particle position
_tempClip.x = targetX+random(_distance)-(_distance/2);
_tempClip.y = targetY+random(_distance)-(_distance/2);
_tempClip2.x = targetX+random(_distance)-(_distance/2);
_tempClip2.y = targetY+random(_distance)-(_distance/2);

//get random particle scale
var tempRandomSize = random(_explosionSize)+_explosionSize/2;
//set particle scale
_tempClip.scaleX = tempRandomSize;
_tempClip.scaleY = tempRandomSize;
//get random particle scale
var tempRandomSize = random(_explosionSize)+_explosionSize/2;
//set particle scale
_tempClip2.scaleX = tempRandomSize;
_tempClip2.scaleY = tempRandomSize;

//set particle rotation
_tempClip2._rotation = random(359);

//set particle alpha
_tempClip.alpha = random(explosionAlpha)+explosionAlpha/4;
_tempClip2.alpha = random(explosionAlpha)+explosionAlpha/4;
}
}

/**
*
* Mouse Controls
*
*/
//create an object that we'll listen to
mouseListener = new Object();

//on Click, create explosionle
mouseListener.addEventListener(mouseEvent.onMouseDown, doThis);
functioin doThis():void
{
addExplosion(_xmouse, _ymouse, explosionParticleAmount,
explosionDistance, explosionSize, explosionAlpha);
};

//add listener
Mouse.addListener(mouseListener);
___
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] Infinite Loops

2009-11-18 Thread beno -
Hi;
I have the following code. All the functions go in infinite loops *except*
the first one, which is strange to me, since both it (hatAndFace, and both
eyeball1 and eyeball2) all use the same greensock codes, yet the latter two
repeat ad infinitum the alpha tween. Why is this? How do I control it such
that it only plays once? I thought putting a stop(); at the end would do
the trick, but no :(
TIA.
beno

package
{
 import flash.display.MovieClip;
 import com.greensock.*;
 import com.greensock.plugins.*;
 import com.greensock.easing.*;
 public class Main extends MovieClip
  {
  public function Main():void
{
  }
  public function hatAndFace():void
{
var mcHatAndFaceInstance:mcHatAndFace = new mcHatAndFace();
TweenPlugin.activate([AutoAlphaPlugin]);
addChild(mcHatAndFaceInstance);
mcHatAndFaceInstance.x = 350;
mcHatAndFaceInstance.y = 100;
mcHatAndFaceInstance.alpha = 0;
TweenLite.to(mcHatAndFaceInstance, 2, {autoAlpha:1});
  }
  public function eyeball1():void
{
var mcEyeballInstance1:mcEyeball = new mcEyeball();
TweenPlugin.activate([AutoAlphaPlugin]);
addChild(mcEyeballInstance1);
mcEyeballInstance1.x = 380;
mcEyeballInstance1.y = 115;
mcEyeballInstance1.alpha = 0;
TweenLite.to(mcEyeballInstance1, 2, {autoAlpha:1});
  }
  public function eyeball2():void
{
var mcEyeballInstance2:mcEyeball = new mcEyeball();
TweenPlugin.activate([AutoAlphaPlugin]);
addChild(mcEyeballInstance2);
mcEyeballInstance2.x = 315;
mcEyeballInstance2.y = 115;
mcEyeballInstance2.alpha = 0;
TweenLite.to(mcEyeballInstance2, 2, {autoAlpha:1});
  }
  public function rightHand():void
{
var mcHandInstance1:mcHand = new mcHand();
addChild(mcHandInstance1);
mcHandInstance1.x = 400;
mcHandInstance1.y = 200;
  }
  public function leftHand():void
{
var mcHandInstance2:mcHand = new mcHand();
addChild(mcHandInstance2);
mcHandInstance2.x = 800;
mcHandInstance2.y = 200;
  }
 }
}
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Baby Step #2

2009-11-18 Thread beno -
On Wed, Nov 18, 2009 at 5:05 AM, Cedric Muller flashco...@benga.li wrote:

 :) Ok, and now for something completely different: you have to, you
 absolutely have to buy a book, one that is called ActionScript 3.0
 Essentials by Colin Moock.


OK. It's on the list. Not for today, however, but I will buy it around the
turn of the year, I imagine.
Thanks,
beno
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Flex Coders List

2009-11-18 Thread Joel Stransky
Thank you friends.

On Wed, Nov 18, 2009 at 9:53 AM, Paul Andrews p...@ipauland.com wrote:

 Joel Stransky wrote:

 What is the Flex equivalent of this mailing list?



 Surprisingly..  http://groups.yahoo.com/group/flexcoders/



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




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


Re: [Flashcoders] Who uses Adobe Flex?

2009-11-18 Thread Henrik Andersson

Ian Thomas wrote:

Stuff


You seem to ignore the components that Flash does ship with. We can 
fight about whose components are the best, but I am not interested in that.


I also never claimed that they where rivals, I see them as different 
tools designed for different tasks.


You seem to think that importing stuff already made in Flash is the same 
as having all the features of Flash. I disagree. You do not get the same 
swf structure in the end. I am not even sure if the flex compiler even 
retains framelabels.
I know for sure that it does not retain the document class. Given that 
it has a tendency to be critical for proper execution when used, 
removing it makes the swf useless.


Oh, and as previously discussed, you need to use Flash in addition to 
Flex in order to import Flash assets. That's one more license you have 
to pay for.


Either you use only the Flex sdk, Flex builder and the sdk, only Flash 
or Flash, flex sdk and flex builder. Using only Flash costs less than 
using Flash and Flex builder. But using only Flex builder costs less 
than only using Flash.


Of course, there are other editors (like notepad and flash develop) that 
you can use. But I know of no editor that has a working debugger other 
than Flash and Flex builder.

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


Re: [Flashcoders] AS2 to AS3 Translation

2009-11-18 Thread Zeh Fernando
http://livedocs.adobe.com/flex/2/langref/migration.html

On Wed, Nov 18, 2009 at 10:20 AM, beno - flashmeb...@gmail.com wrote:

 Hi;
 I've found the following AS2 script I'm trying to translate into AS3. Right
 now, I'd just like a little help understanding how to rewrite some code
 variables. Please help me translate into AS3 (with my guesses ;)

 _xmouse (mouseX?)
 _root (root?)

 Just for good style, should I eliminate all the leading underscores, or is
 this used for keeping the variables private (like in python)?

 Also, is there a good online doc for translation from AS2 to AS3?
 BTW, I assume the Flash IDE (integrated dev. env.) means the GUI, as
 opposed to coding directly?
 TIA,
 beno


 /**
 * Animated Explosion Effect
 *
 * Version: 1.0
 * Author: Philip Radvan
 * URL: http://www.freeactionscript.com
 */

 //Settings
 var explosionParticleAmount:Number = 15;
 var explosionDistance:Number = 30;
 var explosionSize:Number = 100;
 var explosionAlpha:Number = 75;

 function addExplosion(targetX:Number, targetY:Number,
 _explosionParticleAmount:Number, _distance:Number, _explosionSize:Number,
 _explosionAlpha:Number):Void
 {
//run a for loop based on the amount of explosion particles
for(var i = 0; i  _explosionParticleAmount; i++)
{
//create particle
var _tempClip2 = _root.attachMovie(explosion2, explosion2_ +
 _root.getNextHighestDepth(), _root.getNextHighestDepth());
var _tempClip = _root.attachMovie(explosion, explosion +
 _root.getNextHighestDepth(), _root.getNextHighestDepth());
//set particle position
_tempClip.x = targetX+random(_distance)-(_distance/2);
_tempClip.y = targetY+random(_distance)-(_distance/2);
_tempClip2.x = targetX+random(_distance)-(_distance/2);
_tempClip2.y = targetY+random(_distance)-(_distance/2);

//get random particle scale
var tempRandomSize = random(_explosionSize)+_explosionSize/2;
//set particle scale
_tempClip.scaleX = tempRandomSize;
_tempClip.scaleY = tempRandomSize;
//get random particle scale
var tempRandomSize = random(_explosionSize)+_explosionSize/2;
//set particle scale
_tempClip2.scaleX = tempRandomSize;
_tempClip2.scaleY = tempRandomSize;

//set particle rotation
_tempClip2._rotation = random(359);

//set particle alpha
_tempClip.alpha = random(explosionAlpha)+explosionAlpha/4;
_tempClip2.alpha = random(explosionAlpha)+explosionAlpha/4;
}
 }

 /**
 *
 * Mouse Controls
 *
 */
 //create an object that we'll listen to
 mouseListener = new Object();

 //on Click, create explosionle
 mouseListener.addEventListener(mouseEvent.onMouseDown, doThis);
 functioin doThis():void
 {
addExplosion(_xmouse, _ymouse, explosionParticleAmount,
 explosionDistance, explosionSize, explosionAlpha);
 };

 //add listener
 Mouse.addListener(mouseListener);
 ___
 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] AS2 to AS3 Translation

2009-11-18 Thread beno -
Thanks, guys.
beno

On Wed, Nov 18, 2009 at 11:32 AM, Zeh Fernando z...@zehfernando.com wrote:

 http://livedocs.adobe.com/flex/2/langref/migration.html

 On Wed, Nov 18, 2009 at 10:20 AM, beno - flashmeb...@gmail.com wrote:

  Hi;
  I've found the following AS2 script I'm trying to translate into AS3.
 Right
  now, I'd just like a little help understanding how to rewrite some code
  variables. Please help me translate into AS3 (with my guesses ;)
 
  _xmouse (mouseX?)
  _root (root?)
 
  Just for good style, should I eliminate all the leading underscores, or
 is
  this used for keeping the variables private (like in python)?
 
  Also, is there a good online doc for translation from AS2 to AS3?
  BTW, I assume the Flash IDE (integrated dev. env.) means the GUI, as
  opposed to coding directly?
  TIA,
  beno
 
 
  /**
  * Animated Explosion Effect
  *
  * Version: 1.0
  * Author: Philip Radvan
  * URL: http://www.freeactionscript.com
  */
 
  //Settings
  var explosionParticleAmount:Number = 15;
  var explosionDistance:Number = 30;
  var explosionSize:Number = 100;
  var explosionAlpha:Number = 75;
 
  function addExplosion(targetX:Number, targetY:Number,
  _explosionParticleAmount:Number, _distance:Number, _explosionSize:Number,
  _explosionAlpha:Number):Void
  {
 //run a for loop based on the amount of explosion particles
 for(var i = 0; i  _explosionParticleAmount; i++)
 {
 //create particle
 var _tempClip2 = _root.attachMovie(explosion2, explosion2_ +
  _root.getNextHighestDepth(), _root.getNextHighestDepth());
 var _tempClip = _root.attachMovie(explosion, explosion +
  _root.getNextHighestDepth(), _root.getNextHighestDepth());
 //set particle position
 _tempClip.x = targetX+random(_distance)-(_distance/2);
 _tempClip.y = targetY+random(_distance)-(_distance/2);
 _tempClip2.x = targetX+random(_distance)-(_distance/2);
 _tempClip2.y = targetY+random(_distance)-(_distance/2);
 
 //get random particle scale
 var tempRandomSize = random(_explosionSize)+_explosionSize/2;
 //set particle scale
 _tempClip.scaleX = tempRandomSize;
 _tempClip.scaleY = tempRandomSize;
 //get random particle scale
 var tempRandomSize = random(_explosionSize)+_explosionSize/2;
 //set particle scale
 _tempClip2.scaleX = tempRandomSize;
 _tempClip2.scaleY = tempRandomSize;
 
 //set particle rotation
 _tempClip2._rotation = random(359);
 
 //set particle alpha
 _tempClip.alpha = random(explosionAlpha)+explosionAlpha/4;
 _tempClip2.alpha = random(explosionAlpha)+explosionAlpha/4;
 }
  }
 
  /**
  *
  * Mouse Controls
  *
  */
  //create an object that we'll listen to
  mouseListener = new Object();
 
  //on Click, create explosionle
  mouseListener.addEventListener(mouseEvent.onMouseDown, doThis);
  functioin doThis():void
  {
 addExplosion(_xmouse, _ymouse, explosionParticleAmount,
  explosionDistance, explosionSize, explosionAlpha);
  };
 
  //add listener
  Mouse.addListener(mouseListener);
  ___
  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] Infinite Loops

2009-11-18 Thread tom rhodes
stop(); just stops the playhead of a timeline in a movieclip, you are
tweening with code, two completely different things.

where is the code that calls the functions in this class?


2009/11/18 beno - flashmeb...@gmail.com

 Hi;
 I have the following code. All the functions go in infinite loops *except*
 the first one, which is strange to me, since both it (hatAndFace, and both
 eyeball1 and eyeball2) all use the same greensock codes, yet the latter two
 repeat ad infinitum the alpha tween. Why is this? How do I control it such
 that it only plays once? I thought putting a stop(); at the end would do
 the trick, but no :(
 TIA.
 beno

 package
 {
  import flash.display.MovieClip;
  import com.greensock.*;
  import com.greensock.plugins.*;
  import com.greensock.easing.*;
  public class Main extends MovieClip
  {
  public function Main():void
{
  }
  public function hatAndFace():void
{
var mcHatAndFaceInstance:mcHatAndFace = new mcHatAndFace();
TweenPlugin.activate([AutoAlphaPlugin]);
addChild(mcHatAndFaceInstance);
mcHatAndFaceInstance.x = 350;
mcHatAndFaceInstance.y = 100;
mcHatAndFaceInstance.alpha = 0;
TweenLite.to(mcHatAndFaceInstance, 2, {autoAlpha:1});
  }
  public function eyeball1():void
{
var mcEyeballInstance1:mcEyeball = new mcEyeball();
TweenPlugin.activate([AutoAlphaPlugin]);
addChild(mcEyeballInstance1);
mcEyeballInstance1.x = 380;
mcEyeballInstance1.y = 115;
mcEyeballInstance1.alpha = 0;
TweenLite.to(mcEyeballInstance1, 2, {autoAlpha:1});
  }
  public function eyeball2():void
{
var mcEyeballInstance2:mcEyeball = new mcEyeball();
TweenPlugin.activate([AutoAlphaPlugin]);
addChild(mcEyeballInstance2);
mcEyeballInstance2.x = 315;
mcEyeballInstance2.y = 115;
mcEyeballInstance2.alpha = 0;
TweenLite.to(mcEyeballInstance2, 2, {autoAlpha:1});
  }
  public function rightHand():void
{
var mcHandInstance1:mcHand = new mcHand();
addChild(mcHandInstance1);
mcHandInstance1.x = 400;
mcHandInstance1.y = 200;
  }
  public function leftHand():void
{
var mcHandInstance2:mcHand = new mcHand();
addChild(mcHandInstance2);
mcHandInstance2.x = 800;
mcHandInstance2.y = 200;
  }
  }
 }
 ___
 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] Who uses Adobe Flex?

2009-11-18 Thread alpha
Glen Pike wrote:

 But you can easily create your own button type class rather than use
 the Flash symbols...

In fact, you can do your buttons, or movie clips, and the like in Flash.
Publish the .swf, and you can download it using Flex and use all the
assets in it.

Flex's real strong point is that it is a superior coder's
environment--better debugger, faster editor. It is not a good environment
for artists and designers, by and large.

Your hard-core coders use Flex, the animators and designers use Flash, and
everybody is happy.

I should be more specific. Flex is the free Eclipse-based base. Flex
Builder, which I use, is the coding environment. I use it only for AS3--I
literally have never used the GUI to do MXML.

There are other development environments for Flex, such as FlashBuilder,
which is free. It's really nice, though it doesn't have a debugger. Still,
you can use Flex entirely for free if you wish.

All Flex is, in the end, is another way of making .swf files. You don't
have to do the entire site in Flex--you can use it just like Flash. In
fact, I recommend that you do discrete elements in Flex, and build the
site using these elements. That way, when AS4 comes out, you have your AS3
code isolated, and can keep developing new pages without having to
re-engineer the AS3 pages.

Cordially,

Kerry Thompson

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


Re: [Flashcoders] Who uses Adobe Flex?

2009-11-18 Thread Ian Thomas
On Wed, Nov 18, 2009 at 3:32 PM, Henrik Andersson he...@henke37.cjb.net wrote:

 You seem to ignore the components that Flash does ship with. We can fight
 about whose components are the best, but I am not interested in that.

Neither am I.

 I also never claimed that they where rivals, I see them as different tools
 designed for different tasks.

They are different, _complementary_ tools, that's the point. Both can
be used together to achieve a task.

 You seem to think that importing stuff already made in Flash is the same as
 having all the features of Flash. I disagree. You do not get the same swf
 structure in the end. I am not even sure if the flex compiler even retains
 framelabels.

It does.

 I know for sure that it does not retain the document class. Given that it
 has a tendency to be critical for proper execution when used, removing it
 makes the swf useless.

That's because if you are using the Flex compiler, you already have an
entrypoint class (usually derived from Application, but can be derived
from Sprite) which is the equivalent of the Document class. Yes, it's
a different structure to your project, but ends up with much the same
results.

The approach to a Flex SDK based app is simply slightly different -
you write code for the Flex compiler, and treat Flash assets as
graphics.

As Cedric says, the integration between the two is getting closer, but
I'd very strongly argue that there's nothing you can do in Flash alone
that you can't achieve with Flex + Flash. I'd love an example to
disprove that.

 Oh, and as previously discussed, you need to use Flash in addition to Flex
 in order to import Flash assets. That's one more license you have to pay
 for.
 Either you use only the Flex sdk, Flex builder and the sdk, only Flash or
 Flash, flex sdk and flex builder. Using only Flash costs less than using
 Flash and Flex builder. But using only Flex builder costs less than only
 using Flash.

No you don't. You missed my point - you can use the Flex SDK, which is
free. If you already have Flash and are using it, there's no
additional cost. Personally, I don't use Flex Builder, I use
FlashDevelop + Flash.

 Of course, there are other editors (like notepad and flash develop) that you
 can use. But I know of no editor that has a working debugger other than
 Flash and Flex builder.

The Flex SDK provides a free debugger, actually, called FDB.
Command-line driven, but it is there.

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


Re: [Flashcoders] Who uses Adobe Flex?

2009-11-18 Thread Ian Thomas
I'd just like to add:

- I use Flash for some projects.
- I use the Flex SDK + Flash for other projects.

It's simply about choosing the right tool for the job.

Getting back to the original poster's question, as Giro has
demonstrated with his samples, yes there are good sites written in
Flex, and there's nothing stopping Sid achieving the sort of site he
was asking about in Flex if he wanted to.

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


Re: [Flashcoders] Who uses Adobe Flex?

2009-11-18 Thread alpha
Henrik Andersson wrote

 Using Flash to create graphics for flex kinda defeats the point of flex,
 doesn't it?

Not at all. You can have a broad code base, a fully OOP implementation, in
Flex, for your programmers. Your designers and artists use Flash. There's
no conflict--in fact, it's the best of both worlds. Everybody works in the
environment best suited for them.

Even when I've done one-man projects, I've mixed Flash animations with
Flex code.

Cordially,

Kerry Thompson

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


Re: [Flashcoders] Who uses Adobe Flex?

2009-11-18 Thread alpha
Sidn Ferreira wrote:

 At this moment Im deciding between Html 5 or focus in the flash media...

It's not an either-or choice. You can use both. Javascript, too. We do on
our site, www.poptropica.com.

Cordially,

Kerry Thompson

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


Re: [Flashcoders] Infinite Loops

2009-11-18 Thread Cedric Muller
that's the problem. I suspect external calls, all one line after the  
other, in the timeline, and maybe the timeline's playhead gets over  
this code every frame ?


main.hatAndFace();
main.eyeball1();
main.eyeball1();
main.rightHand();
...

beno, could you try:

public function init():void {
hatAndFace();
eyeball1();
eyeball2();
rightHand();
leftHand();
}

then, in your FLA main timeline:


var main:Main = new Main();
addChild(main);
main.init();

stop(); //	this stops the timeline playhead, just to be sure it won't  
loop over 2 frames



hth,
Cedric



stop(); just stops the playhead of a timeline in a movieclip, you are
tweening with code, two completely different things.

where is the code that calls the functions in this class?


2009/11/18 beno - flashmeb...@gmail.com


Hi;
I have the following code. All the functions go in infinite loops  
*except*
the first one, which is strange to me, since both it (hatAndFace,  
and both
eyeball1 and eyeball2) all use the same greensock codes, yet the  
latter two
repeat ad infinitum the alpha tween. Why is this? How do I control  
it such
that it only plays once? I thought putting a stop(); at the end  
would do

the trick, but no :(
TIA.
beno

package
{
 import flash.display.MovieClip;
 import com.greensock.*;
 import com.greensock.plugins.*;
 import com.greensock.easing.*;
 public class Main extends MovieClip
 {
 public function Main():void
   {
 }
 public function hatAndFace():void
   {
   var mcHatAndFaceInstance:mcHatAndFace = new mcHatAndFace();
   TweenPlugin.activate([AutoAlphaPlugin]);
   addChild(mcHatAndFaceInstance);
   mcHatAndFaceInstance.x = 350;
   mcHatAndFaceInstance.y = 100;
   mcHatAndFaceInstance.alpha = 0;
   TweenLite.to(mcHatAndFaceInstance, 2, {autoAlpha:1});
 }
 public function eyeball1():void
   {
   var mcEyeballInstance1:mcEyeball = new mcEyeball();
   TweenPlugin.activate([AutoAlphaPlugin]);
   addChild(mcEyeballInstance1);
   mcEyeballInstance1.x = 380;
   mcEyeballInstance1.y = 115;
   mcEyeballInstance1.alpha = 0;
   TweenLite.to(mcEyeballInstance1, 2, {autoAlpha:1});
 }
 public function eyeball2():void
   {
   var mcEyeballInstance2:mcEyeball = new mcEyeball();
   TweenPlugin.activate([AutoAlphaPlugin]);
   addChild(mcEyeballInstance2);
   mcEyeballInstance2.x = 315;
   mcEyeballInstance2.y = 115;
   mcEyeballInstance2.alpha = 0;
   TweenLite.to(mcEyeballInstance2, 2, {autoAlpha:1});
 }
 public function rightHand():void
   {
   var mcHandInstance1:mcHand = new mcHand();
   addChild(mcHandInstance1);
   mcHandInstance1.x = 400;
   mcHandInstance1.y = 200;
 }
 public function leftHand():void
   {
   var mcHandInstance2:mcHand = new mcHand();
   addChild(mcHandInstance2);
   mcHandInstance2.x = 800;
   mcHandInstance2.y = 200;
 }
 }
}
___
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] Who uses Adobe Flex?

2009-11-18 Thread Latcho

In Kerry's post read:

 There are other development environments for Flex, such as 
FlashBuilder, which is free 

as
 There are other development environments for Flex, such as 
FlashDEVELOP, which is free 


and read

Flex is the free Eclipse-based base

Flex IDE which is not free is build upon Eclipse IDE, which is free; 
they both compile trough the free flex sdk /compiler


Latcho

al...@cyberiantiger.biz wrote:

Glen Pike wrote:

  

But you can easily create your own button type class rather than use
the Flash symbols...



In fact, you can do your buttons, or movie clips, and the like in Flash.
Publish the .swf, and you can download it using Flex and use all the
assets in it.

Flex's real strong point is that it is a superior coder's
environment--better debugger, faster editor. It is not a good environment
for artists and designers, by and large.

Your hard-core coders use Flex, the animators and designers use Flash, and
everybody is happy.

I should be more specific. Flex is the free Eclipse-based base. Flex
Builder, which I use, is the coding environment. I use it only for AS3--I
literally have never used the GUI to do MXML.

There are other development environments for Flex, such as FlashBuilder,
which is free. It's really nice, though it doesn't have a debugger. Still,
you can use Flex entirely for free if you wish.

All Flex is, in the end, is another way of making .swf files. You don't
have to do the entire site in Flex--you can use it just like Flash. In
fact, I recommend that you do discrete elements in Flex, and build the
site using these elements. That way, when AS4 comes out, you have your AS3
code isolated, and can keep developing new pages without having to
re-engineer the AS3 pages.

Cordially,

Kerry Thompson

___
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] Who uses Adobe Flex?

2009-11-18 Thread Latcho

In Kerry's post read:

 There are other development environments for Flex, such as 
FlashBuilder, which is free 

as
 There are other development environments for Flex, such as 
FlashDEVELOP, which is free 


and read

Flex is the free Eclipse-based base

Flex IDE which is not free is build upon Eclipse IDE, which is free; 
they both compile trough the free flex sdk /compiler


Latcho

al...@cyberiantiger.biz wrote:

Glen Pike wrote:

  

But you can easily create your own button type class rather than use
the Flash symbols...



In fact, you can do your buttons, or movie clips, and the like in Flash.
Publish the .swf, and you can download it using Flex and use all the
assets in it.

Flex's real strong point is that it is a superior coder's
environment--better debugger, faster editor. It is not a good environment
for artists and designers, by and large.

Your hard-core coders use Flex, the animators and designers use Flash, and
everybody is happy.

I should be more specific. Flex is the free Eclipse-based base. Flex
Builder, which I use, is the coding environment. I use it only for AS3--I
literally have never used the GUI to do MXML.

There are other development environments for Flex, such as FlashBuilder,
which is free. It's really nice, though it doesn't have a debugger. Still,
you can use Flex entirely for free if you wish.

All Flex is, in the end, is another way of making .swf files. You don't
have to do the entire site in Flex--you can use it just like Flash. In
fact, I recommend that you do discrete elements in Flex, and build the
site using these elements. That way, when AS4 comes out, you have your AS3
code isolated, and can keep developing new pages without having to
re-engineer the AS3 pages.

Cordially,

Kerry Thompson

___
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] Flex Coders List

2009-11-18 Thread Cedric Muller

http://tech.groups.yahoo.com/group/flexcoders/

hth,
Cedric


What is the Flex equivalent of this mailing list?

--
--Joel Stransky
stranskydesign.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] Infinite Loops

2009-11-18 Thread beno -
On Wed, Nov 18, 2009 at 11:51 AM, Cedric Muller flashco...@benga.li wrote:

 that's the problem. I suspect external calls, all one line after the other,
 in the timeline, and maybe the timeline's playhead gets over this code every
 frame ?

 main.hatAndFace();
 main.eyeball1();
 main.eyeball1();
 main.rightHand();
 ...

 beno, could you try:

 public function init():void {
hatAndFace();
eyeball1();
eyeball2();
rightHand();
leftHand();
 }

 then, in your FLA main timeline:


 var main:Main = new Main();
 addChild(main);
 main.init();

 stop(); //  this stops the timeline playhead, just to be sure it won't
 loop over 2 frames


How interesting. That stopped all alpha tweens but *not* the hands!

  public function rightHand():void
{
var mcHandInstance1:mcHand = new mcHand();
addChild(mcHandInstance1);
mcHandInstance1.x = 400;
mcHandInstance1.y = 200;
  }

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


Re: [Flashcoders] Who uses Adobe Flex?

2009-11-18 Thread Dave Watts
 Allow me to summarize your post:

 That never works out very well, does it? Because it seems to me that
 your summary missed a lot of Paul's points.

 When summarizing, you have to remove details. I just focused on what I felt
 was the core message.

Right, but Paul may disagree with you about what that core message is, exactly.

In my reading of Paul's message, I got something quite a bit different
than you did. One of the things that I got out of it was the focus
that Flex Builder/Flash Builder has on enterprise development, which
is really quite a different thing from many Flash development projects
I suspect.

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

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Who uses Adobe Flex?

2009-11-18 Thread Paul Andrews

Dave Watts wrote:

Allow me to summarize your post:



That never works out very well, does it? Because it seems to me that
your summary missed a lot of Paul's points.
  

When summarizing, you have to remove details. I just focused on what I felt
was the core message.



Right, but Paul may disagree with you about what that core message is, exactly.

In my reading of Paul's message, I got something quite a bit different
than you did. One of the things that I got out of it was the focus
that Flex Builder/Flash Builder has on enterprise development, which
is really quite a different thing from many Flash development projects
I suspect.
  
I think that's right. I generally think that Flex addresses many of the 
reasons why Flash was unappealing to many traditional developers who 
were used to programming languages such as Java, etc who found Flash a 
very poor development environment compared to what they were used to. 
Naturally, times have changed and Flash is now rather more sophisticated 
than when Flex first saw the light of day. Flash was always considered a 
toy or rather flippant technology in corporate development circles.


I am still quite amazed that Macromedia ever developed Flex. I suspect 
that a few people on the list might not know that originally it would 
cost something like $6,000 for a Flex licence and some serious server 
power was also required.


I applaud Macromedia for developing Flex (and perhaps also the 
developers of FutureSplash ;-)  ).


Paul

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

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!
___
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] Advice on minimum specification for cross platform cdrom

2009-11-18 Thread Paul Steven
Just designing the CDROM sleeve for a cross platform CDROM created with Flash 
CS3 and MDM Zinc 3 and need to include a minimum system spec. The application 
contains voice over. No video is included.

Here is what I have come up with based on Zincs minimum specification.

I just wanted to double check this is correct before duplicating a few thousand 
CDROM sleeves. 

Minimum system requirements
PC: XP, AMD / Intel, 1.0 Ghz, 256 mb RAM
MAC: 10.4.x, G3 PowerPC / Intel Solo, 1.0 Ghz, 256 mb RAM

Any advice much appreciated.

Thanks

Paul


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


Re: [Flashcoders] Advice on minimum specification for cross platform cdrom

2009-11-18 Thread Latcho

You can always test and evaluate it on a ultra low spec machine...
Nobody knows better than how much ram or cpu your app uses.
Ciao,
Lacho

Paul Steven wrote:

Just designing the CDROM sleeve for a cross platform CDROM created with Flash 
CS3 and MDM Zinc 3 and need to include a minimum system spec. The application 
contains voice over. No video is included.

Here is what I have come up with based on Zincs minimum specification.

I just wanted to double check this is correct before duplicating a few thousand CDROM sleeves. 


Minimum system requirements
PC: XP, AMD / Intel, 1.0 Ghz, 256 mb RAM
MAC: 10.4.x, G3 PowerPC / Intel Solo, 1.0 Ghz, 256 mb RAM

Any advice much appreciated.

Thanks

Paul


___
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] Advice on minimum specification for cross platform cdrom

2009-11-18 Thread Henrik Andersson

Paul Steven wrote:

I just wanted to double check this is correct before duplicating a few thousand 
CDROM sleeves.



If it is important enough to print on the box, hire a company to do the 
testing for you and find out the real numbers.

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


RE: [Flashcoders] Advice on minimum specification for cross platform cdrom

2009-11-18 Thread Paul Steven
I did hire a testing company. Just wanted to check my text included all the 
necessary stuff.

Here is what the testing company reported.

The application successfully ran on each of the configurations listed in the 
table below. Some of the animations run noticeably slower on configurations 2 
and 4 however this did not affect the usability of the application 
significantly. We would recommend that 800MHz is the minimum CPU specification, 
although the application will run on slower machines. Memory usage is 
negligible (approximately 40MB).

Software Configurations

The following is a list of the operating systems and browsers that were used 
during testing:

Config No.  Operating SystemTest Machine
1   Windows XP Pro SP2  TM061 and TM063
2   Windows Vista Home BasicTM065
3   Windows 7 Professional  TM080
4   Mac OS X 10.4   TM014
5   Mac OS X 10.5.2 TM070

Machine Specifications
Machine No. Model   Processor   Speed   RAM
TM014   iMacG3  800MHz  256MB
TM061   Compaq Deskpro EN   PIII800MHz  256MB
TM063   Compaq Deskpro EN   PIII1GHz256MB
TM065   Dell Optiplex 745   Intel Core 2 Duo1.8GHz  2GB
TM070   iMacIntel Core 2 Duo2.66GHz 2GB
TM080   Dell Vostro 220SIntel Core 2 Duo2.8GHz  4GB


-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com 
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Henrik Andersson
Sent: 18 November 2009 17:05
To: Flash Coders List
Subject: Re: [Flashcoders] Advice on minimum specification for cross platform 
cdrom

Paul Steven wrote:
 I just wanted to double check this is correct before duplicating a few 
 thousand CDROM sleeves.


If it is important enough to print on the box, hire a company to do the 
testing for you and find out the real numbers.
___
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] Infinite Loops

2009-11-18 Thread Jack Doyle
First of all, you don't need to keep re-activating the AutoAlphaPlugin - you
can just do that once in your SWF. It doesn't hurt anything to re-activate
it multiple times, but it definitely doesn't help.

Regarding the infinite loop, please make sure you're using the latest
version of the GreenSock code - there was a bug a couple weeks ago that
could cause an infinite loop in a specific scenario, but it has since been
fixed (sorry about any inconvenience that caused). http://www.TweenLite.com

There are certainly other things that could cause infinite loops that have
nothing to do with the tweening code, but it's tough to know without seeing
how/where you're calling the functions, what the rest of your code looks
like, etc. 

Jack

-Original Message-
From: beno - [mailto:flashmeb...@gmail.com] 
Sent: Wednesday, November 18, 2009 9:25 AM
To: Flash Coders List
Subject: [Flashcoders] Infinite Loops

Hi;
I have the following code. All the functions go in infinite loops *except*
the first one, which is strange to me, since both it (hatAndFace, and both
eyeball1 and eyeball2) all use the same greensock codes, yet the latter two
repeat ad infinitum the alpha tween. Why is this? How do I control it such
that it only plays once? I thought putting a stop(); at the end would do
the trick, but no :(
TIA.
beno

package
{
 import flash.display.MovieClip;
 import com.greensock.*;
 import com.greensock.plugins.*;
 import com.greensock.easing.*;
 public class Main extends MovieClip
  {
  public function Main():void
{
  }
  public function hatAndFace():void
{
var mcHatAndFaceInstance:mcHatAndFace = new mcHatAndFace();
TweenPlugin.activate([AutoAlphaPlugin]);
addChild(mcHatAndFaceInstance);
mcHatAndFaceInstance.x = 350;
mcHatAndFaceInstance.y = 100;
mcHatAndFaceInstance.alpha = 0;
TweenLite.to(mcHatAndFaceInstance, 2, {autoAlpha:1});
  }
  public function eyeball1():void
{
var mcEyeballInstance1:mcEyeball = new mcEyeball();
TweenPlugin.activate([AutoAlphaPlugin]);
addChild(mcEyeballInstance1);
mcEyeballInstance1.x = 380;
mcEyeballInstance1.y = 115;
mcEyeballInstance1.alpha = 0;
TweenLite.to(mcEyeballInstance1, 2, {autoAlpha:1});
  }
  public function eyeball2():void
{
var mcEyeballInstance2:mcEyeball = new mcEyeball();
TweenPlugin.activate([AutoAlphaPlugin]);
addChild(mcEyeballInstance2);
mcEyeballInstance2.x = 315;
mcEyeballInstance2.y = 115;
mcEyeballInstance2.alpha = 0;
TweenLite.to(mcEyeballInstance2, 2, {autoAlpha:1});
  }
  public function rightHand():void
{
var mcHandInstance1:mcHand = new mcHand();
addChild(mcHandInstance1);
mcHandInstance1.x = 400;
mcHandInstance1.y = 200;
  }
  public function leftHand():void
{
var mcHandInstance2:mcHand = new mcHand();
addChild(mcHandInstance2);
mcHandInstance2.x = 800;
mcHandInstance2.y = 200;
  }
 }
}



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


RE: [Flashcoders] one class listening for another classesdispatchedevent

2009-11-18 Thread Merrill, Jason
My feeling is if the two components are related enough that tight
coupling is the desired option, then they really should be the same
single class.  If that makes it so there would be too much code in one
class and the tasks so different, then they should be in separate
classes with events dispatched and listened to.  


Jason Merrill 

 Bank of  America  Global Learning 
Learning  Performance Soluions

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 Latcho
Sent: Wednesday, November 18, 2009 9:25 AM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] one class listening for another
classesdispatchedevent


If like you said,  --totally tightly coupled solution is overkill.-- 
,than I can agree with you :P


But alright, to plug in on this matter. As I found out it's not hard to 
lose the tight coupling.
The hard part is to find a system that works fast and intuitive for you.
Once you found or created one, you'll be happy to reuse that system, 
even for simple setups and for the simple reason that it is YOUR OWN ( 
or preferred ) loosely coupled  (event) system.
At that click you will find out that it that it can work more for you 
than against you or against your speed.
Integrating a loosely coupled flow also helps you in creating your own 
app-paradigm and workflow and enables you to start or reopen  a project 
faster.
You now know the best place to implement and to listen for that shout. 
And a lightyear later when you look back into your crappy-small-app code

of the past, you will smile and think:
Nice try but I know better now ;)
Latcho




Matt Folkard wrote:
 I completely agree with this as I've been in exactly the same 
 situation with a largish scale project. The sort of projects I tend to

 do are small scale games for which the *totally tightly coupled 
 solution is overkill*. However, I've eaten my words on that point as 
 well...



 On 17 Nov 2009, at 21:05, Mendelsohn, Michael 
 michael.mendels...@fmglobal.com wrote:

 Alright, since I asked the question, I'm piping in.  I just finished 
 a project that became immensely complicated precisely because I 
 eventually had everything tightly coupled.  Had I used custom events 
 and done some other things from the get go, I'm nearly certain it 
 would have been easier to do my updates.  With the tight coupling of 
 that project, it would be difficult for anyone else to go into it in 
 the future.

 In smaller one-off projects, I don't think it's a big deal, but I'm 
 trying to force myself to get in the habit of loosely coupling 
 everything, via custom events.

 - MM

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



___
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] one class listening for another classesdispatchedevent

2009-11-18 Thread Henrik Andersson

Merrill, Jason wrote:

If that makes it so there would be too much code in one
class and the tasks so different, then they should be in separate
classes with events dispatched and listened to.



So you are basically saying that every single time you want to use 
something in another class, you should dispatch an event.


I say, that's obviously not correct and you agree with me here, using 
events for everything is stupid.


My view is that when a class provides some service for other classes, do 
use it.


Just remember who is responsible for what.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] one class listening for anotherclassesdispatchedevent

2009-11-18 Thread Merrill, Jason
 So you are basically saying that every single time you want to use 
something in another class, you should dispatch an event.

No, that's not what I'm saying, if you want/need to use something in
another class, you can call it directly.  For example, Math.floor() or
myPersonInstance.jump().  That's not tight coupling.  I'm talking about
when you want to know something has occurred in an instance of class A,
some data has changed or whatever, then make the instance class B react,
then you should use dispatching - you should not have a method in A call
B when something happens in A, unless the instance of B is declared
inside of A.  You can however call a method in another class to do
something - that's not tight coupling, that's just calling a public
method.  I'm talking about what the original OP asked about - have
instance b react when something in instance a occurred.  Instance of
A should not have a direct call to an instance of B in that case.  

Jason Merrill 

 Bank of  America  Global Learning 
Learning  Performance Soluions

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] one class listening for anotherclassesdispatchedevent

2009-11-18 Thread Steven Sacks

Exactly.  Encapsulation FTW.

Merrill, Jason wrote:

A bunch of smart stuff about not breaking encapsulation

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


Re: [Flashcoders] Advice on minimum specification for cross platform cdrom

2009-11-18 Thread alpha
Paul Steven wrote:

 I just wanted to double check this is correct before duplicating a few
 thousand CDROM sleeves.

 Minimum system requirements
 PC: XP, AMD / Intel, 1.0 Ghz, 256 mb RAM
 MAC: 10.4.x, G3 PowerPC / Intel Solo, 1.0 Ghz, 256 mb RAM

Bear in mind that minimum spec is just that--the minimum your program will
run on. A lot of products will give minimum spec, and recommended spec.

Minimum spec may run slow, and some features may not work real well, but
it at least runs, if poorly. Recommended spec is, of course, the machine
that runs your program smoothly.

Cordially,

Kerry Thompson

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


RE: [Flashcoders] one class listening for anotherclassesdispatchedevent

2009-11-18 Thread Merrill, Jason
Yes, encapsualtion - exactly. 


Jason Merrill 

 Bank of  America  Global Learning 
Learning  Performance Soluions

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 Steven
Sacks
Sent: Wednesday, November 18, 2009 3:06 PM
To: Flash Coders List
Subject: Re: [Flashcoders] one class listening for
anotherclassesdispatchedevent

Exactly.  Encapsulation FTW.

Merrill, Jason wrote:
 A bunch of smart stuff about not breaking encapsulation
___
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] Who uses Adobe Flex?

2009-11-18 Thread Dave Watts
 I am still quite amazed that Macromedia ever developed Flex. I suspect that
 a few people on the list might not know that originally it would cost
 something like $6,000 for a Flex licence and some serious server power was
 also required.

More than that - Flex 1.x was around $15k USD according to our
pricelist. And, frankly, it kind of sucked. But Flex 2 changed all
that!

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

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Who uses Adobe Flex?

2009-11-18 Thread Sid Ferreira
How many time Flex/Flash took to pay it self?

On Wed, Nov 18, 2009 at 22:29, Dave Watts dwa...@figleaf.com wrote:

  I am still quite amazed that Macromedia ever developed Flex. I suspect
 that
  a few people on the list might not know that originally it would cost
  something like $6,000 for a Flex licence and some serious server power
 was
  also required.

 More than that - Flex 1.x was around $15k USD according to our
 pricelist. And, frankly, it kind of sucked. But Flex 2 changed all
 that!

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

 Fig Leaf Software provides the highest caliber vendor-authorized
 instruction at our training centers in Washington DC, Atlanta,
 Chicago, Baltimore, Northern Virginia, or on-site at your location.
 Visit http://training.figleaf.com/ for more information!
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders




-- 
Sidney G B Ferreira
Desenvolvedor Web
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Who uses Adobe Flex?

2009-11-18 Thread Dave Watts
 How many time Flex/Flash took to pay it self?

$15K USD is a drop in the bucket for enterprise software.

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

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Testing before removing a child

2009-11-18 Thread Alan Neilsen
I am using loader_clip.removeChild(ldr); to remove child objects from my loader 
clip, and I want to test if a child object is there before removing it. I 
thought it would be something like
if (loader_clip.child !=0) {   // or !=, or !=null, or ==true, or 
something like that
loader_clip.removeChild(ldr);
}

But when I trace (loader_clip.child) it comes back undefined whether the 
child is still there or not.

What can I use to test this so loader_clip.removeChild(ldr); doesn't produce an 
error if the child has already been removed?
Alan Neilsen


This message is for the named person’s use only. It may contain
confidential, proprietary or legally privileged information. No
confidentiality or privilege is waived or; lost by any mistransmission. If
you receive this message in error, please immediately delete it and all
copies of it from your system, destroy any hard copies of it and notify
the sender. You must not directly or indirectly, use, disclose,
distribute, print or copy any part of this message if you are not the
intended recipient. GOULBURN OVENS INSTITUTE OF TAFE and
any of its subsidiaries each reserve the right to monitor all e-mail
communications through its networks. Any views expressed in this
message are those of the individual sender, except where the
message states otherwise and the sender is authorised to state them
to be the views of any such entity.

#
This e-mail message has been scanned for Viruses and Content and cleared 
by MailMarshal
#
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Who uses Adobe Flex?

2009-11-18 Thread Paul Andrews

Sid Ferreira wrote:

How many time Flex/Flash took to pay it self?
  
I think a lot of people on the flash lists don't realise how much money 
some corporates invest in software development. $15K would be a fraction 
of the development costs in some projects. It's a completely different 
situation to freelancers that are working with their own development 
tools. Corporates are rationalising development costs across many 
customers while often freelancers/small companies are rationalising 
their costs from one or very few customers.


Paul

On Wed, Nov 18, 2009 at 22:29, Dave Watts dwa...@figleaf.com wrote:

  

I am still quite amazed that Macromedia ever developed Flex. I suspect
  

that


a few people on the list might not know that originally it would cost
something like $6,000 for a Flex licence and some serious server power
  

was


also required.
  

More than that - Flex 1.x was around $15k USD according to our
pricelist. And, frankly, it kind of sucked. But Flex 2 changed all
that!

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

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!
___
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] ComboBox troubles

2009-11-18 Thread Karl DeSaulniers

Hello List,
Have a little snag on my hands. I am trying to get the value of a  
selected comboBox to change the picture of another MC.


My code:
var comboListen = new Object();
comboListen.change = function(evt_obj:Object) {
trace(evt_obj.selectedIndex);
var selectNum:Number = evt_obj.selectedIndex;
if (selectNum = 1) {
var pic = picturesArry[thumbHolder.ID][0];
thumbHolder[picture_box].loadMovie(pic,0);
thumbHolder.LoadVars(pic);
} else {
var pic = 
picturesArry[thumbHolder.ID][selectNum];
thumbHolder[picture_box].loadMovie(pic,0);
thumbHolder.LoadVars(pic);
}
};
colorBox.addEventListener(change,comboListen);

thumbHolder = main MC that holds the picture and the comboBox
[picture_box] =  the picture MC inside thumbHolder that I want to  
load into.
colorBox =  the comboBox inside thumbHolder that I want to change the  
picture MCs contents with.


FYI, by the time I get to using the listener, [picture_box] has  
already been loaded with the first image in the array of pictures.
thumbHolder, colorBox and [picture_box] are dynamically loaded onto  
the stage at run time.


How do I get colorBox's selection to change the picture in thumbHolder 
[picture_box]?


Any help would be greatly appreciated at this point. this is my third  
day with this and I'm going crazy.

Is there something I need to import to control the comboBox?

I have
import mx.control.ComboBox;
already imported, do I need it?

Karl DeSaulniers
Design Drumm
http://designdrumm.com

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


Re: [Flashcoders] Testing before removing a child

2009-11-18 Thread Gregory Boland
try .numChildren property

On Wed, Nov 18, 2009 at 4:48 PM, Alan Neilsen aneil...@gotafe.vic.edu.auwrote:

 I am using loader_clip.removeChild(ldr); to remove child objects from my
 loader clip, and I want to test if a child object is there before removing
 it. I thought it would be something like
 if (loader_clip.child !=0) {   // or !=, or !=null, or ==true, or
 something like that
loader_clip.removeChild(ldr);
 }

 But when I trace (loader_clip.child) it comes back undefined whether the
 child is still there or not.

 What can I use to test this so loader_clip.removeChild(ldr); doesn't
 produce an error if the child has already been removed?
 Alan Neilsen


 This message is for the named person’s use only. It may contain
 confidential, proprietary or legally privileged information. No
 confidentiality or privilege is waived or; lost by any mistransmission. If
 you receive this message in error, please immediately delete it and all
 copies of it from your system, destroy any hard copies of it and notify
 the sender. You must not directly or indirectly, use, disclose,
 distribute, print or copy any part of this message if you are not the
 intended recipient. GOULBURN OVENS INSTITUTE OF TAFE and
 any of its subsidiaries each reserve the right to monitor all e-mail
 communications through its networks. Any views expressed in this
 message are those of the individual sender, except where the
 message states otherwise and the sender is authorised to state them
 to be the views of any such entity.


 #
 This e-mail message has been scanned for Viruses and Content and cleared
 by MailMarshal

 #
 ___
 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] ComboBox troubles

2009-11-18 Thread Karl DeSaulniers

Oh and this is an AS2 project too.

Karl

Sent from losPhone

On Nov 18, 2009, at 7:22 PM, Karl DeSaulniers k...@designdrumm.com  
wrote:



Hello List,
Have a little snag on my hands. I am trying to get the value of a  
selected comboBox to change the picture of another MC.


My code:
var comboListen = new Object();
   comboListen.change = function(evt_obj:Object) {
   trace(evt_obj.selectedIndex);
   var selectNum:Number = evt_obj.selectedIndex;
   if (selectNum = 1) {
   var pic = picturesArry[thumbHolder.ID][0];
   thumbHolder[picture_box].loadMovie(pic,0);
   thumbHolder.LoadVars(pic);
   } else {
   var pic = picturesArry[thumbHolder.ID][selectNum];
   thumbHolder[picture_box].loadMovie(pic,0);
   thumbHolder.LoadVars(pic);
   }
   };
   colorBox.addEventListener(change,comboListen);

thumbHolder = main MC that holds the picture and the comboBox
[picture_box] =  the picture MC inside thumbHolder that I want to  
load into.
colorBox =  the comboBox inside thumbHolder that I want to change  
the picture MCs contents with.


FYI, by the time I get to using the listener, [picture_box] has  
already been loaded with the first image in the array of pictures.
thumbHolder, colorBox and [picture_box] are dynamically loaded  
onto the stage at run time.


How do I get colorBox's selection to change the picture in  
thumbHolder[picture_box]?


Any help would be greatly appreciated at this point. this is my  
third day with this and I'm going crazy.

Is there something I need to import to control the comboBox?

I have
import mx.control.ComboBox;
already imported, do I need it?

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] ComboBox troubles

2009-11-18 Thread Barry Hannah
Hey Karl.
The issue you are facing is that the function on the comboListen object
(comboListen.change) steals your scope - so you don't have any access to
all the things you need: picturesArry, thumbHolder etc.

So, you can either, forget creating an object to handle events and just
put your change function right there:

function change(evt_obj:Object) {
var selectNum:Number = colorBox.selectedIndex;
if (selectNum = 1) {
var pic = picturesArry[thumbHolder.ID][0];
thumbHolder[picture_box].loadMovie(pic, 0);
thumbHolder.LoadVars(pic);
} else {
var pic = picturesArry[thumbHolder.ID][selectNum];
thumbHolder[picture_box].loadMovie(pic, 0);
thumbHolder.LoadVars(pic);
}
}
colorBox.addEventListener(change, this);


Or, use the Delegate class to set the correct scope:

import mx.utils.Delegate;

var comboListen = new Object();
comboListen.change = Delegate.create(this, onChange);
function onChange() {
var selectNum:Number = colorBox.selectedIndex;
if (selectNum = 1) {
var pic = picturesArry[thumbHolder.ID][0];
thumbHolder[picture_box].loadMovie(pic,0);
thumbHolder.LoadVars(pic);
} else {
var pic = picturesArry[thumbHolder.ID][selectNum];
thumbHolder[picture_box].loadMovie(pic,0);
thumbHolder.LoadVars(pic);
}
}
colorBox.addEventListener(change, comboListen);

Barry.



-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Karl
DeSaulniers
Sent: Thursday, 19 November 2009 2:28 p.m.
To: Flash Coders List
Subject: Re: [Flashcoders] ComboBox troubles

Oh and this is an AS2 project too.

Karl

Sent from losPhone

On Nov 18, 2009, at 7:22 PM, Karl DeSaulniers k...@designdrumm.com  
wrote:

 Hello List,
 Have a little snag on my hands. I am trying to get the value of a  
 selected comboBox to change the picture of another MC.

 My code:
 var comboListen = new Object();
comboListen.change = function(evt_obj:Object) {
trace(evt_obj.selectedIndex);
var selectNum:Number = evt_obj.selectedIndex;
if (selectNum = 1) {
var pic = picturesArry[thumbHolder.ID][0];
thumbHolder[picture_box].loadMovie(pic,0);
thumbHolder.LoadVars(pic);
} else {
var pic = picturesArry[thumbHolder.ID][selectNum];
thumbHolder[picture_box].loadMovie(pic,0);
thumbHolder.LoadVars(pic);
}
};
colorBox.addEventListener(change,comboListen);

 thumbHolder = main MC that holds the picture and the comboBox
 [picture_box] =  the picture MC inside thumbHolder that I want to  
 load into.
 colorBox =  the comboBox inside thumbHolder that I want to change  
 the picture MCs contents with.

 FYI, by the time I get to using the listener, [picture_box] has  
 already been loaded with the first image in the array of pictures.
 thumbHolder, colorBox and [picture_box] are dynamically loaded  
 onto the stage at run time.

 How do I get colorBox's selection to change the picture in  
 thumbHolder[picture_box]?

 Any help would be greatly appreciated at this point. this is my  
 third day with this and I'm going crazy.
 Is there something I need to import to control the comboBox?

 I have
 import mx.control.ComboBox;
 already imported, do I need it?

 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

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


Re: [Flashcoders] ComboBox troubles

2009-11-18 Thread Karl DeSaulniers

Thanks for that Barry. I will test and see.
Thats funny, it seems I was so close at one point.
I had

function comboListen(evt_obj:Object) {
var selectNum:Number = colorBox.selectedIndex;
if (selectNum = 1) {
var pic = picturesArry[thumbHolder.ID][0];
thumbHolder[picture_box].loadMovie(pic, 0);
thumbHolder.LoadVars(pic);
} else {
var pic = picturesArry[thumbHolder.ID][selectNum];
thumbHolder[picture_box].loadMovie(pic, 0);
thumbHolder.LoadVars(pic);
}
}
colorBox.addEventListener(comboListen);

Guess I forgot the this also..
Will let you know if one of these work.
Thanks again,

Karl


On Nov 18, 2009, at 9:32 PM, Barry Hannah wrote:


Hey Karl.
The issue you are facing is that the function on the comboListen  
object
(comboListen.change) steals your scope - so you don't have any  
access to

all the things you need: picturesArry, thumbHolder etc.

So, you can either, forget creating an object to handle events and  
just

put your change function right there:

function change(evt_obj:Object) {
var selectNum:Number = colorBox.selectedIndex;
if (selectNum = 1) {
var pic = picturesArry[thumbHolder.ID][0];
thumbHolder[picture_box].loadMovie(pic, 0);
thumbHolder.LoadVars(pic);
} else {
var pic = picturesArry[thumbHolder.ID][selectNum];
thumbHolder[picture_box].loadMovie(pic, 0);
thumbHolder.LoadVars(pic);
}
}
colorBox.addEventListener(change, this);


Or, use the Delegate class to set the correct scope:

import mx.utils.Delegate;

var comboListen = new Object();
comboListen.change = Delegate.create(this, onChange);
function onChange() {
var selectNum:Number = colorBox.selectedIndex;
if (selectNum = 1) {
var pic = picturesArry[thumbHolder.ID][0];
thumbHolder[picture_box].loadMovie(pic,0);
thumbHolder.LoadVars(pic);
} else {
var pic = picturesArry[thumbHolder.ID][selectNum];
thumbHolder[picture_box].loadMovie(pic,0);
thumbHolder.LoadVars(pic);
}
}
colorBox.addEventListener(change, comboListen);

Barry.



-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Karl
DeSaulniers
Sent: Thursday, 19 November 2009 2:28 p.m.
To: Flash Coders List
Subject: Re: [Flashcoders] ComboBox troubles

Oh and this is an AS2 project too.

Karl

Sent from losPhone

On Nov 18, 2009, at 7:22 PM, Karl DeSaulniers k...@designdrumm.com
wrote:


Hello List,
Have a little snag on my hands. I am trying to get the value of a
selected comboBox to change the picture of another MC.

My code:
var comboListen = new Object();
   comboListen.change = function(evt_obj:Object) {
   trace(evt_obj.selectedIndex);
   var selectNum:Number = evt_obj.selectedIndex;
   if (selectNum = 1) {
   var pic = picturesArry[thumbHolder.ID][0];
   thumbHolder[picture_box].loadMovie(pic,0);
   thumbHolder.LoadVars(pic);
   } else {
   var pic = picturesArry[thumbHolder.ID][selectNum];
   thumbHolder[picture_box].loadMovie(pic,0);
   thumbHolder.LoadVars(pic);
   }
   };
   colorBox.addEventListener(change,comboListen);

thumbHolder = main MC that holds the picture and the comboBox
[picture_box] =  the picture MC inside thumbHolder that I want to
load into.
colorBox =  the comboBox inside thumbHolder that I want to change
the picture MCs contents with.

FYI, by the time I get to using the listener, [picture_box] has
already been loaded with the first image in the array of pictures.
thumbHolder, colorBox and [picture_box] are dynamically loaded
onto the stage at run time.

How do I get colorBox's selection to change the picture in
thumbHolder[picture_box]?

Any help would be greatly appreciated at this point. this is my
third day with this and I'm going crazy.
Is there something I need to import to control the comboBox?

I have
import mx.control.ComboBox;
already imported, do I need it?

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

___
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

Re: [Flashcoders] ComboBox troubles

2009-11-18 Thread Karl DeSaulniers

Nope. Those didn't work either.
Its just not registering the change

??

Karl


On Nov 18, 2009, at 9:32 PM, Barry Hannah wrote:


Hey Karl.
The issue you are facing is that the function on the comboListen  
object
(comboListen.change) steals your scope - so you don't have any  
access to

all the things you need: picturesArry, thumbHolder etc.

So, you can either, forget creating an object to handle events and  
just

put your change function right there:

function change(evt_obj:Object) {
var selectNum:Number = colorBox.selectedIndex;
if (selectNum = 1) {
var pic = picturesArry[thumbHolder.ID][0];
thumbHolder[picture_box].loadMovie(pic, 0);
thumbHolder.LoadVars(pic);
} else {
var pic = picturesArry[thumbHolder.ID][selectNum];
thumbHolder[picture_box].loadMovie(pic, 0);
thumbHolder.LoadVars(pic);
}
}
colorBox.addEventListener(change, this);


Or, use the Delegate class to set the correct scope:

import mx.utils.Delegate;

var comboListen = new Object();
comboListen.change = Delegate.create(this, onChange);
function onChange() {
var selectNum:Number = colorBox.selectedIndex;
if (selectNum = 1) {
var pic = picturesArry[thumbHolder.ID][0];
thumbHolder[picture_box].loadMovie(pic,0);
thumbHolder.LoadVars(pic);
} else {
var pic = picturesArry[thumbHolder.ID][selectNum];
thumbHolder[picture_box].loadMovie(pic,0);
thumbHolder.LoadVars(pic);
}
}
colorBox.addEventListener(change, comboListen);

Barry.



-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Karl
DeSaulniers
Sent: Thursday, 19 November 2009 2:28 p.m.
To: Flash Coders List
Subject: Re: [Flashcoders] ComboBox troubles

Oh and this is an AS2 project too.

Karl

Sent from losPhone

On Nov 18, 2009, at 7:22 PM, Karl DeSaulniers k...@designdrumm.com
wrote:


Hello List,
Have a little snag on my hands. I am trying to get the value of a
selected comboBox to change the picture of another MC.

My code:
var comboListen = new Object();
   comboListen.change = function(evt_obj:Object) {
   trace(evt_obj.selectedIndex);
   var selectNum:Number = evt_obj.selectedIndex;
   if (selectNum = 1) {
   var pic = picturesArry[thumbHolder.ID][0];
   thumbHolder[picture_box].loadMovie(pic,0);
   thumbHolder.LoadVars(pic);
   } else {
   var pic = picturesArry[thumbHolder.ID][selectNum];
   thumbHolder[picture_box].loadMovie(pic,0);
   thumbHolder.LoadVars(pic);
   }
   };
   colorBox.addEventListener(change,comboListen);

thumbHolder = main MC that holds the picture and the comboBox
[picture_box] =  the picture MC inside thumbHolder that I want to
load into.
colorBox =  the comboBox inside thumbHolder that I want to change
the picture MCs contents with.

FYI, by the time I get to using the listener, [picture_box] has
already been loaded with the first image in the array of pictures.
thumbHolder, colorBox and [picture_box] are dynamically loaded
onto the stage at run time.

How do I get colorBox's selection to change the picture in
thumbHolder[picture_box]?

Any help would be greatly appreciated at this point. this is my
third day with this and I'm going crazy.
Is there something I need to import to control the comboBox?

I have
import mx.control.ComboBox;
already imported, do I need it?

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

___
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] Testing before removing a child

2009-11-18 Thread Francis Turmel
If I understand properly what you mean, the contains method is what you're
looking for.

if (loader_clip.contains(ldr)){
loader_clip.removeChild(ldr);
}

http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/display/DisplayObjectContainer.html#contains%28%29



On Wed, Nov 18, 2009 at 8:25 PM, Gregory Boland
breakfastcof...@gmail.comwrote:

 try .numChildren property

 On Wed, Nov 18, 2009 at 4:48 PM, Alan Neilsen aneil...@gotafe.vic.edu.au
 wrote:

  I am using loader_clip.removeChild(ldr); to remove child objects from my
  loader clip, and I want to test if a child object is there before
 removing
  it. I thought it would be something like
  if (loader_clip.child !=0) {   // or !=, or !=null, or ==true, or
  something like that
 loader_clip.removeChild(ldr);
  }
 
  But when I trace (loader_clip.child) it comes back undefined whether
 the
  child is still there or not.
 
  What can I use to test this so loader_clip.removeChild(ldr); doesn't
  produce an error if the child has already been removed?
  Alan Neilsen
 
 
  This message is for the named person’s use only. It may contain
  confidential, proprietary or legally privileged information. No
  confidentiality or privilege is waived or; lost by any mistransmission.
 If
  you receive this message in error, please immediately delete it and all
  copies of it from your system, destroy any hard copies of it and notify
  the sender. You must not directly or indirectly, use, disclose,
  distribute, print or copy any part of this message if you are not the
  intended recipient. GOULBURN OVENS INSTITUTE OF TAFE and
  any of its subsidiaries each reserve the right to monitor all e-mail
  communications through its networks. Any views expressed in this
  message are those of the individual sender, except where the
  message states otherwise and the sender is authorised to state them
  to be the views of any such entity.
 
 
 
 #
  This e-mail message has been scanned for Viruses and Content and cleared
  by MailMarshal
 
 
 #
  ___
  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