RE: [Flashcoders] Unity vs Flashcom for chat and messaging

2006-05-08 Thread Lee McColl-Sylvester
I'm one of those.  A port of Red5 to C# is a must, but there's no way
I'd even consider starting the project until Red5 matures to at least
0.6, though tbh, I'm likely to wait til 0.9 - 1rc1.  Red5 is being
developed at such a staggering pace, that porting to C# at this stage
would be pointless and just create more work in the long run.

Lee




-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Chris
Allen
Sent: 08 May 2006 02:46
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Unity vs Flashcom for chat and messaging

Hi Weyert,

A .NET version will more than likely be built once the Java version is
more stable. There are quite a few people interested in seeing it
happen and are actually going to work on it; I believe it's just a
matter of time. If you are interested in helping with the .NET version
of Red5, please join our mailing list and let everyone know there.

-Chris

On 5/7/06, Weyert de Boer [EMAIL PROTECTED] wrote:
  We are also planning on adding JavaScript, Ruby, Python, and other
  scripting languages  so that the Red5 API is accessible through
these
  as well. That should be out in the 0.7 release. Please take a look
at
  our roadmap if you are interested in the current and proposed
  features: http://osflash.org/red5/roadmap

 Suppor tfor the dot net platform would be nice, so that you can use
any of
 the available .NET languages to access the Red5 API. As far as I know
this
 isn't possible yet by the current version, I think is more interesting
 then supporting Ruby etc.

 Yours,

 Weyert de Boer ([EMAIL PROTECTED])
 innerfuse*

 http://www.innerfuse.biz/
 ___
 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] Re: [osflash] OS PSP RSS Reader

2006-05-08 Thread Sajed Chowdhury

Have you tried embedding fonts or are you using the builtin psp fonts?


-Sajed

On 5/6/06, John Giotta [EMAIL PROTECTED] wrote:

I whipped up a RSS Reader for the PSP Flash Player in just 2 hours.
It's open source so it's free anyone.
One thing I've notice is that the performance for parsing an XML
document is super slow and surprisingly XFactorStudios did the job
quicker with my first integration.

This is actually by first Mobile application, it proves very
difficult when you're so use to full player support.

So far RSS 2.0 is only supported.


___
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] newbie: nested clips and LoadMovie

2006-05-08 Thread Francesco

Hi,
if I don't get wrong when you call duplicateMovieClip() as a method of 
the class MovieClip
(opposite to the global function duplicateMovieClip()) - like in your 
code - you shouldn't provide

a target param:

e.g.
a.duplicateMovieClip(b,1);
/* duplicates mc a and assignes the copy mc the identifier b */

and yes, duplicates are created as siblings, that means they share the 
same parent with the origin mcs

so in my previous example:

a.a_child = b_copy_child;

b_copy_child is actually in the b timeline, but since it is a duplicate 
you can use it for your purposes

without modifying the origin b_child (library item).
if you remove b from runtime, you'll lose the reference contatined in 
a.a_child as well


to force a physycal copy of a mc, I think you have no choice but looping 
into its property/methods and assigning

same values to corresponding mc_copy p/m

HTH
francesco.p

Marcelo de Moraes Serpa wrote:

Francesco: I think that, by creating a new property on movieclip a and
referencing it to the b_copy_child (which in turn references copy in
movieclip b) would only allow you to control the copy movieclip 
located

into movieclip b.

I don´t have flash here so I can´t test anything and I´m just curious 
about

(as it has been quite some time since the last time I used
duplicateMovieClip) if this would work:

_root.duplicateMovieClip(_root.movieclip_b.mymc,mycopiedclip,1);

Would this code create a instance of the movieclip mymc into _root?

- Marcelo.

On 5/5/06, August Gresens [EMAIL PROTECTED] wrote:


Francesco - I'll give that a try. It actually occurred to me, but I 
didn't

try it because I wasn't sure how the depth would be handled and what
issues
would be associated with having a single clip instance be the child 
of two
parents. (When you move b, does it also move in a, even if a is 
not

moved?)

Thanks,

August

On 5/5/06, Francesco [EMAIL PROTECTED] wrote:

 Provided you know the child-to-copy instance name, that's a 
workaround:


 say you have 2 mcs, one (a) created in your project and one (b) loaded
 externally.
 say you know the desired b-child instance name (b_child):

 //create a copy of the desired child
 var b_copy_child:MovieClip =
 b_child.duplicateMovieClip(copy,b.getNextHighestDepth());

 /*
 *then 2 ways:
 *a) if you simply want a reference to use in your project, work 
with

 b_copy_child;
 *b) if you really want b_child instance to be a child of a,
 reference it from within,
 *   thanks to the fact MovieClip is dynamic:
 */

 a.a_child = b_copy_child;

 This, unless I'm missing some more-DOM-like AS2 interfaces - and then
 I'd love to hear about..
 HTH
 francesco.p

 August Gresens wrote:
  Thanks much for your previous responses, very helpful.
 
  One more question - how can I duplicate or attach a child clip of 
one

  clip
  into another clip?
 
  For example, if I have two clips on the timeline, can I somehow copy
the
  first child of one clip into another?
 
  DuplicateMovieClip does not seem to provide this functionality. It
seems
  only allow you to create a duplicate that is attached to the same
parent
  clip. I want to be able to copy child clips from my loaded external
 clip,
  into various clips in my project.
 
  Thanks,
 
  August
 
  On 5/5/06, Francesco [EMAIL PROTECTED] wrote:
 
  Really don't know if is there a way to load a .fla asset (such as a
  Library) into an swf..
 
  but sure you can use an external swf as a content library, as 
long as

  all library items (children mcs):
  - can be referenced by instance name (which is to be set on the
 external
  .fla)
  - are not referenced by instance name, but can be univocally
retrieved
  by any other means (e.g. property values)
 
  once acquired desiredChildMovieClip, you can duplicate it on your
  project.
  HTH
  francesco
 
 
 
 
  August Gresens wrote:
   I guess what I'm looking for is an alternative to the clunky
Shared
   Library thing they've got set up. Im seeing now, however, that
even
   if I
   get this working, there would be no way to duplicate the 
externally

   loaded
   swf's child to a clip in my main project (right?). In essence, I
want
   to be
   able to use the externally loaded clip as a library - but it is
   starting to
   dawn on me that this is not possible (?).
  
   (By the way, I'm mystified that the Shared Library has been
  implemented
   the way that it has - the url requirement would seem to make it
   difficult to
   arbitrarily load external libraries into a movie without manually
   changing
   the URL properties in the IDE. It would be great if you could 
just

   load an
   external library the way we do external clips).
  
   Thanks,
  
   August
  
   On 5/5/06, Francesco [EMAIL PROTECTED] wrote:
  
   if I got correctly the point, you're asking:
   can I access children of an external swf loaded at any level 
into

my
   project via MovieClip.loadMovie() or MovieClipLoader.loadClip()?
   If not, sorry for bothering
   If yes, I think: sure you can, 

[FlashCoders] Tricky(?) Flash Version detection

2006-05-08 Thread Dimitrios Bendilas
Hello all,

This is probably very Zinc specific, but I'll give it a try, in case someone
can suggest something useful. If it's too off-topic, my apologies in advance.

I have an application made with Zinc, with the .exe not having the Flash OCX 
included.
So, in order for it to work, it has to rely on the installed Flash player on 
the user's computer
(ActiveX, installation by Internet Explorer).

The question is how I can detect the Flash Player version the user has 
installed, if any.
You see, the application needs Flash 8 in order to run, so if the user has an 
older version
or no flash at all, I would like to take him to the macromedia website to 
download.

It seems to me that I have to write a script in Zinc, to check for the flash 
player version.
Is that so? Or it there anything else I can do?

Thanks!

Dimitrios Bendilas
___
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] Tricky(?) Flash Version detection

2006-05-08 Thread Lee McColl-Sylvester
Doesn't Flash 8 now have a flash player check function in its api?  I
recall seeing that somewhere.

Lee



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Dimitrios Bendilas
Sent: 08 May 2006 11:03
To: flashcoders@chattyfig.figleaf.com
Subject: [FlashCoders] Tricky(?) Flash Version detection

Hello all,

This is probably very Zinc specific, but I'll give it a try, in case
someone
can suggest something useful. If it's too off-topic, my apologies in
advance.

I have an application made with Zinc, with the .exe not having the Flash
OCX included.
So, in order for it to work, it has to rely on the installed Flash
player on the user's computer
(ActiveX, installation by Internet Explorer).

The question is how I can detect the Flash Player version the user has
installed, if any.
You see, the application needs Flash 8 in order to run, so if the user
has an older version
or no flash at all, I would like to take him to the macromedia website
to download.

It seems to me that I have to write a script in Zinc, to check for the
flash player version.
Is that so? Or it there anything else I can do?

Thanks!

Dimitrios Bendilas
___
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] Tricky(?) Flash Version detection

2006-05-08 Thread Dimitrios Bendilas

He Lee,

I've seen it probably myself, but that would require
some ActionScript code to execute, so the Player 8 should
be present, right?

Dimitrios

- Original Message - 
From: Lee McColl-Sylvester [EMAIL PROTECTED]

To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Monday, May 08, 2006 1:15 PM
Subject: RE: [FlashCoders] Tricky(?) Flash Version detection


Doesn't Flash 8 now have a flash player check function in its api?  I
recall seeing that somewhere.

Lee



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Dimitrios Bendilas
Sent: 08 May 2006 11:03
To: flashcoders@chattyfig.figleaf.com
Subject: [FlashCoders] Tricky(?) Flash Version detection

Hello all,

This is probably very Zinc specific, but I'll give it a try, in case
someone
can suggest something useful. If it's too off-topic, my apologies in
advance.

