[Flashcoders] hello, and interval management question

2006-10-16 Thread Øyvind Nordhagen

Hello, Giles!

It strikes me that what you have planned is somewhat inefficient. Am  
I right in suspecting that you need the intervals to keep checking  
for conditions and the running code accordingly? If so, have you  
explored the AsBroadcaster. I'm not sure I understand the purpose of  
your application fully through...


Øyvind Nordhagen
[EMAIL PROTECTED]

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] Alternative IDE for Flash Devel

2006-10-16 Thread The Helmsman
I think I've used all alternative editors to write AS files.
I don't understand why you call them IDEs, because currently there is only one 
IDE which is Flash.

Now, I found that there are no editors which supports an AS 1.0 as well as AS 
2.0 and is free. Here is a list of editors I used according in order as I've 
used them:

Scite - absolutely great one to write AS 1.0, it's free and don't use a lot of 
CPU resources even if you open a lot of files.

FlashDevelop - for most of people it's a favorite choice, but it lacks a lot of 
futures opposite to other ones which are older. It's a freeware and great to 
write AS 2.0 only.

PrimalScript - a great one for AS 1.0 and AS 2.0, but it lacks some of features 
that FDT have and it's commercial not free.

FDT - must be the choice for all who write a code using AS 2.0, in any other 
cases - don't use it! It is commercial and quite expensive. As far as I know 
there is no AS 3.0 support and it is quite difficult to set it up for the very 
first time for a newbie. The number of features it has for AS 2.0 is amazing!

Sepy - can hold AS 2.0 and AS 1.0, and both of them works great! I use the last 
experimental version and it's really stable on my PC. Due to this time there is 
lack of updates and it seems that the developers in some kind of an idle :) 
Once they made a new version each week. Personally I prefer to use this editor 
because it is located in the middle regarding the features and have a great 
support of both versions of AS, it's free and because I have a lot of old 
projects in both versions I prefer to work with it.


Igor Vasiliev

Atidim 2, Tel-Aviv, Israel
phone: +972-36471884
fax: +972-36472722

web: www.mixtv.tv
email: [EMAIL PROTECTED]


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Andy Herrman
Sent: Thursday, October 12, 2006 4:46 PM
To: Flashcoders
Subject: [Flashcoders] Alternative IDE for Flash Devel

Forgive me if this has already been asked, but I didn't see anything
in the archives.

I'm new to Flash development and am working on both server and client
side code (FMS 2.0 and Flash 7+).  As someone who's used to doing Java
development using Netbeans I find the Flash IDE very lacking for
client side development, and there doesn't seem to be any IDE for FMS.

Does anyone on this list know of a good alternative IDE for Flash?
I've found a lot of references to using Eclipse but I haven't been
able to get the plugin to work correctly.

I'm specifically looking for something that can handle both
Actionscript 1 and 2 and can still use the Flash 8 devel environment
for the actual builds (I can't use MTASC).  Unfortunately it will also
have to be free, as I don't think I'll be able to get the company to
buy an IDE for me to use. :(

Is there anything out there I can use, or am I out of luck?  Right now
I'm just using Vim for editing the files themselves and switching to
Flash 8 for building, but the lack of any kind of project management
is getting annoying.

Thanks!

  -Andy
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Flash Classes and Preloading ...

2006-10-16 Thread Hans Wichman

Hi,
export all as2 classes and stuff after frame 1, eg frame 10 and write your
preloader in as1 :).

greetz
JC


On 10/16/06, Anthony Lee [EMAIL PROTECTED] wrote:


Stephen,

Don't know about the Flash IDE, but MTASC can do this for you. I posted
a similar question to osflash.org, here's the thread:
http://www.osflash.org/pipermail/osflash_osflash.org/2006-July/009853.html

The short answer is compile your main Classes into a later frame of a
SWF that already contains you preloader Class on frame one.

Tony
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] simplest file/folder access ?

2006-10-16 Thread Tor.Kristensen
Hey all,

I want to create a projector that can recurse down a folder tree and
build a list of files. (for an image remixer project)

All the commercial EXE packagers have a million bells-and-whistles on
them, and I'm only looking for the file/folder functionality. 

Anyone know a simple/cheap/light solution for this?

Thanks
t
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] Casting external SWF's

2006-10-16 Thread Matthew Jacobi
Hi,

I think adding to the prototype would be the easiest way of recasting an
external swf into a class.  It's like setting up a class linkage in the
library except you can't do that with external swfs (as you already
know).

Once you got the swf loaded into external_mc you can:

// recast it as NewClass
external_mc.__proto__ = NewClass.prototype;
external_mc.__constructor__ = NewClass;
external_mc.__constructor__.apply(external_mc);

If you wanted to pass arguments into the constructor you can change last
line to:
external_mc.__constructor__.apply(external_mc, arg1, arg2, ..., argN);

It might not look nice, but it works nice.  The external swf functions
and behaves just like a symbol would be if you loaded it from your
library and the class linkage was setup.

Hope this helps.

Matthew Jacobi
Adobe Consulting - EMEA - MAD


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Glen
Pike
Sent: 15 October 2006 23:15
To: Flashcoders mailing list
Subject: [Flashcoders] Casting external SWF's

Hi,

I am working on a project where I have been supplied a number of
animation scenes in separate SWF's due to the size of the finished
animations. 
   
All the animation in the SWF's is on the root timeline and some of it is
in separate scenes :(

In order to sequence the animations, I am preloading these SWF's
into a shell application then playing them in order
I need to be able to detect when certain frames are reached inside
these animations in order to fire off various events - like playing the
next one, etc.

Rather than extend the functionality of MovieClip by adding to the
prototype - the AS1 way - is there a better way of gaining some control
over these clips?

I would love to cast them as a subclass of movieclip which
dispatches events and can play backwards forwards, etc. but as I am
dealing with the root timeline, I guess I cannot cast the MovieClip
object as something with extra functionality?

I have the FLA's so at worst, I could move all the frames from the
root timeline into a clip linked to my subclass, but as there are a lot
of scenes, this is not a desired course of action.

Thanks for your help

Glen
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training http://www.figleaf.com
http://training.figleaf.com
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Font color in datagrid component

2006-10-16 Thread Carl Welch

Thanks, but that still didn't work.
Here's a screenshot of what I have now:
http://www.carlwelch.com/listBoxsample/listbox.jpg

but I'm trying to make it look more like this:
http://www.carlwelch.com/listBoxsample/listbox2.jpg

this the code I'm using:

import mx.styles.CSSStyleDeclaration;
if (_global.styles.DataGrid == undefined) {
_global.styles.DataGrid = new CSSStyleDeclaration();
}
_global.styles.DataGrid.setStyle(alternatingRowColors, [0x00, 0x0B0B0B]);
_global.styles.DataGrid.setStyle(color , 0xFF);
_global.styles.DataGrid.setStyle.color = white;
_global.styles.DataGrid.setStyle(themeColor, haloBlue);
_global.styles.DataGrid.setStyle(borderStyle, solid);
_global.styles.DataGrid.setStyle(borderColor, 0x66);

if (_global.styles.List == undefined) {
  _global.styles.List = new CSSStyleDeclaration();
}
_global.styles.List.setStyle(color, 0xFF);

if (_global.styles.Tree == undefined) {
_global.styles.Tree = new CSSStyleDeclaration();
}
_global.styles.Tree.setStyle(color, 0x00);




On 10/15/06, nelson ramirez [EMAIL PROTECTED] wrote:

The DataGrid component implements the List component. So you need to set the
style for List.

if (_global.styles.List == undefined) {
   _global.styles.List = new CSSStyleDeclaration();
}
_global.styles.List.setStyle(color, 0xFF);

On 10/15/06, Carl Welch [EMAIL PROTECTED] wrote:

 I'm trying to make the color of text white in a datagrid. it doesn't
 seem to be working, though. The text looks dark blue against a black
 background. Also is it possible to change the color of the top part of
 the datagrid. Even though I have the cells set to an alternating color
 of black and grey, the column labels stay white.

 I googled but couln't find anything helpful...

 import mx.styles.CSSStyleDeclaration;
 if (_global.styles.DataGrid == undefined) {
 _global.styles.DataGrid = new CSSStyleDeclaration();
 }
 _global.styles.DataGrid.setStyle(alternatingRowColors, [0x00,
 0x0B0B0B]);
 _global.styles.DataGrid.setStyle(color , 0xFF);
 _global.styles.DataGrid.setStyle(themeColor, haloBlue);
 _global.styles.DataGrid.setStyle(borderStyle, solid);
 _global.styles.DataGrid.setStyle(borderColor, 0x66);


 Thanks...
 --
 Carl Welch
 http://www.carlwelch.com
 [EMAIL PROTECTED]
 805.403.4819
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com




--
Carl Welch
http://www.carlwelch.com
[EMAIL PROTECTED]
805.403.4819
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Interfaces: what are the advantages?

2006-10-16 Thread Ray Chuan

Hi Ian,

an intrinsic is not used only for built-in Flash Player classes/code.
You can use it to save yourself some time, since the compiler doesn't
compiler the bytecode all again.

With intrinsics no bytecode is generated, only type-checking is done.
With interfaces bytecode is generated.

I'm not saying that interfaces should be done away with and replaced
with intrinsics. Interfaces are part of the paradigm, while Intrinsics
are, to me, a Flash compiler-only feature for speed purposes, and has
no impact whatsoever on your paradigm.

(By paradigm i refer to OOP, coding methodology, etc.)

On 10/14/06, Ian Thomas [EMAIL PROTECTED] wrote:

Hi Ray,
  Yes - but why would you, if the language spec already supports
interfaces? Using interfaces is a much more 'standard' way (i.e. the
same sort of thing you'd do if you were talking to dynamic libraries
in other languages).

  I still see intrinsics as a bit of a hack. These classes are
internal to the Flash Player, honest! Don't look for their
implementation.

  Note the line from the page you link to: This keyword was not meant
for general purpose use...

  Still - I'd imagine, like many of these things, in the end it comes
down to personal taste. :-) Whatever gets the job done...

Ian

On 10/14/06, Ray Chuan [EMAIL PROTECTED] wrote:
 Hi,
 can't this be done with intrinsics?

 
http://livedocs.macromedia.com/flash/8/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Partsfile=1879.html
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com




--
Cheers,
Ray Chuan
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Interfaces: what are the advantages?

2006-10-16 Thread Ian Thomas

Hi Ray,
 I know what intrinsics are, what they're _supposed_ to be for, and
what they're actually used for. :-)

 It's a matter of personal preference. I don't use them because, as I
said earlier, I can do things in other ways. For the purpose I was
talking about - seperating code into different .swf files - I'd rather
come up with a design that uses interfaces, since interfaces are a
part of the language. So far I've had no need for intrinsics. I'm sure
if I came up with a need for them, I'd use them. :-)

Ian

On 10/16/06, Ray Chuan [EMAIL PROTECTED] wrote:

Hi Ian,

an intrinsic is not used only for built-in Flash Player classes/code.
You can use it to save yourself some time, since the compiler doesn't
compiler the bytecode all again.

With intrinsics no bytecode is generated, only type-checking is done.
With interfaces bytecode is generated.

I'm not saying that interfaces should be done away with and replaced
with intrinsics. Interfaces are part of the paradigm, while Intrinsics
are, to me, a Flash compiler-only feature for speed purposes, and has
no impact whatsoever on your paradigm.

(By paradigm i refer to OOP, coding methodology, etc.)

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Victor's PC...OUT

2006-10-16 Thread Troy Rollins


On Oct 16, 2006, at 12:26 AM, Victor Gaudioso wrote:

Hey all, I had to do a wipe because my PC crahsed and burned.   
About a month ago I bought Gproject.  I have no idea how to get it  
again without paying. Any suggestions.


Contact support at Grant Skinner's site, I'm sure they'll set you up.

[EMAIL PROTECTED]

--
Troy
RPSystems, Ltd.
http://www.rpsystems.net


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Alternative IDE for Flash Devel

