[Flashcoders] saving bmp from flash

2006-05-15 Thread Jiri Heitlager
I am looking for a way to capture webcam images from Flash and save them 
as .bmp's. Using PHP is not a possibilty because it cannot save images 
as a .bmp.
Is it in theory possible to use screenweaver. So in Flash I would run 
trough all the pixels getting there value and store these values in an 
Array. Then use screenweaver to save the array to a file. But how do I 
build an .bmp then.
Would this be possible to save a bmp from flash or does someone knows a 
solution using php.


Thank you in advance.

Jiri
___
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] HashMap?

2006-05-15 Thread Ron Wheeler
The tree would make sense. The garbage collection for an associative 
array is an interesting problem with variable key and value lengths.


Ron

Scott Hyndman wrote:

Well, yes.

Now that I think about it my test didn't make much sense, since there would be 
no way of determining how keys are generated by insertions alone...I was 
assuming a uniform distribution, and it can't be done without knowing more.

But I believe that the Flash uses a tree to implement its map, for some of the 
same reasons you mentioned. It's just a way more efficient structure to use if 
your data is unknown, grows well, and stays balanced.

Scott

-Original Message-
From:   [EMAIL PROTECTED] on behalf of Ron Wheeler
Sent:   Sat 5/13/2006 2:25 PM
To: Flashcoders mailing list
Cc: 
Subject:Re: [Flashcoders] HashMap?

Wouldn't it be true to say that hash maps will get slower as the 
probability of collisions increase? As the primary area fills up, there 
will be more occasions when the new key to be added, hashes to a storage 
location already occupied and a link structure will be needed to store 
the key(s) in the overflow.
Similarly, lookups will start to hit links rather than data which will 
require that the links into the overflow area be followed.


This is where tuning comes in.

The fact that there are no tuning options makes it unlikely that hashing 
is used.
Defaults would be hard to set without wasting space or turning the whole 
thing into a small set of linked lists which work be long to search.
It would not be seem to be a very good choice for a default 
implementation of Arrays.


Ron

Scott Hyndman wrote:
  

You could figure out how it's implemented by doing some experiments.

Dynamic hash maps have constant insertion (amortized) and lookup time. If the 
map is implemented using a B-Tree, then you'll see O(log(n)) times (so just see 
if the more properties you add increase the amount of time it takes to add 
them).

Scott

-Original Message-
From:   [EMAIL PROTECTED] on behalf of Ron Wheeler
Sent:   Sat 5/13/2006 10:43 AM
To: Flashcoders mailing list
Cc: 
Subject:Re: [Flashcoders] HashMap?



Bernard Poulin wrote:
  

I cannot say for AS3 implementation because I never tried it. (Which 
is the

original subject of this topic.)

In AS1, AS2 and javascript, I am pretty sure that all objects (including
Arrays) are key/value maps. (i.e. Associative arrays)
http://en.wikipedia.org/wiki/Associative_array#JavaScript

It is very possible that the internal implementation is not a hashmap,
but I still think it is a highly efficient map of some sort because 
this is

so central to the language.


  
I would hope that it is efficient but hashing adds a lot of overhead and 
wasted space for small arrays and really needs to be tuned to get the 
desired results for larger arrays.
If the arrays are stored in sorted order, then the normal key lookup can 
be done as a binary lookup which will be a lot quicker than an 
exhaustive search. The price is paid when a new associative entry is added.


Nothing is free.

None of my work has required has involved large associative arrays where 
hashing would add a significant improvement in speed but it would be 
nice to have such a class available for those who need it.


In the early days (1960s) when I was taking Computer Science at 
University, we spent a lot of time worrying about these things since 
memory was scarce (64K word (36 bits per word) computer cost a million 
dollars and supported 16 users) and CPU speeds where not very fast (a 
1MIP computer was state of the art).


  



If really had to look carefully at how things got stored and retrieved, 
it you had a large number of them.


should have been written as

One really had to look carefully at how things got stored and retrieved, 
if you had a large number of them.


  

...at least this is what I think.  I might be completely wrong.
B.

2006/5/12, Ron Wheeler [EMAIL PROTECTED]:

  

I would be a little surprised. There does not seem to be any way to
control the hash parameters and every array would have a lot of wasted
space for nothing and without any way to control the hash size and the
percent utilization, you would not get a lot of advantage for the big
arrays.

The Java HashMap defaults are pretty modest and would yield less than
optimal performance with a big array.
You can set the parameters if you have a big array and know a bit about
the randomness of your keys to get fast lookups with a reasonable
trade-off in wasted space

Perhaps someone who knows the Flash Player internals could tell for 
sure.


Ron


Bernard Poulin wrote:
  


mmm... Are you implying that ActionScript objects are not hashmaps?
I thought they were *all* hashmaps (even Arrays are hashmaps). Every
method
call that you do involves at least one hash lookup.

B.

2006/5/10, Ron Wheeler [EMAIL PROTECTED]:

  
It appears that a HashMap is a Java class 

RE: [Flashcoders] scope question...

2006-05-15 Thread Jim Tann
Are you numbering the mc's according to dept? are you using any v2
components? When using the v2 components there are hidden resource
movieclips that are placed on the _root (_level0) to handle things like
depth management. These get placed at high depths so if you are using
getNextHighestDepth() then it will be realy high like 1048578.

That could be an answer to your problem. But is that actually causing
you a problem? Or did it just confuse you to see a large number like
that but everything still works?

Jim 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
grimmwerks
Sent: 15 May 2006 01:06
To: Flashcoders mailing list
Subject: [Flashcoders] scope question...

And the answer is NOT Listorine.

I'm going a bit nutty here. I've got one major .fla which has a lot of
birthing movieclips. I've been VERY careful not to do this at the root
level, instead in it's own container, because it's supposed to be loaded
wtihin another shell flash file...

Well, I'm actually creating Textfields and lines within this container
movieclip -- however for some reason when the main movie is loading in
the
shell something else is triggering some kind of load:
OUTSIDE of the shell:
TEXT SUB: _level0.dispWindow.sub_0.Group_0
TEXT SUB: _level0.dispWindow.sub_0.Name_1
TEXT SUB: _level0.dispWindow.sub_0.Price_2
TEXT SUB: _level0.dispWindow.sub_0.Description_3
DRAWLINE:   _level0.dispWindow.sub_0
TEXT SUB: _level0.dispWindow.sub_0.Name_4
TEXT SUB: _level0.dispWindow.sub_0.Price_5
..



But then when THIS .swf is loading into another shell (mainWindow being
the
container clip I'm using in the shell  and mc_1 is thee above clip);...

_level0.mainWindow.mc_0
dispItem  _level0.mainWindow.mc_0
_level0.mainWindow.mc_0
_level0.mainWindow.mc_1
dispItem  _level0.mainWindow.mc_1
_level0.mainWindow.mc_1
dispItem  _level0.mainWindow.mc_1
_level0.mc_1048578
dispItem  _level0.mainWindow.mc_1
_level0.mc_1048577
dispItem  _level0.mainWindow.mc_1
_level0.mc_1048576
TEXT SUB: _level0.mc_1048578.dispWindow.sub_0.Group_0
TEXT SUB: _level0.mc_1048578.dispWindow.sub_0.Name_1
TEXT SUB: _level0.mc_1048578.dispWindow.sub_0.Price_2
TEXT SUB: _level0.mc_1048578.dispWindow.sub_0.Description_3
DRAWLINE:   _level0.mc_1048578.dispWindow.sub_0



I can't for the life of me figure out what _level).mc_1048578, 1048577
and
1048576 is...
___
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] Anyone here responsible for Fancy Pants?

2006-05-15 Thread Danny Kodicek
Was browsing for games with my son yesterday and came upon Fancy Pants 
Adventure (http://www.armorgames.com/games/fancypantsadventure_popup.html). 
It is simply the most beautiful Flash game I've ever seen. Smooth as butter, 
imaginatively designed, intricately animated, fun to play, perfect. But only 
one damn level! Give me more!


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] Re: BUG: setMask calls onLoadInit (or setting a mask?)

2006-05-15 Thread Michael Stuhr

grimmwerks schrieb:

Sigh.

I'm an arse. It must be the two days of programming.



hope you enjoyed  it :-)

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] Anyone here responsible for Fancy Pants?

2006-05-15 Thread Steven Sacks
Never seen N?  That's the best Flash game I've ever seen.  Fancy Pants
borrowed (was inspired by?) quite a bit from N.  You can make your own
levels with N, which has inspired a large community development of levels.

http://www.harveycartel.org/metanet/n.html

Enjoy!



 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf 
 Of Danny Kodicek
 Sent: Monday, May 15, 2006 1:24 AM
 To: Flashcoders mailing list
 Subject: [Flashcoders] Anyone here responsible for Fancy Pants?
 
 Was browsing for games with my son yesterday and came upon 
 Fancy Pants 
 Adventure 
 (http://www.armorgames.com/games/fancypantsadventure_popup.html). 
 It is simply the most beautiful Flash game I've ever seen. 
 Smooth as butter, 
 imaginatively designed, intricately animated, fun to play, 
 perfect. But only 
 one damn level! Give me more!
 
 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


RE: [Flashcoders] Anyone here responsible for Fancy Pants?

2006-05-15 Thread Steven Sacks
And if you're looking for more fun Flash games that break the mold, check
out Eyez Maze.

http://www.eyezmaze.com/

The Grow games in particular are outstanding, with Grow RPG taking the cake.

I suggest playing them in this order:

Grow RPG
Grow Cube
Grow ver. 3

:)



 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf 
 Of Steven Sacks
 Sent: Monday, May 15, 2006 2:00 AM
 To: 'Flashcoders mailing list'
 Subject: RE: [Flashcoders] Anyone here responsible for Fancy Pants?
 
 Never seen N?  That's the best Flash game I've ever seen.  Fancy Pants
 borrowed (was inspired by?) quite a bit from N.  You can 
 make your own
 levels with N, which has inspired a large community 
 development of levels.
 
 http://www.harveycartel.org/metanet/n.html
 
 Enjoy!
 
 
 
  -Original Message-
  From: [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED] On Behalf 
  Of Danny Kodicek
  Sent: Monday, May 15, 2006 1:24 AM
  To: Flashcoders mailing list
  Subject: [Flashcoders] Anyone here responsible for Fancy Pants?
  
  Was browsing for games with my son yesterday and came upon 
  Fancy Pants 
  Adventure 
  (http://www.armorgames.com/games/fancypantsadventure_popup.html). 
  It is simply the most beautiful Flash game I've ever seen. 
  Smooth as butter, 
  imaginatively designed, intricately animated, fun to play, 
  perfect. But only 
  one damn level! Give me more!
  
  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

___
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] Grab IP address

2006-05-15 Thread MetaArt
There is a way, automate or based on any user input, that give a chance to
grab the user IP address by a Flash movie?
I'm in search of something without use of any server-side language, so just
full Flash, or Flash/JavaScript can be good.
Any suggest?
Link to .fla or tutorial are really appreciate

* Enrico Tomaselli
* web designer
[EMAIL PROTECTED]
http://www.metatad.it
* Skype: MetaArt
RSS: http://www.metatad.it/mnfeeder.php

___
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] Grab IP address

2006-05-15 Thread Steven Sacks
Come the f**k on.  I googled get ip with javascript

First result:
http://www.rgagnon.com/jsdetails/js-0019.html