I have an application made with Zinc, with the .exe not having the Flash
OCX included.
So, in order for it to work, it has to rely on the installed Flash
player on the user's computer
(ActiveX, installation by Internet Explorer).

The question is how I can detect the Flash Player version the user has
installed, if any.
You see, the application needs Flash 8 in order to run, so if the user
has an older version
or no flash at all, I would like to take him to the macromedia website
to download.

It seems to me that I have to write a script in Zinc, to check for the
flash player version.
Is that so? Or it there anything else I can do?

Thanks!

Dimitrios Bendilas
___
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] Tricky(?) Flash Version detection

2006-05-08 Thread Lee McColl-Sylvester
Lol, that's a damn good point ;-)  One day I'll learn to think before I
reply.

Lee



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Dimitrios Bendilas
Sent: 08 May 2006 11:13
To: Flashcoders mailing list
Subject: Re: [FlashCoders] Tricky(?) Flash Version detection

He Lee,

I've seen it probably myself, but that would require
some ActionScript code to execute, so the Player 8 should
be present, right?

Dimitrios

- Original Message - 
From: Lee McColl-Sylvester [EMAIL PROTECTED]
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Monday, May 08, 2006 1:15 PM
Subject: RE: [FlashCoders] Tricky(?) Flash Version detection


Doesn't Flash 8 now have a flash player check function in its api?  I
recall seeing that somewhere.

Lee



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Dimitrios Bendilas
Sent: 08 May 2006 11:03
To: flashcoders@chattyfig.figleaf.com
Subject: [FlashCoders] Tricky(?) Flash Version detection

Hello all,

This is probably very Zinc specific, but I'll give it a try, in case
someone
can suggest something useful. If it's too off-topic, my apologies in
advance.

I have an application made with Zinc, with the .exe not having the Flash
OCX included.
So, in order for it to work, it has to rely on the installed Flash
player on the user's computer
(ActiveX, installation by Internet Explorer).

The question is how I can detect the Flash Player version the user has
installed, if any.
You see, the application needs Flash 8 in order to run, so if the user
has an older version
or no flash at all, I would like to take him to the macromedia website
to download.

It seems to me that I have to write a script in Zinc, to check for the
flash player version.
Is that so? Or it there anything else I can do?

Thanks!

Dimitrios Bendilas
___
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 Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] System.as error ?

2006-05-08 Thread MBDI ICSC Rodrigo E. Curiel Salazar

Hi, I have a issue here, I don't have a clue of what's happening, when I
test my movie in flash, everything goes well, but if I clear the ASO and
test the movie, I get the following error:



**Error** C:\...\System.as: Line 5: The name of this class, 'System',
conflicts with the name of another class that was loaded.
 intrinsic class System {

Total ActionScript Errors: 1   Reported Errors: 1


But, if I remove the System.useCodepage = true; no error is displayed, I
don't know what to do, any ideas ?

Thanks,

Rodrigo
___
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] System.as error ?

2006-05-08 Thread Jim Tann
I have had trouble with this kind of thing when working on a network
drive. Are you working on one? Can you switch to a local drive?

Jim

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of MBDI
ICSC Rodrigo E. Curiel Salazar
Sent: 08 May 2006 11:28
To: Flashcoders mailing list
Subject: [Flashcoders] System.as error ?

Hi, I have a issue here, I don't have a clue of what's happening, when I
test my movie in flash, everything goes well, but if I clear the ASO and
test the movie, I get the following error:


 **Error** C:\...\System.as: Line 5: The name of this class, 'System',
 conflicts with the name of another class that was loaded.
  intrinsic class System {

 Total ActionScript Errors: 1   Reported Errors: 1

But, if I remove the System.useCodepage = true; no error is displayed, I
don't know what to do, any ideas ?

Thanks,

Rodrigo
___
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] System.as error ?

2006-05-08 Thread MBDI ICSC Rodrigo E. Curiel Salazar

I am working on a local drive,

I have some classes, in them I have this:

code
this.resX = System.capabilities.screenResolutionX;
/code

but I don't think that's the problem, since I remove this line, but I have
the same error


On 5/8/06, Jim Tann [EMAIL PROTECTED] wrote:


I have had trouble with this kind of thing when working on a network
drive. Are you working on one? Can you switch to a local drive?

Jim

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of MBDI
ICSC Rodrigo E. Curiel Salazar
Sent: 08 May 2006 11:28
To: Flashcoders mailing list
Subject: [Flashcoders] System.as error ?

Hi, I have a issue here, I don't have a clue of what's happening, when I
test my movie in flash, everything goes well, but if I clear the ASO and
test the movie, I get the following error:


 **Error** C:\...\System.as: Line 5: The name of this class, 'System',
 conflicts with the name of another class that was loaded.
  intrinsic class System {

 Total ActionScript Errors: 1   Reported Errors: 1

But, if I remove the System.useCodepage = true; no error is displayed, I
don't know what to do, any ideas ?

Thanks,

Rodrigo
___
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] Tricky(?) Flash Version detection

2006-05-08 Thread Dennis - I Sioux

Hey Guys,

I remember from the FSP time that it could also read/write DLL's..
Sure Macromedia put's something somewhere in the register that is usable?

Get's back to the point though that you need a flash player to play the zync 
that check's that..


You could always use a small flash exe that does the check, the .exe always 
contains the player itself, .. and then either start the zync exe or go to 
macromedia.


Hope that makes any sence;)

With kind regards,

Dennis

- Original Message - 
From: Lee McColl-Sylvester [EMAIL PROTECTED]

To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Monday, May 08, 2006 12:25 PM
Subject: RE: [FlashCoders] Tricky(?) Flash Version detection



Lol, that's a damn good point ;-)  One day I'll learn to think before I
reply.

Lee



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Dimitrios Bendilas
Sent: 08 May 2006 11:13
To: Flashcoders mailing list
Subject: Re: [FlashCoders] Tricky(?) Flash Version detection

He Lee,

I've seen it probably myself, but that would require
some ActionScript code to execute, so the Player 8 should
be present, right?

Dimitrios

- Original Message - 
From: Lee McColl-Sylvester [EMAIL PROTECTED]

To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Monday, May 08, 2006 1:15 PM
Subject: RE: [FlashCoders] Tricky(?) Flash Version detection


Doesn't Flash 8 now have a flash player check function in its api?  I
recall seeing that somewhere.

Lee



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Dimitrios Bendilas
Sent: 08 May 2006 11:03
To: flashcoders@chattyfig.figleaf.com
Subject: [FlashCoders] Tricky(?) Flash Version detection

Hello all,

This is probably very Zinc specific, but I'll give it a try, in case
someone
can suggest something useful. If it's too off-topic, my apologies in
advance.

I have an application made with Zinc, with the .exe not having the Flash
OCX included.
So, in order for it to work, it has to rely on the installed Flash
player on the user's computer
(ActiveX, installation by Internet Explorer).

The question is how I can detect the Flash Player version the user has
installed, if any.
You see, the application needs Flash 8 in order to run, so if the user
has an older version
or no flash at all, I would like to take him to the macromedia website
to download.

It seems to me that I have to write a script in Zinc, to check for the
flash player version.
Is that so? Or it there anything else I can do?

Thanks!

Dimitrios Bendilas
___
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 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] Tricky(?) Flash Version detection

2006-05-08 Thread Lee McColl-Sylvester
If he wanted to do that, he'd embed the player. ;-)

Anyway, there is a better option if that route is preferred;  FSP / Zinc
can also execute vb and fs scripts, and there are plenty of those for
Flash detection available.

Lee




-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Dennis -
I Sioux
Sent: 08 May 2006 12:09
To: Flashcoders mailing list
Subject: Re: [FlashCoders] Tricky(?) Flash Version detection

Hey Guys,

I remember from the FSP time that it could also read/write DLL's..
Sure Macromedia put's something somewhere in the register that is
usable?

Get's back to the point though that you need a flash player to play the
zync 
that check's that..

You could always use a small flash exe that does the check, the .exe
always 
contains the player itself, .. and then either start the zync exe or go
to 
macromedia.

Hope that makes any sence;)

With kind regards,

Dennis

- Original Message - 
From: Lee McColl-Sylvester [EMAIL PROTECTED]
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Monday, May 08, 2006 12:25 PM
Subject: RE: [FlashCoders] Tricky(?) Flash Version detection


 Lol, that's a damn good point ;-)  One day I'll learn to think before
I
 reply.

 Lee



 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of
 Dimitrios Bendilas
 Sent: 08 May 2006 11:13
 To: Flashcoders mailing list
 Subject: Re: [FlashCoders] Tricky(?) Flash Version detection

 He Lee,

 I've seen it probably myself, but that would require
 some ActionScript code to execute, so the Player 8 should
 be present, right?

 Dimitrios

 - Original Message - 
 From: Lee McColl-Sylvester [EMAIL PROTECTED]
 To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
 Sent: Monday, May 08, 2006 1:15 PM
 Subject: RE: [FlashCoders] Tricky(?) Flash Version detection


 Doesn't Flash 8 now have a flash player check function in its api?  I
 recall seeing that somewhere.

 Lee



 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of
 Dimitrios Bendilas
 Sent: 08 May 2006 11:03
 To: flashcoders@chattyfig.figleaf.com
 Subject: [FlashCoders] Tricky(?) Flash Version detection

 Hello all,

 This is probably very Zinc specific, but I'll give it a try, in case
 someone
 can suggest something useful. If it's too off-topic, my apologies in
 advance.

 I have an application made with Zinc, with the .exe not having the
