Re: [Flashcoders] Event Handling in ActionScript 3

2008-01-27 Thread Guybrush Threepwood
Hans/JC/Glen,Thanks for your great advice.

I understand the new event mechanism is far better than the callback thing I
used to do.
I think I'll do as you say. Just wanted to know if it was possible at all.

Any URLs on how to implement IEventDispatcher? I'm not used to implement
interfaces. I'm used to extend classes (using inheritance) but not sure how
to implement interfaces in AS3.

Thanks!!
Guybrush

PS: How do you know I'm not in Monkey Island?
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] help with flash project

2008-01-27 Thread Michelon Jeanty
Hi everyone, my name is Michelin; I'm a Harvard student, and also a
member of the mailing list.
I'm looking for partners to start an interesting project. Let me know
if any of you guys interested, and we can chat.

It's an open source project/startup. All of our work would be
available to the open source community.

We'll give you 10 shares to start with, it's a good chunk of the
project/startup. You'll also have stock options. Let me know if you
would take me on the offer. You can work with us at your own time.
Email me to negotiate...

You must be very good with red5, Flash media server, OpenLaszlo,
ActionScript, AJAX, Adobe Flex, MXML, PHP (web development).

The idea is an interactive live video streaming project where users
group up to discuss things they care about, using voice and distance.
It's see me; talk to me; locate me live. It's in its stealth mode.

Drop me a line at: [EMAIL PROTECTED]
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Flash and Database Issue - Need Advice

2008-01-27 Thread Glen Pike

Hi,

   I currently have the Beta of ASV 6 which decompiles my AS3 SWF's 
without too many problems.


   Regarding Flash vs Flex debates, I have not got CS3 yet, but have 
been developing in AS3 using Flash Develop and importing graphics 
created in Flash 8, but following a very code oriented way of 
development.  I like this and will probably keep working in this way as 
I do a lot of stuff with animations, etc.  For pure business stuff, I 
would certainly consider using Flex and saying that I have been 
developing some prototype systems for very simple website ideas in Flex 
to see if I can get a nice workflow going.


The tutorials that Adobe put with Flex Builder are a great starting 
point as someone mentioned and I also took advantage of the free trials 
from Adobe/Total Training that were pretty good:
  
   http://www.totaltraining.com/prod/adobe/flex2_ria.asp - this is a 
really good introduction - a refresher for me - to using Flex and 
thinking in terms of RIA's.  I liked the presenters style and it 
contrasted a lot with the one below.


   http://www.totaltraining.com/prod/adobe/flex2_avp.asp - this was 
okay, but I found the presenter very dull - his voice did not help and I 
am sure they sped it up in the intros.  I got quite irritated watching a 
lot of basics in a training package that specified you needed to have 
these skills beforehand.  It does however provide some very helpful 
information about making Flex applications look a lot better than the 
default.


   If you are a visual developer, Flex will probably be a bit scary 
because you need to start learning how to code the visual parts using 
MXML to get what you want.


   As far as CMS stuff goes - if you are looking to connect to an 
existing back-end system like Drupal, Wordpress, etc.  There are already 
a lot of components written to handle all the back-end stuff, which 
saves a lot of pain writing your own.  This is particularly important if 
you are not experienced in server side coding - MySQL, PHP and the 
security issues that tend to affect these things.


   For Flash, if you like coding in AS2, you could look at SWX, 
http://swxformat.org/, which is really easy to get started with.  They 
are porting it to AS3 at the moment, but it is very straightforward and 
also has the benefit of being very lightweight when compared with XML 
methods - this is important if you plan to work with mobiles, etc.


   SWX is like a nice halfway between XML & AMF remoting - it has the 
ease of getting data into your app, with the streamlined nature of AMF


   The good thing is that there are lots of ways for you to talk to the 
server(s) from the SWF player now and they have all improved 
dramatically with a lot of support from various people, so experiment a 
lot if you have time and read lots of info - the devnet site on Adobe is 
invaluable as well as Google.


   There is a lot of stuff out there to learn and I am no expert, but I 
have been trying out a lot of stuff in Flash, Flex & related 
technologies and will say one is outright better than the other - it 
depends on your experience & the problem you are trying to solve.  
Hopefully, I will be able to keep up with both strands of development 
and do some cool stuff with them.


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


Re: [Flashcoders] [AS3] how to tell Loader on which clip you are going to load?