2006-10-16 Thread Ron Wheeler
If you are a Java programmer, you will probably find the Eclipse IDE the 
most comfortable place to work..
You might also be able to make some good suggestions about how to add 
the Java tools that are available under Eclipse to the Flash tools.


IMHO while it may be true that Flash is the only IDE for Flash 
animation, Eclipse is the best IDE for developing Actionscript applications.


Ron

The Helmsman wrote:

I think I've used all alternative editors to write AS files.
I don't understand why you call them IDEs, because currently there is only one 
IDE which is Flash.

Now, I found that there are no editors which supports an AS 1.0 as well as AS 
2.0 and is free. Here is a list of editors I used according in order as I've 
used them:

Scite - absolutely great one to write AS 1.0, it's free and don't use a lot of 
CPU resources even if you open a lot of files.

FlashDevelop - for most of people it's a favorite choice, but it lacks a lot of 
futures opposite to other ones which are older. It's a freeware and great to 
write AS 2.0 only.

PrimalScript - a great one for AS 1.0 and AS 2.0, but it lacks some of features 
that FDT have and it's commercial not free.

FDT - must be the choice for all who write a code using AS 2.0, in any other 
cases - don't use it! It is commercial and quite expensive. As far as I know 
there is no AS 3.0 support and it is quite difficult to set it up for the very 
first time for a newbie. The number of features it has for AS 2.0 is amazing!

Sepy - can hold AS 2.0 and AS 1.0, and both of them works great! I use the last 
experimental version and it's really stable on my PC. Due to this time there is 
lack of updates and it seems that the developers in some kind of an idle :) 
Once they made a new version each week. Personally I prefer to use this editor 
because it is located in the middle regarding the features and have a great 
support of both versions of AS, it's free and because I have a lot of old 
projects in both versions I prefer to work with it.


Igor Vasiliev

Atidim 2, Tel-Aviv, Israel
phone: +972-36471884
fax: +972-36472722

web: www.mixtv.tv
email: [EMAIL PROTECTED]


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Andy Herrman
Sent: Thursday, October 12, 2006 4:46 PM
To: Flashcoders
Subject: [Flashcoders] Alternative IDE for Flash Devel

Forgive me if this has already been asked, but I didn't see anything
in the archives.

I'm new to Flash development and am working on both server and client
side code (FMS 2.0 and Flash 7+).  As someone who's used to doing Java
development using Netbeans I find the Flash IDE very lacking for
client side development, and there doesn't seem to be any IDE for FMS.

Does anyone on this list know of a good alternative IDE for Flash?
I've found a lot of references to using Eclipse but I haven't been
able to get the plugin to work correctly.

I'm specifically looking for something that can handle both
Actionscript 1 and 2 and can still use the Flash 8 devel environment
for the actual builds (I can't use MTASC).  Unfortunately it will also
have to be free, as I don't think I'll be able to get the company to
buy an IDE for me to use. :(

Is there anything out there I can use, or am I out of luck?  Right now
I'm just using Vim for editing the files themselves and switching to
Flash 8 for building, but the lack of any kind of project management
is getting annoying.

Thanks!

  -Andy
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com



  

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Alternative IDE for Flash Devel

2006-10-16 Thread Kjel Anderson
I don't know if anyone else is using JEdit to do ActionScript, but it 
has some nice features. I have been using it for about a year to develop 
application with MTASC. It is very simple to set up.


Kjel Anderson

Ron Wheeler wrote:
If you are a Java programmer, you will probably find the Eclipse IDE 
the most comfortable place to work..
You might also be able to make some good suggestions about how to add 
the Java tools that are available under Eclipse to the Flash tools.


IMHO while it may be true that Flash is the only IDE for Flash 
animation, Eclipse is the best IDE for developing Actionscript 
applications.


Ron

The Helmsman wrote:

I think I've used all alternative editors to write AS files.
I don't understand why you call them IDEs, because currently there is 
only one IDE which is Flash.


Now, I found that there are no editors which supports an AS 1.0 as 
well as AS 2.0 and is free. Here is a list of editors I used 
according in order as I've used them:


Scite - absolutely great one to write AS 1.0, it's free and don't use 
a lot of CPU resources even if you open a lot of files.


FlashDevelop - for most of people it's a favorite choice, but it 
lacks a lot of futures opposite to other ones which are older. It's a 
freeware and great to write AS 2.0 only.


PrimalScript - a great one for AS 1.0 and AS 2.0, but it lacks some 
of features that FDT have and it's commercial not free.


FDT - must be the choice for all who write a code using AS 2.0, in 
any other cases - don't use it! It is commercial and quite expensive. 
As far as I know there is no AS 3.0 support and it is quite difficult 
to set it up for the very first time for a newbie. The number of 
features it has for AS 2.0 is amazing!


Sepy - can hold AS 2.0 and AS 1.0, and both of them works great! I 
use the last experimental version and it's really stable on my PC. 
Due to this time there is lack of updates and it seems that the 
developers in some kind of an idle :) Once they made a new version 
each week. Personally I prefer to use this editor because it is 
located in the middle regarding the features and have a great support 
of both versions of AS, it's free and because I have a lot of old 
projects in both versions I prefer to work with it.



Igor Vasiliev

Atidim 2, Tel-Aviv, Israel
phone: +972-36471884
fax: +972-36472722

web: www.mixtv.tv
email: [EMAIL PROTECTED]


-Original Message-
From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] On Behalf Of Andy 
Herrman

Sent: Thursday, October 12, 2006 4:46 PM
To: Flashcoders
Subject: [Flashcoders] Alternative IDE for Flash Devel

Forgive me if this has already been asked, but I didn't see anything
in the archives.

I'm new to Flash development and am working on both server and client
side code (FMS 2.0 and Flash 7+).  As someone who's used to doing Java
development using Netbeans I find the Flash IDE very lacking for
client side development, and there doesn't seem to be any IDE for FMS.

Does anyone on this list know of a good alternative IDE for Flash?
I've found a lot of references to using Eclipse but I haven't been
able to get the plugin to work correctly.

I'm specifically looking for something that can handle both
Actionscript 1 and 2 and can still use the Flash 8 devel environment
for the actual builds (I can't use MTASC).  Unfortunately it will also
have to be free, as I don't think I'll be able to get the company to
buy an IDE for me to use. :(

Is there anything out there I can use, or am I out of luck?  Right now
I'm just using Vim for editing the files themselves and switching to
Flash 8 for building, but the lack of any kind of project management
is getting annoying.

Thanks!

  -Andy
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com



  

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com



___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and 

Re: [Flashcoders] Alternative IDE for Flash Devel

2006-10-16 Thread Troy Rollins


On Oct 16, 2006, at 11:23 AM, Kjel Anderson wrote:

I don't know if anyone else is using JEdit to do ActionScript, but  
it has some nice features. I have been using it for about a year to  
develop application with MTASC. It is very simple to set up.


The (good) options for OSX are considerably less. While I haven't  
used FDT, I've tried others, and they are either unstable, or sadly  
lacking. The Flash IDE is obviously not that great for coding, but  
using it alone is better than using TWO things that aren't all that  
great.


--
Troy
RPSystems, Ltd.
http://www.rpsystems.net


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] Lead Designer position -- games for girls

2006-10-16 Thread Audry Taylor
I looked for any rules against posting a job offer and there doesn't seem to 
be any, so I'm putting one up.  Please let me know if I was wrong to do so.


My company has an opening for a game designer job, but not just any designer 
job, so please read the description carefully before you send in your 
resume.  If you want to make FPS, massive AAA CGI titles, or action games 
aimed at the coveted male 18-X demo, this job is not for you.


-

Lead Technical Designer

We're looking for an adventurous, motivated individual interested in 
creating games targeting the passionate demographic of teenage girls.  You 
will be involved in every technical aspect of development from initial game 
design to implementation of game code.  As the company grows, your influence 
on and contribution to future projects will expand, as well.  We want 
someone looking to innovate with an eye towards what our target demographic 
wants; who is willing to think beyond conventional game models.


Skills (Required):
* Must have professional experience working with Macromedia Flash and 
Actionscript

* Expertise in C/C++ and/or Java
* Good leadership and communication skills
* Experience with the complete life cycle of software development

Skills (Optional):
* College degree not necessary but a plus
* Proficiency in Adobe programs such as Photoshop  Illustrator a strong 
plus

* Experience with professional online games
* Experience writing design documents
* Game engine development experience
* Experience working in a multi-disciplinary team environment

Responsibilities:
*Oversee and execute the full life-cycle of projects, including technical 
design, task estimation, implementation, debugging, and deployment

* Work with the Editorial Designer, artists, and writers
* Provide mentorship and guidance to less senior staff members and 
freelancers

* Contribute innovative solutions for all aspects of game production and
development

Required:
* A home computer
* The ability to work from home
* The ability to commute to meetings in the Los Angeles, CA area

Resumes can be sent to:

jobs (atsymbol) gomedia-ent.com

_
Find a local pizza place, music store, museum and more…then map the best 
route!  http://local.live.com?FORM=MGA001


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] ::dk :: passing args to onPress, onRollOver, etc

2006-10-16 Thread dnk
Hi there, I am trying to write a few mouse events for multiple 
movieclips. Now say I have the following:


function writeBtnEvents() {

for (var i:Number = 0; i  35; i++) {

this._targetMc[btnHldr + i].onPress = function(i:Number) {
trace(pressed:  + i);
}

this._targetMc[btnHldr + i].onRollOver = function(i:Number) {
trace(roll over + i);
}

this._targetMc[btnHldr + i].onRollOut = function() {
trace(roll off);
}

}

}

I read somewhere that you can not pass args to an onPress function, etc. 
Is this true? Is there a better way to accomplish something like this?


d
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] ::dk :: passing args to onPress, onRollOver, etc

2006-10-16 Thread eka

Hello :)

you can try 2 solutions :

1 - with a little property index to save the index value

var bt = this._targetMc[btnHldr + i] ;
bt.index = i ;
bt.onPress = function()
{
   trace(pressed:  + this.index);
}

2 - with Proxy method (like mx.utils.Delegate class but you can use
arguments :

// create Delegate Singleton

Delegate = {} ;
Delegate.create = function (scope, method:Function /*, arg1, arg2, ...,
argn*/):Function
{
   var f:Function = function() {
   var o = arguments.callee ;
   var s = o.s ;
   var m = o.m ;
   var a = arguments.concat(o.a) ;
   return m.apply(s, a) ;
   } ;
   f.s = scope ;
   f.m = method ;
   f.a = arguments.splice(2);
   return f;
}

///  in your code

var press:Function = function (index:Number):Void
{
   trace(pressed:  + index);
}

var writeBtnEvents:Function = function():Void
{

   for (var i:Number = 0; i  35; i++)
   {
  var bt = this._targetMc[btnHldr + i] ;
  bt.onPress = Delegate.create( this, press, i ) ;
   }
}

EKA+ :)

2006/10/16, dnk [EMAIL PROTECTED]:


Hi there, I am trying to write a few mouse events for multiple
movieclips. Now say I have the following:

function writeBtnEvents() {

for (var i:Number = 0; i  35; i++) {

this._targetMc[btnHldr + i].onPress = function(i:Number) {
trace(pressed:  + i);
}

this._targetMc[btnHldr + i].onRollOver = function(i:Number) {
trace(roll over + i);
}

this._targetMc[btnHldr + i].onRollOut = function() {
trace(roll off);
}

}

}

I read somewhere that you can not pass args to an onPress function, etc.
Is this true? Is there a better way to accomplish something like this?

d
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] Express Install (again)

2006-10-16 Thread Kurt Dommermuth

Hello All,

I've seen a few posts regarding express install/ swfObject/ ufo etc..

I'm having a problem with both Adobe's express install scheme and swfObject.

IE 6 works fine.

Firefox (1.5.0.7) forces me to close the browser.  No redirect back.

I've tried on two different computers.  no joy.