Flash
 OCX included.
 So, in order for it to work, it has to rely on the installed Flash
 player on the user's computer
 (ActiveX, installation by Internet Explorer).

 The question is how I can detect the Flash Player version the user has
 installed, if any.
 You see, the application needs Flash 8 in order to run, so if the user
 has an older version
 or no flash at all, I would like to take him to the macromedia website
 to download.

 It seems to me that I have to write a script in Zinc, to check for the
 flash player version.
 Is that so? Or it there anything else I can do?

 Thanks!

 Dimitrios Bendilas
 ___
 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 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:

Re: [Flashcoders] How to embed the Flash Player in a desktop application

2006-05-08 Thread Chris Velevitch

That's great Andre, but this is specific windows and OCX. How would
you do it for Mac OSX and Linux, Solaris, etc?


Chris
--
Chris Velevitch
Manager - Sydney Flash Platform Developers Group
www.flashdev.org.au
___
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] Anti-aliasing distorted bitmapData?

2006-05-08 Thread Jon Bradley


On May 7, 2006, at 7:05 AM, Sander wrote:


Hi there,

I'm trying to do some 3Dish distortions on bitmapData instances,  
using loops to copy colons or rows of pixels. It's fast enough for  
real-time.


But the result is an aliased picture. I thought I could use the  
Convolution filter to influence each pixel by its neighbors,  
basically anti-aliasing. Does anyons have experience with this?  
Would a slight blur be faster to compute?



A blur is usually a 3x3 convolution matrix. So, no, it's not 'faster'  
than a convolution because it is implemented as a convolution anyway  
(and if it isn't, a 3x3 convolution should be identical in speed).


You could feasibly try a 3x3 triangle or a 4x4 mitchell filter  
instead (you can find the convolution matrix for these online pretty  
easily).


Remember, bitmap distortions only respect 256 levels. You could also  
perform a scaling matrix into a temporary bitmap, then copy those  
results with a reverse scale into the final display matrix with  
smoothing turned on. That may work well enough to smooth out any  
artifacts you're seeing.


good luck,

jon


___
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] Tricky(?) Flash Version detection

2006-05-08 Thread Dennis - I Sioux
With the old FSP there was a difference with the player you could embed and 
the flashplayer.. but maybe not with zync anymore..
but the vb and fs script makes sense.. but is that from within Zinc itself? 
because then  you need to turn an swf into the exe.. that will execute the 
script? then it's back to the first problem:)


Isn't it more handy to execute that vb/c++ script firsts.. that detects it 
and that opens a zinc or sends you to the macromedia site?


.. also you could use a standard zync installer.. with the option to go to 
macromedia.. but that's kinda lame :-D


Cheers,

Dennis

- Original Message - 
From: Lee McColl-Sylvester [EMAIL PROTECTED]

To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Monday, May 08, 2006 1:23 PM
Subject: RE: [FlashCoders] Tricky(?) Flash Version detection



If he wanted to do that, he'd embed the player. ;-)

Anyway, there is a better option if that route is preferred;  FSP / Zinc
can also execute vb and fs scripts, and there are plenty of those for
Flash detection available.

Lee




-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Dennis -
I Sioux
Sent: 08 May 2006 12:09
To: Flashcoders mailing list
Subject: Re: [FlashCoders] Tricky(?) Flash Version detection

Hey Guys,

I remember from the FSP time that it could also read/write DLL's..
Sure Macromedia put's something somewhere in the register that is
usable?

Get's back to the point though that you need a flash player to play the
zync
that check's that..

You could always use a small flash exe that does the check, the .exe
always
contains the player itself, .. and then either start the zync exe or go
to
macromedia.

Hope that makes any sence;)

With kind regards,

Dennis

- Original Message - 
From: Lee McColl-Sylvester [EMAIL PROTECTED]

To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Monday, May 08, 2006 12:25 PM
Subject: RE: [FlashCoders] Tricky(?) Flash Version detection



Lol, that's a damn good point ;-)  One day I'll learn to think before

I

reply.

Lee



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Dimitrios Bendilas
Sent: 08 May 2006 11:13
To: Flashcoders mailing list
Subject: Re: [FlashCoders] Tricky(?) Flash Version detection

He Lee,

I've seen it probably myself, but that would require
some ActionScript code to execute, so the Player 8 should
be present, right?

Dimitrios

- Original Message - 
From: Lee McColl-Sylvester [EMAIL PROTECTED]

To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Monday, May 08, 2006 1:15 PM
Subject: RE: [FlashCoders] Tricky(?) Flash Version detection


Doesn't Flash 8 now have a flash player check function in its api?  I
recall seeing that somewhere.

Lee



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Dimitrios Bendilas
Sent: 08 May 2006 11:03
To: flashcoders@chattyfig.figleaf.com
Subject: [FlashCoders] Tricky(?) Flash Version detection

Hello all,

This is probably very Zinc specific, but I'll give it a try, in case
someone
can suggest something useful. If it's too off-topic, my apologies in
advance.

I have an application made with Zinc, with the .exe not having the

Flash

OCX included.
So, in order for it to work, it has to rely on the installed Flash
player on the user's computer
(ActiveX, installation by Internet Explorer).

The question is how I can detect the Flash Player version the user has
installed, if any.
You see, the application needs Flash 8 in order to run, so if the user
has an older version
or no flash at all, I would like to take him to the macromedia website
to download.

It seems to me that I have to write a script in Zinc, to check for the
flash player version.
Is that so? Or it there anything else I can do?

Thanks!

Dimitrios Bendilas
___
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 

[Flashcoders] Fitting squares into an area

2006-05-08 Thread Mike Mountain
Anyone got any script to cover the following problem:
Given an area (x,y)  what's the best way of filling it with 'n' squares?
Cheers
M


___
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] Tricky(?) Flash Version detection

2006-05-08 Thread Dimitrios Bendilas

Hey guys,

Thanks for the replies.

Zinc can embed the player, but for technical reasons this is not an option
for me. So, the .exe has to rely on the installed OCX.

Zinc can run dlls so that's the way I think I should be looking at.
I'm already in contact with Zinc support and I'm waiting to see
what they will suggest.

Thanks for the feedback!

By the way, what is an fs script? What does fs stand for?

Dimitrios



- Original Message - 
From: Dennis - I Sioux [EMAIL PROTECTED]

To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Monday, May 08, 2006 3:33 PM
Subject: Re: [FlashCoders] Tricky(?) Flash Version detection


With the old FSP there was a difference with the player you could embed 
and the flashplayer.. but maybe not with zync anymore..
but the vb and fs script makes sense.. but is that from within Zinc 
itself? because then  you need to turn an swf into the exe.. that will 
execute the script? then it's back to the first problem:)


Isn't it more handy to execute that vb/c++ script firsts.. that detects it 
and that opens a zinc or sends you to the macromedia site?


.. also you could use a standard zync installer.. with the option to go to 
macromedia.. but that's kinda lame :-D


Cheers,

Dennis

- Original Message - 
From: Lee McColl-Sylvester [EMAIL PROTECTED]

To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Monday, May 08, 2006 1:23 PM
Subject: RE: [FlashCoders] Tricky(?) Flash Version detection



If he wanted to do that, he'd embed the player. ;-)

Anyway, there is a better option if that route is preferred;  FSP / Zinc
can also execute vb and fs scripts, and there are plenty of those for
Flash detection available.

Lee




-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Dennis -
I Sioux
Sent: 08 May 2006 12:09
To: Flashcoders mailing list
Subject: Re: [FlashCoders] Tricky(?) Flash Version detection

Hey Guys,

I remember from the FSP time that it could also read/write DLL's..
Sure Macromedia put's something somewhere in the register that is
usable?

Get's back to the point though that you need a flash player to play the
zync
that check's that..

You could always use a small flash exe that does the check, the .exe
always
contains the player itself, .. and then either start the zync exe or go
to
macromedia.

Hope that makes any sence;)

With kind regards,

Dennis

- Original Message - 
From: Lee McColl-Sylvester [EMAIL PROTECTED]

To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Monday, May 08, 2006 12:25 PM
Subject: RE: [FlashCoders] Tricky(?) Flash Version detection



Lol, that's a damn good point ;-)  One day I'll learn to think before

I

reply.

Lee



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Dimitrios Bendilas
Sent: 08 May 2006 11:13
To: Flashcoders mailing list
Subject: Re: [FlashCoders] Tricky(?) Flash Version detection

He Lee,

I've seen it probably myself, but that would require
some ActionScript code to execute, so the Player 8 should
be present, right?

Dimitrios

- Original Message - 
From: Lee McColl-Sylvester [EMAIL PROTECTED]

To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Monday, May 08, 2006 1:15 PM
Subject: RE: [FlashCoders] Tricky(?) Flash Version detection


Doesn't Flash 8 now have a flash player check function in its api?  I
recall seeing that somewhere.

Lee



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Dimitrios Bendilas
Sent: 08 May 2006 11:03
To: flashcoders@chattyfig.figleaf.com
Subject: [FlashCoders] Tricky(?) Flash Version detection

Hello all,

This is probably very Zinc specific, but I'll give it a try, in case
someone
can suggest something useful. If it's too off-topic, my apologies in
advance.

I have an application made with Zinc, with the .exe not having the

Flash

OCX included.
So, in order for it to work, it has to rely on the installed Flash
player on the user's computer
(ActiveX, installation by Internet Explorer).

The question is how I can detect the Flash Player version the user has
installed, if any.
You see, the application needs Flash 8 in order to run, so if the user
has an older version
or no flash at all, I would like to take him to the macromedia website
to download.

It seems to me that I have to write a script in Zinc, to check for the
flash player version.
Is that so? Or it there anything else I can do?

Thanks!

Dimitrios Bendilas
___
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 

Re: [Flashcoders] Re: [osflash] OS PSP RSS Reader

2006-05-08 Thread John Giotta