SCRIPT
var ip = new java.net.InetAddress.getLocalHost();
var ipStr = new java.lang.String(ip);
document.writeln(ipStr.substring(ipStr.indexOf(/)+1));
/SCRIPT

 
Do a little research before you ask questions, vampire.  ;)

http://www.slash7.com/pages/vampires



 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf 
 Of MetaArt
 Sent: Monday, May 15, 2006 2:14 AM
 To: Flashcoders mailing list
 Subject: [Flashcoders] Grab IP address
 
 There is a way, automate or based on any user input, that 
 give a chance to
 grab the user IP address by a Flash movie?
 I'm in search of something without use of any server-side 
 language, so just
 full Flash, or Flash/JavaScript can be good.
 Any suggest?
 Link to .fla or tutorial are really appreciate
 
 * Enrico Tomaselli
 * web designer
 [EMAIL PROTECTED]
 http://www.metatad.it
 * Skype: MetaArt
 RSS: http://www.metatad.it/mnfeeder.php
 
 ___
 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] Grab IP address

2006-05-15 Thread Nicolas Cannasse
 Come the f**k on.  I googled get ip with javascript
 
 First result:
 http://www.rgagnon.com/jsdetails/js-0019.html
 
 SCRIPT
 var ip = new java.net.InetAddress.getLocalHost();
 var ipStr = new java.lang.String(ip);
 document.writeln(ipStr.substring(ipStr.indexOf(/)+1));
 /SCRIPT

Pretty funny that this is Java code, not at all what the original poster
asked.

Do a little research before you answer questions, vampire.  ;)

Nicolas
___
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] Grab IP address

2006-05-15 Thread Jim Tann
Did you actually try this solution?


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Steven
Sacks
Sent: 15 May 2006 10:19
To: 'Flashcoders mailing list'
Subject: RE: [Flashcoders] Grab IP address

Come the f**k on.  I googled get ip with javascript

First result:
http://www.rgagnon.com/jsdetails/js-0019.html

SCRIPT
var ip = new java.net.InetAddress.getLocalHost();
var ipStr = new java.lang.String(ip);
document.writeln(ipStr.substring(ipStr.indexOf(/)+1));
/SCRIPT

 
Do a little research before you ask questions, vampire.  ;)

http://www.slash7.com/pages/vampires



 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf 
 Of MetaArt
 Sent: Monday, May 15, 2006 2:14 AM
 To: Flashcoders mailing list
 Subject: [Flashcoders] Grab IP address
 
 There is a way, automate or based on any user input, that 
 give a chance to
 grab the user IP address by a Flash movie?
 I'm in search of something without use of any server-side 
 language, so just
 full Flash, or Flash/JavaScript can be good.
 Any suggest?
 Link to .fla or tutorial are really appreciate
 
 * Enrico Tomaselli
 * web designer
 [EMAIL PROTECTED]
 http://www.metatad.it
 * Skype: MetaArt
 RSS: http://www.metatad.it/mnfeeder.php
 
 ___
 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] Grab IP address

2006-05-15 Thread Jim Tann
This looks like what you might be looking for, I havnt tested it (or
even read passed the first page :) but I think that your best be t is to
find a free web service that you can access with actionscript.

http://www.strikeiron.com/ProductDetail.aspx?p=149

Jim


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of MetaArt
Sent: 15 May 2006 10:14
To: Flashcoders mailing list
Subject: [Flashcoders] Grab IP address

There is a way, automate or based on any user input, that give a chance
to
grab the user IP address by a Flash movie?
I'm in search of something without use of any server-side language, so
just
full Flash, or Flash/JavaScript can be good.
Any suggest?
Link to .fla or tutorial are really appreciate

* Enrico Tomaselli
* web designer
[EMAIL PROTECTED]
http://www.metatad.it
* Skype: MetaArt
RSS: http://www.metatad.it/mnfeeder.php

___
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] Grab IP address

2006-05-15 Thread Steven Sacks
 Do a little research before you answer questions, vampire.  ;)

It doesn't matter if that link works or not.  I dind't care to verify and I
wasn't providing a solution.  The point is there are tons of other links
that point towards the solution with one google search.  Be a little more
resourceful.


 

___
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] Grab IP address

2006-05-15 Thread Johannes Nel

problem with the webservice from as is that the sandbox will kick in. it has
to be proxied via the server (which then makes the java sollution valid) or
you have too hope that they have a crossdomain policy file.

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


This looks like what you might be looking for, I havnt tested it (or
even read passed the first page :) but I think that your best be t is to
find a free web service that you can access with actionscript.

http://www.strikeiron.com/ProductDetail.aspx?p=149

Jim


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of MetaArt
Sent: 15 May 2006 10:14
To: Flashcoders mailing list
Subject: [Flashcoders] Grab IP address

There is a way, automate or based on any user input, that give a chance
to
grab the user IP address by a Flash movie?
I'm in search of something without use of any server-side language, so
just
full Flash, or Flash/JavaScript can be good.
Any suggest?
Link to .fla or tutorial are really appreciate

* Enrico Tomaselli
* web designer
[EMAIL PROTECTED]
http://www.metatad.it
* Skype: MetaArt
RSS: http://www.metatad.it/mnfeeder.php

___
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





--
j:pn
http://www.lennel.org
___
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] Anyone here responsible for Fancy Pants?

2006-05-15 Thread Danny Kodicek



Never seen N?  That's the best Flash game I've ever seen.  Fancy Pants
borrowed (was inspired by?) quite a bit from N.  You can make your own
levels with N, which has inspired a large community development of levels.

http://www.harveycartel.org/metanet/n.html


I have played that before, although thanks for reminding me. I like it, but 
I don't find it as enjoyable. It's visually colder and more 'physics-game' 
ish. Obviously FP is very similar in many ways, but it's sweeter.


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] Grab IP address

2006-05-15 Thread Mike Mountain
I guess for every vampire there's someone willing to stick their neck
out... and then complain about the bite marks.

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf 
 Of Steven Sacks
 Sent: 15 May 2006 10:35
 To: 'Flashcoders mailing list'
 Subject: RE: [Flashcoders] Grab IP address
 
  Do a little research before you answer questions, vampire.  ;)
___
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] Grab IP address

2006-05-15 Thread Nicholas Chhabra

And you bothered answering the question in the first place, why?
...

Steven Sacks wrote:

Do a little research before you answer questions, vampire.  ;)



It doesn't matter if that link works or not.  I dind't care to verify and I
wasn't providing a solution.  The point is there are tons of other links
that point towards the solution with one google search.  Be a little more
resourceful.


 


___
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] Grab IP address

2006-05-15 Thread MetaArt
Well,
controversies apart, the Google search don't match good result...
apparently, JavaScript IP grab can be done only on Mozilla, and with Java
enabled, and this isn't good for my goal.
I'm developing a widget, and I need a way to check the owner IP, to ban a
self, improper, use.
Cause the way the widget can be inserted in a web page (just some rows of
code, but necessarily only JavaScript and/or Flash embed, because I can't
know if the user can modify his page(s) to php...), I need an approach that
match some simply rules:
- easy and crossbrowser way to insert in web page(s)
- a trustwhorty way to identify the owner, to avoid that in case he should
use the widget
I think that the better way to achieve this goal is grab the IP.
Actually, I can grab the IP, via PHP, when the user come to get the code...
but, however, I have always a doubt about it: is this the better solution to
achieve my goal?
Tell me your opinion...

* Enrico Tomaselli
* web designer
[EMAIL PROTECTED]
http://www.metatad.it
* Skype: MetaArt
RSS: http://www.metatad.it/mnfeeder.php

___
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] Grab IP address

2006-05-15 Thread j.c.wichman
Hi,
i'd go with the server side solution instead of depending on java running.
Let's face it, if we all had such great confidence in java we'd be posting
on the javadev list:) (ok erase that comment).
Anywayz, php makes for a good solution i think, but I believe standaard ssi
env vars will do the trick as well?
eg if ssi is configured for your webserver and you use the vars from
http://hoohoo.ncsa.uiuc.edu/cgi/env.html
see http://httpd.apache.org/docs/1.3/howto/ssi.html as well.

What you are suggesting, if i got it right, to not allow the user to
download the code at all, if his ip was already banned, seems good to me
too:).

grtz
H


 
 

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf 
 Of MetaArt
 Sent: Monday, May 15, 2006 1:21 PM
 To: Flashcoders mailing list
 Subject: Re: [Flashcoders] Grab IP address
 
 Well,
 controversies apart, the Google search don't match good result...
 apparently, JavaScript IP grab can be done only on Mozilla, 
 and with Java enabled, and this isn't good for my goal.
 I'm developing a widget, and I need a way to check the owner 
 IP, to ban a self, improper, use.
 Cause the way the widget can be inserted in a web page (just 
 some rows of code, but necessarily only JavaScript and/or 
 Flash embed, because I can't know if the user can modify his 
 page(s) to php...), I need an approach that match some simply rules:
 - easy and crossbrowser way to insert in web page(s)
 - a trustwhorty way to identify the owner, to avoid that in 
 case he should use the widget I think that the better way to 
 achieve this goal is grab the IP.
 Actually, I can grab the IP, via PHP, when the user come to 
 get the code...
 but, however, I have always a doubt about it: is this the 
 better solution to achieve my goal?
 Tell me your opinion...
 
 * Enrico Tomaselli
 * web designer
 [EMAIL PROTECTED]
 http://www.metatad.it
 * Skype: MetaArt
 RSS: http://www.metatad.it/mnfeeder.php
 
 ___
 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] xpath xml strangeness

2006-05-15 Thread Kent Humphrey

I'm using SEPY on OSX, good enough for you? ;

On 11 May 2006, at 14:06, Johannes Nel wrote:


get a proper as editor i would say


___
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] xpath xml strangeness

2006-05-15 Thread Johannes Nel

then obvisouly not. sepy is not a bad editor, but it should surely point out
things like that. fdt is the way :)

On 5/15/06, Kent Humphrey [EMAIL PROTECTED] wrote:


I'm using SEPY on OSX, good enough for you? ;

On 11 May 2006, at 14:06, Johannes Nel wrote:

 get a proper as editor i would say

___
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





--
j:pn
http://www.lennel.org
___
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] xpath xml strangeness

2006-05-15 Thread Kent Humphrey

fdt?

Can it really notice the wrong case of a 3rd party class/function?

On 15 May 2006, at 13:10, Johannes Nel wrote:

then obvisouly not. sepy is not a bad editor, but it should surely  
point out

things like that. fdt is the way :)


___
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] xpath xml strangeness

2006-05-15 Thread Johannes Nel

yup. if its in the class path it picks it up (maybe sepy has that ability as
well, you just need to configure the classpaths).
we even use fdt for our flex 1.5 devlopment, it really is the sheet.

On 5/15/06, Kent Humphrey [EMAIL PROTECTED] wrote:


fdt?

Can it really notice the wrong case of a 3rd party class/function?

On 15 May 2006, at 13:10, Johannes Nel wrote:

 then obvisouly not. sepy is not a bad editor, but it should surely
 point out
 things like that. fdt is the way :)

___
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





--
j:pn
http://www.lennel.org
___
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] Version penetration stats not being updated?

2006-05-15 Thread Clive R Sweeney
Is it just me or does it seem that the stats on Adobe/Macromedia's 
Flash Player Version Penetration page are taking an awfully long time 
being updated? Flash 8 has some excellent selling points but the stats 
certainly help get a message across to clients. And, of course, they'd 
be especially helpful if the adoption rate continued to be as high as 
indicated in the December report.