Anyone else experience this?  Is this a known problem?  Any fix?

Thanks,
Kurt

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Express Install (again)

2006-10-16 Thread Kurt Dommermuth

A follow-up.

It just worked on one and not the other.  So freakin' erratic.

will there ever be solid flash detection?





At 01:53 PM 10/16/2006, you wrote:


Hello All,

I've seen a few posts regarding express install/ swfObject/ ufo etc..

I'm having a problem with both Adobe's express install scheme and swfObject.

IE 6 works fine.

Firefox (1.5.0.7) forces me to close the browser.  No redirect back.

I've tried on two different computers.  no joy.

Anyone else experience this?  Is this a known problem?  Any fix?

Thanks,
Kurt

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com



___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[FlashCoders] Delegates and performance

2006-10-16 Thread Dimitrios Bendilas
Hello everyone,

I had a really big issue recently, when I realized that the performance of a 
large-scale game
I built in Flash dropping substantially after 1/2 hour of gameplay, to the 
point where
the game became wy too slow to play.

After exhausting tests I found out that this was caused by the extended use of 
Delegates
with parameters (I always make sure I don't leave garbage sitting around when I 
destroy
objects of all of my classes, so that was not the issue). 

Spending one week on this, I managed to spot the problem and find a solution,
writing a new Delegate class that was taking care of cleaning up function 
objects.

I thought this would interest quite a few people, so I wrote an article on 
this. You can
read at www.zefxis.gr/article-delegates. You can also download the Delegate 
class
I wrote and use it for you projects.

I would appreciate any comments on this!

Thanks,

Dimtirios



___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Alternative IDE for Flash Devel

2006-10-16 Thread Andy Herrman

So, I haven't used Eclipse at all for Java.  I've been using Netbeans
for the last year or so, and before that stuck with Vim and command
line tools.  From what I hear, Eclipse/Netbeans is the new Emacs/Vim
debate. :)

I found a free Eclipse plugin for AS but I couldn't get it to work.  I
couldn't get it to see any of my code, and I think there were other
problems I ran into but I don't remember.