Built in.

On 5/8/06, Sajed Chowdhury [EMAIL PROTECTED] wrote:

Have you tried embedding fonts or are you using the builtin psp fonts?


-Sajed

On 5/6/06, John Giotta [EMAIL PROTECTED] wrote:
 I whipped up a RSS Reader for the PSP Flash Player in just 2 hours.
 It's open source so it's free anyone.
 One thing I've notice is that the performance for parsing an XML
 document is super slow and surprisingly XFactorStudios did the job
 quicker with my first integration.

 This is actually by first Mobile application, it proves very
 difficult when you're so use to full player support.

 So far RSS 2.0 is only supported.

___
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


AW: [Flashcoders] Fitting squares into an area

2006-05-08 Thread Kerem Gülensoy
you could divide the area, divide one half again, divide the other half, and
so on...n-times...

cheers | kerem

-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Im Auftrag von Mike
Mountain
Gesendet: Montag, 8. Mai 2006 14:51
An: Flashcoders mailing list
Betreff: [Flashcoders] Fitting squares into an area

Anyone got any script to cover the following problem:
Given an area (x,y)  what's the best way of filling it with 'n' squares?
Cheers
M


___
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] Fitting squares into an area

2006-05-08 Thread Mike Mountain
All my squares need to be the same size - so for example what's the best way of 
laying out 'n' equal squares in an areas x,y so the squares are as big as they 
can be. There must be an algo for this kind of thing.

M

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf 
 Of Kerem Gülensoy
 Sent: 08 May 2006 13:59
 To: 'Flashcoders mailing list'
 Subject: AW: [Flashcoders] Fitting squares into an area
 
 you could divide the area, divide one half again, divide the 
 other half, and so on...n-times...
 
 cheers | kerem
 
 -Ursprüngliche Nachricht-
 Von: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Im Auftrag 
 von Mike Mountain
 Gesendet: Montag, 8. Mai 2006 14:51
 An: Flashcoders mailing list
 Betreff: [Flashcoders] Fitting squares into an area
 
 Anyone got any script to cover the following problem:
 Given an area (x,y)  what's the best way of filling it with 
 'n' squares?
 Cheers
 M
___
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] Safari bug? Click doesn't register until mousemove

2006-05-08 Thread Danny Kodicek
I've done a quick google and haven't seen this, but it's hard to know where 
exactly to look as all the words involved are so common. Anyone seen a bug 
where a mousedown isn't registered until the mouse is moved? This is only 
happening in Safari - tested in Firefox, IE/Mac and IE/Win with no problems. 
The movie is running through Director, although my instinct is that an issue 
like this is probably at a lower level than Director / Flash.


I have a nagging feeling I've seen a discussion of this, but I can't 
remember where or if it was resolved.


Danny

___
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] Safari bug? Click doesn't register until mousemove

2006-05-08 Thread Helen Triolo
Sounds a bit like the problem you can get when mixing regular movieclips 
with v2 components --  focusManager won't give movieclips focus if 
they're clicked twice in succession, so their onRelease won't trigger 
the second time unless the mouse is moved between clicks -- workaround 
is to add  Selection.setFocus(this); to the movieclip's onRelease 
handler.  But I think that problem would show up in all browsers, not 
just Safari, so not sure if it's really related.


Helen

--
http://flash-creations.com
http://i-technica.com



Danny Kodicek wrote:

I've done a quick google and haven't seen this, but it's hard to know 
where exactly to look as all the words involved are so common. Anyone 
seen a bug where a mousedown isn't registered until the mouse is 
moved? This is only happening in Safari - tested in Firefox, IE/Mac 
and IE/Win with no problems. The movie is running through Director, 
although my instinct is that an issue like this is probably at a lower 
level than Director / Flash.


I have a nagging feeling I've seen a discussion of this, but I can't 
remember where or if it was resolved.


Danny





___
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] System.as error ?

2006-05-08 Thread Tyler Wright

I've also had this error, several times. It's simply a Flash IDE bug --

Save your work, close and restart Flash, and the error will go away.

Tyler

On 5/8/06, MBDI ICSC Rodrigo E. Curiel Salazar [EMAIL PROTECTED] wrote:


I am working on a local drive,

I have some classes, in them I have this:

code
this.resX = System.capabilities.screenResolutionX;
/code

but I don't think that's the problem, since I remove this line, but I have
the same error


On 5/8/06, Jim Tann [EMAIL PROTECTED] wrote:

 I have had trouble with this kind of thing when working on a network
 drive. Are you working on one? Can you switch to a local drive?

 Jim

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of MBDI
 ICSC Rodrigo E. Curiel Salazar
 Sent: 08 May 2006 11:28
 To: Flashcoders mailing list
 Subject: [Flashcoders] System.as error ?

 Hi, I have a issue here, I don't have a clue of what's happening, when I
 test my movie in flash, everything goes well, but if I clear the ASO and
 test the movie, I get the following error:


  **Error** C:\...\System.as: Line 5: The name of this class, 'System',
  conflicts with the name of another class that was loaded.
   intrinsic class System {
 
  Total ActionScript Errors: 1   Reported Errors: 1
 
 But, if I remove the System.useCodepage = true; no error is displayed, I
 don't know what to do, any ideas ?

 Thanks,

 Rodrigo
 ___
 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 Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] System.as error ?

2006-05-08 Thread MBDI ICSC Rodrigo E. Curiel Salazar

I have just restarted Flash and the error is gone, thanks Tyler !


On 5/8/06, Tyler Wright [EMAIL PROTECTED] wrote:


I've also had this error, several times. It's simply a Flash IDE bug --

Save your work, close and restart Flash, and the error will go away.

Tyler

On 5/8/06, MBDI ICSC Rodrigo E. Curiel Salazar [EMAIL PROTECTED] wrote:

 I am working on a local drive,

 I have some classes, in them I have this:

 code
 this.resX = System.capabilities.screenResolutionX;
 /code

 but I don't think that's the problem, since I remove this line, but I
have
 the same error


 On 5/8/06, Jim Tann [EMAIL PROTECTED] wrote:
 
  I have had trouble with this kind of thing when working on a network
  drive. Are you working on one? Can you switch to a local drive?
 
  Jim
 
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] On Behalf Of MBDI
  ICSC Rodrigo E. Curiel Salazar
  Sent: 08 May 2006 11:28
  To: Flashcoders mailing list
  Subject: [Flashcoders] System.as error ?
 
  Hi, I have a issue here, I don't have a clue of what's happening, when
I
  test my movie in flash, everything goes well, but if I clear the ASO
and
  test the movie, I get the following error:
 
 
   **Error** C:\...\System.as: Line 5: The name of this class,
'System',
   conflicts with the name of another class that was loaded.
intrinsic class System {
  
   Total ActionScript Errors: 1   Reported Errors: 1
  
  But, if I remove the System.useCodepage = true; no error is displayed,
I
  don't know what to do, any ideas ?
 
  Thanks,
 
  Rodrigo
  ___
  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 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] Fitting squares into an area

2006-05-08 Thread Bernard Poulin

Probably this is not what you are looking for but:  If your maximum square
count is relatively low then you could use some kind of brute-force
technique where you could try different cases. This might be the only way
if the squares are actually rectangles (i.e.
images) with varying ratios: that way, each line could have a different
height to maximize the screen space. But that's probably OT... :)

My 0.02 $
B.

2006/5/8, Mike Mountain [EMAIL PROTECTED]:


All my squares need to be the same size - so for example what's the best
way of laying out 'n' equal squares in an areas x,y so the squares are as
big as they can be. There must be an algo for this kind of thing.

M

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf
 Of Kerem Gülensoy
 Sent: 08 May 2006 13:59
 To: 'Flashcoders mailing list'
 Subject: AW: [Flashcoders] Fitting squares into an area

 you could divide the area, divide one half again, divide the
 other half, and so on...n-times...

 cheers | kerem

 -Ursprüngliche Nachricht-
 Von: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Im Auftrag
 von Mike Mountain
 Gesendet: Montag, 8. Mai 2006 14:51
 An: Flashcoders mailing list
 Betreff: [Flashcoders] Fitting squares into an area

 Anyone got any script to cover the following problem:
 Given an area (x,y)  what's the best way of filling it with
 'n' squares?
 Cheers
 M
___
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] no rollovers when mousebutton is pressed

2006-05-08 Thread Michael Stuhr
is this true ? while holding down the mouse, there's no rollover anymore, even the dragOver 
doesn't respond ?


here's my test:

CODE
function drawRect (c:MovieClip) {
c.lineStyle (0, 0x0, 0);
c.beginFill (0xF1, 100);
c.lineTo (30, 0);
c.lineTo (30, 30);
c.lineTo (0, 30);
c.lineTo (0, 0);
c.endFill ();
}


for (var i = 0; i  10; i++)
{
var c = this.createEmptyMovieClip ('foo_' + i, i);
c._alpha = 20;
c._x = i*30;
drawRect(c);

c.onRollOver = function () {
trace (this) // traces only when c has already been 'pressed'
this._alpha = 100
}
c.onRollOut = function () {
this._alpha = 20
}
c.onPress = function () {
trace(this)
}
c.onRelease = function () {
trace(this)
}
c.onDragOver = function () {
trace (this) // traces only when c has already been 'pressed'
this._alpha = 100
}

}

/CODE


any workarounds here ?

micha
___
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] no rollovers when mousebutton is pressed

2006-05-08 Thread eric dolecki

mouseMove  hitTest I guess

On 5/8/06, Michael Stuhr [EMAIL PROTECTED] wrote:


is this true ? while holding down the mouse, there's no rollover anymore,
even the dragOver
doesn't respond ?

here's my test:

CODE
function drawRect (c:MovieClip) {
c.lineStyle (0, 0x0, 0);
c.beginFill (0xF1, 100);
c.lineTo (30, 0);
c.lineTo (30, 30);
c.lineTo (0, 30);
c.lineTo (0, 0);
c.endFill ();
}


for (var i = 0; i  10; i++)
{
var c = this.createEmptyMovieClip ('foo_' + i, i);
c._alpha = 20;
c._x = i*30;
drawRect(c);

c.onRollOver = function () {
trace (this) // traces only when c has already been
'pressed'
this._alpha = 100
}
c.onRollOut = function () {
this._alpha = 20
}
c.onPress = function () {
trace(this)
}
c.onRelease = function () {
trace(this)
}
c.onDragOver = function () {
trace (this) // traces only when c has already been
'pressed'
this._alpha = 100
}

}

/CODE


any workarounds here ?

micha
___
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] Fitting squares into an area

2006-05-08 Thread Danny Kodicek
This seemed like a really simple problem when I first looked at it, but 
actually I think it's pretty subtle. I don't know about a standard 
algorithm, but here's my take:


I think your best option, as Bernard said, is a brute force technique. 
Here's the algorithm I'd use (probably could be optimised a bit):


function squareWidth (x, y, N) {
   var p = 1
   var q = 1
   var w1 = x
   var w2 = y
   var nextW1 = x/2
   var nextW2 = y/2
   while (true) {
   var numSquares = p*q
   var currWidth = Math.min(w1,w2)
   if (numSquares = N) {return currWidth}
   if (nextW1nextW2) {
   p++
   w1 = nextW1
   nextW1 = x/(p+1)
   } else {
   q++
   w2 = nextW2
   nextW2 = x/(p+2)
   }
   }
}

Best
Danny


- Original Message - 
From: Mike Mountain [EMAIL PROTECTED]

To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Monday, May 08, 2006 2:02 PM
Subject: RE: [Flashcoders] Fitting squares into an area


All my squares need to be the same size - so for example what's the best way 
of laying out 'n' equal squares in an areas x,y so the squares are as big as 
they can be. There must be an algo for this kind of thing.


M


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf
Of Kerem Gülensoy
Sent: 08 May 2006 13:59
To: 'Flashcoders mailing list'
Subject: AW: [Flashcoders] Fitting squares into an area

you could divide the area, divide one half again, divide the
other half, and so on...n-times...

cheers | kerem

-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Im Auftrag
von Mike Mountain
Gesendet: Montag, 8. Mai 2006 14:51
An: Flashcoders mailing list
Betreff: [Flashcoders] Fitting squares into an area

Anyone got any script to cover the following problem:
Given an area (x,y)  what's the best way of filling it with
'n' squares?
Cheers
M

___
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] no rollovers when mousebutton is pressed

2006-05-08 Thread Ian Thomas

is onDragOut() useful to you?

Ian

On 5/8/06, Michael Stuhr [EMAIL PROTECTED] wrote:

is this true ? while holding down the mouse, there's no rollover anymore, even 
the dragOver
doesn't respond ?

___
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] Text Aloud and Voice Narration for Flash Projects

2006-05-08 Thread Loren R. Elks
Hi:

We have tried Text Aloud to develop narration for our eLearning and
Blended Learning projects in Flash.  If you are not familiar with Text
Aloud, it is located at:  http://www.nextup.com/ .  This program enables
you to enter text and have a voice give you narration for it.

However, we are finding that we need a program that will allow us to
better fine tune inflections and the pronunciation of words.  We have a
budget of around $1K for this new software, if necessary.

Also, multiple users will be using this software in the department, so
if you are aware of a program that supports a pronunciation glossary for
multiple users that would be great.

Please reply to the list and email me directly, if you have
recommendations.


Sincerely,
Loren
[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] no rollovers when mousebutton is pressed

2006-05-08 Thread Michael Stuhr

eric dolecki schrieb:

mouseMove  hitTest I guess


yupp, but that's ugly as hell! You see i wanted to mimic a range selection like gCal (google 
calendar it is i believe) has one.


i can do that with hitTest ‚fairly‘ simple, but heh - just some extra hits for 
the CPU i guess.

thanks for clarification eric.

micha


___
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] no rollovers when mousebutton is pressed

2006-05-08 Thread Roman Hippler
try
c.trackAsMenu = true;

Roman

- Original Message - 
From: Michael Stuhr [EMAIL PROTECTED]
To: flashcoders@chattyfig.figleaf.com
Sent: Monday, May 08, 2006 4:12 PM
Subject: [Flashcoders] no rollovers when mousebutton is pressed


 is this true ? while holding down the mouse, there's no rollover anymore,
even the dragOver
 doesn't respond ?

 here's my test:

 CODE
 function drawRect (c:MovieClip) {
 c.lineStyle (0, 0x0, 0);
 c.beginFill (0xF1, 100);
 c.lineTo (30, 0);
 c.lineTo (30, 30);
 c.lineTo (0, 30);
 c.lineTo (0, 0);
 c.endFill ();
 }


 for (var i = 0; i  10; i++)
 {
 var c = this.createEmptyMovieClip ('foo_' + i, i);
 c._alpha = 20;
 c._x = i*30;
 drawRect(c);

 c.onRollOver = function () {
 trace (this) // traces only when c has already been 'pressed'
 this._alpha = 100
 }
 c.onRollOut = function () {
 this._alpha = 20
 }
 c.onPress = function () {
 trace(this)
 }
 c.onRelease = function () {
 trace(this)
 }
 c.onDragOver = function () {
 trace (this) // traces only when c has already been 'pressed'
 this._alpha = 100
 }

 }

 /CODE


 any workarounds here ?

 micha
 ___
 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] no rollovers when mousebutton is pressed

2006-05-08 Thread Michael Stuhr

Ian Thomas schrieb:

is onDragOut() useful to you?


„you can keep it foryourself, if you have any needs for that one my dear“ :-)

well, actually no. sorry. See if dragOver doesn't respond, why should dragOut ? Wouldn't 
make much sense to me.


micha

___
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] Extending TextArea (IDataRenderer?)

2006-05-08 Thread Joshua Graham
I'm looking to extend the TextArea component to support inline  
images. htmlText isn't sufficient due to it's inability to  
appropriately position the images.


I have created a custom textarea component to extend TextArea...  
works great... but I'm really at a loss from here.


I've been looking at IDataRenderer, and it looks like it might be  
part of what I'm looking for, but I'm really not positive, the  
documentation leaves a bit to be desired.


I would really appreciate any information you may have.

Thank you,

Joshua Graham
[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] no rollovers when mousebutton is pressed

2006-05-08 Thread eric dolecki

Why not do something like this (if you're doing google calendar thing):

mouseDown, you start to record mouse position, using drawAPI or actually
highlight your time blocks), then onMouseUp you check to see what the range
was, etc. etc.


On 5/8/06, Michael Stuhr [EMAIL PROTECTED] wrote:


Ian Thomas schrieb:
 is onDragOut() useful to you?

„you can keep it foryourself, if you have any needs for that one my dear
:-)

well, actually no. sorry. See if dragOver doesn't respond, why should
dragOut ? Wouldn't
make much sense to me.

micha

___
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] Fitting squares into an area

2006-05-08 Thread Danny Kodicek
Hold the phone: quick test shows there's something wrong with this. Give me 
a couple of minutes...


Danny

- Original Message - 
From: Danny Kodicek [EMAIL PROTECTED]

To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Monday, May 08, 2006 3:37 PM
Subject: Re: [Flashcoders] Fitting squares into an area


This seemed like a really simple problem when I first looked at it, but
actually I think it's pretty subtle. I don't know about a standard
algorithm, but here's my take:

I think your best option, as Bernard said, is a brute force technique.
Here's the algorithm I'd use (probably could be optimised a bit):

function squareWidth (x, y, N) {
   var p = 1
   var q = 1
   var w1 = x
   var w2 = y
   var nextW1 = x/2
   var nextW2 = y/2
   while (true) {
   var numSquares = p*q
   var currWidth = Math.min(w1,w2)
   if (numSquares = N) {return currWidth}
   if (nextW1nextW2) {
   p++
   w1 = nextW1
   nextW1 = x/(p+1)
   } else {
   q++
   w2 = nextW2
   nextW2 = x/(p+2)
   }
   }
}

Best
Danny


- Original Message - 
From: Mike Mountain [EMAIL PROTECTED]

To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Monday, May 08, 2006 2:02 PM
Subject: RE: [Flashcoders] Fitting squares into an area


All my squares need to be the same size - so for example what's the best way
of laying out 'n' equal squares in an areas x,y so the squares are as big as
they can be. There must be an algo for this kind of thing.

M


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf
Of Kerem Gülensoy
Sent: 08 May 2006 13:59
To: 'Flashcoders mailing list'
Subject: AW: [Flashcoders] Fitting squares into an area

you could divide the area, divide one half again, divide the
other half, and so on...n-times...

cheers | kerem

-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Im Auftrag
von Mike Mountain
Gesendet: Montag, 8. Mai 2006 14:51
An: Flashcoders mailing list
Betreff: [Flashcoders] Fitting squares into an area

Anyone got any script to cover the following problem:
Given an area (x,y)  what's the best way of filling it with
'n' squares?
Cheers
M

___
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] no rollovers when mousebutton is pressed

2006-05-08 Thread Michael Stuhr

Roman Hippler schrieb:

try
c.trackAsMenu = true;


::grumbles like gimley::
hmpff! but that still counts as one!

micha
___
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] Fitting squares into an area

2006-05-08 Thread Danny Kodicek
Just some stupid typos. Revised is: 