By my calculation, the most recent survey would have been conducted in 
March and if so, the results are going to be pretty stale by the time 
they're announced.


::. clive
___
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] OT: Fig Leaf is hiring

2006-05-15 Thread Steve Drucker
 
Fig Leaf Software (www.figleaf.com) is currently looking to hire two
intermediate-advanced developers to work from our Washington D.C.
headquarters.

Fig Leaf is an Adobe/Macromedia/Google/Paperthin premier partner.

Successful job candidates will have the folllowing credentials:

- Bachelor of Science in Computer Science from an accredited University.
Note: Individuals who do not meet this requirement need not apply.

- Experience developing quality code in one or more of the following
technologies  (listed in no particular order of preference):

- ColdFusion MX 7
- Flash ActionScript
- Flash Media Server / Flash Communications Server
- ASP.NET and Classic ASP
- CommonSpot Content Management Server
- Adobe Breeze
- JavaScript (AJAX)
- Adobe Flex
- Microsoft SQL Server
- Oracle 9+
- Adobe LiveCycle
- Red Dot Content Management Server

- Microsoft MCSD certification a plus.
- Professional teaching experience a plus.
- Somewhat warped sense of humor required.
- Inexperience playing Unreal Tournament a BIG plus.

Salary up to 100K, commensurate with experience and reference check.

Send resume to [EMAIL PROTECTED] No calls please.

Fig Leaf Software is an equal opportunity employer.

Regards,
Steve Drucker
CEO
Fig Leaf Software
www.figleaf.com
Adobe / Macromedia / Paperthin / Google Premier Consulting and Training
Partner 
___
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] Video Production Shop

2006-05-15 Thread Keenan Keeling
Anyone out there know of a video production shop in the area?  Looking for
someone to shoot an instructional video and do the editing (for later
streaming with Flash Video).  If you know anyone, contact me off-list so we
don't clutter things up.

Keenan Keeling
___
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] Video Production Shop

2006-05-15 Thread Ron Wheeler

What area?

Keenan Keeling wrote:

Anyone out there know of a video production shop in the area?  Looking for
someone to shoot an instructional video and do the editing (for later
streaming with Flash Video).  If you know anyone, contact me off-list so we
don't clutter things up.

Keenan Keeling
___
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] Showing Preloader for the same SWF

2006-05-15 Thread Sumeet Basak
Got a problem in showing a preloader of a file which is being loaded.

This file is embedded in the html file itself, so the preloader appears for
a few seconds before the whole file loads.

Another issue that I face in preloading files which has multiple scenes. It
seems that every scene is treated as separate movies and not get loaded in a
single go.

This is my code that tracks the loading.

this.onEnterFrame = function() {

if (checkLoading == true) {

if (_root.getBytesLoaded()4) {

if (_root.getBytesLoaded() ==
_root.getBytesTotal()) {

play();

}else{

var per =
Math.round(_root.getBytesLoaded()/_root.getBytesTotal()*100);

 
mainPreloader_mc.main_preloaderText.text = per+%;

}

}

}

};

 

Am I missing anything?

Do let me know


Thanks
Sumeet Basak
CTO
Renaissance Legal  Learning Systems Pvt. Ltd.
Cell: + 91.9223214301
web:  http://www.renaissancesystem.com/ www.renaissancesystem.com;
http://www.conveyancinghub.com/  http://www.conveyancinghub.comemail/
www.conveyancinghub.com
email:  mailto:[EMAIL PROTECTED] [EMAIL PROTECTED]  

Renaissance: The Revival of Learning  Culture; Syn: Rebirth
 mailto:[EMAIL PROTECTED] Contact us for all your Legal, Web and
eLearning requirements

 

___
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] HashMap?

2006-05-15 Thread Bernard Poulin

I think there are no tuning parameters simply because the language does
not (and should not) specify how the Objects are implemented (and not
because they are not hashmaps). From what we know so far (i.e. nothing!),
this could be anything - like a straight array up to, say, 3 entries and
switching to another more complex structure after that.

By variable key length did you mean automatically growing the relevant
hash size (i.e. involving re-distribution) - A bit like what is happening
with the Java HashMap implementation ?

B.

2006/5/15, Ron Wheeler [EMAIL PROTECTED]:


The tree would make sense. The garbage collection for an associative
array is an interesting problem with variable key and value lengths.

Ron

Scott Hyndman wrote:
 Well, yes.

 Now that I think about it my test didn't make much sense, since there
would be no way of determining how keys are generated by insertions
alone...I was assuming a uniform distribution, and it can't be done without
knowing more.

 But I believe that the Flash uses a tree to implement its map, for some
of the same reasons you mentioned. It's just a way more efficient structure
to use if your data is unknown, grows well, and stays balanced.

 Scott

 -Original Message-
 From: [EMAIL PROTECTED] on behalf of Ron Wheeler
 Sent: Sat 5/13/2006 2:25 PM
 To:   Flashcoders mailing list
 Cc:
 Subject:  Re: [Flashcoders] HashMap?

 Wouldn't it be true to say that hash maps will get slower as the
 probability of collisions increase? As the primary area fills up, there
 will be more occasions when the new key to be added, hashes to a storage
 location already occupied and a link structure will be needed to store
 the key(s) in the overflow.
 Similarly, lookups will start to hit links rather than data which will
 require that the links into the overflow area be followed.

 This is where tuning comes in.

 The fact that there are no tuning options makes it unlikely that hashing
 is used.
 Defaults would be hard to set without wasting space or turning the whole
 thing into a small set of linked lists which work be long to search.
 It would not be seem to be a very good choice for a default
 implementation of Arrays.

 Ron

 Scott Hyndman wrote:

 You could figure out how it's implemented by doing some experiments.

 Dynamic hash maps have constant insertion (amortized) and lookup time.
If the map is implemented using a B-Tree, then you'll see O(log(n)) times
(so just see if the more properties you add increase the amount of time it
takes to add them).

 Scott

 -Original Message-
 From:[EMAIL PROTECTED] on behalf of Ron
Wheeler
 Sent:Sat 5/13/2006 10:43 AM
 To:  Flashcoders mailing list
 Cc:
 Subject: Re: [Flashcoders] HashMap?



 Bernard Poulin wrote:


 I cannot say for AS3 implementation because I never tried it. (Which
 is the
 original subject of this topic.)

 In AS1, AS2 and javascript, I am pretty sure that all objects
(including
 Arrays) are key/value maps. (i.e. Associative arrays)
 http://en.wikipedia.org/wiki/Associative_array#JavaScript

 It is very possible that the internal implementation is not a
hashmap,
 but I still think it is a highly efficient map of some sort because
 this is
 so central to the language.



 I would hope that it is efficient but hashing adds a lot of overhead
and
 wasted space for small arrays and really needs to be tuned to get the
 desired results for larger arrays.
 If the arrays are stored in sorted order, then the normal key lookup
can
 be done as a binary lookup which will be a lot quicker than an
 exhaustive search. The price is paid when a new associative entry is
added.

 Nothing is free.

 None of my work has required has involved large associative arrays
where
 hashing would add a significant improvement in speed but it would be
 nice to have such a class available for those who need it.

 In the early days (1960s) when I was taking Computer Science at
 University, we spent a lot of time worrying about these things since
 memory was scarce (64K word (36 bits per word) computer cost a million
 dollars and supported 16 users) and CPU speeds where not very fast (a
 1MIP computer was state of the art).




 If really had to look carefully at how things got stored and retrieved,
 it you had a large number of them.

 should have been written as

 One really had to look carefully at how things got stored and
retrieved,
 if you had a large number of them.


 ...at least this is what I think.  I might be completely wrong.
 B.

 2006/5/12, Ron Wheeler [EMAIL PROTECTED]:


 I would be a little surprised. There does not seem to be any way to
 control the hash parameters and every array would have a lot of
wasted
 space for nothing and without any way to control the hash size and
the
 percent utilization, you would not get a lot of advantage for the big
 arrays.

 The Java HashMap defaults are pretty modest and would yield less than
 optimal performance with a big array.
 You can set the parameters if 

Re: [Flashcoders] How to serialize key events?

2006-05-15 Thread Ron Wheeler
You might try reading the Java class documents to see what is special 
about Vectors as opposed to Arrays in Actionscript.


The code is pretty simple. Have you tried to code and test it under 
ActionScript?
It looks like you add objects  to a list and take the first one off the 
list. It provides a function to find out if there are any objects in the 
queue.

What is wrong with this?

Ron

black59mga wrote:

I posted this a few day ago on Newbie. No response so posting here

Does anyone know a simple way to serialize key events?

A Java prog. friend suggested using a Mailbox class to serialize the key 
input and provided a class (below) but I don't really understand java Vectors. Ideas?

thanks very much!




import java.util.*;

public class Mailbox {
  private intnumMessages = 0;
  private Vector mailbox = new Vector();

  public synchronized void insert(Object obj) {
mailbox.addElement(obj);
numMessages++;
notify();
  }

  public synchronized Object remove() {
while (numMessages == 0) {
  try {
wait();
  } catch (Exception e) {
  }
}

Object obj = mailbox.firstElement();
mailbox.removeElementAt(0);
numMessages--;
return obj;
  }

  public synchronized int numobj() {
return numMessages;
  }

  public synchronized Vector flush() {
Vector vector = null;
if (numMessages  0)
  vector = new Vector();
while (numMessages  0) {
  Object obj = mailbox.firstElement();
  vector.addElement(obj);
  mailbox.removeElementAt(0);
  numMessages--;
}
return vector;
  }
}

-
Yahoo! Mail goes everywhere you do.  Get it on your phone.
___
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] OT: Video Production Shop

2006-05-15 Thread Gerry Creighton

Check Mandy.com

Gerry

On May 15, 2006, at 11:05 AM, Keenan Keeling wrote:


D'oh!  Sorry...forgot to mention that.

Washington DC Metro Area.

Thanks Ron.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ron  
Wheeler

Sent: Monday, May 15, 2006 11:01 AM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Video Production Shop

What area?

Keenan Keeling wrote:
Anyone out there know of a video production shop in the area?   
Looking

for someone to shoot an instructional video and do the editing (for
later streaming with Flash Video).  If you know anyone, contact me
off-list so we don't clutter things up.

Keenan Keeling
___
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] HashMap?

2006-05-15 Thread Ron Wheeler



Bernard Poulin wrote:
I think there are no tuning parameters simply because the language 
does

not (and should not) specify how the Objects are implemented (and not
because they are not hashmaps). From what we know so far (i.e. nothing!),
this could be anything - like a straight array up to, say, 3 entries and
switching to another more complex structure after that.
If you can not tune a HashMap it will be worse than an ordinary array. 
It will take more space and more processing time. A HashMap does require 
some understanding of implementation since it is using a special 
arrangement of physical storage to buy you speed.
From the Java docs. 

http://java.sun.com/j2se/1.4.2/docs/api/java/util/HashMap.html#HashMap%28int,%20float%29|*
HashMap 
http://java.sun.com/j2se/1.4.2/docs/api/java/util/HashMap.html#HashMap%28int,%20float%29*(int initialCapacity, 
float loadFactor)|
 Constructs an empty HashMap with the specified initial 
capacity and load factor.


A lot of the implementation details are hidden and you can just take the 
defaults for the tuning.


By variable key length did you mean automatically growing the relevant
hash size (i.e. involving re-distribution) - A bit like what is happening
with the Java HashMap implementation ?