I'm looking at FlashDevelop right now, but I probably won't be able to
use it much at the moment as the current stuff I need to work on is AS
1.0.  Other than the lack of options (like changing the color scheme,
I'm one of those crazies who likes a black background with white text)
it looks pretty good.

  -Andy

On 10/16/06, Ron Wheeler [EMAIL PROTECTED] wrote:

If you are a Java programmer, you will probably find the Eclipse IDE the
most comfortable place to work..
You might also be able to make some good suggestions about how to add
the Java tools that are available under Eclipse to the Flash tools.

IMHO while it may be true that Flash is the only IDE for Flash
animation, Eclipse is the best IDE for developing Actionscript applications.

Ron

The Helmsman wrote:
 I think I've used all alternative editors to write AS files.
 I don't understand why you call them IDEs, because currently there is only 
one IDE which is Flash.

 Now, I found that there are no editors which supports an AS 1.0 as well as AS 
2.0 and is free. Here is a list of editors I used according in order as I've used 
them:

 Scite - absolutely great one to write AS 1.0, it's free and don't use a lot 
of CPU resources even if you open a lot of files.

 FlashDevelop - for most of people it's a favorite choice, but it lacks a lot 
of futures opposite to other ones which are older. It's a freeware and great to 
write AS 2.0 only.

 PrimalScript - a great one for AS 1.0 and AS 2.0, but it lacks some of 
features that FDT have and it's commercial not free.

 FDT - must be the choice for all who write a code using AS 2.0, in any other 
cases - don't use it! It is commercial and quite expensive. As far as I know there 
is no AS 3.0 support and it is quite difficult to set it up for the very first 
time for a newbie. The number of features it has for AS 2.0 is amazing!

 Sepy - can hold AS 2.0 and AS 1.0, and both of them works great! I use the 
last experimental version and it's really stable on my PC. Due to this time there 
is lack of updates and it seems that the developers in some kind of an idle :) 
Once they made a new version each week. Personally I prefer to use this editor 
because it is located in the middle regarding the features and have a great 
support of both versions of AS, it's free and because I have a lot of old projects 
in both versions I prefer to work with it.


 Igor Vasiliev

 Atidim 2, Tel-Aviv, Israel
 phone: +972-36471884
 fax: +972-36472722

 web: www.mixtv.tv
 email: [EMAIL PROTECTED]


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Andy Herrman
 Sent: Thursday, October 12, 2006 4:46 PM
 To: Flashcoders
 Subject: [Flashcoders] Alternative IDE for Flash Devel

 Forgive me if this has already been asked, but I didn't see anything
 in the archives.

 I'm new to Flash development and am working on both server and client
 side code (FMS 2.0 and Flash 7+).  As someone who's used to doing Java
 development using Netbeans I find the Flash IDE very lacking for
 client side development, and there doesn't seem to be any IDE for FMS.

 Does anyone on this list know of a good alternative IDE for Flash?
 I've found a lot of references to using Eclipse but I haven't been
 able to get the plugin to work correctly.

 I'm specifically looking for something that can handle both
 Actionscript 1 and 2 and can still use the Flash 8 devel environment
 for the actual builds (I can't use MTASC).  Unfortunately it will also
 have to be free, as I don't think I'll be able to get the company to
 buy an IDE for me to use. :(

 Is there anything out there I can use, or am I out of luck?  Right now
 I'm just using Vim for editing the files themselves and switching to
 Flash 8 for building, but the lack of any kind of project management
 is getting annoying.

 Thanks!

   -Andy
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com

 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com




___

Re: [Flashcoders] Alternative IDE for Flash Devel

2006-10-16 Thread Marcelo de Moraes Serpa

FlashDevelop is by far the best open-source free AS2 IDE atm.

On 10/16/06, Andy Herrman [EMAIL PROTECTED] wrote:


So, I haven't used Eclipse at all for Java.  I've been using Netbeans
for the last year or so, and before that stuck with Vim and command
line tools.  From what I hear, Eclipse/Netbeans is the new Emacs/Vim
debate. :)

I found a free Eclipse plugin for AS but I couldn't get it to work.  I
couldn't get it to see any of my code, and I think there were other
problems I ran into but I don't remember.

I'm looking at FlashDevelop right now, but I probably won't be able to
use it much at the moment as the current stuff I need to work on is AS
1.0.  Other than the lack of options (like changing the color scheme,
I'm one of those crazies who likes a black background with white text)
it looks pretty good.

   -Andy

On 10/16/06, Ron Wheeler [EMAIL PROTECTED] wrote:
 If you are a Java programmer, you will probably find the Eclipse IDE the
 most comfortable place to work..
 You might also be able to make some good suggestions about how to add
 the Java tools that are available under Eclipse to the Flash tools.

 IMHO while it may be true that Flash is the only IDE for Flash
 animation, Eclipse is the best IDE for developing Actionscript
applications.

 Ron

 The Helmsman wrote:
  I think I've used all alternative editors to write AS files.
  I don't understand why you call them IDEs, because currently there is
only one IDE which is Flash.
 
  Now, I found that there are no editors which supports an AS 1.0 as
well as AS 2.0 and is free. Here is a list of editors I used according in
order as I've used them:
 
  Scite - absolutely great one to write AS 1.0, it's free and don't use
a lot of CPU resources even if you open a lot of files.
 
  FlashDevelop - for most of people it's a favorite choice, but it lacks
a lot of futures opposite to other ones which are older. It's a freeware and
great to write AS 2.0 only.
 
  PrimalScript - a great one for AS 1.0 and AS 2.0, but it lacks some of
features that FDT have and it's commercial not free.
 
  FDT - must be the choice for all who write a code using AS 2.0, in any
other cases - don't use it! It is commercial and quite expensive. As far as
I know there is no AS 3.0 support and it is quite difficult to set it up
for the very first time for a newbie. The number of features it has for AS
2.0 is amazing!
 
  Sepy - can hold AS 2.0 and AS 1.0, and both of them works great! I use
the last experimental version and it's really stable on my PC. Due to this
time there is lack of updates and it seems that the developers in some kind
of an idle :) Once they made a new version each week. Personally I prefer to
use this editor because it is located in the middle regarding the features
and have a great support of both versions of AS, it's free and because I
have a lot of old projects in both versions I prefer to work with it.
 
 
  Igor Vasiliev
 
  Atidim 2, Tel-Aviv, Israel
  phone: +972-36471884
  fax: +972-36472722
 
  web: www.mixtv.tv
  email: [EMAIL PROTECTED]
 
 
  -Original Message-
  From: [EMAIL PROTECTED] [mailto:
[EMAIL PROTECTED] On Behalf Of Andy Herrman
  Sent: Thursday, October 12, 2006 4:46 PM
  To: Flashcoders
  Subject: [Flashcoders] Alternative IDE for Flash Devel
 
  Forgive me if this has already been asked, but I didn't see anything
  in the archives.
 
  I'm new to Flash development and am working on both server and client
  side code (FMS 2.0 and Flash 7+).  As someone who's used to doing Java
  development using Netbeans I find the Flash IDE very lacking for
  client side development, and there doesn't seem to be any IDE for FMS.
 
  Does anyone on this list know of a good alternative IDE for Flash?
  I've found a lot of references to using Eclipse but I haven't been
  able to get the plugin to work correctly.
 
  I'm specifically looking for something that can handle both
  Actionscript 1 and 2 and can still use the Flash 8 devel environment
  for the actual builds (I can't use MTASC).  Unfortunately it will also
  have to be free, as I don't think I'll be able to get the company to
  buy an IDE for me to use. :(
 
  Is there anything out there I can use, or am I out of luck?  Right now
  I'm just using Vim for editing the files themselves and switching to
  Flash 8 for building, but the lack of any kind of project management
  is getting annoying.
 
  Thanks!
 
-Andy
  ___
  Flashcoders@chattyfig.figleaf.com
  To change your subscription options or search the archive:
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
  Brought to you by Fig Leaf Software
  Premier Authorized Adobe Consulting and Training
  http://www.figleaf.com
  http://training.figleaf.com
 
  ___
  Flashcoders@chattyfig.figleaf.com
  To change your subscription options or search the archive:
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
  Brought to 

Re: [Flashcoders] Alternative IDE for Flash Devel

2006-10-16 Thread Andreas R
FlashDevelop is by far the best AS IDE, period. Full stop. I even use it 
for XML these days heh. And i always have it up, so it winds up being 
what i do ALL text editing in.
If you're a mac dude, i guess eclipse is your way to go. I had a look at 
jEdit when i was a mac user i thought jEdit was a knife in the back of 
usability.. But thats just me :)


- A

Marcelo de Moraes Serpa wrote:

FlashDevelop is by far the best open-source free AS2 IDE atm.

On 10/16/06, Andy Herrman [EMAIL PROTECTED] wrote:


So, I haven't used Eclipse at all for Java.  I've been using Netbeans
for the last year or so, and before that stuck with Vim and command
line tools.  From what I hear, Eclipse/Netbeans is the new Emacs/Vim
debate. :)

I found a free Eclipse plugin for AS but I couldn't get it to work.  I
couldn't get it to see any of my code, and I think there were other
problems I ran into but I don't remember.

I'm looking at FlashDevelop right now, but I probably won't be able to
use it much at the moment as the current stuff I need to work on is AS
1.0.  Other than the lack of options (like changing the color scheme,
I'm one of those crazies who likes a black background with white text)
it looks pretty good.

   -Andy

On 10/16/06, Ron Wheeler [EMAIL PROTECTED] wrote:
 If you are a Java programmer, you will probably find the Eclipse 
IDE the

 most comfortable place to work..
 You might also be able to make some good suggestions about how to add
 the Java tools that are available under Eclipse to the Flash tools.

 IMHO while it may be true that Flash is the only IDE for Flash
 animation, Eclipse is the best IDE for developing Actionscript
applications.

 Ron

 The Helmsman wrote:
  I think I've used all alternative editors to write AS files.
  I don't understand why you call them IDEs, because currently 
there is

only one IDE which is Flash.
 
  Now, I found that there are no editors which supports an AS 1.0 as
well as AS 2.0 and is free. Here is a list of editors I used 
according in

order as I've used them:
 
  Scite - absolutely great one to write AS 1.0, it's free and don't 
use

a lot of CPU resources even if you open a lot of files.
 
  FlashDevelop - for most of people it's a favorite choice, but it 
lacks
a lot of futures opposite to other ones which are older. It's a 
freeware and

great to write AS 2.0 only.
 
  PrimalScript - a great one for AS 1.0 and AS 2.0, but it lacks 
some of

features that FDT have and it's commercial not free.
 
  FDT - must be the choice for all who write a code using AS 2.0, 
in any
other cases - don't use it! It is commercial and quite expensive. As 
far as

I know there is no AS 3.0 support and it is quite difficult to set it up
for the very first time for a newbie. The number of features it has 
for AS

2.0 is amazing!
 
  Sepy - can hold AS 2.0 and AS 1.0, and both of them works great! 
I use
the last experimental version and it's really stable on my PC. Due to 
this
time there is lack of updates and it seems that the developers in 
some kind
of an idle :) Once they made a new version each week. Personally I 
prefer to
use this editor because it is located in the middle regarding the 
features

and have a great support of both versions of AS, it's free and because I
have a lot of old projects in both versions I prefer to work with it.
 
 
  Igor Vasiliev
 
  Atidim 2, Tel-Aviv, Israel
  phone: +972-36471884
  fax: +972-36472722
 
  web: www.mixtv.tv
  email: [EMAIL PROTECTED]
 
 
  -Original Message-
  From: [EMAIL PROTECTED] [mailto:
[EMAIL PROTECTED] On Behalf Of Andy Herrman
  Sent: Thursday, October 12, 2006 4:46 PM
  To: Flashcoders
  Subject: [Flashcoders] Alternative IDE for Flash Devel
 
  Forgive me if this has already been asked, but I didn't see anything
  in the archives.
 
  I'm new to Flash development and am working on both server and 
client
  side code (FMS 2.0 and Flash 7+).  As someone who's used to doing 
Java

  development using Netbeans I find the Flash IDE very lacking for
  client side development, and there doesn't seem to be any IDE for 
FMS.

 
  Does anyone on this list know of a good alternative IDE for Flash?
  I've found a lot of references to using Eclipse but I haven't been
  able to get the plugin to work correctly.
 
  I'm specifically looking for something that can handle both
  Actionscript 1 and 2 and can still use the Flash 8 devel environment
  for the actual builds (I can't use MTASC).  Unfortunately it will 
also

  have to be free, as I don't think I'll be able to get the company to
  buy an IDE for me to use. :(
 
  Is there anything out there I can use, or am I out of luck?  
Right now

  I'm just using Vim for editing the files themselves and switching to
  Flash 8 for building, but the lack of any kind of project management
  is getting annoying.
 
  Thanks!
 
-Andy
  ___
  Flashcoders@chattyfig.figleaf.com
  To change your subscription options or search the archive:
  

[Flashcoders] Weird image download problems in IE

2006-10-16 Thread Andy Herrman

We're running into a really strange problem with image downloads in
Flash when running in IE and was wondering if anyone else has seen
something like this or has any ideas on what I could do to fix it.

We need to have the Flash movie be able to download arbitrary images
from the web and display them.  I also need to be able to tell whether
the download worked or not, so I can display an error if it failed or
manipulate the image if it loaded.

The problem we're running into is that in IE the loader class will
tell us the image failed to load even though it worked fine.  Here's
some test code we used to test:

---
import mx.controls.Alert

this.createClassObject(mx.controls.Loader, my_ldr, 10);

var poLoaderListener = new Object();
poLoaderListener.oScope = this;

poLoaderListener.complete = function(oEvent)
{mx.controls.Alert.show(oEvent.total); };

poLoaderListener.progress = function() {};

my_ldr.addEventListener('complete', poLoaderListener);
my_ldr.addEventListener('progress', poLoaderListener);

my_ldr.load(IMAGE_URL);
---

When running this in Firefox it works fine, and the alert box gives us
the right value.  However, in IE when trying this the alert box pops
up with a -1, telling us the download failed.  However, the image
still shows up.

The only thing I've been able to figure out is that the speed of the
download has something to do with it.  In the actual product we're
downloading the images through a server that acts as a sort of proxy
which caches the images.  The first time we hit it the proxy has to
download the source image before returning it to the client.  This is
when we see the problem.  Later attempts seem to work fine as the
download happens faster (the server cached the image so it doesn't
have to redownload it).

To simplify the test I took the proxy out of the loop and threw a
bandwidth limiter on the server that had the image I was testing.
When throttling it back to act like a 56k modem I could reproduce the
error in IE.  It still worked fine (just really slow) in Firefox.

Has anyone seen this before?  It's causing serious problems, as we
need to be able to tell if the image downloaded successfully or not.
Any ideas of ways to get around this or fix it?  Note that we have to
support Flash 7+.

Thanks!

  -Andy
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] Streaming AND looping of mp3:s

2006-10-16 Thread Johan Nyberg

Hi, anybody know if there is a way to loop a streamed mp3?

/Johan Nyberg
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Alternative IDE for Flash Devel

2006-10-16 Thread Kjel Anderson
Does anyone know if there has been an effort to get this running under 
mono on Linux?


Kjel

Andreas R wrote:
FlashDevelop is by far the best AS IDE, period. Full stop. I even use 
it for XML these days heh. And i always have it up, so it winds up 
being what i do ALL text editing in.
If you're a mac dude, i guess eclipse is your way to go. I had a look 
at jEdit when i was a mac user i thought jEdit was a knife in the back 
of usability.. But thats just me :)


- A

Marcelo de Moraes Serpa wrote:

FlashDevelop is by far the best open-source free AS2 IDE atm.

On 10/16/06, Andy Herrman [EMAIL PROTECTED] wrote:


So, I haven't used Eclipse at all for Java.  I've been using Netbeans
for the last year or so, and before that stuck with Vim and command
line tools.  From what I hear, Eclipse/Netbeans is the new Emacs/Vim
debate. :)

I found a free Eclipse plugin for AS but I couldn't get it to work.  I
couldn't get it to see any of my code, and I think there were other
problems I ran into but I don't remember.

I'm looking at FlashDevelop right now, but I probably won't be able to
use it much at the moment as the current stuff I need to work on is AS
1.0.  Other than the lack of options (like changing the color scheme,
I'm one of those crazies who likes a black background with white text)
it looks pretty good.

   -Andy

On 10/16/06, Ron Wheeler [EMAIL PROTECTED] wrote:
 If you are a Java programmer, you will probably find the Eclipse 
IDE the

 most comfortable place to work..
 You might also be able to make some good suggestions about how to add
 the Java tools that are available under Eclipse to the Flash tools.

 IMHO while it may be true that Flash is the only IDE for Flash
 animation, Eclipse is the best IDE for developing Actionscript
applications.

 Ron

 The Helmsman wrote:
  I think I've used all alternative editors to write AS files.
  I don't understand why you call them IDEs, because currently 
there is

only one IDE which is Flash.
 
  Now, I found that there are no editors which supports an AS 1.0 as
well as AS 2.0 and is free. Here is a list of editors I used 
according in

order as I've used them:
 
  Scite - absolutely great one to write AS 1.0, it's free and 
don't use

a lot of CPU resources even if you open a lot of files.
 
  FlashDevelop - for most of people it's a favorite choice, but it 
lacks
a lot of futures opposite to other ones which are older. It's a 
freeware and

great to write AS 2.0 only.
 
  PrimalScript - a great one for AS 1.0 and AS 2.0, but it lacks 
some of

features that FDT have and it's commercial not free.
 
  FDT - must be the choice for all who write a code using AS 2.0, 
in any
other cases - don't use it! It is commercial and quite expensive. As 
far as
I know there is no AS 3.0 support and it is quite difficult to set 
it up
for the very first time for a newbie. The number of features it has 
for AS

2.0 is amazing!
 
  Sepy - can hold AS 2.0 and AS 1.0, and both of them works great! 
I use
the last experimental version and it's really stable on my PC. Due 
to this
time there is lack of updates and it seems that the developers in 
some kind
of an idle :) Once they made a new version each week. Personally I 
prefer to
use this editor because it is located in the middle regarding the 
features
and have a great support of both versions of AS, it's free and 
because I

have a lot of old projects in both versions I prefer to work with it.
 
 
  Igor Vasiliev
 
  Atidim 2, Tel-Aviv, Israel
  phone: +972-36471884
  fax: +972-36472722
 
  web: www.mixtv.tv
  email: [EMAIL PROTECTED]
 
 
  -Original Message-
  From: [EMAIL PROTECTED] [mailto:
[EMAIL PROTECTED] On Behalf Of Andy Herrman
  Sent: Thursday, October 12, 2006 4:46 PM
  To: Flashcoders
  Subject: [Flashcoders] Alternative IDE for Flash Devel
 
  Forgive me if this has already been asked, but I didn't see 
anything

  in the archives.
 
  I'm new to Flash development and am working on both server and 
client
  side code (FMS 2.0 and Flash 7+).  As someone who's used to 
doing Java

  development using Netbeans I find the Flash IDE very lacking for
  client side development, and there doesn't seem to be any IDE 
for FMS.

 
  Does anyone on this list know of a good alternative IDE for Flash?
  I've found a lot of references to using Eclipse but I haven't been
  able to get the plugin to work correctly.
 
  I'm specifically looking for something that can handle both
  Actionscript 1 and 2 and can still use the Flash 8 devel 
environment
  for the actual builds (I can't use MTASC).  Unfortunately it 
will also
  have to be free, as I don't think I'll be able to get the 
company to

  buy an IDE for me to use. :(
 
  Is there anything out there I can use, or am I out of luck?  
Right now
  I'm just using Vim for editing the files themselves and 
switching to
  Flash 8 for building, but the lack of any kind of project 
management

  is getting annoying.
 
  Thanks!
 
-Andy
  

Re: [Flashcoders] Streaming AND looping of mp3:s

2006-10-16 Thread Gustavo Teider - Adobe Flash Developer

Johan Nyberg escreveu:

Hi, anybody know if there is a way to loop a streamed mp3?

/Johan Nyberg
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


For this, you must be use method loadSound of  Sound class
The method loadSound can't do loop in streamed mp3

You can use onSoundComplete to start your music again ...

var som:Sound = new Sound();
som.loadSound(file.mp3, true);
som.start();
som.onSoundComplete = function() {
   som.start();
}

i dont know if this is correct code , but works fine here ...

--
Gustavo Teider ( gugateider )
www.gugateider.com
Curitiba - PR

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Alternative IDE for Flash Devel

2006-10-16 Thread Kjel Anderson
I had a look at jEdit when i was a mac user i thought jEdit was a 
knife in the back of usability.. But thats just me :) 

That's funny. I feel the same way about the Flash IDE. ;)

Kjel


Andreas R wrote:
FlashDevelop is by far the best AS IDE, period. Full stop. I even use 
it for XML these days heh. And i always have it up, so it winds up 
being what i do ALL text editing in.
If you're a mac dude, i guess eclipse is your way to go. I had a look 
at jEdit when i was a mac user i thought jEdit was a knife in the back 
of usability.. But thats just me :)


- A

Marcelo de Moraes Serpa wrote:

FlashDevelop is by far the best open-source free AS2 IDE atm.

On 10/16/06, Andy Herrman [EMAIL PROTECTED] wrote:


So, I haven't used Eclipse at all for Java.  I've been using Netbeans
for the last year or so, and before that stuck with Vim and command
line tools.  From what I hear, Eclipse/Netbeans is the new Emacs/Vim
debate. :)

I found a free Eclipse plugin for AS but I couldn't get it to work.  I
couldn't get it to see any of my code, and I think there were other
problems I ran into but I don't remember.

I'm looking at FlashDevelop right now, but I probably won't be able to
use it much at the moment as the current stuff I need to work on is AS
1.0.  Other than the lack of options (like changing the color scheme,
I'm one of those crazies who likes a black background with white text)
it looks pretty good.

   -Andy

On 10/16/06, Ron Wheeler [EMAIL PROTECTED] wrote:
 If you are a Java programmer, you will probably find the Eclipse 
IDE the

 most comfortable place to work..
 You might also be able to make some good suggestions about how to add
 the Java tools that are available under Eclipse to the Flash tools.

 IMHO while it may be true that Flash is the only IDE for Flash
 animation, Eclipse is the best IDE for developing Actionscript
applications.

 Ron

 The Helmsman wrote:
  I think I've used all alternative editors to write AS files.
  I don't understand why you call them IDEs, because currently 
there is

only one IDE which is Flash.
 
  Now, I found that there are no editors which supports an AS 1.0 as
well as AS 2.0 and is free. Here is a list of editors I used 
according in

order as I've used them:
 
  Scite - absolutely great one to write AS 1.0, it's free and 
don't use

a lot of CPU resources even if you open a lot of files.
 
  FlashDevelop - for most of people it's a favorite choice, but it 
lacks
a lot of futures opposite to other ones which are older. It's a 
freeware and

great to write AS 2.0 only.
 
  PrimalScript - a great one for AS 1.0 and AS 2.0, but it lacks 
some of

features that FDT have and it's commercial not free.
 
  FDT - must be the choice for all who write a code using AS 2.0, 
in any
other cases - don't use it! It is commercial and quite expensive. As 
far as
I know there is no AS 3.0 support and it is quite difficult to set 
it up
for the very first time for a newbie. The number of features it has 
for AS

2.0 is amazing!
 
  Sepy - can hold AS 2.0 and AS 1.0, and both of them works great! 
I use
the last experimental version and it's really stable on my PC. Due 
to this
time there is lack of updates and it seems that the developers in 
some kind
of an idle :) Once they made a new version each week. Personally I 
prefer to
use this editor because it is located in the middle regarding the 
features
and have a great support of both versions of AS, it's free and 
because I

have a lot of old projects in both versions I prefer to work with it.
 
 
  Igor Vasiliev
 
  Atidim 2, Tel-Aviv, Israel
  phone: +972-36471884
  fax: +972-36472722
 
  web: www.mixtv.tv
  email: [EMAIL PROTECTED]
 
 
  -Original Message-
  From: [EMAIL PROTECTED] [mailto:
[EMAIL PROTECTED] On Behalf Of Andy Herrman
  Sent: Thursday, October 12, 2006 4:46 PM
  To: Flashcoders
  Subject: [Flashcoders] Alternative IDE for Flash Devel
 
  Forgive me if this has already been asked, but I didn't see 
anything

  in the archives.
 
  I'm new to Flash development and am working on both server and 
client
  side code (FMS 2.0 and Flash 7+).  As someone who's used to 
doing Java

  development using Netbeans I find the Flash IDE very lacking for
  client side development, and there doesn't seem to be any IDE 
for FMS.

 
  Does anyone on this list know of a good alternative IDE for Flash?
  I've found a lot of references to using Eclipse but I haven't been
  able to get the plugin to work correctly.
 
  I'm specifically looking for something that can handle both
  Actionscript 1 and 2 and can still use the Flash 8 devel 
environment
  for the actual builds (I can't use MTASC).  Unfortunately it 
will also
  have to be free, as I don't think I'll be able to get the 
company to

  buy an IDE for me to use. :(
 
  Is there anything out there I can use, or am I out of luck?  
Right now
  I'm just using Vim for editing the files themselves and 
switching to
  Flash 8 for building, but the lack of any kind of 

RE: [Flashcoders] Weird image download problems in IE

2006-10-16 Thread Alain Rousseau
 Have you tried using the MovieClipLoader class ? 

It has an event very usefull called onLoadError . It gives you the following
informations (quote from the livedocs):

errorCode:String - A string that explains the reason for the failure,
either URLNotFound or LoadNeverCompleted.

httpStatus:Number [optional] - (Flash Player 8 only) The HTTP status code
returned by the server. For example, a status code of 404 indicates that the
server has not found anything that matches the requested URI. For more
information about HTTP status codes, see sections 10.4 and 10.5 of the HTTP
specification at ftp://ftp.isi.edu/in-notes/rfc2616.txt.;



You should look up the full docs on the matter here :
http://livedocs.macromedia.com/flash/8/main/2538.html

HTH !


Alain

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Andy Herrman
Sent: 16 octobre 2006 15:23
To: Flashcoders
Subject: [Flashcoders] Weird image download problems in IE

We're running into a really strange problem with image downloads in Flash
when running in IE and was wondering if anyone else has seen something like
this or has any ideas on what I could do to fix it.

We need to have the Flash movie be able to download arbitrary images from
the web and display them.  I also need to be able to tell whether the
download worked or not, so I can display an error if it failed or manipulate
the image if it loaded.

The problem we're running into is that in IE the loader class will tell us
the image failed to load even though it worked fine.  Here's some test code
we used to test:

---
import mx.controls.Alert

this.createClassObject(mx.controls.Loader, my_ldr, 10);

var poLoaderListener = new Object();
poLoaderListener.oScope = this;

poLoaderListener.complete = function(oEvent)
{mx.controls.Alert.show(oEvent.total); };

poLoaderListener.progress = function() {};

my_ldr.addEventListener('complete', poLoaderListener);
my_ldr.addEventListener('progress', poLoaderListener);

my_ldr.load(IMAGE_URL);
---

When running this in Firefox it works fine, and the alert box gives us the
right value.  However, in IE when trying this the alert box pops up with a
-1, telling us the download failed.  However, the image still shows up.

The only thing I've been able to figure out is that the speed of the
download has something to do with it.  In the actual product we're
downloading the images through a server that acts as a sort of proxy which
caches the images.  The first time we hit it the proxy has to download the
source image before returning it to the client.  This is when we see the
problem.  Later attempts seem to work fine as the download happens faster
(the server cached the image so it doesn't have to redownload it).

To simplify the test I took the proxy out of the loop and threw a bandwidth
limiter on the server that had the image I was testing.
When throttling it back to act like a 56k modem I could reproduce the error
in IE.  It still worked fine (just really slow) in Firefox.

Has anyone seen this before?  It's causing serious problems, as we need to
be able to tell if the image downloaded successfully or not.
Any ideas of ways to get around this or fix it?  Note that we have to
support Flash 7+.

Thanks!

   -Andy
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training http://www.figleaf.com
http://training.figleaf.com


--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.408 / Virus Database: 268.13.4/476 - Release Date: 2006-10-14
 

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.408 / Virus Database: 268.13.4/476 - Release Date: 2006-10-14
 

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] ppt to flash

2006-10-16 Thread Valério Guimarães

Hi all,

 I'm trying to convert ppt/pps to flash and I read the topic SDK for
Flash.
 In that topic the link http://bukoo.sourceforge.net/ was mentioned but it
is not working.
 Does anyone has anything on how to parse a ppt/pps file or creating a swf
file?

Regards

Valério
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] Alternative IDE for Flash Devel

2006-10-16 Thread Merrill, Jason
I just switched to using FlashDevelop on Friday, and just discovered
that among many other cool things, it provides code hints for custom
classes you write/import.  Supercool!  I hated having to go back and
open the other class and remember what methods are available and what
the arguments were.  I've been nothing but impressed with this tool so
far.

Jason Merrill
Bank of America 
Learning  Organization Effectiveness - Technology Solutions 
 
 
 
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] OT: sold laptop, need to release Studio 8?

2006-10-16 Thread Count Schemula

Yeah, looks that way.

I had to call Macromedia over MX 2004, does not look to be an issues
with Studio 8.

Although, with Adobe in control, the future authentication scheme is
sure to be involved.

On 10/16/06, Ramses Moreno [cuatromedios] [EMAIL PROTECTED] wrote:

On 10/9/06, John Dowdell [EMAIL PROTECTED] wrote:

 But to
 be sure, you can just choose the Transfer this License item from the
 Help menu, which will tell the server that you've removed the old
 installation.


That is just for MX2004 isnt it? in Studio 8 you dont have that menu item.

--
Todo el futbol mexicano en
http://www.espaciofutbol.com.mx/
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com




--
count_schemula

a href=http://www.thelargeglass.com/flashNo0b/;files for No0bs/a
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] ppt to flash

2006-10-16 Thread Alain Rousseau
You should try OpenOffice http://www.openoffice.org, 

It's similar to Windows Office, but open source and you have an application
that reads PowerPoints. With it you can convert your PowerPoints to swf.
Otherwise you could try and do it with a C# app. But for that I can't really
help you there.

The only other way to do it with PowerPoint is either with Adobe Breeze or
other similar softwares.

HTH

Alain

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Valério
Guimarães
Sent: 16 octobre 2006 16:07
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] ppt to flash

Hi all,

  I'm trying to convert ppt/pps to flash and I read the topic SDK for
Flash.
  In that topic the link http://bukoo.sourceforge.net/ was mentioned but it
is not working.
  Does anyone has anything on how to parse a ppt/pps file or creating a swf
file?

Regards

Valério
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training http://www.figleaf.com
http://training.figleaf.com


--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.408 / Virus Database: 268.13.4/476 - Release Date: 2006-10-14
 

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.408 / Virus Database: 268.13.4/476 - Release Date: 2006-10-14
 

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Alternative IDE for Flash Devel

2006-10-16 Thread Victor Gaudioso
I just started using it recently too and I don't know how I got along 
without it.  I do wish it had an autoformat option though.  I liked that 
about the Flash IDE.  V


- Original Message - 
From: Merrill, Jason [EMAIL PROTECTED]

To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Monday, October 16, 2006 1:10 PM
Subject: RE: [Flashcoders] Alternative IDE for Flash Devel



I just switched to using FlashDevelop on Friday, and just discovered
that among many other cool things, it provides code hints for custom
classes you write/import.  Supercool!  I hated having to go back and
open the other class and remember what methods are available and what
the arguments were.  I've been nothing but impressed with this tool so
far.

Jason Merrill
Bank of America
Learning  Organization Effectiveness - Technology Solutions



___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com



___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Weird image download problems in IE

2006-10-16 Thread Andy Herrman

Awesome, looks like that works.  Thanks!

Any idea what's causing the problem with the Loader?  Just some bug in
Flash or IE?

  -Andy

On 10/16/06, Alain Rousseau [EMAIL PROTECTED] wrote:

 Have you tried using the MovieClipLoader class ?

It has an event very usefull called onLoadError . It gives you the following
informations (quote from the livedocs):

errorCode:String - A string that explains the reason for the failure,
either URLNotFound or LoadNeverCompleted.

httpStatus:Number [optional] - (Flash Player 8 only) The HTTP status code
returned by the server. For example, a status code of 404 indicates that the
server has not found anything that matches the requested URI. For more
information about HTTP status codes, see sections 10.4 and 10.5 of the HTTP
specification at ftp://ftp.isi.edu/in-notes/rfc2616.txt.;



You should look up the full docs on the matter here :
http://livedocs.macromedia.com/flash/8/main/2538.html

HTH !


Alain

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Andy Herrman
Sent: 16 octobre 2006 15:23
To: Flashcoders
Subject: [Flashcoders] Weird image download problems in IE

We're running into a really strange problem with image downloads in Flash
when running in IE and was wondering if anyone else has seen something like
this or has any ideas on what I could do to fix it.

We need to have the Flash movie be able to download arbitrary images from
the web and display them.  I also need to be able to tell whether the
download worked or not, so I can display an error if it failed or manipulate
the image if it loaded.

The problem we're running into is that in IE the loader class will tell us
the image failed to load even though it worked fine.  Here's some test code
we used to test:

---
import mx.controls.Alert

this.createClassObject(mx.controls.Loader, my_ldr, 10);

var poLoaderListener = new Object();
poLoaderListener.oScope = this;

poLoaderListener.complete = function(oEvent)
{mx.controls.Alert.show(oEvent.total); };

poLoaderListener.progress = function() {};

my_ldr.addEventListener('complete', poLoaderListener);
my_ldr.addEventListener('progress', poLoaderListener);

my_ldr.load(IMAGE_URL);
---

When running this in Firefox it works fine, and the alert box gives us the
right value.  However, in IE when trying this the alert box pops up with a
-1, telling us the download failed.  However, the image still shows up.

The only thing I've been able to figure out is that the speed of the
download has something to do with it.  In the actual product we're
downloading the images through a server that acts as a sort of proxy which
caches the images.  The first time we hit it the proxy has to download the
source image before returning it to the client.  This is when we see the
problem.  Later attempts seem to work fine as the download happens faster
(the server cached the image so it doesn't have to redownload it).

To simplify the test I took the proxy out of the loop and threw a bandwidth
limiter on the server that had the image I was testing.
When throttling it back to act like a 56k modem I could reproduce the error
in IE.  It still worked fine (just really slow) in Firefox.

Has anyone seen this before?  It's causing serious problems, as we need to
be able to tell if the image downloaded successfully or not.
Any ideas of ways to get around this or fix it?  Note that we have to
support Flash 7+.

Thanks!

   -Andy
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training http://www.figleaf.com
http://training.figleaf.com


--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.408 / Virus Database: 268.13.4/476 - Release Date: 2006-10-14


--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.408 / Virus Database: 268.13.4/476 - Release Date: 2006-10-14


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Alternative IDE for Flash Devel

2006-10-16 Thread Andreas R

Oh man you're in for a treat. You've probably seen all this already but:

* try typing something like new mx.transitions.Tween. It's a god damn 
miracle.
* Note that the code hinting and autocompletion extends to static 
methods of classes, interfaces, almost ANY .as doc in the project dir. 
I'm sure i type like 40% less now
* For total flash IDE integration, remove the swf export name from your 
fdp project, change the class path of the compiler to the project dir 
(so you have to type new classes.myClass for instance), and load up 
flash 8 and your fla. Ctrl enter in FlashDevelop = Flash 8 test movie.
* If compiling with mtasc, you can have trace() mask as another method, 
so if you have your own output/debug console, it's a cinch to have all 
your traces output there instead. Such an awesome thing if your app 
needs to be zincwrapped or somesuch to function properly.


FlashDevelop is, in my opinion, the single most important piece of open 
source software out there for flash development. I know a number of 
Norwegian studios are based *entirely* on FD and MTASC now, and my own 
is probably going to wind up there as soon as we move from an is-a to a 
has-a paradigm.


Nothing but love for the FD boys. Made my life miles easier

- A

Merrill, Jason wrote:

I just switched to using FlashDevelop on Friday, and just discovered
that among many other cool things, it provides code hints for custom
classes you write/import.  Supercool!  I hated having to go back and
open the other class and remember what methods are available and what
the arguments were.  I've been nothing but impressed with this tool so
far.

Jason Merrill
Bank of America 
Learning  Organization Effectiveness - Technology Solutions 
 
 
 
___

Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
  


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] Weird image download problems in IE

2006-10-16 Thread Alain Rousseau
I've never used the Loader myself, so I can't really help you out with this
error, but it might be an issue with Adobe's ActiveX Add-on ?? If it's only
IE that's affected that's where I would be looking.

Alain 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Andy Herrman
Sent: 16 octobre 2006 16:31
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Weird image download problems in IE

Awesome, looks like that works.  Thanks!

Any idea what's causing the problem with the Loader?  Just some bug in Flash
or IE?

   -Andy

On 10/16/06, Alain Rousseau [EMAIL PROTECTED] wrote:
  Have you tried using the MovieClipLoader class ?

 It has an event very usefull called onLoadError . It gives you the 
 following informations (quote from the livedocs):

 errorCode:String - A string that explains the reason for the failure, 
 either URLNotFound or LoadNeverCompleted.

 httpStatus:Number [optional] - (Flash Player 8 only) The HTTP status 
 code returned by the server. For example, a status code of 404 
 indicates that the server has not found anything that matches the 
 requested URI. For more information about HTTP status codes, see 
 sections 10.4 and 10.5 of the HTTP specification at
ftp://ftp.isi.edu/in-notes/rfc2616.txt.;



 You should look up the full docs on the matter here :
 http://livedocs.macromedia.com/flash/8/main/2538.html

 HTH !


 Alain

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Andy 
 Herrman
 Sent: 16 octobre 2006 15:23
 To: Flashcoders
 Subject: [Flashcoders] Weird image download problems in IE

 We're running into a really strange problem with image downloads in 
 Flash when running in IE and was wondering if anyone else has seen 
 something like this or has any ideas on what I could do to fix it.

 We need to have the Flash movie be able to download arbitrary images 
 from the web and display them.  I also need to be able to tell whether 
 the download worked or not, so I can display an error if it failed or 
 manipulate the image if it loaded.

 The problem we're running into is that in IE the loader class will 
 tell us the image failed to load even though it worked fine.  Here's 
 some test code we used to test:

 ---
 import mx.controls.Alert

 this.createClassObject(mx.controls.Loader, my_ldr, 10);

 var poLoaderListener = new Object();
 poLoaderListener.oScope = this;

 poLoaderListener.complete = function(oEvent) 
 {mx.controls.Alert.show(oEvent.total); };

 poLoaderListener.progress = function() {};

 my_ldr.addEventListener('complete', poLoaderListener); 
 my_ldr.addEventListener('progress', poLoaderListener);

 my_ldr.load(IMAGE_URL);
 ---

 When running this in Firefox it works fine, and the alert box gives us 
 the right value.  However, in IE when trying this the alert box pops 
 up with a -1, telling us the download failed.  However, the image still
shows up.

 The only thing I've been able to figure out is that the speed of the 
 download has something to do with it.  In the actual product we're 
 downloading the images through a server that acts as a sort of proxy 
 which caches the images.  The first time we hit it the proxy has to 
 download the source image before returning it to the client.  This is 
 when we see the problem.  Later attempts seem to work fine as the 
 download happens faster (the server cached the image so it doesn't have to
redownload it).

 To simplify the test I took the proxy out of the loop and threw a 
 bandwidth limiter on the server that had the image I was testing.
 When throttling it back to act like a 56k modem I could reproduce the 
 error in IE.  It still worked fine (just really slow) in Firefox.

 Has anyone seen this before?  It's causing serious problems, as we 
 need to be able to tell if the image downloaded successfully or not.
 Any ideas of ways to get around this or fix it?  Note that we have to 
 support Flash 7+.

 Thanks!

-Andy
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training 
 http://www.figleaf.com http://training.figleaf.com


 --
 No virus found in this incoming message.
 Checked by AVG Free Edition.
 Version: 7.1.408 / Virus Database: 268.13.4/476 - Release Date: 
 2006-10-14


 --
 No virus found in this outgoing message.
 Checked by AVG Free Edition.
 Version: 7.1.408 / Virus Database: 268.13.4/476 - Release Date: 
 2006-10-14


 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training 
 http://www.figleaf.com 

Re: [Flashcoders] ppt to flash

2006-10-16 Thread Andy Herrman

There are commercial pieces of software that will do it (we use one
here at work as part of our product), and I believe they all use
VBScript to interact with Powerpoint.  However, from what I've heard
the next version of Powerpoint will not have the VBScript support
anymore (I guess MS specifically says it shouldn't be used for things
like this, so they're killing it), so I'm not sure how good of a
long-term solution that would be.

What parts of the PPT stuff are you trying to convert?  If you want
animations and sound and such then it would be pretty difficult, but
if all you want are the images then you could just use PPT to save the
slides out as images (just pick the JPG format in the Save As...
dialog) and then have flash use those images for the slides.  You'd
have to manually write the Flash code to handle the switching of
slides and such, but it's an easy way to get all the images you need.

  -Andy

On 10/16/06, Alain Rousseau [EMAIL PROTECTED] wrote:

You should try OpenOffice http://www.openoffice.org,

It's similar to Windows Office, but open source and you have an application
that reads PowerPoints. With it you can convert your PowerPoints to swf.
Otherwise you could try and do it with a C# app. But for that I can't really
help you there.

The only other way to do it with PowerPoint is either with Adobe Breeze or
other similar softwares.

HTH

Alain

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Valério
Guimarães
Sent: 16 octobre 2006 16:07
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] ppt to flash

Hi all,

  I'm trying to convert ppt/pps to flash and I read the topic SDK for
Flash.
  In that topic the link http://bukoo.sourceforge.net/ was mentioned but it
is not working.
  Does anyone has anything on how to parse a ppt/pps file or creating a swf
file?

Regards

Valério
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training http://www.figleaf.com
http://training.figleaf.com


--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.408 / Virus Database: 268.13.4/476 - Release Date: 2006-10-14


--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.408 / Virus Database: 268.13.4/476 - Release Date: 2006-10-14


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] External Interface causes error in IE