function squareWidth (x, y, N) {
   var p = 1
   var q = 1
   var w1 = x
   var w2 = y
   var nextW1 = x/2
   var nextW2 = y/2
   while (true) {
   var numSquares = p*q
   var currWidth = Math.min(w1,w2)
   if (numSquares = N) {return currWidth}
   if (nextW1nextW2) {
   p++
   w1 = nextW1
   nextW1 = x/(p+1)
   } else {
   q++
   w2 = nextW2
   nextW2 = y/(q+1)
   }
   }
}

Best
Danny

___
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] no rollovers when mousebutton is pressed

2006-05-08 Thread Michael Stuhr

eric dolecki schrieb:

Why not do something like this (if you're doing google calendar thing):

mouseDown, you start to record mouse position, using drawAPI or actually
highlight your time blocks), then onMouseUp you check to see what the range
was, etc. etc.


Roman already hit the nail!

no need for defacing our experience anymore :-)

micha
___
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] no rollovers when mousebutton is pressed

2006-05-08 Thread eric dolecki

whatever dude... sorry for defacing your experience...

On 5/8/06, Michael Stuhr [EMAIL PROTECTED] wrote:


eric dolecki schrieb:
 Why not do something like this (if you're doing google calendar thing):

 mouseDown, you start to record mouse position, using drawAPI or actually
 highlight your time blocks), then onMouseUp you check to see what the
range
 was, etc. etc.

Roman already hit the nail!

no need for defacing our experience anymore :-)

micha
___
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] obfuscation swf !

2006-05-08 Thread John Hattan
I wrote up a review here.

http://www.gamedev.net/features/reviews/productreview.asp?categoryid=35prod
uctid=565

A couple of the commentors talked about how it's absolute crap, but I
haven't yet found a SWF-decryptor that can bring the encrypted SWF back to
something resembling its original form.

I probably should've embedded some hidden source-code and challenged the
naysayers to present it to me :) 

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf 
 Of Bart Wttewaall
 Sent: Sunday, May 07, 2006 7:10 AM
 To: Flashcoders mailing list
 Subject: Re: [Flashcoders] obfuscation swf !
 
 http://www.amayeta.com/software/swfencrypt/
 This doesn't obfuscate, but really encrypt your swf's. I've 
 tried every swf decoder I could find to check if it works, 
 and it does. All you get is rubbish when decompiling.
 
 2006/5/7, [EMAIL PROTECTED] [EMAIL PROTECTED]:
  Is there any good way or method for obfuscation a Flash 
 file so that 
  swf works fine after obfuscation and also prevent any one to 
  understand the code easily . Few common softwares for 
 obfuscation are 
  just not that good as swf stops working after using them . 
 Of if not 
  obfuscation is there any other method to prevent swf to be 
 decompiled 
  to fla . help will be really appreciate .
 
  Thx
 
  Max
 
 
 
  
  mail2web - Check your email from the web at http://mail2web.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 Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Fitting squares into an area

2006-05-08 Thread Steve Webster

Mike,

All my squares need to be the same size - so for example what's the  
best way of laying out 'n' equal squares in an areas x,y so the  
squares are as big as they can be. There must be an algo for this  
kind of thing.



I might be being a little stupid, but since it's a square, and since  
width x height = height x width, why not just:


// Calculate max area of each square
var area:Number = Math.floor((x * y) / n);

// Calculate side length from area
var sideLength:Number = Math.sqrt(area);


PS. It is Monday, so forgive me if the above doesn't work.

--
Steve Webster
Head of Development

Featurecreep Ltd.
http://www.featurecreep.com
14 Orchard Street, Bristol, BS1 5EH
0117 905 5047


___
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] Fitting squares into an area

2006-05-08 Thread Bernard Poulin

Aaaah, the Monday-effect: Yes, in fact: the problem with Steve's algorithm
is that the squares will almost never entirely fill the area. There will
always be empty gaps at every line / column and/or the last line will not be
filled completely.

If you have 5 squares to fill for example, there will be some space lost
somewhere. Unless it exactly fits a 5x1 or 1x5 ratio.

Danny:  I do not understand your algorithm - could you shed some more
(high-level) light on what it is doing?

hey! this is actually fun! I love these little algorithms.

To compute the square size:  I am thinking that we should work with the area
ratio somehow. Just to be sure I understand what you want:

I am assuming that this is showing a list of things and that it is okay
that the last line has less items. If the area is width=305 height=400 and N
is 10,  it will result in square size is 100 -- the first 2 lines will be
almost full (5 pixels gap on each line) and the last line is 1/3 full.
Visually:

1   2   3
4   5   6
7   8   9
10   -   -

Here we are showing a 3x4 rectangle which is the best ratio to fit 10
squares in 305x400.

...is this what you are looking for?

B.


2006/5/8, Steve Webster [EMAIL PROTECTED]:


Mike,

 All my squares need to be the same size - so for example what's the
 best way of laying out 'n' equal squares in an areas x,y so the
 squares are as big as they can be. There must be an algo for this
 kind of thing.


I might be being a little stupid, but since it's a square, and since
width x height = height x width, why not just:

// Calculate max area of each square
var area:Number = Math.floor((x * y) / n);

// Calculate side length from area
var sideLength:Number = Math.sqrt(area);


PS. It is Monday, so forgive me if the above doesn't work.

--
Steve Webster
Head of Development

Featurecreep Ltd.
http://www.featurecreep.com
14 Orchard Street, Bristol, BS1 5EH
0117 905 5047


___
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] obfuscation swf !

2006-05-08 Thread Burak KALAYCI

Hi John,

I wouldn't say SWF Encrypt is absolute crap - though it took just minutes 
for us to bypass their initial 3.0 version.


As per requests from our customers, we have been deliberately not bypassing 
it (but we gave no promises).


Recently, it turned out it broke some of our applications (namely UAE and 
ASR) because our software does not preserve the tag order when saving a SWF 
file and the obfuscation moves real actionscript bytecode to other tags. We 
had to move the scripts back and though we didn't add even a single line of 
code to bypass the obfuscation, it turned out some of the scripts can now be 
decompiled. I'm sure SWF Encrypt guys can fix this quickly (or they already 
may have) because we are not actively trying to bypass the obfuscation.


Current release version of ASR can show the script in fish_secure.swf, with 
the right options selected. We will have the same option with the ASV update 
(as it also uses the same decompiler engine), which will be released in 10 
days (We hope to have it released by ASVs 6th anniversary - May 16).


I'd agree that SWF Encrypt is currently a good choice.. But, one must not 
depend on it too much.


Also, I'd suggest identifier renaming ( like 
http://www.genable.com/asolite.html ) in addition to any other obfuscation, 
as it will be non-reversible even in theory. It may require more work and 
care but I think it's worth it.


Best regards,
Burak
www.asvguy.com

Burak KALAYCI, Manitu Group
http://www.buraks.com
http://www.manitugroup.com


- Original Message - 
From: John Hattan [EMAIL PROTECTED]

To: 'Flashcoders mailing list' flashcoders@chattyfig.figleaf.com
Sent: Monday, May 08, 2006 18:36 PM
Subject: RE: [Flashcoders] obfuscation swf !



I wrote up a review here.

http://www.gamedev.net/features/reviews/productreview.asp?categoryid=35prod
uctid=565

A couple of the commentors talked about how it's absolute crap, but I
haven't yet found a SWF-decryptor that can bring the encrypted SWF back to
something resembling its original form.

I probably should've embedded some hidden source-code and challenged the
naysayers to present it to me :)



___
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] Fitting text characters to an area

2006-05-08 Thread Flash Mel

This is similar to the thread about fitting boxes to an area.
I've got this:

MovieClip.prototype.FadeIn = function() {
   this._alpha = randomBetween(-200, 0);
   this.onEnterFrame = function() {
   if (this._alpha  100) {
   this._alpha += 10;
   }
   };
};
function randomBetween(a, b) {
   return Math.min(a, b) + random(Math.abs(a - b) + 1);
}
var textMessage = Very long string here.  Pellentesque habitant morbi
tristique senectus et netus et malesuada fames ac turpis egestas. Nulla
ullamcorper. Praesent nunc nisi, lacinia at, mattis eget, blandit a, lacus.
Praesent vel lacus vitae ante vulputate auctor. Class aptent taciti sociosqu
ad litora torquent per conubia nostra, per inceptos hymenaeos. Duis velit.
Proin cursus mi ac erat. Nunc vel purus. Morbi mauris. Vivamus mauris.
Vestibulum posuere interdum nunc. Sed ac ante sed nulla tempus adipiscing.;
var positioning = 60;
var letterSpacing = 30;
for (i = 0; i  textMessage.length; i++) {
   var mc = textToDuplicate.duplicateMovieClip(letterDuplicate + i, i);
   mc._x = positioning;
   mc.WhatLetter = textMessage.charAt(i);
   mc.FadeIn();
   positioning += letterSpacing;
}

Works fine if it's one line, but how to make this wrap in a give area?  Is
it possible to adapt the code given for the previous question of how to fit
squares in an area?


Thanks much.

fM.
___
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] dataGrid custom cellRender with image of external image?

2006-05-08 Thread grimmwerks

Hey all - I'm trying to script a custom cellrender with a datagrid;
I'm successfully passing in the local file path of an external file,
but this filepath won't work in a cellrender -- either as a loadmovie
or as a Loader contentPath -- yet the same loadMovie works outside of
a cellRender with no problems...

I'm basically trying to do a file listing app that shows a preview of
an image that is external to the application...can't figure out why it
won't work in a dataGrid.

Any thoughts?
___
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] Image Transitions

2006-05-08 Thread Mandongo

anybody know of a code depository for image transitions?


thanks,
M.
___
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] Fitting squares into an area