No. I mean that the length of each key (and each value -more obviously) 
is not fixed when the Array is declared.
I can add a hundred 3 character keys  and then add a new key which is 50 
characters long and the Array object will still find a place for it.




B.

2006/5/15, Ron Wheeler [EMAIL PROTECTED]:


The tree would make sense. The garbage collection for an associative
array is an interesting problem with variable key and value lengths.

Ron

Scott Hyndman wrote:
 Well, yes.

 Now that I think about it my test didn't make much sense, since there
would be no way of determining how keys are generated by insertions
alone...I was assuming a uniform distribution, and it can't be done 
without

knowing more.

 But I believe that the Flash uses a tree to implement its map, for 
some
of the same reasons you mentioned. It's just a way more efficient 
structure

to use if your data is unknown, grows well, and stays balanced.

 Scott

 -Original Message-
 From: [EMAIL PROTECTED] on behalf of Ron 
Wheeler

 Sent: Sat 5/13/2006 2:25 PM
 To:   Flashcoders mailing list
 Cc:
 Subject:  Re: [Flashcoders] HashMap?

 Wouldn't it be true to say that hash maps will get slower as the
 probability of collisions increase? As the primary area fills up, 
there
 will be more occasions when the new key to be added, hashes to a 
storage

 location already occupied and a link structure will be needed to store
 the key(s) in the overflow.
 Similarly, lookups will start to hit links rather than data which will
 require that the links into the overflow area be followed.

 This is where tuning comes in.

 The fact that there are no tuning options makes it unlikely that 
hashing

 is used.
 Defaults would be hard to set without wasting space or turning the 
whole

 thing into a small set of linked lists which work be long to search.
 It would not be seem to be a very good choice for a default
 implementation of Arrays.

 Ron

 Scott Hyndman wrote:

 You could figure out how it's implemented by doing some experiments.

 Dynamic hash maps have constant insertion (amortized) and lookup 
time.
If the map is implemented using a B-Tree, then you'll see O(log(n)) 
times
(so just see if the more properties you add increase the amount of 
time it

takes to add them).

 Scott

 -Original Message-
 From:[EMAIL PROTECTED] on behalf 
of Ron

Wheeler
 Sent:Sat 5/13/2006 10:43 AM
 To:  Flashcoders mailing list
 Cc:
 Subject: Re: [Flashcoders] HashMap?



 Bernard Poulin wrote:


 I cannot say for AS3 implementation because I never tried it. (Which
 is the
 original subject of this topic.)

 In AS1, AS2 and javascript, I am pretty sure that all objects
(including
 Arrays) are key/value maps. (i.e. Associative arrays)
 http://en.wikipedia.org/wiki/Associative_array#JavaScript

 It is very possible that the internal implementation is not a
hashmap,
 but I still think it is a highly efficient map of some sort because
 this is
 so central to the language.



 I would hope that it is efficient but hashing adds a lot of overhead
and
 wasted space for small arrays and really needs to be tuned to get the
 desired results for larger arrays.
 If the arrays are stored in sorted order, then the normal key lookup
can
 be done as a binary lookup which will be a lot quicker than an
 exhaustive search. The price is paid when a new associative entry is
added.

 Nothing is free.

 None of my work has required has involved large associative arrays
where
 hashing would add a significant improvement in speed but it would be
 nice to have such a class available for those who need it.

 In the early days (1960s) when I was taking Computer Science at
 University, we spent a lot of time 

[Flashcoders] datagGRid elements alignment

2006-05-15 Thread riccardo.roasio
Hi,
there is a way to align a datagrid column on the left ?
i mean dispose all elements of a certain row on the left?
Thanks,Riccardo
___
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] Flash Media Server tutorial not working

2006-05-15 Thread Aasim Momin
Hi,
 
I have downloaded the sample on the macromedia site for Flash Media
Server using XML file 
http://www.macromedia.com/devnet/flash/articles/video_player.html
http://www.macromedia.com/devnet/flash/articles/video_player.html 
 
The application works fine, but when the xml file is edited to suit a
local machine. i.e. when I change the xml entry from rtmp://www.
To rtmp://localhost/... The application fails to load the movies
although the thumbnails can be viewed in the list box.
 
I can see this message in the log window of the FMS Console
 
Sending this message: Hello! You are connected as: false
Error : command msg sent before client connection has been accepted.
 
I am using Windows XP SP2, Flash 8 Professional, Flash Player 8.
 
Please suggest what changes can be made to enable this.
 
Regards,
Aasim
  
 
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


Re: [Flashcoders] Flash Media Server tutorial not working

2006-05-15 Thread Asai

Aasim,

Hi, I also did a little work with this XML file tutorial.  I had a 
lot of problems with it, in fact I received a response from one of 
the Adobe engineers who said that basically, the code in that XML 
tutorial was full of problems and should have been checked more 
thoroughly before being put on line.  Now, I don't want to discourage 
you from trying it out. You'll need to post a little more of your 
code in order to really diagnose the problem.


At 09:28 AM 5/15/2006, you wrote:

Hi,

I have downloaded the sample on the macromedia site for Flash Media
Server using XML file
http://www.macromedia.com/devnet/flash/articles/video_player.html
http://www.macromedia.com/devnet/flash/articles/video_player.html

The application works fine, but when the xml file is edited to suit a
local machine. i.e. when I change the xml entry from rtmp://www.
To rtmp://localhost/... The application fails to load the movies
although the thumbnails can be viewed in the list box.

I can see this message in the log window of the FMS Console

Sending this message: Hello! You are connected as: false
Error : command msg sent before client connection has been accepted.

I am using Windows XP SP2, Flash 8 Professional, Flash Player 8.

Please suggest what changes can be made to enable this.

Regards,
Aasim


___
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


---asai 


___
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] Grab IP address

2006-05-15 Thread Bernard Poulin

It also depends which IP you want to display.  Do you want to display the
IP of the client machine or the external IP as seen on the internet?
You have to watch out these are not the same as the user might be
behind NATs/proxies.

For a client-only solution: (wild guess) I think your only chance is to
make a socket connection back to your server and look at some of the
structures involved in the connection?- The external IP might be available
in there (really not sure). I do not know enough about NATs to know if it is
even possible(!). The better/safer way is surely a server-based solution.

If you want the IP of the client machine - then you will have to look at a
flash / javascript / Java solution running on the client machine.

One of the core problem is that some connections might not even use TCP/IP
and thus there are no IPs involved at all.  For example: if you open an html
page located on your local hard drive. So any solution you might have on the
client side will be some kind of hack one way or the other. I think it can't
be standard.

B.

2006/5/15, j.c.wichman [EMAIL PROTECTED]:


Hi,
i'd go with the server side solution instead of depending on java running.
Let's face it, if we all had such great confidence in java we'd be posting
on the javadev list:) (ok erase that comment).
Anywayz, php makes for a good solution i think, but I believe standaard
ssi
env vars will do the trick as well?
eg if ssi is configured for your webserver and you use the vars from
http://hoohoo.ncsa.uiuc.edu/cgi/env.html
see http://httpd.apache.org/docs/1.3/howto/ssi.html as well.

What you are suggesting, if i got it right, to not allow the user to
download the code at all, if his ip was already banned, seems good to me
too:).

grtz
H





 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf
 Of MetaArt
 Sent: Monday, May 15, 2006 1:21 PM
 To: Flashcoders mailing list
 Subject: Re: [Flashcoders] Grab IP address

 Well,
 controversies apart, the Google search don't match good result...
 apparently, JavaScript IP grab can be done only on Mozilla,
 and with Java enabled, and this isn't good for my goal.
 I'm developing a widget, and I need a way to check the owner
 IP, to ban a self, improper, use.
 Cause the way the widget can be inserted in a web page (just
 some rows of code, but necessarily only JavaScript and/or
 Flash embed, because I can't know if the user can modify his
 page(s) to php...), I need an approach that match some simply rules:
 - easy and crossbrowser way to insert in web page(s)
 - a trustwhorty way to identify the owner, to avoid that in
 case he should use the widget I think that the better way to
 achieve this goal is grab the IP.
 Actually, I can grab the IP, via PHP, when the user come to
 get the code...
 but, however, I have always a doubt about it: is this the
 better solution to achieve my goal?
 Tell me your opinion...

 * Enrico Tomaselli
 * web designer
 [EMAIL PROTECTED]
 http://www.metatad.it
 * Skype: MetaArt
 RSS: http://www.metatad.it/mnfeeder.php

 ___
 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] listbox: grouped items

2006-05-15 Thread eric dolecki

I have a need for a listbox with grouped sets of items - kind of like a tree
- but without the expand/collapse...
for each section I plan on alternating background colors...

Item One
Item Two  - section background white
Item Three
--
Item Four - section background light grey
Item Five
--
Item Six
Item Seven   - section background white
Item Eight
--
etc...

Someone have somethign rolled up to do this already? Or I guess I can roll
my own cellRenderer to do it. Just looking to save a little time.

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

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


RE: [Flashcoders] Flash Media Server tutorial not working

2006-05-15 Thread Asai
I think I remember this problem.  Do you have all your files set up 
in the proper paths?  Like do you have the trike_final video in the 
videosource folder under the applications folder?

Sometimes path errors can be a really common problem.  Are they all in place?

At 09:44 AM 5/15/2006, you wrote:

Asai,

I have not edited any of the source files. The only edit has been in the
xml file. I have put a snippet below for ur reference.

listitem name=The Trike url=rtmp://localhost/videosource
stream name=trike_final start=0 len=-1/
/listitem

You can download the source files from the link I put in my previous
mail.

Regards,
Aasim Momin


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Asai
Sent: Monday, May 15, 2006 10:06 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Flash Media Server tutorial not working

Aasim,

Hi, I also did a little work with this XML file tutorial.  I had a
lot of problems with it, in fact I received a response from one of
the Adobe engineers who said that basically, the code in that XML
tutorial was full of problems and should have been checked more
thoroughly before being put on line.  Now, I don't want to discourage
you from trying it out. You'll need to post a little more of your
code in order to really diagnose the problem.

At 09:28 AM 5/15/2006, you wrote:
Hi,

I have downloaded the sample on the macromedia site for Flash Media
Server using XML file
http://www.macromedia.com/devnet/flash/articles/video_player.html
http://www.macromedia.com/devnet/flash/articles/video_player.html

The application works fine, but when the xml file is edited to suit a
local machine. i.e. when I change the xml entry from rtmp://www.
To rtmp://localhost/... The application fails to load the movies
although the thumbnails can be viewed in the list box.

I can see this message in the log window of the FMS Console

Sending this message: Hello! You are connected as: false
Error : command msg sent before client connection has been accepted.

I am using Windows XP SP2, Flash 8 Professional, Flash Player 8.

Please suggest what changes can be made to enable this.

Regards,
Aasim


___
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

---asai

___
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


---asai 


___
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] vectorshapes to pdf?

2006-05-15 Thread eugen pflüger

hello,

i am just wondering if anybody knowsis there a way to print  
vectorshapes into a pdf document?


i know on mac there was this trick to fire the print function to an  
virtual laser printer that saved a postscript file. then you could  
open that document in illustrator.
i wonder if now or in as 3.0 (and/or flex) there is a good solution  
to get vectors.

does anybody know?

just saw this on flickr. its done with processing. would be great if  
this would work in flash.

http://www.flickr.com/photos/watz/146861875/in/photostream/