2006-10-16 Thread Clark, Craig
I am getting an error in Internet Explorer whenever I try to use the
External Interface to call JavaScript from Flash or when I try to call
actionScript from JavaScript. I do not receive an error in other
browsers. It is only in IE. The error I get is a runtime error that says
Object does not support this property or method. When I open up Just
In Time debugging, it shows there is a problem with this method when I
call JavaScript from Flash.

try {
externalInterfaceTests.SetReturnValue(__flash__toXML(sayHello(browser)
) ); } catch (e) {
externalInterfaceTests.SetReturnValue(undefined/); }

I am not sure what the problem is.  I haven't used External Interface
since Flash 8 first came out and it worked fine at that time. I suspect
that recent changes to IE may be the cause. 

Has anyone else had similar problems with IE and ExternalInterface?

Thanks

Craig Clark
Instructional Developer
Concurrent Technologies Corporation


This message and any files transmitted within are intended
solely for the addressee or its representative and may
contain company sensitive information.  If you are
not the intended recipient, notify the sender immediately
and delete this message.  Publication, reproduction,
forwarding, or content disclosure is prohibited without the
consent of the original sender and may be unlawful.

Concurrent Technologies Corporation and its Affiliates.
www.ctc.com  1-800-282-4392

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] Communication between two local computers