2006-05-08 Thread Danny Kodicek
Danny:  I do not understand your algorithm - could you shed some more
(high-level) light on what it is doing?

Sure. The idea is that the optimal size will always be an exact fraction of
either the width or the height. So what we do is drop down by multiples of
these until we get to the first size that will contain N or more squares. At
any particular width, we keep track of the two 'next-smallest' widths and
drop down to the largest of these. Run through the algorithm with a few
sample numbers and it should make sense.

It may be that there's a more algebraic approach. The problem is, though,
that there is no simple relationship between floor(x), floor(y) and
floor(xy), which would be needed to come up with any truly useful solution.
In the end, it turns into quite a complex optimisation problem, and given
that the brute force algorithm is actually pretty fast, it hardly seems
worth the effort :)

Danny

___
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] Fitting text characters to an area

2006-05-08 Thread Danny Kodicek
Works fine if it's one line, but how to make this wrap in a give area?  Is
it possible to adapt the code given for the previous question of how to fit
squares in an area?

Sure, as long as the text is monospaced (it looks like yours is). My
algorithm will work just fine (with a tiny adaptation to make the x- and
y-spacing values different), but you'll have to do a bit more work if you
want word wrap. You might find it easier to composite the text ofscreen
using a monospaced font in a textArea of the appropriate size, then match
them up using textHeight.

Danny

___
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] ads inside a SWF

2006-05-08 Thread John Dowdell

Mike Lyda wrote:

I'd like to include ads (Google ads) inside of a SWF..   with hopes of having
the SWF end up on other sites.  But is this u legal with Google?  And has
someone already done something similar?


I don't know the details of how Google serves and tracks, but I do know 
they include SWF ads now, but loading this in dynamically raises 
cross-site issues too.


(You might be looking at different situations -- a one-time include of a 
particular ad might be different from using a shell SWF as a client for 
Google SWF ads.)


jd




--
John Dowdell . Adobe Developer Support . San Francisco CA USA
Weblog: http://weblogs.macromedia.com/jd
Aggregator: http://weblogs.macromedia.com/mxna
Technotes: http://www.macromedia.com/support/
Spam killed my private email -- public record is best, 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] quick xml question

2006-05-08 Thread Flash guru

Hey all,

Can anyone point me in the right direction of how to save an xml doc from
flash.
___
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] quick xml question

2006-05-08 Thread Mike Boutin

You could use php to write an xml file.

Flash guru wrote:

Hey all,

Can anyone point me in the right direction of how to save an xml doc from
flash.
___
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] quick xml question

2006-05-08 Thread eric dolecki

http://chattyfig.figleaf.com/pipermail/flashcoders/

On 5/8/06, Flash guru [EMAIL PROTECTED] wrote:


Hey all,

Can anyone point me in the right direction of how to save an xml doc from
flash.
___
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] quick xml question

2006-05-08 Thread Merrill, Jason
You could also use .Net or ColdFusion or

Jason Merrill   |   E-Learning Solutions   |  ICF International




-Original Message-
From: [EMAIL PROTECTED] [mailto:flashcoders-
[EMAIL PROTECTED] On Behalf Of Mike Boutin
Sent: Monday, May 08, 2006 4:42 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] quick xml question

You could use php to write an xml file.

Flash guru wrote:
 Hey all,

 Can anyone point me in the right direction of how to save an xml doc
from
 flash.
 ___
___
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] quick xml question

2006-05-08 Thread Thomas Fowler

You could construct the XML doc on the fly in Flash and have the user copy
and paste the XML to a new file. They could upload the new file to the
server if that's what you need to do. As far as writing to the file system
goes, I don't think you'll have much luck.

Thomas

On 5/8/06, Mike Boutin [EMAIL PROTECTED] wrote:


You could use php to write an xml file.

Flash guru wrote:
 Hey all,

 Can anyone point me in the right direction of how to save an xml doc
from
 flash.
 ___
 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] quick xml question

2006-05-08 Thread Adrian Lynch
... you could email it to me along with a cheque for ?1000 and I will hand
stitch it into a piece of felt, take a picture of it and email you a jpeg!

Oh come on, don't tell me you're not tempted! :OD

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Merrill,
Jason
Sent: 08 May 2006 21:44
To: Flashcoders mailing list
Subject: RE: [Flashcoders] quick xml question


You could also use .Net or ColdFusion or

Jason Merrill

___
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] quick xml question

2006-05-08 Thread Tom Lee
This is a pretty general question... The right direction depends a lot on
what you're going to do with the data, and what you mean by save.

For example, you can save small amounts of xml in a SharedObject on the
user's computer.  Only that user's computer would have access to the data.

If you are creating a standalone application, the term save has a
completely different meaning.  If you want Flash to spawn a file save dialog
and allow you to create an XML file somewhere on your computer, you'll need
to look at some third party add-on software (check out
www.multidmedia.com/software/zinc).

If you want to save the XML data to a server, you will need to have a
server-side script (ASP, PHP, ColdFusion, etc) that can accept the data and
write the file.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Flash guru
Sent: Monday, May 08, 2006 4:38 PM
To: Flashcoders mailing list
Subject: [Flashcoders] quick xml question

Hey all,

Can anyone point me in the right direction of how to save an xml doc from
flash.
___
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] Safari bug? Click doesn't register until mousemove

2006-05-08 Thread David Cohn

Sounds similar to something I may have reported (I can't remember).

I've got a button that issues an XML.sendAndLoad
I see the button triggered on mousedown, but I never get the response  
until the mouse moves.

(However, this happens in authoring)

I can work around this by using a setInterval, but it's tedious...  
there's gotta be a better solution out there!

Let me know if you resolve it...

Thanks,
--Dave





I've done a quick google and haven't seen this, but it's hard to  
know where
exactly to look as all the words involved are so common. Anyone  
seen a bug
where a mousedown isn't registered until the mouse is moved? This  
is only
happening in Safari - tested in Firefox, IE/Mac and IE/Win with no  
problems.
The movie is running through Director, although my instinct is that  
an issue

like this is probably at a lower level than Director / Flash.

I have a nagging feeling I've seen a discussion of this, but I can't
remember where or if it was resolved.

Danny


___
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] Unity vs Flashcom for chat and messaging

2006-05-08 Thread Scott Hyndman
I think that there is still valuable early work to be done on a port to C#, 
including feasibility studies.

As I recall, Red5 leverages Spring. I know Spring.net exists, but it would be 
useful to find out how closely they resemble each other.

I would also imagine the underlying Red5 framework is (mostly) set, so you 
could start from a high-level and just work down.

Scott


-Original Message-
From:   [EMAIL PROTECTED] on behalf of Lee McColl-Sylvester
Sent:   Mon 5/8/2006 3:48 AM
To: Flashcoders mailing list
Cc: 
Subject:RE: [Flashcoders] Unity vs Flashcom for chat and messaging

I'm one of those.  A port of Red5 to C# is a must, but there's no way
I'd even consider starting the project until Red5 matures to at least
0.6, though tbh, I'm likely to wait til 0.9 - 1rc1.  Red5 is being
developed at such a staggering pace, that porting to C# at this stage
would be pointless and just create more work in the long run.

Lee




-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Chris
Allen
Sent: 08 May 2006 02:46
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Unity vs Flashcom for chat and messaging

Hi Weyert,

A .NET version will more than likely be built once the Java version is
more stable. There are quite a few people interested in seeing it
happen and are actually going to work on it; I believe it's just a
matter of time. If you are interested in helping with the .NET version
of Red5, please join our mailing list and let everyone know there.

-Chris

On 5/7/06, Weyert de Boer [EMAIL PROTECTED] wrote:
  We are also planning on adding JavaScript, Ruby, Python, and other
  scripting languages  so that the Red5 API is accessible through
these
  as well. That should be out in the 0.7 release. Please take a look
at
  our roadmap if you are interested in the current and proposed
  features: http://osflash.org/red5/roadmap

 Suppor tfor the dot net platform would be nice, so that you can use
any of
 the available .NET languages to access the Red5 API. As far as I know
this
 isn't possible yet by the current version, I think is more interesting
 then supporting Ruby etc.

 Yours,

 Weyert de Boer ([EMAIL PROTECTED])
 innerfuse*

 http://www.innerfuse.biz/
 ___
 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 Training
http://www.figleaf.com
http://training.figleaf.com

Re: [Flashcoders] How to embed the Flash Player in a desktop application

2006-05-08 Thread John Dowdell

Chris Velevitch wrote:

While ago, someone mentioned how easy it is to write a C++ wrapper to
create a desktop application with Flash as the UI. According to the
documentation, The ExternalInterface class ... lets you easily
communicate from ActionScript and the Flash Player container ... to a
desktop application that embeds Flash Player. I've been trying to
find information on how to do this. In particular, what is it (ie the
name and location of the file) you're embedding (especially when
writting a cross platform app) and what is it's API.


I'm not sure I'm guessing the right question here, but if it's Which of 
the browser APIs does Flash Player's 'externalInterface' call into?, 
then it's Microsoft's ActiveX Scripting host routines, and the NPRuntime 
API for plugin-using browsers:

http://www.mozilla.org/projects/plugins/npruntime.html

If you can emulate either the first (for system-level ActiveX 
invocations) or the second (for application-level NSPlugin invocations) 
then your own C++ app should be able to communicate with the Player. But 
I'm not sure whether you're writing your own C++ app, there were a bunch 
of sentences, but I'm not sure what is being sought.


jd




--
John Dowdell . Adobe Developer Support . San Francisco CA USA
Weblog: http://weblogs.macromedia.com/jd
Aggregator: http://weblogs.macromedia.com/mxna
Technotes: http://www.macromedia.com/support/
Spam killed my private email -- public record is best, 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] Casting a string to a number ...