tia
eugen
___
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] scrollpane, dynamic forms, and refreshPane issues

2006-05-15 Thread Rich Rodecker

hmm still stuck with this little weirdness...anyone have any idea?

On 5/13/06, Rich Rodecker [EMAIL PROTECTED] wrote:

i should say i am using flash 8, but exporting to flash 7.



On 5/13/06, Rich Rodecker [EMAIL PROTECTED] wrote:
 im using flash 8.  i am embedding the fonts by doing a setStyle() on
 the TextInput's global style definition, and exporting the font in the
 text field on the stage.




 On 5/12/06, Steven Sacks [EMAIL PROTECTED] wrote:
  refreshPane reloads the content of the pane.  This is different than it used
  to be in Flash MX.  The undocumented way to to refresh the contents of the
  pane is:
 
  sp.setScrollProperties(sp.content._width, 1, sp.content._height, 1);
 
  That doesn't help with your issue of text not appearing, though.   Are you
  using embedded fonts?  Scrollpanes use masking and sometimes this might
  cause an issue.  Are you using Flash 7 or Flash 8?
 
  ___
  Flashcoders@chattyfig.figleaf.com
  To change your subscription options or search the archive:
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
  Brought to you by Fig Leaf Software
  Premier Authorized Adobe Consulting and Training
  http://www.figleaf.com
  http://training.figleaf.com
 



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

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


RE: [Flashcoders] Flash Media Server tutorial not working

2006-05-15 Thread Aasim Momin
Asai,
All these files have been placed in their respective folders.
the flv files have been placed under the 
\applications\videosource\streams\_definst_ folder
as instructed by the tutorial.
 
Regards,
Aasim Momin



From: [EMAIL PROTECTED] on behalf of Asai
Sent: Mon 5/15/2006 10:30 PM
To: Flashcoders mailing list
Subject: RE: [Flashcoders] Flash Media Server tutorial not working



I think I remember this problem.  Do you have all your files set up
in the proper paths?  Like do you have the trike_final video in the
videosource folder under the applications folder?
Sometimes path errors can be a really common problem.  Are they all in place?

At 09:44 AM 5/15/2006, you wrote:
Asai,

I have not edited any of the source files. The only edit has been in the
xml file. I have put a snippet below for ur reference.

 listitem name=The Trike url=rtmp://localhost/videosource
 stream name=trike_final start=0 len=-1/
 /listitem

You can download the source files from the link I put in my previous
mail.

Regards,
Aasim Momin


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Asai
Sent: Monday, May 15, 2006 10:06 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Flash Media Server tutorial not working

Aasim,

Hi, I also did a little work with this XML file tutorial.  I had a
lot of problems with it, in fact I received a response from one of
the Adobe engineers who said that basically, the code in that XML
tutorial was full of problems and should have been checked more
thoroughly before being put on line.  Now, I don't want to discourage
you from trying it out. You'll need to post a little more of your
code in order to really diagnose the problem.

At 09:28 AM 5/15/2006, you wrote:
 Hi,
 
 I have downloaded the sample on the macromedia site for Flash Media
 Server using XML file
 http://www.macromedia.com/devnet/flash/articles/video_player.html
 http://www.macromedia.com/devnet/flash/articles/video_player.html
 
 The application works fine, but when the xml file is edited to suit a
 local machine. i.e. when I change the xml entry from rtmp://www.
 To rtmp://localhost/... The application fails to load the movies
 although the thumbnails can be viewed in the list box.
 
 I can see this message in the log window of the FMS Console
 
 Sending this message: Hello! You are connected as: false
 Error : command msg sent before client connection has been accepted.
 
 I am using Windows XP SP2, Flash 8 Professional, Flash Player 8.
 
 Please suggest what changes can be made to enable this.
 
 Regards,
 Aasim
 
 
 ___
 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

---asai

___
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

---asai

___
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] HashMap?

2006-05-15 Thread Bernard Poulin

If you can not tune a HashMap it will be worse than an ordinary array.
It will take more space and more processing time.


This will of course depend on the size and usage - it *may* be more
efficient with hashmaps. Do you really think we can generalize being it
worse all the time?

Keeping an array ordered to be able to do binary searches can
statistically cost a lot of copying at insertion time.
Binary searches may involves a lot more string comparison. In a binary
search comparing the string hash value is of no use to know if the value
is greater or lower (to decide for the next search direction). In
hashmaps, the lookup in the chain after the hash jump can, most of the
time, skip a string entry without even looking at the characters by
comparing the 32bit integer hashes.

About Arrays (this is more than slightly OT)  :-)

I still believe Arrays are implemented as associative arrays. But this is
just pure belief since I have no proof and it could easily change from one
version of the VM to the other.

var a:Array;
a[0] = 'abc';
a[123456789] = 'high index value';
a[this is text] = 'non-integer index';

trace(a.length);   /// should output 123456790

Sidenote: I often use this feature of Arrays to make an ordered
associative array in one single object. This may look a bit like a hack -
but it is perfectly valid. I can both traverse the keys in a fixed custom
order and lookup one item with its key directly. Also you can retrieve
quickly how many items there are using length. For example, when inserting
a new entry, I do something like:

 a[key] = value;
 a[a.length] = key;

I would really like to have insights into the flash VM implementation so I
could do better choices regarding maps and arrays.

regards,
B.

(--snip--rest of previous mail removed to keep it shorter---snip---)
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


RE: [Flashcoders] Flash Media Server tutorial not working

2006-05-15 Thread Asai
I don't know, brother, this is one of those strange FMS/XML 
things.  I'd suggest asking this question on the 
[EMAIL PROTECTED] list.  That's where some great Flash 
experts are.  Those guys would probably be able to answer your 
question better than me. You can search the archives on the flashcomm 
mailing list for the following thread: Dynamic Playlist with XML 
generated thumbnails.  Some guys got back to me on it and it helped 
a bit.  But I'm not sure that's what you're looking for.


At 10:38 AM 5/15/2006, you wrote:

Asai,
All these files have been placed in their respective folders.
the flv files have been placed under the 
\applications\videosource\streams\_definst_ folder

as instructed by the tutorial.

Regards,
Aasim Momin



From: [EMAIL PROTECTED] on behalf of Asai
Sent: Mon 5/15/2006 10:30 PM
To: Flashcoders mailing list
Subject: RE: [Flashcoders] Flash Media Server tutorial not working



I think I remember this problem.  Do you have all your files set up
in the proper paths?  Like do you have the trike_final video in the
videosource folder under the applications folder?
Sometimes path errors can be a really common problem.  Are they all in place?

At 09:44 AM 5/15/2006, you wrote:
Asai,

I have not edited any of the source files. The only edit has been in the
xml file. I have put a snippet below for ur reference.

 listitem name=The Trike url=rtmp://localhost/videosource
 stream name=trike_final start=0 len=-1/
 /listitem

You can download the source files from the link I put in my previous
mail.

Regards,
Aasim Momin


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Asai
Sent: Monday, May 15, 2006 10:06 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Flash Media Server tutorial not working

Aasim,

Hi, I also did a little work with this XML file tutorial.  I had a
lot of problems with it, in fact I received a response from one of
the Adobe engineers who said that basically, the code in that XML
tutorial was full of problems and should have been checked more
thoroughly before being put on line.  Now, I don't want to discourage
you from trying it out. You'll need to post a little more of your
code in order to really diagnose the problem.

At 09:28 AM 5/15/2006, you wrote:
 Hi,
 
 I have downloaded the sample on the macromedia site for Flash Media
 Server using XML file
 http://www.macromedia.com/devnet/flash/articles/video_player.html
 http://www.macromedia.com/devnet/flash/articles/video_player.html
 
 The application works fine, but when the xml file is edited to suit a
 local machine. i.e. when I change the xml entry from rtmp://www.
 To rtmp://localhost/... The application fails to load the movies
 although the thumbnails can be viewed in the list box.
 
 I can see this message in the log window of the FMS Console
 
 Sending this message: Hello! You are connected as: false
 Error : command msg sent before client connection has been accepted.
 
 I am using Windows XP SP2, Flash 8 Professional, Flash Player 8.
 
 Please suggest what changes can be made to enable this.
 
 Regards,
 Aasim
 
 
 ___
 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

---asai

___
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

---asai

___
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


---asai 


___
Flashcoders@chattyfig.figleaf.com
To 

Re: [Flashcoders] Version penetration stats not being updated?

2006-05-15 Thread John Dowdell

Clive R Sweeney wrote:
Is it just me or does it seem that the stats on Adobe/Macromedia's 
Flash Player Version Penetration page are taking an awfully long time 
being updated? Flash 8 has some excellent selling points but the stats 
certainly help get a message across to clients. And, of course, they'd 
be especially helpful if the adoption rate continued to be as high as 
indicated in the December report.


I know that the March audit was conducted, but I do not know a date for 
publication... I've been checking the last two weeks myself.


I do know that, as the increase in adoption rate has itself increased 
the last few quarters, that folks here have been trying to cross-check 
their consumer audit results with deployed website reports... we're able 
to get some not-for-publication stats from companies like Yahoo (?), and 
there has been slower publishing in order to confirm these amazing numbers.


Bottom line: Please use these numbers as a chart of relative consumer 
action, rather than prediction of a particular audience. Flash Player 8 
had reached 50% consumer viewability within its first three months of 
distribution, and it's still adding 5,000,000 successful new 
installations per day.


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] \r

2006-05-15 Thread Patrick Matte
Anybody knows how I can put a \r inside an xml node attribute? I want to add
a line feed between two words.

Just having \r in the attribute displays \r in my textfield. I think it must
be encoded in a special way.


___
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] \r

2006-05-15 Thread Steven Sacks
x = str.split(\r).join(newline);


 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf 
 Of Patrick Matte
 Sent: Monday, May 15, 2006 11:34 AM
 To: Flashcoders mailing list
 Subject: [Flashcoders] \r
 
 Anybody knows how I can put a \r inside an xml node 
 attribute? I want to add
 a line feed between two words.
 
 Just having \r in the attribute displays \r in my textfield. 
 I think it must
 be encoded in a special way.
 
 
 ___
 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] \r

2006-05-15 Thread Patrick Matte
Thanks, great idea, but a friend just told me what I was looking for.

 lt;brgt;

Its a br with the  encoded.


Le 15/05/06 14:38, « Steven Sacks » [EMAIL PROTECTED] a écrit :

 x = str.split(\r).join(newline);
 
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf
 Of Patrick Matte
 Sent: Monday, May 15, 2006 11:34 AM
 To: Flashcoders mailing list
 Subject: [Flashcoders] \r
 
 Anybody knows how I can put a \r inside an xml node
 attribute? I want to add
 a line feed between two words.
 
 Just having \r in the attribute displays \r in my textfield.
 I think it must
 be encoded in a special way.
 
 
 ___
 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] \r

2006-05-15 Thread Derek Vadneau
That should be:
x = str.split(\\r).join(\r);


Derek Vadneau

- Original Message - 
From: Steven Sacks [EMAIL PROTECTED]
To: 'Flashcoders mailing list' flashcoders@chattyfig.figleaf.com
Sent: Monday, May 15, 2006 2:38 PM
Subject: RE: [Flashcoders] \r


x = str.split(\r).join(newline);


___
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] \r