2008-01-27 Thread Jason Van Cleave
Since myClip doesn't exist shouldn't you just deal with the loader?

On Jan 26, 2008 4:57 AM, Leonardo Scattola - New Vision srl <
[EMAIL PROTECTED]> wrote:

> Hello everyone!
> I wrote a little class extending the AS3 Loader class.
> In my new loader I've added a reference to the clip to which attach my
> content, so that I can write
>
> myLoader.loadImage(url, clip:MovieClip)
>
> where loadImage is a static method; in an ideal world myLoader will
> always load an image, and will fire an Event.INIT when the image has
> been loaded; I have defined a listener for this event, like this:
>
> function onLoadSuccessful(myEvent:Event) {
>trace(myEvent.target.loader.myClip);
> }
>
> where myEvent.target is the loaderInfo property in my event, and
> myEvent.target.loader is an instance of the myLoader object;
> myEvent.target.loader.myClip will thus be the reference to the clip on
> which I will attach my image.
>
>
> The problem is: when the image doesn't exist, I would listen for an
> IOError. In this case, I have defined another listener:
> function onLoadError(myEvent:IOEvent) {
>trace(myEvent.target.loader.myClip);
> }
>
> But this raises an exception if the image fails to load (because the
> file doesn't exist), and tells me that the loader is not accessible
> because the event was fired "too early" to access the loaderInfo property.
>
> How can I access the myClip property in the onLoadError event?
>
> Thanks in advance.
>
> Leonardo
> ___
> 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] Flash and Database Issue - Need Advice

2008-01-27 Thread Muzak

Another Small Question... Can I Include MovieClips created in Flash inside a
Flex Application?


You can load (Flash) swf's at runtime and/or embed symbols from an swf.

There's a Component Kit for Flash CS3 that allows you to export MovieClip 
symbols as swc's from Flash that you can then use in Flex:
http://www.adobe.com/cfusion/exchange/index.cfm?event=extensionDetail&loc=en_us&extid=1273018


Can Someone give me some Tutes links for Flex?


Install FlexBuilder 2 (or 3) and check the Getting Started tuts that comes with 
it.

There's some Getting Started tuts on the Flex Dev center as well (about 30 of 
them actually):
http://www.adobe.com/devnet/flex/ (click the "getting started" tab).

Now might be a good time to start with Flex 3 instead of Flex 2. Flex 3 is 
still in (open) beta, but is close to being released.
http://labs.adobe.com/technologies/flex/
Flex 3 also comes with AIR, Flex 2 doesn't (seperate install).

And there's a Flex Skin Design Extension for Flash CS3:
http://labs.adobe.com/downloads/flex_sdext.html
This is to be used in combination with the new Wizards in Flex 3 that allows you to import skins for Flex components (neat new 
feature).


Check out some of the video's:
http://labs.adobe.com/wiki/index.php/Flex_3:Feature_Introductions

Once you're all set, join the FlexCoders mailing list (yahoogroups):
http://tech.groups.yahoo.com/group/flexcoders/

regards,
Muzak

- Original Message - 
From: "Omar Fouad" <[EMAIL PROTECTED]>

To: "Flash Coders List" 
Sent: Sunday, January 27, 2008 6:47 AM
Subject: Re: [Flashcoders] Flash and Database Issue - Need Advice



Another Small Question... Can I Include MovieClips created in Flash inside a
Flex Application?

On Jan 27, 2008 7:34 AM, Omar Fouad <[EMAIL PROTECTED]> wrote:


Oh My God! :D

Ok I Really think I'll Jump To Flex...

Can Someone give me some Tutes links for Flex?

Thanks.







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


Re: [Flashcoders] Flash and Database Issue - Need Advice

2008-01-27 Thread Paul Andrews
- Original Message - 
From: "Omar Fouad" <[EMAIL PROTECTED]>

To: "Flash Coders List" 
Sent: Sunday, January 27, 2008 5:47 AM
Subject: Re: [Flashcoders] Flash and Database Issue - Need Advice


Another Small Question... Can I Include MovieClips created in Flash inside 
a

Flex Application?


It's about time you asked in the right group - flexcoders.


On Jan 27, 2008 7:34 AM, Omar Fouad <[EMAIL PROTECTED]> wrote:


Oh My God! :D

Ok I Really think I'll Jump To Flex...

Can Someone give me some Tutes links for Flex?

Thanks.


Omar, it's about time you started looking for yourself. 


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