2006-10-16 Thread yetseng
Hi,
I hope I can get some help here. Is it possible for two Flash movies, each on
individual computers connected on a LAN network, to communicate with each other
without using a communication server? What would be a good solution to this.
Thank you,
Henry
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] ppt to flash

2006-10-16 Thread Alain Rousseau
 I believe you can keep your transitions effects and animations with Impress
(OpenOffice's PowerPoint editor)
But the output is not that great looking if I remember right. I was in a
e-learning company before my current job and we were looking for something
to replace the Breeze plugin for PowerPoint. I've stumbled upon OpenOffice
in my searches and tested it a little, It did the job, even added some
navigation buttons to switch between slides. I don't remember if you could
customize the look easily or if the slides were in separate swf files.

In the end the company went for writing their own PowerPoint Plug-in in C#
but I didn't see the end of it because I left before it was completed.

Alain

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Andy Herrman
Sent: 16 octobre 2006 16:38
To: Flashcoders mailing list
Subject: Re: [Flashcoders] ppt to flash

There are commercial pieces of software that will do it (we use one here at
work as part of our product), and I believe they all use VBScript to
interact with Powerpoint.  However, from what I've heard the next version of
Powerpoint will not have the VBScript support anymore (I guess MS
specifically says it shouldn't be used for things like this, so they're
killing it), so I'm not sure how good of a long-term solution that would be.

What parts of the PPT stuff are you trying to convert?  If you want
animations and sound and such then it would be pretty difficult, but if all
you want are the images then you could just use PPT to save the slides out
as images (just pick the JPG format in the Save As...
dialog) and then have flash use those images for the slides.  You'd have to
manually write the Flash code to handle the switching of slides and such,
but it's an easy way to get all the images you need.

   -Andy

On 10/16/06, Alain Rousseau [EMAIL PROTECTED] wrote:
 You should try OpenOffice http://www.openoffice.org,

 It's similar to Windows Office, but open source and you have an 
 application that reads PowerPoints. With it you can convert your
PowerPoints to swf.
 Otherwise you could try and do it with a C# app. But for that I can't 
 really help you there.

 The only other way to do it with PowerPoint is either with Adobe 
 Breeze or other similar softwares.

 HTH

 Alain

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of 
 Valério Guimarães
 Sent: 16 octobre 2006 16:07
 To: flashcoders@chattyfig.figleaf.com
 Subject: [Flashcoders] ppt to flash

 Hi all,

   I'm trying to convert ppt/pps to flash and I read the topic SDK for 
 Flash.
   In that topic the link http://bukoo.sourceforge.net/ was mentioned 
 but it is not working.
   Does anyone has anything on how to parse a ppt/pps file or creating 
 a swf file?

 Regards

 Valério
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training 
 http://www.figleaf.com http://training.figleaf.com


 --
 No virus found in this incoming message.
 Checked by AVG Free Edition.
 Version: 7.1.408 / Virus Database: 268.13.4/476 - Release Date: 
 2006-10-14


 --
 No virus found in this outgoing message.
 Checked by AVG Free Edition.
 Version: 7.1.408 / Virus Database: 268.13.4/476 - Release Date: 
 2006-10-14


 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training 
 http://www.figleaf.com http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training http://www.figleaf.com
http://training.figleaf.com


--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.408 / Virus Database: 268.13.4/476 - Release Date: 2006-10-14
 

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.408 / Virus Database: 268.13.4/476 - Release Date: 2006-10-14
 

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] Re: Passing SWF parameters with MovieClipLoader?