2006-05-15 Thread Steven Sacks
You didn't mention if the textfield was html or not.  ;) 

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf 
 Of Patrick Matte
 Sent: Monday, May 15, 2006 11:53 AM
 To: Flashcoders mailing list
 Subject: Re: [Flashcoders] \r
 
 Thanks, great idea, but a friend just told me what I was looking for.
 
  lt;brgt;
 
 Its a br with the  encoded.
 
 
 Le 15/05/06 14:38, « Steven Sacks » [EMAIL PROTECTED] a écrit :
 
  x = str.split(\r).join(newline);
  
  
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] On Behalf
  Of Patrick Matte
  Sent: Monday, May 15, 2006 11:34 AM
  To: Flashcoders mailing list
  Subject: [Flashcoders] \r
  
  Anybody knows how I can put a \r inside an xml node
  attribute? I want to add
  a line feed between two words.
  
  Just having \r in the attribute displays \r in my textfield.
  I think it must
  be encoded in a special way.
  
  
  ___
  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] \r

2006-05-15 Thread Steven Sacks
I tested it before I posted it.  The split works with just \r and the point
is that he was having an issue with \r not resolving in his textfield as a
newline so replacing it with a \r might not fix it but newline might.

-Steven


 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf 
 Of Derek Vadneau
 Sent: Monday, May 15, 2006 11:52 AM
 To: flashcoders@chattyfig.figleaf.com
 Subject: Re: [Flashcoders] \r
 
 That should be:
 x = str.split(\\r).join(\r);
 
 
 Derek Vadneau
 
 - Original Message - 
 From: Steven Sacks [EMAIL PROTECTED]
 To: 'Flashcoders mailing list' flashcoders@chattyfig.figleaf.com
 Sent: Monday, May 15, 2006 2:38 PM
 Subject: RE: [Flashcoders] \r
 
 
 x = str.split(\r).join(newline);
 
 
 ___
 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] \r

2006-05-15 Thread Ryan Potter
If it is an attribute of a node and the text field is html, can't you just use 
br/?

Ex:
my-node attribute=br/ /

Or 

my-node attribute=this is a linebr/this is on the next line /



-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steven Sacks
Sent: Monday, May 15, 2006 12:57 PM
To: 'Flashcoders mailing list'
Subject: RE: [Flashcoders] \r

You didn't mention if the textfield was html or not.  ;) 

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf 
 Of Patrick Matte
 Sent: Monday, May 15, 2006 11:53 AM
 To: Flashcoders mailing list
 Subject: Re: [Flashcoders] \r
 
 Thanks, great idea, but a friend just told me what I was looking for.
 
  lt;brgt;
 
 Its a br with the  encoded.
 
 
 Le 15/05/06 14:38, « Steven Sacks » [EMAIL PROTECTED] a écrit :
 
  x = str.split(\r).join(newline);
  
  
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] On Behalf
  Of Patrick Matte
  Sent: Monday, May 15, 2006 11:34 AM
  To: Flashcoders mailing list
  Subject: [Flashcoders] \r
  
  Anybody knows how I can put a \r inside an xml node
  attribute? I want to add
  a line feed between two words.
  
  Just having \r in the attribute displays \r in my textfield.
  I think it must
  be encoded in a special way.
  
  
  ___
  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] \r

2006-05-15 Thread Derek Vadneau
I don't mean to argue a moot point, but, newline is \r. I understood that 
the XML contains \ and r as text, which when displayed in his textfield 
showed \r, the text itself, instead of a newline. If you split out \\r and 
replace it with \r (or newline) it would replace the text \r with a real 
newline. Sorry for the confusion.


Derek Vadneau

- Original Message - 
From: Steven Sacks [EMAIL PROTECTED]
To: 'Flashcoders mailing list' flashcoders@chattyfig.figleaf.com
Sent: Monday, May 15, 2006 3:07 PM
Subject: RE: [Flashcoders] \r


I tested it before I posted it.  The split works with just \r and the 
point
is that he was having an issue with \r not resolving in his textfield as a
newline so replacing it with a \r might not fix it but newline might.

-Steven


___
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] \r

2006-05-15 Thread Robert Chyko
Actually, \r is return I believe, \n is newline... But like you said...
moot point.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Derek
Vadneau
Sent: Monday, May 15, 2006 3:12 PM
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] \r


I don't mean to argue a moot point, but, newline is \r. I understood
that 
the XML contains \ and r as text, which when displayed in his textfield 
showed \r, the text itself, instead of a newline. If you split out \\r
and 
replace it with \r (or newline) it would replace the text \r with a real

newline. Sorry for the confusion.


Derek Vadneau

- Original Message - 
From: Steven Sacks [EMAIL PROTECTED]
To: 'Flashcoders mailing list' flashcoders@chattyfig.figleaf.com
Sent: Monday, May 15, 2006 3:07 PM
Subject: RE: [Flashcoders] \r


I tested it before I posted it.  The split works with just \r and the 
point
is that he was having an issue with \r not resolving in his textfield as
a
newline so replacing it with a \r might not fix it but newline might.

-Steven


___
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] \r

2006-05-15 Thread Robert Chyko
Interesting


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Derek
Vadneau
Sent: Monday, May 15, 2006 3:34 PM
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] \r


I think this was brought up here before, but:
trace(newline == '\r'); // true
trace(newline == '\n'); // false
trace(newline === '\r'); // false
trace(newline === '\n'); // true

The bugger is using \n or newline in a string and setting the text of a 
textfield to that string converts \n to \r when you read the text again.

It's why I never use \n or newline.


Derek Vadneau

- Original Message - 
From: Robert Chyko [EMAIL PROTECTED]
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Monday, May 15, 2006 3:16 PM
Subject: RE: [Flashcoders] \r


Actually, \r is return I believe, \n is newline... But like you said...
moot point.


___
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] LF: Flash representation of Board of Directors network

2006-05-15 Thread Bill Brown

Does anyone remember the URL for a flash project that showed the connection
of the CEOs and board of directors for the major companies of the world?
It allowed you to see how many companies each person was on the board of
directors for. You could also expand company nodes to see all the board of
directors.

Thanks,
BB
___
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] \r

2006-05-15 Thread Patrick Matte
The thing is you can't put html in an xml attribute.
Neither a CDATA tag.


Le 15/05/06 15:10, « Ryan Potter » [EMAIL PROTECTED] a écrit :

 If it is an attribute of a node and the text field is html, can't you just use
 br/?
 
 Ex:
 my-node attribute=br/ /
 
 Or 
 
 my-node attribute=this is a linebr/this is on the next line /
 
 
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Steven Sacks
 Sent: Monday, May 15, 2006 12:57 PM
 To: 'Flashcoders mailing list'
 Subject: RE: [Flashcoders] \r
 
 You didn't mention if the textfield was html or not.  ;)
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf
 Of Patrick Matte
 Sent: Monday, May 15, 2006 11:53 AM
 To: Flashcoders mailing list
 Subject: Re: [Flashcoders] \r
 
 Thanks, great idea, but a friend just told me what I was looking for.
 
  lt;brgt;
 
 Its a br with the  encoded.
 
 
 Le 15/05/06 14:38, « Steven Sacks » [EMAIL PROTECTED] a écrit :
 
 x = str.split(\r).join(newline);
 
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf
 Of Patrick Matte
 Sent: Monday, May 15, 2006 11:34 AM
 To: Flashcoders mailing list
 Subject: [Flashcoders] \r
 
 Anybody knows how I can put a \r inside an xml node
 attribute? I want to add
 a line feed between two words.
 
 Just having \r in the attribute displays \r in my textfield.
 I think it must
 be encoded in a special way.
 
 
 ___
 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:
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] Clearing FLV visual content

2006-05-15 Thread Dan Efergan

Hi FlashCoders,

I've got an issue when swapping (progressive) video content over in a  
single Flash 8 FLVPlayer component.


I'm setting contentPath to load a movie and start playing it. When  
the user changes the movie I'm simply resetting contentPath to the  
new files path which changes the stream and starts playing the new FLV.


This works fine for all FLV's that contain both Video and Audio  
layers.  The problem occurs when I swap from a FLV with visual  
content to one with just Audio.  After loading the Audio the last  
visual frame of the previous video is left visible on-screen.


Is there anyway I can either:

- Clear that visual 'buffer'
- Find out whether the FLV is only audio to then either load a  
default visual and/or set the video._visible to false


I've tried the video.stop() and video.closeVideoPlayer() prior to  
opening the new stream, but these do not seem to clear it.


(Tangent: calling video.stop() without a loaded Video in place seems  
to make Flash  Flash player pretty unstable and causes both  
applications to crash)


Thinking about loading a blank movie between change overs, but any  
other suggestions appreciated.


Thanks

Dan Efergan
[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] saving bmp from flash

2006-05-15 Thread David Rorex

On 5/14/06, Jiri Heitlager [EMAIL PROTECTED] wrote:


I am looking for a way to capture webcam images from Flash and save them
as .bmp's. Using PHP is not a possibilty because it cannot save images
as a .bmp.
Is it in theory possible to use screenweaver. So in Flash I would run
trough all the pixels getting there value and store these values in an
Array. Then use screenweaver to save the array to a file. But how do I
build an .bmp then.
Would this be possible to save a bmp from flash or does someone knows a
solution using php.



Why do you need to use bmp? I would say just use png...it's lossless, like
bmp, but it is also compressed, giving smaller file sizes, and it also has
the advantage of being able to load into Flash 8+

-David R
___
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] video card suggestions: tearing animations

2006-05-15 Thread grimmwerks

Hey all -

I've got an application I'm building that is using a digital signage
system as an animated menu system, using 2 cards for a 3 LCD output.
I'm seeing some TERRIBLE tearing during the animations.

At first I thought it was the LCD screen; but swapping in a CRT and I
still see the problem. The two cards an Nvidia GeforceFX 540 and an
Nvidia Geforce FX5200.

I've read recently in a review aobut the 5200:


For the long period of its development and short life, the GeForce

FX 5200 has changed the recommended clock speeds for the core and
memory at least 10 times. The problem is the first tests of
pre-production samples demonstrated a performance so astonishingly low
that it would be out of the question and even fatal to launch video
cards in such a bad condition on to the market.


So my question is: I need 3 outputs --  PCI slots -- to drive 3 lcds
at 1280x768.

Any suggestions?
___
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] sprouts data structure

2006-05-15 Thread Bernard Poulin

http://mathforum.org/kb/message.jspa?messageID=1091009tstart=0

http://www.pa.uky.edu/~sorokin/stuff/cs650/sprout/SPROUT.CC

Somebody did a program called auntbeast which seems to be quite good. I
can't find a copy of it nor their source. Might be worth sending an email to
them.

http://www.geocities.com/chessdp/   *World* *Game* *Of* *Sprouts* *
Association*


2006/5/11, Weldon MacDonald [EMAIL PROTECTED]:


I have a request for a game called sprouts. The game starts with a few
randomly distributed dots. There is one move and 2 restrictions.
Move:   draw a line for a dot to itself (a loop) or to another dot.
Any line drawn has a new dot on it.
Restriction 1: no more than 3 lines from any dot.
Restriction 2: no lines can cross.

Simple game, but the data structure to keep track of the game and in
particular to handle restriction 2 is a bear. How do you tell when a
dot has been encircled by a line?

The game is, of course based on graph theory, and you can represent a
graph in several ways, but how to determine that it remains planar?

I haen't begun to think about the visual part of this, if I don't have
a reasonable data structure I can't teach a computer to play the game.

Any ideas? Hints? Wildly improbable ideas?