2006-05-08 Thread Stephen Ford
A couple of times I have tried to cast a string to a number like so (this is 
just an example):
 
var string:String = 9;trace(string);var number:Number = 
Number(string);trace(number);trace(typeof(number));
 
It seems to work, but is this the correct way to cast.
 
Thanks,
Stephen.___
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 a string to a number ...

2006-05-08 Thread Ramon Miguel M. Tayag

You can use parseInt

number = parseInt(string);

--
Ramon Miguel M. Tayag
Managing Director
Quirkworks
___
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 a string to a number ...

2006-05-08 Thread Thomas Fowler

parseInt is the preferred way to get a number from a string.

On 5/8/06, Ramon Miguel M. Tayag [EMAIL PROTECTED] wrote:


You can use parseInt

number = parseInt(string);

--
Ramon Miguel M. Tayag
Managing Director
Quirkworks
___
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] Casting a string to a number ...

2006-05-08 Thread Scott Hyndman
or parseFloat() for floating point numbers.

Scott

-Original Message-
From:   [EMAIL PROTECTED] on behalf of Thomas Fowler
Sent:   Mon 5/8/2006 8:24 PM
To: Flashcoders mailing list
Cc: 
Subject:Re: [Flashcoders] Casting a string to a number ...

parseInt is the preferred way to get a number from a string.

On 5/8/06, Ramon Miguel M. Tayag [EMAIL PROTECTED] wrote:

 You can use parseInt

 number = parseInt(string);

 --
 Ramon Miguel M. Tayag
 Managing Director
 Quirkworks
 ___
 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] How to embed the Flash Player in a desktopapplication

2006-05-08 Thread Tom Lee
Chris, 

I think what you're getting at is How do I create a C++ application that
embeds the Flash Player, and how can the embedded Flash Player communicate
with the C++ application?.

Mike Chambers wrote a terrific article on the subject (his was written in
C#), but the DevNet Resource Kit it was a part of is no longer available.
The article is still up for legacy purposes though:
http://www.adobe.com/devnet/flash/articles/stock_history.html

Basically, you embed the Flash Player ActiveX control in your application,
and then there's an API exposed through the ActiveX control.  Here's a page
that details the methods and events exposed by the Flash Player ActiveX
control scripting interface:
http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_12059

Here's a PDF about how to write applications in VB which embed the Flash
Player: 
http://www.adobe.com/devnet/flash/articles/flash_vb.pdf

And, for your reference, Mike's blog post, which is result #1 when you
Google Embed Flash Player in C++ app:
http://weblogs.macromedia.com/mesh/archives/2003/07/embedding_flash.html

Hope that helps!

-tom

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of John Dowdell
Sent: Monday, May 08, 2006 6:38 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] How to embed the Flash Player in a
desktopapplication

Chris Velevitch wrote:
 While ago, someone mentioned how easy it is to write a C++ wrapper to
 create a desktop application with Flash as the UI. According to the
 documentation, The ExternalInterface class ... lets you easily
 communicate from ActionScript and the Flash Player container ... to a
 desktop application that embeds Flash Player. I've been trying to
 find information on how to do this. In particular, what is it (ie the
 name and location of the file) you're embedding (especially when
 writting a cross platform app) and what is it's API.

I'm not sure I'm guessing the right question here, but if it's Which of 
the browser APIs does Flash Player's 'externalInterface' call into?, 
then it's Microsoft's ActiveX Scripting host routines, and the NPRuntime 
API for plugin-using browsers:
http://www.mozilla.org/projects/plugins/npruntime.html

If you can emulate either the first (for system-level ActiveX 
invocations) or the second (for application-level NSPlugin invocations) 
then your own C++ app should be able to communicate with the Player. But 
I'm not sure whether you're writing your own C++ app, there were a bunch 
of sentences, but I'm not sure what is being sought.

jd




-- 
John Dowdell . Adobe Developer Support . San Francisco CA USA
Weblog: http://weblogs.macromedia.com/jd
Aggregator: http://weblogs.macromedia.com/mxna
Technotes: http://www.macromedia.com/support/
Spam killed my private email -- public record is best, 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


Re: [Flashcoders] Unity vs Flashcom for chat and messaging

2006-05-08 Thread Chris Allen

Hey Scott,

Man I wish we could say that the underlying framework is set at this
moment, but actually we are working on refactoring the Streaming and
RTMP decoding and encoding stuff at this moment. There are also
probably improvements with the API that came out with this last
version. It's still most definitely a work in progress.

Spring .Net, from what I have read on the subject is a very close port
of the Java version. There is no version of MINA for .Net however, and
that probably wouldn't make much sense anyway, as their socket API is
way different than Java's. Anyway, we were suggesting that these guys
hold off until at least 0.6 before working on it. We would like to
make using the server on both platforms pretty much the same
experience, so it is important for us not to branch too much.

With this said, the feasibility studies make a whole lot of sense. If
anybody's got the time, go for it.

-Chris

On 5/8/06, Scott Hyndman [EMAIL PROTECTED] wrote:

I think that there is still valuable early work to be done on a port to C#, 
including feasibility studies.

As I recall, Red5 leverages Spring. I know Spring.net exists, but it would be 
useful to find out how closely they resemble each other.

I would also imagine the underlying Red5 framework is (mostly) set, so you 
could start from a high-level and just work down.

Scott


-Original Message-
From:   [EMAIL PROTECTED] on behalf of Lee McColl-Sylvester
Sent:   Mon 5/8/2006 3:48 AM
To: Flashcoders mailing list
Cc:
Subject:RE: [Flashcoders] Unity vs Flashcom for chat and messaging

I'm one of those.  A port of Red5 to C# is a must, but there's no way
I'd even consider starting the project until Red5 matures to at least
0.6, though tbh, I'm likely to wait til 0.9 - 1rc1.  Red5 is being
developed at such a staggering pace, that porting to C# at this stage
would be pointless and just create more work in the long run.

Lee




-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Chris
Allen
Sent: 08 May 2006 02:46
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Unity vs Flashcom for chat and messaging

Hi Weyert,

A .NET version will more than likely be built once the Java version is
more stable. There are quite a few people interested in seeing it
happen and are actually going to work on it; I believe it's just a
matter of time. If you are interested in helping with the .NET version
of Red5, please join our mailing list and let everyone know there.

-Chris

On 5/7/06, Weyert de Boer [EMAIL PROTECTED] wrote:
  We are also planning on adding JavaScript, Ruby, Python, and other
  scripting languages  so that the Red5 API is accessible through
these
  as well. That should be out in the 0.7 release. Please take a look
at
  our roadmap if you are interested in the current and proposed
  features: http://osflash.org/red5/roadmap

 Suppor tfor the dot net platform would be nice, so that you can use
any of
 the available .NET languages to access the Red5 API. As far as I know
this
 isn't possible yet by the current version, I think is more interesting
 then supporting Ruby etc.

 Yours,

 Weyert de Boer ([EMAIL PROTECTED])
 innerfuse*

 http://www.innerfuse.biz/
 ___
 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 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] Fitting squares into an area

2006-05-08 Thread Bernard Poulin

Wow!
I just tried your algorithm with my previous example numbers and it does
output the correct square size (100) - also, internally it has the right
number of columns/lines: e.g. 3x4 (p=3, q=4)  As for performance, it took 6
iterations: Since the output was 3x4, the number of iterations was (3 + 4 -
1) = 6. (it started at 1x1 and did 6 iterations: something like:  1x1, 1x2,
2x2, 2x3, 3x3, 3x4)

For N = 100, the number of iteration depends on the ratio: it could be
anywhere from 19 (10x10-1) to 100 iterations (worst case happens if the
output is a single line or a single column).  So that would make N
iterations (in worst cases) and ~2*SQRT(N)-1 best case.

I took the liberty of optimizing the method a little bit and renaming a few
internal variables to my personal liking. ;-)  -- I did not do any real
life testing on this. But it seems to work on paper.

/**
* computes the largest N square size (and layout) that can fit an area
(width,height).
*
* @return an Object containing 'squareSize' and the number of 'cols' and
'rows'.
*
* 98% of the credits goes to Danny Kodicek
*/
function computeLargestSquareSizeAndLayout(width:Number, height:Number,
Nsquares:Number): Object
{
  var cols:Number = 1;
  var rows:Number = 1;
  var swidth:Number = width;
  var sheight:Number = height;
  var next_swidth:Number = width/(cols+1);
  var next_sheight:Number = height/(rows+1);
  while (true)
  {
   if (cols*rows = Nsquares)
   {
   var squareSize:Number = Math.min(swidth, sheight);
   return { squareSize:squareSize, cols:cols, rows:rows };
   }

   if (next_swidth  next_sheight)
   {
   cols++;
   swidth = next_swidth;
   next_swidth = width/(cols+1);
   }
   else
   {
   rows++;
   sheight = next_sheight;
   next_sheight = height/(rows+1);
  }
   }
}


B.

2006/5/8, Danny Kodicek [EMAIL PROTECTED]:


Danny:  I do not understand your algorithm - could you shed some more
(high-level) light on what it is doing?

Sure. The idea is that the optimal size will always be an exact fraction
of
either the width or the height. So what we do is drop down by multiples of
these until we get to the first size that will contain N or more squares.
At
any particular width, we keep track of the two 'next-smallest' widths and
drop down to the largest of these. Run through the algorithm with a few
sample numbers and it should make sense.

It may be that there's a more algebraic approach. The problem is, though,
that there is no simple relationship between floor(x), floor(y) and
floor(xy), which would be needed to come up with any truly useful
solution.
In the end, it turns into quite a complex optimisation problem, and given
that the brute force algorithm is actually pretty fast, it hardly seems
worth the effort :)

Danny

___
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