2006-10-16 Thread John Harding

Hello all,

I have a project where I'd like to use MovieClipLoader to load an external
SWF, so that I can be notified when the load is complete.  However, it
appears that MovieClipLoader.loadClip() does not allow one to pass
parameters (i.e. flashVars) to the SWF like MovieClip.loadMovie() does.

As an experiment, I tried setting my SWF parameters in response to
onLoadComplete(), and it appears to work - onLoadComplete is called before
the loaded SWF initializes, and the parameters set in onLoadComplete() are
set on the root clip of the loaded SWF.

So my question is, does anyone know if this is guaranteed behavior?  The
Macromedia docs all seem to indicate that onLoadComplete() is completely
useless and one should use onLoadInit() (and yes, I'm still using onLoadInit
for everything other than the SWF parameters).

Thanks!
-John
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] ppt to flash

2006-10-16 Thread Hans Wichman

Hi,
well FlashPaper2 converts ppt to flash, not sure if it is what you are
looking for, but its part of studio 8.
greetz
jc


On 10/16/06, Alain Rousseau [EMAIL PROTECTED] wrote:


I believe you can keep your transitions effects and animations with
Impress
(OpenOffice's PowerPoint editor)
But the output is not that great looking if I remember right. I was in a
e-learning company before my current job and we were looking for something
to replace the Breeze plugin for PowerPoint. I've stumbled upon OpenOffice
in my searches and tested it a little, It did the job, even added some
navigation buttons to switch between slides. I don't remember if you could
customize the look easily or if the slides were in separate swf files.

In the end the company went for writing their own PowerPoint Plug-in in C#
but I didn't see the end of it because I left before it was completed.

Alain

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Andy
Herrman
Sent: 16 octobre 2006 16:38
To: Flashcoders mailing list
Subject: Re: [Flashcoders] ppt to flash

There are commercial pieces of software that will do it (we use one here
at
work as part of our product), and I believe they all use VBScript to
interact with Powerpoint.  However, from what I've heard the next version
of
Powerpoint will not have the VBScript support anymore (I guess MS
specifically says it shouldn't be used for things like this, so they're
killing it), so I'm not sure how good of a long-term solution that would
be.

What parts of the PPT stuff are you trying to convert?  If you want
animations and sound and such then it would be pretty difficult, but if
all
you want are the images then you could just use PPT to save the slides out
as images (just pick the JPG format in the Save As...
dialog) and then have flash use those images for the slides.  You'd have
to
manually write the Flash code to handle the switching of slides and such,
but it's an easy way to get all the images you need.

  -Andy

On 10/16/06, Alain Rousseau [EMAIL PROTECTED] wrote:
 You should try OpenOffice http://www.openoffice.org,

 It's similar to Windows Office, but open source and you have an
 application that reads PowerPoints. With it you can convert your
PowerPoints to swf.
 Otherwise you could try and do it with a C# app. But for that I can't
 really help you there.

 The only other way to do it with PowerPoint is either with Adobe
 Breeze or other similar softwares.

 HTH

 Alain

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of
 Valério Guimarães
 Sent: 16 octobre 2006 16:07
 To: flashcoders@chattyfig.figleaf.com
 Subject: [Flashcoders] ppt to flash

 Hi all,

   I'm trying to convert ppt/pps to flash and I read the topic SDK for
 Flash.
   In that topic the link http://bukoo.sourceforge.net/ was mentioned
 but it is not working.
   Does anyone has anything on how to parse a ppt/pps file or creating
 a swf file?

 Regards

 Valério
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com http://training.figleaf.com


 --
 No virus found in this incoming message.
 Checked by AVG Free Edition.
 Version: 7.1.408 / Virus Database: 268.13.4/476 - Release Date:
 2006-10-14


 --
 No virus found in this outgoing message.
 Checked by AVG Free Edition.
 Version: 7.1.408 / Virus Database: 268.13.4/476 - Release Date:
 2006-10-14


 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training http://www.figleaf.com
http://training.figleaf.com


--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.408 / Virus Database: 268.13.4/476 - Release Date: 2006-10-14


--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.408 / Virus Database: 268.13.4/476 - Release Date: 2006-10-14


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com



Re: [FlashCoders] Delegates and performance

2006-10-16 Thread Hans Wichman

Hi,
very interesting, ill be sure to test this out!
greetz
JC


On 10/16/06, Dimitrios Bendilas [EMAIL PROTECTED] wrote:


Hello everyone,

I had a really big issue recently, when I realized that the performance of
a large-scale game
I built in Flash dropping substantially after 1/2 hour of gameplay, to the
point where
the game became wy too slow to play.

After exhausting tests I found out that this was caused by the extended
use of Delegates
with parameters (I always make sure I don't leave garbage sitting around
when I destroy
objects of all of my classes, so that was not the issue).

Spending one week on this, I managed to spot the problem and find a
solution,
writing a new Delegate class that was taking care of cleaning up function
objects.

I thought this would interest quite a few people, so I wrote an article on
this. You can
read at www.zefxis.gr/article-delegates. You can also download the
Delegate class
I wrote and use it for you projects.

I would appreciate any comments on this!

Thanks,

Dimtirios



___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Communication between two local computers

2006-10-16 Thread Chris Allen

Sorry Henry,

There's no peer to peer support for any version of Flash. You will
either need to wrap the SWF in an executable (Zinc, Screenweaver,
etc...) and access code that does the communication through that, or
have a server in place that the two SWFs talk through.

Keep in mind that a regular HTTP server (.Net, PHP, Tomcat, etc...)
will work just fine if all you care about is a polling type
communication. If you need a Socket connection, either XMLSocket or
RTMP then you will need something that can handle that on the server
side. If that's the case, and you want something free and open source
then I would recommend trying Red5: http://osflash.org (yes I'm a
project manager on the Red5 team, so no one give me any crap about
recommending it). There are other things like Jabber/XMPP servers (
http://jivesoftware.org ) that can use the XMLSocket class for
communication, and give some basic chat functionality off the bat.

I can also conceive of a way to run Red5 on both machines and have
them communicate with local copies of Red5 that talk to each other
over a socket, but I'm not sure you would get much advantage over the
client server model. The difference would be if you wanted them to
talk via UDP or something, which Flash doesn't support by itself. John
Grden and myself have been doing a lot of experimenting with local
Red5 applications so this is why this thought came to me.

Now if the two SWFs were on the same machine then you could use
LocalConnection to talk between them, but that's not what you are
looking for it seems.

Sorry for the long answer to your question, but hopefully that gives
you some idea of what you can pull off with Flash.

-Chris

On 10/16/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

Hi,
I hope I can get some help here. Is it possible for two Flash movies, each on
individual computers connected on a LAN network, to communicate with each other
without using a communication server? What would be a good solution to this.
Thank you,
Henry
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] FLASC problem

2006-10-16 Thread Merrill, Jason
Having problems e-mailing the osflash list, so I thought I'd try here.
I'm trying to get FLASC working and I keep getting an error:

While executing in myproject.fla, Javascript error(s) occurred:  
Missing ) after argument list.

I don't see any errors in my .fla or in my .as class.  I have MTASC set
up right in FLASC and the project classpaths as far as I can tell. It
previews the .swf, but the .swf does not have the injected updated class
code.  Any ideas?

Jason Merrill
Bank of America 
Learning  Organization Effectiveness - Technology Solutions 
 
 
 
 
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Global sound control ...

2006-10-16 Thread Francis Turmel

You can also just skip the _root param and leave the constructor empty like
this:
var s:Sound = new Sound();



On 10/15/06, Paul Neave [EMAIL PROTECTED] wrote:


The best way to turn sounds off isn't to use stopAllSounds() as that
will only stop the sounds at that moment, not mute them permanently.

If you're using timeline-based code, you can do this:

s = new Sound(_root);
s.setVolume(0);

and to un-mute the sound:

s.setVolume(100);

Simple. Of course, it uses _root (which is evil) but I think this is
forgivable in this instance.

Best,
Paul.


On 11/10/06, Stephen Ford [EMAIL PROTECTED] wrote:
 I have an interactive demo that consists of one main SWF file that loads
in other SWF files depending on what the user clicks on in the main SWFs
navigation.

 Within this main SWF and within all the seperate SWFs are numerous
movies each with their own timeline doing it's own thing.

 In numerous place on timelines throughout this set of SWFs, sound
effects have been hardcoded onto their respective timeline (i.e: not
loaded dynamically using the sound object).

 So is there any way to turn off sound globally regardless of where it's
located on whatever timeline within whatever SWF. So I can just create an
on/off button for the main SWF that will control sound globally ???

 Thanks.___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com





--
Francis Turmel
Personal: [EMAIL PROTECTED]
Business: [EMAIL PROTECTED]
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [FlashCoders] Delegates and performance

2006-10-16 Thread Muzak
This has come up before and there should be some stuff in the archives

http://muzakdeezign.com/flashcoders/?q=delegate%20garbage%20collection
http://muzakdeezign.com/flashcoders/?q=cleaning%20up%20delegate

From 2 years ago:
http://www.peterjoel.com/blog/index.php?archive=2004_08_01_archive.xml

regards,
Muzak


- Original Message - 
From: Dimitrios Bendilas [EMAIL PROTECTED]
To: flashcoders@chattyfig.figleaf.com
Sent: Monday, October 16, 2006 8:49 PM
Subject: [FlashCoders] Delegates and performance


Hello everyone,

I had a really big issue recently, when I realized that the performance of a 
large-scale game
I built in Flash dropping substantially after 1/2 hour of gameplay, to the 
point where
the game became wy too slow to play.

After exhausting tests I found out that this was caused by the extended use of 
Delegates
with parameters (I always make sure I don't leave garbage sitting around when I 
destroy
objects of all of my classes, so that was not the issue).

Spending one week on this, I managed to spot the problem and find a solution,
writing a new Delegate class that was taking care of cleaning up function 
objects.

I thought this would interest quite a few people, so I wrote an article on 
this. You can
read at www.zefxis.gr/article-delegates. You can also download the Delegate 
class
I wrote and use it for you projects.

I would appreciate any comments on this!

Thanks,