--
Weldon MacDonald
___
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] sprouts data structure

2006-05-15 Thread Bernard Poulin

more googling...
This one seems to link to a word document with some high-level explanation.
http://www.pa.uky.edu/~sorokin/stuff/cs650/sprout/sprout.html

B.

2006/5/15, Bernard Poulin [EMAIL PROTECTED]:


 http://mathforum.org/kb/message.jspa?messageID=1091009tstart=0

http://www.pa.uky.edu/~sorokin/stuff/cs650/sprout/SPROUT.CC

Somebody did a program called auntbeast which seems to be quite good. I
can't find a copy of it nor their source. Might be worth sending an email to
them.

 http://www.geocities.com/chessdp/   *World* *Game* *Of* *Sprouts* *
Association*


2006/5/11, Weldon MacDonald [EMAIL PROTECTED]:

 I have a request for a game called sprouts. The game starts with a few
 randomly distributed dots. There is one move and 2 restrictions.
 Move:   draw a line for a dot to itself (a loop) or to another dot.
 Any line drawn has a new dot on it.
 Restriction 1: no more than 3 lines from any dot.
 Restriction 2: no lines can cross.

 Simple game, but the data structure to keep track of the game and in
 particular to handle restriction 2 is a bear. How do you tell when a
 dot has been encircled by a line?

 The game is, of course based on graph theory, and you can represent a
 graph in several ways, but how to determine that it remains planar?

 I haen't begun to think about the visual part of this, if I don't have
 a reasonable data structure I can't teach a computer to play the game.

 Any ideas? Hints? Wildly improbable ideas?

 --
 Weldon MacDonald
 ___
 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] Clearing FLV visual content

2006-05-15 Thread Dan Efergan
Been testing loading a blank movie prior to the new movie using two  
quickly successive  contentPath calls, only to cause the same  
instability and Flash App crashing.


Thought I'd post it in case its useful...  Any other ideas more  
desperately needed. Thanks.


Dan

On 15 May 2006, at 22:12, Dan Efergan wrote:

I've tried the video.stop() and video.closeVideoPlayer() prior to  
opening the new stream, but these do not seem to clear it.


(Tangent: calling video.stop() without a loaded Video in place  
seems to make Flash  Flash player pretty unstable and causes both  
applications to crash)


Thinking about loading a blank movie between change overs, but any  
other suggestions appreciated.


Dan Efergan
[EMAIL PROTECTED]



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

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


[Flashcoders] [Job] Strong Flash Designer, Hollywood, CA

2006-05-15 Thread Beau Gould
Strong Flash Designer, Hollywood, CA

INTRO: My client is a full service creative advertising agency recognized in
the motion picture and television industry as a leader in print campaign
design, development, and integrated online and grass-roots marketing.

INFO: They are located in the heart of the Hollywood Media District.  They
offer extremely competitive salaries.  Some other benefits include health,
dental, vision, catered lunch every day and much, much more.

POSITION: They are looking for high-level Flash Designer. Someone with
incredible design savvy and great Flash skills leaning towards the artistic
side of things.

APPLY: To be considered, please submit your portfolio and salary
requirements along with your salary requirements to
[EMAIL PROTECTED]

MISC: This is a full time, salaried position.  Candidates MUST work on-site.
Telecommuting is not an option.  Relocation might be available for the right
person.


Thank you,
Beau J. Gould

Open Source Staffing
www.open-source-staffing.com
[EMAIL PROTECTED]

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

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


[Flashcoders] Flash 8 Debugger Crashes

2006-05-15 Thread AJ Canepa
I have been using Flash 8 to compile a moderately complex Flash  
application with about 40 classes.  The code is all AS1.  It compiles  
and runs without error, but I run into issues when I try to use the  
interactive debugger.  Setting a breakpoint and stepping through code  
works for at least a few lines, but stepping into a method call or  
closing the debugger window generally causes Flash 8 to crash.  I  
don't have this issue when doing the same steps with Flash MX 2004 --  
in fact I had been using MX 2004 on this project for almost 2 years  
with no problems of this magnitude and just recently upgraded.  These  
are both Mac versions of the Flash IDE.


Has anyone experienced similar issues with debugger stability under  
Flash 8?


I contacted Adobe tech support about my issue and they told me to  
send in an example of the code that makes it crash.  Now I had only  
to isolate the crashing behavior to a particular construct within a  
40 class project without any knowledge of the architecture of the  
Flash debugger -- easy right?  When I didn't submit anything to them  
within a week they closed my ticket. :-P


Just hoping to collect some advice regarding this issue to see if I  
will need to keep swapping between two installs of the Flash IDE.


Also, I just joined Flashcoders and this is my first post to this  
list -- I look forward to helping out in the future.


Thanks.

AJ Canepa
Runtime Logic
www.runtimelogic.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] Clearing FLV visual content

2006-05-15 Thread Asai
My standard approach to this type of problem has been to never have 
more than one FLV on the stage at one time.  I've developed a class 
that, on video.stop(), unloads the video.  Then loads another one 
from the library and resets the contentPath of the FLV player.  To 
me, it's alot simpler that way, hope that helps... :-)


At 02:45 PM 5/15/2006, you wrote:

Been testing loading a blank movie prior to the new movie using two
quickly successive  contentPath calls, only to cause the same
instability and Flash App crashing.

Thought I'd post it in case its useful...  Any other ideas more
desperately needed. Thanks.

Dan

On 15 May 2006, at 22:12, Dan Efergan wrote:


I've tried the video.stop() and video.closeVideoPlayer() prior to
opening the new stream, but these do not seem to clear it.

(Tangent: calling video.stop() without a loaded Video in place
seems to make Flash  Flash player pretty unstable and causes both
applications to crash)

Thinking about loading a blank movie between change overs, but any
other suggestions appreciated.


Dan Efergan
[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


---asai 


___
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 serialize key events?

2006-05-15 Thread black59mga
Ron, 
Thanks very much for your response. You asked  What is wrong with this?. 
Probably nothing.. Just lack of experience on my part. The class is now 
actionscript. I'm trying to figure out what's the right kind of Object to pass 
to the insert(obj:Object) method. Thoughts?

Thanks!

The class:

class Mailbox {
  private var  numMessages:Number = 0;
  private var mailbox:Array = new Array();

  public function insert(obj:Object):Void {
  trace(Mailbox:: Insert)
mailbox.addElement(obj);
numMessages++;
   // notify();
  }

  public function remove() {
while (numMessages == 0) {
  try {
//wait();
  } catch (e:Error) {
  }
}

var obj:Object = mailbox.firstElement();
mailbox.removeElementAt(0);
numMessages--;
return obj;
  }

  public function numobj():Number {
return numMessages;
  }

  public function flush():Array {
var array:Array = null;
if (numMessages  0)
  array = new Array();
while (numMessages  0) {
  var obj:Object = mailbox.firstElement();
  array.addElement(obj);
  mailbox.removeElementAt(0);
  numMessages--;
}
return array;
  }
}

Ron Wheeler [EMAIL PROTECTED] wrote:
The code is pretty simple. Have you tried to code and test it under 
ActionScript?
It looks like you add objects  to a list and take the first one off the 
list. It provides a function to find out if there are any objects in the 
queue. What is wrong with this?

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.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] LF: Flash representation of Board of Directors network

2006-05-15 Thread Rajat Paharia

http://theyrule.net/

- rajat

On 5/15/06, Bill Brown [EMAIL PROTECTED] wrote:


Does anyone remember the URL for a flash project that showed the
connection
of the CEOs and board of directors for the major companies of the world?
It allowed you to see how many companies each person was on the board of
directors for. You could also expand company nodes to see all the board of
directors.

Thanks,
BB
___
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





--
Rajat Paharia
[EMAIL PROTECTED]
http://www.bunchball.com
http://www.rootburn.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 serialize key events?

2006-05-15 Thread Scott Hyndman
The array class does not have addElement or removeElement methods.

Read the docs for push and splice.

Scott

-Original Message-
From:   [EMAIL PROTECTED] on behalf of black59mga
Sent:   Mon 5/15/2006 6:16 PM
To: Flashcoders mailing list
Cc: 
Subject:Re: [Flashcoders] How to serialize key events?

Ron, 
Thanks very much for your response. You asked  What is wrong with this?. 
Probably nothing.. Just lack of experience on my part. The class is now 
actionscript. I'm trying to figure out what's the right kind of Object to pass 
to the insert(obj:Object) method. Thoughts?

Thanks!

The class:

class Mailbox {
  private var  numMessages:Number = 0;
  private var mailbox:Array = new Array();

  public function insert(obj:Object):Void {
  trace(Mailbox:: Insert)
mailbox.addElement(obj);
numMessages++;
   // notify();
  }

  public function remove() {
while (numMessages == 0) {
  try {
//wait();
  } catch (e:Error) {
  }
}

var obj:Object = mailbox.firstElement();
mailbox.removeElementAt(0);
numMessages--;
return obj;
  }

  public function numobj():Number {
return numMessages;
  }

  public function flush():Array {
var array:Array = null;
if (numMessages  0)
  array = new Array();
while (numMessages  0) {
  var obj:Object = mailbox.firstElement();
  array.addElement(obj);
  mailbox.removeElementAt(0);
  numMessages--;
}
return array;
  }
}

Ron Wheeler [EMAIL PROTECTED] wrote:
The code is pretty simple. Have you tried to code and test it under 
ActionScript?
It looks like you add objects  to a list and take the first one off the 
list. It provides a function to find out if there are any objects in the 
queue. What is wrong with this?

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.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] Clearing FLV visual content

2006-05-15 Thread Asai

I've avoided the whole Video Index thing and I don't regret it.  Good Luck

At 03:19 PM 5/15/2006, you wrote:

Yeah, could be the way.

I've also been looking video.activeVideoPlayerIndex, which does
something similar but all within one component.

I tried toggling the players (moving from index = 0 to index = 1 and
back) but the stream was still remembering the final frame.

I could continually increase the Video Player Index, but I'm unsure
how to deal with the memory issues.  I'm assuming each new command
given to a videoPlayerIndex creates a new Video Player Class object,
but how do I delete them?

If I can't sort it that way I'll probably do what you suggest and
reload from library.

Thanks

On 15 May 2006, at 23:11, Asai wrote:


My standard approach to this type of problem has been to never have
more than one FLV on the stage at one time.  I've developed a class
that, on video.stop(), unloads the video.  Then loads another one
from the library and resets the contentPath of the FLV player.  To
me, it's alot simpler that way, hope that helps... :-)


Dan Efergan
[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


---asai 


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

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


Re: [Flashcoders] Flash 8 Debugger Crashes

2006-05-15 Thread Dan Efergan
I haven't had the debugger crashing, but it tends to hang on the evil  
beach ball (Mac) for what seems like infinity, if trying to do any  
kind of intensive repetitive tasks (decompiling large amounts of XML  
is always a killer).


Probably not that useful, as the exact same thing happened in 2004 as  
well.  I usually tend to give up on the debugger for large projects  
and start using too many traces.


You tried http://osflash.org/xray . Not much experience with it, but  
might be a different way of getting in there.


Dan

On 15 May 2006, at 23:09, AJ Canepa wrote:

Has anyone experienced similar issues with debugger stability under  
Flash 8?


Dan Efergan
[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] Grab IP address

2006-05-15 Thread MetaArt
thanx 2 all for suggestions and comments...

* Enrico Tomaselli
* web designer
[EMAIL PROTECTED]
http://www.metatad.it
* Skype: MetaArt
RSS: http://www.metatad.it/mnfeeder.php

___
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] LF: Flash representation of Board of Directors network

2006-05-15 Thread Ettwein, Josh
http://www.theyrule.net/ 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bill
Brown
Sent: Monday, May 15, 2006 1:51 PM
To: Flashcoders mailing list
Subject: [Flashcoders] LF: Flash representation of Board of Directors
network

Does anyone remember the URL for a flash project that showed the
connection of the CEOs and board of directors for the major companies of
the world?
It allowed you to see how many companies each person was on the board of
directors for. You could also expand company nodes to see all the board
of directors.

Thanks,
BB
___
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 serialize key events?

2006-05-15 Thread black59mga
oops! you are correct. Thanks


Scott Hyndman [EMAIL PROTECTED] wrote: The array class does not have 
addElement or removeElement methods.

Read the docs for push and splice.

Scott



-
New Yahoo! Messenger with Voice. Call regular phones from your PC and save big.
___
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] \r

2006-05-15 Thread Fumio Nonaka
Even if you manipulate newline only with string, you might get annoying 
result:


// Frame action
var my_str:String = newline;
my_str += +newline;

// [Debug]  [List Variables]:
Variable _level0.my_str = ¥n¥r

Tested on Flash 8.0/Mac OS X.4.6  Windows XP (SP1)
_
Derek Vadneau wrote:
The bugger is using \n or newline in a string and setting the text of a 
textfield to that string converts \n to \r when you read the text again. 
It's why I never use \n or newline.


Good luck,

Fumio Nonaka
mailto:[EMAIL PROTECTED]
http://www.FumioNonaka.com/
My bookshttp://www.FumioNonaka.com/Books/index.html
Flash communityhttp://F-site.org/

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

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


Re: [Flashcoders] Flash 8 Debugger Crashes

2006-05-15 Thread John Grden

when trying xray, be sure to check out the basic videos on how to use it.
It's very simple, but the videos can really get you going very quickly

http://labs.blitzagency.com/wp-content/xray/videos/tutorials/indexFlash.html

if you have questions, don't hesitate to ask ;)

JG

On 5/15/06, Dan Efergan [EMAIL PROTECTED] wrote:


I haven't had the debugger crashing, but it tends to hang on the evil
beach ball (Mac) for what seems like infinity, if trying to do any
kind of intensive repetitive tasks (decompiling large amounts of XML
is always a killer).

Probably not that useful, as the exact same thing happened in 2004 as
well.  I usually tend to give up on the debugger for large projects
and start using too many traces.

You tried http://osflash.org/xray . Not much experience with it, but
might be a different way of getting in there.

Dan

On 15 May 2006, at 23:09, AJ Canepa wrote:

 Has anyone experienced similar issues with debugger stability under
 Flash 8?

Dan Efergan
[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





--
John Grden - Blitz
___
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] \r

2006-05-15 Thread Mick G

You could always wrap CDATA around it.

On 5/16/06, Fumio Nonaka [EMAIL PROTECTED] wrote:


Even if you manipulate newline only with string, you might get annoying
result:

// Frame action
var my_str:String = newline;
my_str += +newline;

// [Debug]  [List Variables]:
Variable _level0.my_str = ¥n¥r

Tested on Flash 8.0/Mac OS X.4.6  Windows XP (SP1)
_
Derek Vadneau wrote:
 The bugger is using \n or newline in a string and setting the text of a
 textfield to that string converts \n to \r when you read the text again.
 It's why I never use \n or newline.

Good luck,

Fumio Nonaka
mailto:[EMAIL PROTECTED]
http://www.FumioNonaka.com/
My bookshttp://www.FumioNonaka.com/Books/index.html
Flash communityhttp://F-site.org/

___
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] \r

2006-05-15 Thread Steven Sacks
 You could always wrap CDATA around it.

If you read the first post you would have seen that this is for an attribute
of an xml node.

-Steven


 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of Mick G
 Sent: Monday, May 15, 2006 6:16 PM
 To: Flashcoders mailing list
 Subject: Re: [Flashcoders] \r
 

 
 On 5/16/06, Fumio Nonaka [EMAIL PROTECTED] wrote:
 
  Even if you manipulate newline only with string, you might 
 get annoying
  result:
 
  // Frame action
  var my_str:String = newline;
  my_str += +newline;
 
  // [Debug]  [List Variables]:
  Variable _level0.my_str = ¥n¥r
 
  Tested on Flash 8.0/Mac OS X.4.6  Windows XP (SP1)
  _
  Derek Vadneau wrote:
   The bugger is using \n or newline in a string and setting 
 the text of a
   textfield to that string converts \n to \r when you read 
 the text again.
   It's why I never use \n or newline.
 
  Good luck,
 
  Fumio Nonaka
  mailto:[EMAIL PROTECTED]
  http://www.FumioNonaka.com/
  My bookshttp://www.FumioNonaka.com/Books/index.html
  Flash communityhttp://F-site.org/
 
  ___
  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] MPG1 video compression: Best settings? CD playback?

2006-05-15 Thread Micky Hulse

Hi all,

Anyone ever encode their video files with MPG1 for use on an interactive CD?

If so, what kind of settings do you use?

I found that Adobe Media Encoder works well for outputting mpg1 video 
files (comes with Adobe Premiere Pro).


TIA.  :)

Cheers,
Micky
___
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] MPG1 video compression: Best settings? CD playback?

2006-05-15 Thread Jon Bradley


On May 15, 2006, at 10:23 PM, Micky Hulse wrote:


Hi all,

Anyone ever encode their video files with MPG1 for use on an 
interactive CD?


If so, what kind of settings do you use?


It depends on what you term as a good quality.  What's the dimensions, 
how will it be played (Quicktime, Windows Media)?


For CD use, just keep your data rate low enough so that the CD isn't 
going to choke trying to play the file.


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] MPG1 video compression: Best settings? CD playback?

2006-05-15 Thread Micky Hulse

Jon Bradley wrote:
It depends on what you term as a good quality.  What's the dimensions, 
how will it be played (Quicktime, Windows Media)?


Not quicktime... Windows media... actually, this is for a director 
project. I chose MPG1 because I read that a high number of Mac and PC 
users already have decompresser installed for the video codec.


For CD use, just keep your data rate low enough so that the CD isn't 
going to choke trying to play the file.


Yep, sounds good... I guess I just get a bit confused when it comes to 
Variable bit rates... you know, like what I should set for target bit 
rate, min and max bitrates... all the settings that come with the 
encoder are a bit daunting.


I have been told 700kbs is a good bitrate for CD.

Thanks for help.
Cheers,
Micky
___
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] Causal Flash graphics work in Sydney

2006-05-15 Thread Chris Velevitch

There is some casual Flash graphics work available in Sydney. The
person wants to get some 'engaging flash graphics' done for their
online learning website.


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] datagGRid elements alignment

2006-05-15 Thread Matthew Simpson
col.setStyle(textAlign, center);


-Original Message-
From: [EMAIL PROTECTED] on behalf of [EMAIL PROTECTED]
Sent: Mon 5/15/2006 12:03 PM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] datagGRid elements alignment
 
Hi,
there is a way to align a datagrid column on the left ?
i mean dispose all elements of a certain row on the left?
Thanks,Riccardo
___
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] \r

2006-05-15 Thread ryanm
Even if you manipulate newline only with string, you might get annoying 
result:


// Frame action
var my_str:String = newline;
my_str += +newline;

// [Debug]  [List Variables]:
Variable _level0.my_str = ¥n¥r

   That's expected. One line break is a hard return, two of them is not 
two hard returns, it is a hard return and a line feed.


ryanm 


___
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] \r

2006-05-15 Thread Fumio Nonaka

Remove an empty string  from the second statement.  Is it also expected?
_
ryanm wrote:

// Frame action
var my_str:String = newline;

   // my_str += +newline;
   my_str += newline;


// [Debug]  [List Variables]:

   Variable _level0.my_str = \n\n

   That's expected. One line break is a hard return, two of them is 
not two hard returns, it is a hard return and a line feed.


Good luck,

Fumio Nonaka
mailto:[EMAIL PROTECTED]
http://www.FumioNonaka.com/
My bookshttp://www.FumioNonaka.com/Books/index.html
Flash communityhttp://F-site.org/

___
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] Wacom Tablet

2006-05-15 Thread Simon Lord
Does anyone know if Flash supports pressure sensitive feedback from  
Wacom tablets?  This would allow for really smooth drawing tools to  
be made that better represent the artists intentions.

___
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] Wacom Tablet

2006-05-15 Thread Anggie Bratadinata

Simon Lord wrote:
Does anyone know if Flash supports pressure sensitive feedback from 
Wacom tablets?  This would allow for really smooth drawing tools to be 
made that better represent the artists intentions.


Flash 8 does.


--
Anggie Bratadinata
Web|Graphic|Flash
Jl. Raya Langsep 21
Malang - East Java
I N D O N E S I A
http://design.ibshastautama.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] url encoding in flash?

2006-05-15 Thread rob costello
hello all 

Is there a method / function to URL encode a query string from inside
flash - or do we have to do that manually? 

I have a situation where I need to do an XML sendAndLoad to an external
php file

I want to do this as GET and pass a parameter to the query string of the
php file 

The parameter is itself a URL with a complex query string (contains
characters such as  and =) 

Not surprisingly, this breaks how php reads in the query string  -
causes it to think there are extra name / value pairs in the url 

So I'm thinking if there was a URL encoding routine in Flash I could
pass the parameter safely, and get php to deencode 

Any help appreciated

Rob 




Important - 
This email and any attachments may be confidential. If received in error, 
please contact us and delete all copies. Before opening or using attachments 
check them for viruses and defects. Regardless of any loss, damage or 
consequence, whether caused by the negligence of the sender or not, resulting 
directly or indirectly from the use of any attached files our liability is 
limited to resupplying any affected attachments. Any representations or 
opinions expressed are those of the individual sender, and not necessarily 
those of the Department of Education  Training.
___
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] Wacom Tablet

2006-05-15 Thread Kevin Aebig
I was using my wacom tablet with Flash 5. Works really well with the brush
tool once you get the hang of it.

!k

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Simon Lord
Sent: May 15, 2006 10:19 PM
To: Flashcoders mailing list
Subject: [Flashcoders] Wacom Tablet

Does anyone know if Flash supports pressure sensitive feedback from  
Wacom tablets?  This would allow for really smooth drawing tools to  
be made that better represent the artists intentions.
___
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] \r

2006-05-15 Thread Charles Parcell

Strangly enough, a team member asked me this question just Friday. We ended
up using

#x0A;  and  #x0D;

Charles P.


On 5/15/06, Patrick Matte [EMAIL PROTECTED] wrote:


Thanks, great idea, but a friend just told me what I was looking for.

lt;brgt;

Its a br with the  encoded.


Le 15/05/06 14:38, «Steven Sacks» [EMAIL PROTECTED] a écrit:

 x = str.split(\r).join(newline);


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf
 Of Patrick Matte
 Sent: Monday, May 15, 2006 11:34 AM
 To: Flashcoders mailing list
 Subject: [Flashcoders] \r

 Anybody knows how I can put a \r inside an xml node
 attribute? I want to add
 a line feed between two words.

 Just having \r in the attribute displays \r in my textfield.
 I think it must
 be encoded in a special way.


 ___
 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