Dimtirios


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] FLASC problem

2006-10-16 Thread John Grden

yeah usually when I get that it's because my file (swf) is read only.  If
you're running any source control and have to check out the file, that could
be the issue.

That's what that error means essentially :  Can't load SWF ;)

On 10/16/06, Merrill, Jason [EMAIL PROTECTED] wrote:


Having problems e-mailing the osflash list, so I thought I'd try here.
I'm trying to get FLASC working and I keep getting an error:

While executing in myproject.fla, Javascript error(s) occurred:
Missing ) after argument list.

I don't see any errors in my .fla or in my .as class.  I have MTASC set
up right in FLASC and the project classpaths as far as I can tell. It
previews the .swf, but the .swf does not have the injected updated class
code.  Any ideas?

Jason Merrill
Bank of America
Learning  Organization Effectiveness - Technology Solutions




___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com





--
[  JPG  ]
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] External Interface causes error in IE

2006-10-16 Thread John VanHorn

you have a url we can look at?

are you sure you object/embed tags have id's and/or name's? did you use an
operand or space in the file name of the swf, or id/name? all those will
cause ExternalInterface to malfunction.

i had a problem with ExternalInterface and IE for a while that gave me the
same errorbut only sometimes. it was driving me crazy for weeks because
it would happen on some projects, but on others, it worked like a charm.
After sitting down and looking for something wrong, i realized that some of
our developers - the ones who write the html and js - were giving (we use
swfobject, by the way) the overwritten div and the object tag(second param
passed to swfobject) the same id's. and since IE uses the object tag with an
id, there were two nodes with the same id on the page. other browsers use
the embed tag, which uses a name attribute, not an id.so it was only
happening in ie. i havent had a problem with ExternalInterface at all since
then.

On 10/16/06, Clark, Craig [EMAIL PROTECTED] wrote:


I am getting an error in Internet Explorer whenever I try to use the
External Interface to call JavaScript from Flash or when I try to call
actionScript from JavaScript. I do not receive an error in other
browsers. It is only in IE. The error I get is a runtime error that says
Object does not support this property or method. When I open up Just
In Time debugging, it shows there is a problem with this method when I
call JavaScript from Flash.

try {
externalInterfaceTests.SetReturnValue(__flash__toXML(sayHello(browser)
) ); } catch (e) {
externalInterfaceTests.SetReturnValue(undefined/); }

I am not sure what the problem is.  I haven't used External Interface
since Flash 8 first came out and it worked fine at that time. I suspect
that recent changes to IE may be the cause.

Has anyone else had similar problems with IE and ExternalInterface?

Thanks

Craig Clark
Instructional Developer
Concurrent Technologies Corporation


This message and any files transmitted within are intended
solely for the addressee or its representative and may
contain company sensitive information.  If you are
not the intended recipient, notify the sender immediately
and delete this message.  Publication, reproduction,
forwarding, or content disclosure is prohibited without the
consent of the original sender and may be unlawful.

Concurrent Technologies Corporation and its Affiliates.
www.ctc.com  1-800-282-4392

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com





--
John Van Horn
[EMAIL PROTECTED]
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Re: Passing SWF parameters with MovieClipLoader?

2006-10-16 Thread Alain Rousseau

Yup, Tested and True,

it's definitely onLoadInit that does the trick, because it is fired when 
the first frame of your loaded SWF is played.
onLoadComplete only tells you that the SWF bytes have completed loading 
before it actually begins playing.


the rest of the onLoad... events for the MovieClipLoader seem to be 
there only for the purpose of load progress monitoring. Of course you 
can put them at any use you see fit but basically that is waht they do.


onLoadInit tells you that your SWF is ready for manipulation.

HTH

Alain

John Harding wrote:


Hello all,

I have a project where I'd like to use MovieClipLoader to load an 
external

SWF, so that I can be notified when the load is complete.  However, it
appears that MovieClipLoader.loadClip() does not allow one to pass
parameters (i.e. flashVars) to the SWF like MovieClip.loadMovie() does.

As an experiment, I tried setting my SWF parameters in response to
onLoadComplete(), and it appears to work - onLoadComplete is called 
before
the loaded SWF initializes, and the parameters set in onLoadComplete() 
are

set on the root clip of the loaded SWF.

So my question is, does anyone know if this is guaranteed behavior?  The
Macromedia docs all seem to indicate that onLoadComplete() is completely
useless and one should use onLoadInit() (and yes, I'm still using 
onLoadInit

for everything other than the SWF parameters).

Thanks!
-John
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com




___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] External Interface causes error in IE

2006-10-16 Thread 赵洪日
try to use setTimeout in Register the function in swf
- Original Message - 
From: John VanHorn [EMAIL PROTECTED]
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Tuesday, October 17, 2006 8:30 AM
Subject: Re: [Flashcoders] External Interface causes error in IE


 you have a url we can look at?
 
 are you sure you object/embed tags have id's and/or name's? did you use an
 operand or space in the file name of the swf, or id/name? all those will
 cause ExternalInterface to malfunction.
 
 i had a problem with ExternalInterface and IE for a while that gave me the
 same errorbut only sometimes. it was driving me crazy for weeks because
 it would happen on some projects, but on others, it worked like a charm.
 After sitting down and looking for something wrong, i realized that some of
 our developers - the ones who write the html and js - were giving (we use
 swfobject, by the way) the overwritten div and the object tag(second param
 passed to swfobject) the same id's. and since IE uses the object tag with an
 id, there were two nodes with the same id on the page. other browsers use
 the embed tag, which uses a name attribute, not an id.so it was only
 happening in ie. i havent had a problem with ExternalInterface at all since
 then.
 
 On 10/16/06, Clark, Craig [EMAIL PROTECTED] wrote:

 I am getting an error in Internet Explorer whenever I try to use the
 External Interface to call JavaScript from Flash or when I try to call
 actionScript from JavaScript. I do not receive an error in other
 browsers. It is only in IE. The error I get is a runtime error that says
 Object does not support this property or method. When I open up Just
 In Time debugging, it shows there is a problem with this method when I
 call JavaScript from Flash.

 try {
 externalInterfaceTests.SetReturnValue(__flash__toXML(sayHello(browser)
 ) ); } catch (e) {
 externalInterfaceTests.SetReturnValue(undefined/); }

 I am not sure what the problem is.  I haven't used External Interface
 since Flash 8 first came out and it worked fine at that time. I suspect
 that recent changes to IE may be the cause.

 Has anyone else had similar problems with IE and ExternalInterface?

 Thanks

 Craig Clark
 Instructional Developer
 Concurrent Technologies Corporation

 
 This message and any files transmitted within are intended
 solely for the addressee or its representative and may
 contain company sensitive information.  If you are
 not the intended recipient, notify the sender immediately
 and delete this message.  Publication, reproduction,
 forwarding, or content disclosure is prohibited without the
 consent of the original sender and may be unlawful.

 Concurrent Technologies Corporation and its Affiliates.
 www.ctc.com  1-800-282-4392
 
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com

 
 
 
 -- 
 John Van Horn
 [EMAIL PROTECTED]
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

RE: [Flashcoders] FLASC problem

2006-10-16 Thread Steven Sacks | BLITZ
Unlike Flash, which if a compile fails during it, the swf is
unlaunchable, mtasc fails before it injects the code.  You're not seeing
a swf preview, it's just launching the swf that exists.  

FLASC uses MTASC but it doesn't react to a failed build, possibly
because it doesn't know the compile failed?  Not sure on that.  At any
rate, I don't know the solution to your problem, perhaps Grden's
suggestion applies, but at least you now know that it will launch the
swf regardless of the success of the compile.  
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] swfObject problem

2006-10-16 Thread Steven Sacks | BLITZ
Or try Filezilla.  Once you go Zilla, you never go...

um...just try it.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] ::dk:: understanding roll over with addEventListener

2006-10-16 Thread Steven Sacks | BLITZ
BTN_Foo.onRollOver = Delegate.create(this, fooRollOver);
BTN_Foo.onRelease = Delegrate.create(this, fooRelease);

etc.
etc.

:)

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] ::dk:: understanding roll over with addEventListener

2006-10-16 Thread dnk

Steven Sacks | BLITZ wrote:

BTN_Foo.onRollOver = Delegate.create(this, fooRollOver);
BTN_Foo.onRelease = Delegrate.create(this, fooRelease);

etc.
etc.

:)

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
  

Thanks Steven

I had found out that one earlier today. The reply is appreciated though!


Onto the next issue I am having... =-)


Dustin
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] FLASC problem

2006-10-16 Thread John Grden

yeah when using MTASC without flasc that's true, but with FLASC, it fails
internally and gives that JSFL message.

I need to catch that error and provide a nice message about what could be
wrong

On 10/16/06, Steven Sacks | BLITZ [EMAIL PROTECTED] wrote:


Unlike Flash, which if a compile fails during it, the swf is
unlaunchable, mtasc fails before it injects the code.  You're not seeing
a swf preview, it's just launching the swf that exists.

FLASC uses MTASC but it doesn't react to a failed build, possibly
because it doesn't know the compile failed?  Not sure on that.  At any
rate, I don't know the solution to your problem, perhaps Grden's
suggestion applies, but at least you now know that it will launch the
swf regardless of the success of the compile.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com





--
[  JPG  ]
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] ::dk:: understanding roll over with addEventListener

2006-10-16 Thread Victor Gaudioso
It is such a simple concept and it took me days to truely get it...I guess 
old habits die Hard.  Now that I do get it, my life is much easier.  Thanks 
John ;)


V
- Original Message - 
From: Steven Sacks | BLITZ [EMAIL PROTECTED]

To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Monday, October 16, 2006 6:40 PM
Subject: RE: [Flashcoders] ::dk:: understanding roll over with 
addEventListener



BTN_Foo.onRollOver = Delegate.create(this, fooRollOver);
BTN_Foo.onRelease = Delegrate.create(this, fooRelease);

etc.
etc.

:)

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] ::dk:: understanding roll over with addEventListener

2006-10-16 Thread Victor Gaudioso
Oh and just as a side note, I was giong crazy because I wanted to Delegate a 
function without having a button event, I came up with Delegate with a 
setInterval.  Worked great, there might be other better ways; I am always 
willing to learn a better way.  V



- Original Message - 
From: Victor Gaudioso [EMAIL PROTECTED]

To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Monday, October 16, 2006 7:37 PM
Subject: Re: [Flashcoders] ::dk:: understanding roll over with 
addEventListener



It is such a simple concept and it took me days to truely get it...I guess 
old habits die Hard.  Now that I do get it, my life is much easier. 
Thanks John ;)


V
- Original Message - 
From: Steven Sacks | BLITZ [EMAIL PROTECTED]

To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Monday, October 16, 2006 6:40 PM
Subject: RE: [Flashcoders] ::dk:: understanding roll over with 
addEventListener



BTN_Foo.onRollOver = Delegate.create(this, fooRollOver);
BTN_Foo.onRelease = Delegrate.create(this, fooRelease);

etc.
etc.

:)

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com



___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [FlashCoders] Delegates and performance

2006-10-16 Thread Anthony Lee



I thought this would interest quite a few people, so I wrote an article on this.
I found your post to be a good practical example of implementing 
Timothee Groleau's article. Thank you.


Tony
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] FLASC problem

2006-10-16 Thread Andreas Weber
I always get that error when I forget to close an already open
swf-preview-window (the one that pops up after testing/compiling) - the
newly compiled swf cannot (for some reason) replace the one that is still
open in the preview window.

I'm using FLASC every day and it has saved me countless hours - thanks a
bunch for your great tool, John (and Nicolas of course)

--
Andreas Weber


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of John Grden
Sent: Dienstag, 17. Oktober 2006 03:54
To: Flashcoders mailing list
Subject: Re: [Flashcoders] FLASC problem


yeah when using MTASC without flasc that's true, but with FLASC, it fails
internally and gives that JSFL message.

I need to catch that error and provide a nice message about what could be
wrong



___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com