Re: [Flashcoders] Programmatically instantiating a class that extends MovieClip.

2006-06-30 Thread eka

Hello :)

it's easy, you must use __proto__

AS2 - MyClass extend MovieClip !!!

MyClass extends MovieClip {

// o Constructor

public function MyClass() {

}

}



var mc = createEmptyMovieClip(myInstance, 1) ;
mc.__proto__ == MyClass.prototype ;
MyClass.call(mc) ;

EKA + :)




2006/6/29, Scott Hyndman [EMAIL PROTECTED]:


That's exactly what I mean. As a result you can do cool things like
reparenting -- like moving a button from one window to another. It
handles the MovieClip creation itself.

A code example really isn't too easy, because the framework that
allows this to be possible is quite large. If you were really
interested, you could look at the code. Here's a link:

http://tinyurl.com/jqtwv

It's a gigantic class...so it might be difficult to work through. The
important method is createMovieClips(), which is called when a view
(the type of object that encapsulates movieclips) moves to a new
superview.

Scott

On 29/06/06, Jim Kremens [EMAIL PROTECTED] wrote:
 Why not subclass object instead? Both ActionStep and ASwing work this
 way, then create movieclips on the fly. It's very nice to work with.

 So you never really subclass movieclip, you use composition instead.  In
 other words, your class has a movieclip, but it isn't a movieclip.,,

 Is that what you mean, or am I missing the point?  Can you give a small
code
 example?

 Thanks,

 Jim Kremens
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/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] FLV or MP3 stops during tween

2006-06-30 Thread Dan Rogers
For the record... I think I finally figured out what the problem was  
with my FLV.


It turns out to have less to do with Tweening functions and more to  
do with the fact that the NetStream class hates to be instantiated  
into a local variable.


As a reference for anyone having trouble with NetStream, FLV and AS2,  
just remember a couple things:


1) NetConnection and NetStream instances should be stored as  
movieclip or object properties, not local variables.
2) If you instantiate NetConnection and NetStream in an AS2 class,  
make sure the class is not instantiated into a local variable, either.


This behavior seems strange to me, and I'm not sure if it's already a  
known bug.  If anyone can shed any further light on this topic, it  
would be appreciated :)


-Dan


On Jun 29, 2006, at 7:52 PM, Dan Rogers wrote:


Hi there, first time on the list...

I am working on a pretty intensive flash UI, which makes use of  
onEnterFrame events, Tween class animations, etc...  and whenever I  
try to stream in an FLV or MP3, the playback completely stops after  
about 5-10 seconds. I can usually make it stop by rolling my mouse  
over a movieclip that uses a Tween to do an alpha fade.


Has anyone had any experience troubleshooting this?  I'm using  
Flash 8 and AS2...  and am completely stumped at this point.   I've  
tried both the mx.transitions.Tween and the ZigoTween engine, and  
they both bring the FLV to a halt.


Thanks.
-Dan

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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 9 Professional AS 3 Preview on labs

2006-06-30 Thread Aaron Buchanan
If adobe would stop boycotting it, heh. Jk just waiting for photoshop at the
moment..


On 6/29/06 1:46 PM, Weyert de Boer [EMAIL PROTECTED] wrote:

 Yeah, it sucks... but a reason to buy a mactel though ;-)
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/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] very basic question: Help?

2006-06-30 Thread jcarlos
I want to understand which is the best/right way to concatenate movies which 
are dependent on serInterval to finish their execution, 

example

this is part of a very simple image slice movement, I can have n slices, but 
just after the finish of the last one I´d like to know that it has finished 
and then start another animation


for (var i = 0; i  nTarjas; i++)
{
 tarja[i] = this.attachMovie (mcTarjas, tarja + i, 
this.getNextHighestDepth ());
 tarja[i]._x = posXInicial + i * deltaX;
 tarja[i]._y = 0;
 tarja[i]._alpha = (100 - deltaX) + i;
 intervalo[i] = setInterval (moveTarja, deltaTime, i, deltaX);
} 

function moveTarja (atual, deltaX)
{
 tarja[atual]._x -= deltaX;
if (tarja[atual]._x  deltaX * atual)
{

clearInterval (intervalo[atual]);
}
}


stop ();


this code is on the timeline, is not attached to any AS 2 external class

I understand the callBack function concept but I don´t realize how to implement 
it in this situation , like 

myAnimation.onFinished = function()
{
 //  do another thing  
}


thanks for any help 

João Carlos
Brazil 
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] trying to call a function passed as an argument

2006-06-30 Thread Latcho

if the function-param in

 public function doFirst(aString:String, bString:String,
aFunction:Function)

is a good reference to an existing function

you don't need to use the call()

to execute aFunction you can just use 


public function doFirst(aString:String, bString:String,aFunction:Function) {
	var newParam:String=pass it on!   
	 aFunction(newParam)

}

If that is what you wanted to know...


If the aFunction would be a String you should indeed use call()
_root[func].call();

-Latcho-






John Mark Hawley wrote:

You can't pass a reference to a method call like you seem to be trying to do by 
'bar.doLast'. You *can* pass functions around, but not object methods -- they 
no longer know what object they are supposed to act on.

See:

var a:Array = [1, 2, 3];
a.shift(); // a = [2, 3];
var shiftMethod:Function = a.shift;
shiftMethod(); // a still equals [2, 3] - this did nothing

One solution would be something like this:

public function doFirst(aString:String, aBarInstance:Bar, 
aBarMethodName:String) {
 trace(the first string is +aString);
 
 aBar[aBarMethodName]();

}

This is pretty nasty, though. You should probably let us know what the effect 
you are going for is so someone can suggest a better way, probably involving 
either untangling these two objects or using mx.utils.Delegate.

-mark hawley
  

From: Elie Zananiri [EMAIL PROTECTED]
Date: 2006/06/29 Thu PM 02:21:47 CDT
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] trying to call a function passed as an argument

Hi all,

I have this method where I need to call a function passed as an argument
(kind of like in setInterval()) and I don't understand the documentation and
can't get it to work.

First of all, I don't understand how to pass the function as a parameter.
Am I passing a String or an actual Function object?  Can I pass a Function
with parameters?  Do I have to write the parentheses in the parameter?

Next, how do I call this function?  The Function.call() function requires a
parameter but I don't get what it does...

Thanks for the help!

-Elie

Here is the structure I have:

class Bar {
  public Bar() {
  }

  public function doLast(bString:String) {
trace(the second string is +bString);
  }
}

class Foo {
  var bar:Bar;

  public Foo() {
bar = new Bar();
doFirst(hello, world, bar.doLast);
  }

  public function doFirst(aString:String, bString:String,
aFunction:Function) {
trace(the first string is +aString);

// call the second function here ???
aFunction.call(??);
  }
}
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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 Mark Hawley
The Nilbog Group
773.968.4980 (cell)

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] AS3 Flash 9 - Speed Freak

2006-06-30 Thread Zárate

Hi,

I was quite happy hearing about the performance until I went to play here:

http://www.teagames.com/games/tgmotocross/play.php

Please take a look to the performance playing with player 8 and
playing with player 9. Then it's curious because the CPU usage remains
under 50% at all times, even when the game is painfully slow.

If this is the compatibilty we can expect for the new player.

Anyone finding broken content?

On 6/30/06, David Rorex [EMAIL PROTECTED] wrote:

Very nice. I can't wait to see some of the cool demos people will make now
that AS3 is officially out

here's my performance stats:
CPU: AMD Sempron 1.81GHz
Firefox: 30fps 55% CPU usage
IE: 49fps 100% CPU usage

-David R

On 6/29/06, neo binedell [EMAIL PROTECTED] wrote:

 U can have a looky here: http://www.neoji.co.za/neo/taotest.html

 Framerate halves in the FireFox, only loses about 15fps in IE ;d

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of neo
 binedell
 Sent: 29 June 2006 10:23 PM
 To: 'Flashcoders mailing list'
 Subject: [Flashcoders] AS3 Flash 9 - Speed Freak

 I spent some time porting my flash AS2 3D engine over to AS3.
 Did some tests to see how they compare and:

 AS2:
 1  cube  120 fps (max framerate)
 16 cubes  34 fps

 AS3:
   1  cube  120 fps (max framerate)
 16  cubes 120 fps (max framerate)
 25  cubes 120 fps (max framerate)
 100  cubes  64 fps
 400  cubes  24 fps

 WHOAH!!

 And the engine is not even optimized yet!

 Can't wait to push the envelope with a ton of other things.

 AS3/Player9 lives up to its promises for speed so far I'd say ;p

 ~neo

 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/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




--
Juan Delgado - Zárate
http://www.zarate.tv
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] extends / super.function() bug

2006-06-30 Thread Joeri van Oostveen

I'm having this (weird) problem:

(Not sure if it's Flash Player (8/Mac) related, or compiletime related (mtasc))

I have for example this code:
class A
{
public function A()
{

}

public function doSomething():Void
{
// all sort of code
}
}


class B extends A
{
public function B()
{
super();
}

public function doSomething():Void
{
super.doSomething();

// more code
}
}


class C extends B
{
public function C()
{
super();
}
}

And I for example do this:

var c:C = new C();
c.doSomething();

the doSomething() gets called 3 times!
First time the B version, which calls the A function (2nd one).
Next, the A function is called again... which should not be so!!! :(

When I do this:
class C extends B
{
public function C()
{
super();
}

// useless wrapper
public function doSomething():Void
{
super.doSomething();
}
}

The doSomething() is also called 3 times, but first the C, which calls
the B, which calls the A function. As it should...

Now I hate to have to include every override function in all the
classes, so is there a solution to this?? (or does anyone know what is
going on / wrong?)

thanks in advance!
Joeri
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] AS3 Flash 9 - Speed Freak

2006-06-30 Thread Nicolas Cannasse
 If this is the compatibilty we can expect for the new player.
 
 Anyone finding broken content?

Yes we have a problem with LoadVars.send and getURL.
Looks like installing the Player 9 makes some changes into the security
model, even when you run Flash 8 content.

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] AS3 Flash 9 - Speed Freak

2006-06-30 Thread Michael Stuhr

Zárate schrieb:

Hi,

I was quite happy hearing about the performance until I went to play here:

http://www.teagames.com/games/tgmotocross/play.php

Please take a look to the performance playing with player 8 and
playing with player 9. Then it's curious because the CPU usage remains
under 50% at all times, even when the game is painfully slow.



i just played motocross  very nice game btw. ... and it was really ddead slow in FF 
(player 9) but in IE it has expected speed i guess. you should try it in both to see the diff.


micha

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

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


[Flashcoders] About OOP metodology

2006-06-30 Thread Ricardo Sánchez

I've just started to work in a big internet communication agency. We have to
make 2 or 3 microsites every week. Each of which uses a very similar form to
get user data.

All that changes from one to another is a couple of fields and the look of
it.

My question is: What's the best way to implement a re-usable class for this
kind of work? Should I make a movieclip with all the fields and a class
binded to it and modify the clip everytime I re-use it? Or should I make a
class that loads different clips from the library?

Do I explain myself?

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


Re: [Flashcoders] Flash Player 9 Public Beta for Apple Intel-based Macintosh computers

2006-06-30 Thread Scott Hyndman

It does. It's just been updated.

The problem I was having was that SWT password boxes on Intel Macs
wouldn't let me enter characters. I couldn't get or put anything into
version control, making Eclipse pretty useless for me.

If you write any JSP/Servlets/J2EE stuff, be sure to check out WTP. It
makes life a lot easier. The deployment stuff is great.

Scott

On 29/06/06, hank williams [EMAIL PROTECTED] wrote:

Oh ok. Thats interesting. I run eclipse on a mac and pc and hadnt run
into any problems on the mac yet. I am trying to transition to the
mac, but at the moment I can only do my java stuff there, which is a
bummer. I hope they can get their flex2 issues worked out soon.

So does the new eclipse not use SWT?

Hank

On 6/29/06, Scott Hyndman [EMAIL PROTECTED] wrote:
 It's the simultaneous new version rollout of 10 Eclipse projects. A
 lot of the projects are very cool, but the important one for me is
 Eclipse 3.2. The current version of Ecilpse has some problems on Intel
 Macs due to its reliance on SWT (which relies on native code). These
 should be resolved in this new version.

 I'm also looking forward to the new TPTP (a plugin for testing the
 performance of applications, and not just ones that are written in
 Java). It will not work on the Intel Mac, but since our servers are
 not running OSX it doesn't matter. Support for the Mac is planned for
 the next version too.

 Scott

 On 29/06/06, hank williams [EMAIL PROTECTED] wrote:
  Hey scott, what is that callipso thing all about. I mean I went to the
  eclipse site and there seemed like alot of kind of esoteric stuff. But
  I am not sure. Can you explain?
 
  Thanks
  Hank
 
  On 6/29/06, Scott Hyndman [EMAIL PROTECTED] wrote:
   Awesome.
  
   This and the Eclipse Callipso release (which is compatible with Intel
   Macs) makes this a pretty good week.
  
   Scott
  
   On 29/06/06, hank williams [EMAIL PROTECTED] wrote:
yipeee!!!
   
On 6/29/06, Francis Cheng [EMAIL PROTECTED] wrote:
 The Flash Player 9 Public Beta for Apple Intel-based Macintosh 
computers
 is now available:



 http://www.adobe.com/products/flashplayer/public_beta/



 Francis

 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/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@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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 Player 9 Public Beta for Apple Intel-based Macintosh computers

2006-06-30 Thread hank williams

If you write any JSP/Servlets/J2EE stuff, be sure to check out WTP. It
makes life a lot easier. The deployment stuff is great.


That sounds great. I have a friend who uses netbeans and keeps teasing
me about how much better it is for this stuff. And of course I couldnt
switch if I wanted to, between flex, java, and C there's no way I
could use netbeans, but it sounds like their deployment stuff kicks
ass and I have been jealous.

If WTP makes this smooth, I need to switch *today*.

Hank
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] AS3 Flash 9 - Speed Freak

2006-06-30 Thread neo binedell
I dunno, plays fine for me in both FF and IE with both players.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Michael
Stuhr
Sent: 30 June 2006 12:55 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] AS3 Flash 9 - Speed Freak

Zárate schrieb:
 Hi,
 
 I was quite happy hearing about the performance until I went to play here:
 
 http://www.teagames.com/games/tgmotocross/play.php
 
 Please take a look to the performance playing with player 8 and 
 playing with player 9. Then it's curious because the CPU usage remains 
 under 50% at all times, even when the game is painfully slow.
 

i just played motocross  very nice game btw. ... and it was really ddead
slow in FF (player 9) but in IE it has expected speed i guess. you should
try it in both to see the diff.

micha

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

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

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

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


Re: [Flashcoders] AS3 Flash 9 - Speed Freak

2006-06-30 Thread Jobe Makar

Hi,

Is your game written in AS 3? If not then you shouldn't expect a tremendous 
increase in performance. Simply using the Flash 9 player won't do it.


Jobe Makar
http://www.electrotank.com
http://www.electro-server.com
phone: 252-627-8026
mobile: 919-609-0408
fax: 919-341-8104
- Original Message - 
From: Zárate [EMAIL PROTECTED]

To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Friday, June 30, 2006 6:32 AM
Subject: Re: [Flashcoders] AS3 Flash 9 - Speed Freak


Hi,

I was quite happy hearing about the performance until I went to play here:

http://www.teagames.com/games/tgmotocross/play.php

Please take a look to the performance playing with player 8 and
playing with player 9. Then it's curious because the CPU usage remains
under 50% at all times, even when the game is painfully slow.

If this is the compatibilty we can expect for the new player.

Anyone finding broken content?

On 6/30/06, David Rorex [EMAIL PROTECTED] wrote:

Very nice. I can't wait to see some of the cool demos people will make now
that AS3 is officially out

here's my performance stats:
CPU: AMD Sempron 1.81GHz
Firefox: 30fps 55% CPU usage
IE: 49fps 100% CPU usage

-David R

On 6/29/06, neo binedell [EMAIL PROTECTED] wrote:

 U can have a looky here: http://www.neoji.co.za/neo/taotest.html

 Framerate halves in the FireFox, only loses about 15fps in IE ;d

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of neo
 binedell
 Sent: 29 June 2006 10:23 PM
 To: 'Flashcoders mailing list'
 Subject: [Flashcoders] AS3 Flash 9 - Speed Freak

 I spent some time porting my flash AS2 3D engine over to AS3.
 Did some tests to see how they compare and:

 AS2:
 1  cube  120 fps (max framerate)
 16 cubes  34 fps

 AS3:
   1  cube  120 fps (max framerate)
 16  cubes 120 fps (max framerate)
 25  cubes 120 fps (max framerate)
 100  cubes  64 fps
 400  cubes  24 fps

 WHOAH!!

 And the engine is not even optimized yet!

 Can't wait to push the envelope with a ton of other things.

 AS3/Player9 lives up to its promises for speed so far I'd say ;p

 ~neo

 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/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




--
Juan Delgado - Zárate
http://www.zarate.tv
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] trying to call a function passed as an argument

2006-06-30 Thread Doug Coning
This is how I do it:


var functA:Function = function(){
trace(A);
}

var functB:Function = function(){
trace(B);
}

function performFunctions(funct:Function){
funct();
}

performFunctions(functA);

performFunctions(functB);


Doug Coning 
Senior Web Development Programmer
FORUM Solutions, LLC
 
 -Original Message-
 From: [EMAIL PROTECTED] [mailto:flashcoders-
 [EMAIL PROTECTED] On Behalf Of Elie Zananiri
 Sent: Thursday, June 29, 2006 3:22 PM
 To: flashcoders@chattyfig.figleaf.com
 Subject: [Flashcoders] trying to call a function passed as an argument
 
 Hi all,
 
 I have this method where I need to call a function passed as an
argument
 (kind of like in setInterval()) and I don't understand the
documentation
 and
 can't get it to work.
 
 First of all, I don't understand how to pass the function as a
parameter.
 Am I passing a String or an actual Function object?  Can I pass a
Function
 with parameters?  Do I have to write the parentheses in the parameter?
 
 Next, how do I call this function?  The Function.call() function
requires
 a
 parameter but I don't get what it does...
 
 Thanks for the help!
 
 -Elie
 
 Here is the structure I have:
 
 class Bar {
   public Bar() {
   }
 
   public function doLast(bString:String) {
 trace(the second string is +bString);
   }
 }
 
 class Foo {
   var bar:Bar;
 
   public Foo() {
 bar = new Bar();
 doFirst(hello, world, bar.doLast);
   }
 
   public function doFirst(aString:String, bString:String,
 aFunction:Function) {
 trace(the first string is +aString);
 
 // call the second function here ???
 aFunction.call(??);
   }
 }
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/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] very basic question: Help?

2006-06-30 Thread Mick G

This is the perfect scenario for using any of the many tweening classes...
It might seem a bit confusing at first, but once you get familiar with them
you'll wonder how you ever lived without them.

I like...
http://hosted.zeh.com.br/mctween/
(has filter tweens which are nice, and I like the way the callback functions
work)

otherwise...
http://laco.wz.cz/tween/
(quite popular)

or Macromedia actually have some built in to Flash
(Search Flash help for About the Tween class).


On 6/30/06, jcarlos [EMAIL PROTECTED] wrote:


I want to understand which is the best/right way to concatenate movies
which are dependent on serInterval to finish their execution,

example

this is part of a very simple image slice movement, I can have n slices,
but just after the finish of the last one I´d like to know that it has
finished and then start another animation


for (var i = 0; i  nTarjas; i++)
{
 tarja[i] = this.attachMovie (mcTarjas, tarja + i,
this.getNextHighestDepth ());
 tarja[i]._x = posXInicial + i * deltaX;
 tarja[i]._y = 0;
 tarja[i]._alpha = (100 - deltaX) + i;
 intervalo[i] = setInterval (moveTarja, deltaTime, i, deltaX);
}

function moveTarja (atual, deltaX)
{
 tarja[atual]._x -= deltaX;
if (tarja[atual]._x  deltaX * atual)
{

clearInterval (intervalo[atual]);
}
}


stop ();


this code is on the timeline, is not attached to any AS 2 external class

I understand the callBack function concept but I don´t realize how to
implement it in this situation , like

myAnimation.onFinished = function()
{
 //  do another thing
}


thanks for any help

João Carlos
Brazil
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] AS3 Flash 9 - Speed Freak

2006-06-30 Thread David Mendels
Nicolas, Zarate,

Did you file bugs for these in the beta period?

If not, please send specifics of the problems you are having and I will
forward to the team.

-David 

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf 
 Of Nicolas Cannasse
 Sent: Friday, June 30, 2006 6:45 AM
 To: Flashcoders mailing list
 Subject: Re: [Flashcoders] AS3 Flash 9 - Speed Freak
 
  If this is the compatibilty we can expect for the new player.
  
  Anyone finding broken content?
 
 Yes we have a problem with LoadVars.send and getURL.
 Looks like installing the Player 9 makes some changes into 
 the security model, even when you run Flash 8 content.
 
 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
 
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] About OOP metodology

2006-06-30 Thread Adam Pasztory

I generally prefer loading external SWFs for this sort of thing.  That way
the individual form SWFs are not dependent on the master SWF.  And you avoid
library bloat.  You could create a template that is a starting point for
building individual forms.

-Adam

On 6/30/06, Ricardo Sánchez [EMAIL PROTECTED] wrote:


I've just started to work in a big internet communication agency. We have
to
make 2 or 3 microsites every week. Each of which uses a very similar form
to
get user data.

All that changes from one to another is a couple of fields and the look of
it.

My question is: What's the best way to implement a re-usable class for
this
kind of work? Should I make a movieclip with all the fields and a class
binded to it and modify the clip everytime I re-use it? Or should I make a
class that loads different clips from the library?

Do I explain myself?

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

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


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

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


[Flashcoders] exporting dynamic swf art to other apps

2006-06-30 Thread Mason Wendell

Hey all,

I'm generating art in actionscript that I need to export from my swf and
bring into Illustrator or Photoshop for final tweaks before sending it out
to a large format printer. I know you can export from the IDE but since
everything I'm using is dynamic I can't use those functions.

My current best method is to print the swf to a pdf from the player and open
that pdf in Illustrator. Unfortunatly I lose all my alpha and filter data in
this process, and since I might have 1000 or more instances in my export
those values are nearly impossible to recreate. I've tried adjusting the pdf
settings but I haven't found the right combo yet.

Does anybody here know of a method to export still frames (I'm not trying to
export video or motion here) from the swf in a vector format?

This issue has been nagging me for quite a while now, and I haven't found
any tutorials or tips online on how to do it. I'd really appreciate any
feedback from this forum. Thanks a lot.

-=Mason
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] AS3 Flash 9 - Speed Freak

2006-06-30 Thread Nicolas Cannasse
 Nicolas, Zarate,

Hello David,

 Did you file bugs for these in the beta period?

I didn't have enough free time to test the Flash Player 9 during the
beta. The problem has been reported by some of our end-users and so we
confirmed it today.

I have been describing the problem clearly in a mail I sent today on the
OSFlash list while asking of advices on how to fix it.

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] exporting dynamic swf art to other apps

2006-06-30 Thread Lee McColl-Sylvester
I think the issue you'll find here is that, the work area of the Flash
IDE is not the Flash player.  Any content created in the IDE can be made
use of however Adobe see fit as it's an IDE, but the player is cut down
for file size and speed purposes.

Your best bet is to either look up exporting frames from an SWF in the
IDE itself, or lookup other IDE's / decompilers and see if they support
it.

Lee




-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mason
Wendell
Sent: 30 June 2006 15:36
To: Flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] exporting dynamic swf art to other apps

Hey all,

I'm generating art in actionscript that I need to export from my swf and
bring into Illustrator or Photoshop for final tweaks before sending it
out
to a large format printer. I know you can export from the IDE but since
everything I'm using is dynamic I can't use those functions.

My current best method is to print the swf to a pdf from the player and
open
that pdf in Illustrator. Unfortunatly I lose all my alpha and filter
data in
this process, and since I might have 1000 or more instances in my export
those values are nearly impossible to recreate. I've tried adjusting the
pdf
settings but I haven't found the right combo yet.

Does anybody here know of a method to export still frames (I'm not
trying to
export video or motion here) from the swf in a vector format?

This issue has been nagging me for quite a while now, and I haven't
found
any tutorials or tips online on how to do it. I'd really appreciate any
feedback from this forum. Thanks a lot.

-=Mason
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] MX 2004 Listbox

2006-06-30 Thread Graham Pearson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
 
My question regarding this component is how can I test the value of
the data to make sure the user has selected at least 1 entry from this
list. I am able to retrieve the data value if the user has selected
one or more entries but if the user did not select any I am getting a
value of undefined and not sure how to test this value.


Anyone have resources where I can look I have tried
if(carbonCopyUsers_lb.getSelectedItems().data == undefined {
trace(User did not select an item); }

However the trace statement does not run.

- --
Graham Pearson, System Administrator / Application Developer
Northern Indiana Educational Services Center
Mishawaka, IN 46544
Voice (866) 254-5322 or (574) 254-5210 / Fax (574) 254-0148

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (MingW32)
Comment: GnuPT 2.6.2.1 by EQUIPMENTE.DE
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
 
iD8DBQFEpTn6rwdok4nP6d0RAlvmAJ4352joN3uD6uIW+nkl8yrhzQ7kDACgg5Ru
S77/pW6oaqMbXmEr1/AfTtw=
=umCI
-END PGP SIGNATURE-

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Smoothing dynamically loaded images in AS3

2006-06-30 Thread Paul Neave

When Flash 8 was released there was a 'feature' that meant any
dynamically loaded image could not have its pixels smoothed when
resized, and an ugly workaround was needed to smooth the image using
BitmapData. Tinic Uro blogged about the problem here:

http://www.kaourantin.net/2005/12/dynamically-loading-bitmaps-with.html

I assumed that the proper way to fix this would be to make it so
setting the Flash movie's quality to BEST would force all images to
be smoothed automatically by the Flash renderer (just as in every
other release of the Flash Player), but in the end it looked like
there was going to be a MovieClip.forceSmoothing accessor instead.

Either way, unfortunately it seems this feature still hasn't been
resolved. In the preview release of Flash 9 I tried the follow code:

stage.quality = StageQuality.BEST;

var request:URLRequest = new
URLRequest(http://www.google.com/intl/en/images/logo.gif;);
var loader:Loader = new Loader();
loader.load(request);
addChild(loader);

When you zoom in on the Flash movie the image remains aliased and not
smoothed. Please tell me I'm missing something, that there's a simple
way to smooth an image once loaded in, and not that this issue still
hasn't been fixed.

Many thanks,
Paul.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] About OOP metodology

2006-06-30 Thread elibol

Try a compositional approach. You might design a set of classes that
reference movieclips and delegate events to the class; this would be
contrary to extending movieclips. This way you can design movieclips
specific to the site and design the code specific to the logic.

You could even abstract the technical logic from the UI completely and write
communicators/controllers that respond to events fired from the ui
(movieclips).

M.

On 6/30/06, Ricardo Sánchez [EMAIL PROTECTED] wrote:


I've just started to work in a big internet communication agency. We have
to
make 2 or 3 microsites every week. Each of which uses a very similar form
to
get user data.

All that changes from one to another is a couple of fields and the look of
it.

My question is: What's the best way to implement a re-usable class for
this
kind of work? Should I make a movieclip with all the fields and a class
binded to it and modify the clip everytime I re-use it? Or should I make a
class that loads different clips from the library?

Do I explain myself?

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

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


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

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


Re: [Flashcoders] exporting dynamic swf art to other apps

2006-06-30 Thread Mason Wendell

Thanks a lot. I haven't explored decompilers. I'll check some out and see
what my options are. Has anyone else tried this method? Any recommendations
for a good decompiler or technique?

On 6/30/06, Lee McColl-Sylvester [EMAIL PROTECTED] wrote:


I think the issue you'll find here is that, the work area of the Flash
IDE is not the Flash player.  Any content created in the IDE can be made
use of however Adobe see fit as it's an IDE, but the player is cut down
for file size and speed purposes.

Your best bet is to either look up exporting frames from an SWF in the
IDE itself, or lookup other IDE's / decompilers and see if they support
it.

Lee




-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mason
Wendell
Sent: 30 June 2006 15:36
To: Flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] exporting dynamic swf art to other apps

Hey all,

I'm generating art in actionscript that I need to export from my swf and
bring into Illustrator or Photoshop for final tweaks before sending it
out
to a large format printer. I know you can export from the IDE but since
everything I'm using is dynamic I can't use those functions.

My current best method is to print the swf to a pdf from the player and
open
that pdf in Illustrator. Unfortunatly I lose all my alpha and filter
data in
this process, and since I might have 1000 or more instances in my export
those values are nearly impossible to recreate. I've tried adjusting the
pdf
settings but I haven't found the right combo yet.

Does anybody here know of a method to export still frames (I'm not
trying to
export video or motion here) from the swf in a vector format?

This issue has been nagging me for quite a while now, and I haven't
found
any tutorials or tips online on how to do it. I'd really appreciate any
feedback from this forum. Thanks a lot.

-=Mason
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] exporting dynamic swf art to other apps

2006-06-30 Thread Jolyon Russ

This is a method used a lot by Joshua Davis, I took his FITC boot camp
course and no, you can't retain the alpha values and presumably filter (not
tried w/filters).

I think you'll find that because the alpha and filter properties are applied
at run-time the pdf you output will only embed the standard library symbols
without any of this information.

Also, you might find you get better result printing as .ps files,
Illustrator will like them more than pdf but it still won't solve your
problem, sadly.

Jolyon

PS. First reply so :-P

On 6/30/06, Mason Wendell [EMAIL PROTECTED] wrote:


Thanks a lot. I haven't explored decompilers. I'll check some out and see
what my options are. Has anyone else tried this method? Any
recommendations
for a good decompiler or technique?

On 6/30/06, Lee McColl-Sylvester [EMAIL PROTECTED] wrote:

 I think the issue you'll find here is that, the work area of the Flash
 IDE is not the Flash player.  Any content created in the IDE can be made
 use of however Adobe see fit as it's an IDE, but the player is cut down
 for file size and speed purposes.

 Your best bet is to either look up exporting frames from an SWF in the
 IDE itself, or lookup other IDE's / decompilers and see if they support
 it.

 Lee




 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Mason
 Wendell
 Sent: 30 June 2006 15:36
 To: Flashcoders@chattyfig.figleaf.com
 Subject: [Flashcoders] exporting dynamic swf art to other apps

 Hey all,

 I'm generating art in actionscript that I need to export from my swf and
 bring into Illustrator or Photoshop for final tweaks before sending it
 out
 to a large format printer. I know you can export from the IDE but since
 everything I'm using is dynamic I can't use those functions.

 My current best method is to print the swf to a pdf from the player and
 open
 that pdf in Illustrator. Unfortunatly I lose all my alpha and filter
 data in
 this process, and since I might have 1000 or more instances in my export
 those values are nearly impossible to recreate. I've tried adjusting the
 pdf
 settings but I haven't found the right combo yet.

 Does anybody here know of a method to export still frames (I'm not
 trying to
 export video or motion here) from the swf in a vector format?

 This issue has been nagging me for quite a while now, and I haven't
 found
 any tutorials or tips online on how to do it. I'd really appreciate any
 feedback from this forum. Thanks a lot.

 -=Mason
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/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: Re: [Flashcoders] exporting dynamic swf art to other apps

2006-06-30 Thread John Mark Hawley
How about trying to print the _root as a pdf using {printAsBitmap: true}? 
That's supposed to play well with transparency, innit?

 
 From: Jolyon Russ [EMAIL PROTECTED]
 Date: 2006/06/30 Fri AM 10:39:24 CDT
 To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
 Subject: Re: [Flashcoders] exporting dynamic swf art to other apps
 
 This is a method used a lot by Joshua Davis, I took his FITC boot camp
 course and no, you can't retain the alpha values and presumably filter (not
 tried w/filters).
 
 I think you'll find that because the alpha and filter properties are applied
 at run-time the pdf you output will only embed the standard library symbols
 without any of this information.
 
 Also, you might find you get better result printing as .ps files,
 Illustrator will like them more than pdf but it still won't solve your
 problem, sadly.
 
 Jolyon
 
 PS. First reply so :-P
 
 On 6/30/06, Mason Wendell [EMAIL PROTECTED] wrote:
 
  Thanks a lot. I haven't explored decompilers. I'll check some out and see
  what my options are. Has anyone else tried this method? Any
  recommendations
  for a good decompiler or technique?
 
  On 6/30/06, Lee McColl-Sylvester [EMAIL PROTECTED] wrote:
  
   I think the issue you'll find here is that, the work area of the Flash
   IDE is not the Flash player.  Any content created in the IDE can be made
   use of however Adobe see fit as it's an IDE, but the player is cut down
   for file size and speed purposes.
  
   Your best bet is to either look up exporting frames from an SWF in the
   IDE itself, or lookup other IDE's / decompilers and see if they support
   it.
  
   Lee
  
  
  
  
   -Original Message-
   From: [EMAIL PROTECTED]
   [mailto:[EMAIL PROTECTED] On Behalf Of Mason
   Wendell
   Sent: 30 June 2006 15:36
   To: Flashcoders@chattyfig.figleaf.com
   Subject: [Flashcoders] exporting dynamic swf art to other apps
  
   Hey all,
  
   I'm generating art in actionscript that I need to export from my swf and
   bring into Illustrator or Photoshop for final tweaks before sending it
   out
   to a large format printer. I know you can export from the IDE but since
   everything I'm using is dynamic I can't use those functions.
  
   My current best method is to print the swf to a pdf from the player and
   open
   that pdf in Illustrator. Unfortunatly I lose all my alpha and filter
   data in
   this process, and since I might have 1000 or more instances in my export
   those values are nearly impossible to recreate. I've tried adjusting the
   pdf
   settings but I haven't found the right combo yet.
  
   Does anybody here know of a method to export still frames (I'm not
   trying to
   export video or motion here) from the swf in a vector format?
  
   This issue has been nagging me for quite a while now, and I haven't
   found
   any tutorials or tips online on how to do it. I'd really appreciate any
   feedback from this forum. Thanks a lot.
  
   -=Mason
   ___
   Flashcoders@chattyfig.figleaf.com
   To change your subscription options or search the archive:
   http://chattyfig.figleaf.com/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
 

--
John Mark Hawley
The Nilbog Group
773.968.4980 (cell)

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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 japanese people embed fonts?

2006-06-30 Thread Kenneth Kawamoto

 i have to get japanese characters into our application, but as i see it,
 there is no solution for this :(

If you embed a Japanese font the file size will increase by 1.75MB or 
more per font, so I would not embed Japanese fonts for on-line delivery. 
I would use generic device fonts for dynamic texts. For static texts you 
don't need to embed fonts at all.


Kenneth Kawamoto
http://www.materiaprima.co.uk/


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] MovieClipLoader vs component

2006-06-30 Thread Rick Lecoat
Hi to all on the list from a new sign-up.

I'm also new to the whole AS thing, so do please bear with me if I ask
questions that seem obvious or stupid to those with more experience then
I (which will be all of you).

The book that I used to teach myself Flash offered two ways of loading a
SWF inside another movie; one was by using a movieClipLoader, and the
other was by using a Loader component.

The first way seems more complicated (needs for AS code), but I'm also
wondering if it offers more control than the component option.

What is generally considered to be the better way?  
Thanks in advance; 

-- 
Rick Lecoat


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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 japanese people embed fonts?

2006-06-30 Thread Adrian Park

I'd agree with Kenneth. If possible, use something like Verdana which
definitely includes all the characters you need - not all fonts do.

But, if you really do need to embed the fonts, then you can use a
combination of your first two suggestions to acheive what you want.

1) create a font symbol, giving it whatever name you want to use to refer to
your font.
2) create a text field on the stage and use that to force Flash to embed
whichever characters you want. For different font weights, use more font
symbols and text fields.

As Kenneth warns, it can very quickly pump up your compiled swf size though.

HTH
Adrian P.


On 6/30/06, Kenneth Kawamoto [EMAIL PROTECTED] wrote:


 i have to get japanese characters into our application, but as i see it,
 there is no solution for this :(

If you embed a Japanese font the file size will increase by 1.75MB or
more per font, so I would not embed Japanese fonts for on-line delivery.
I would use generic device fonts for dynamic texts. For static texts you
don't need to embed fonts at all.

Kenneth Kawamoto
http://www.materiaprima.co.uk/


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Getter/Setter behaviour question

2006-06-30 Thread Derek Vadneau
I checked the archives and Googled variations of this issue but I couldn't 
find anything specific to this issue.

I created a component that contains some inspectable properties, which are 
actually getters and setters. I simplified the class to demonstrate the 
issue.

The inpectable prop is an array to let you specify paths to movieclips. 
Because the array is made up of strings, the setter function is supposed 
to run through the array and eval the strings. However, the setter is only 
called once, and it's passed an empty array, even though there is a 
default and the component properties panel contains data.

Here is the class:

class MyClass
{
private var _scrollTargets:Array;

function MyClass()
{
init();
}

public function init():Void
{
trace('init: '+_scrollTargets);
}

[Inspectable(type=Array,defaultValue=_level0)]
public function set scrollTargets(t:Array)
{
trace('set: '+t);

_scrollTargets = new Array();
}
public function get scrollTargets():Array
{
trace('get: '+_scrollTargets);

return _scrollTargets;
}
}

The array in the component properties panel is _level5, just so it's 
different from the default _level0.

In the Output panel I get:
set:
get:
get:
init: _level5

What gives?

The setter is only called once but somehow the private property is set to 
contain the value(s) I enter.

In the setter, if I don't make _scrollTargets = new Array(), then the 
trace on the init is undefined, as I would expect.

How is the property being set without going through the setter? The 
property being set isn't the same name as the getter/setter (it has an 
underscore) so how is it being set?

I realize I can do this a different way, so I'm not looking for 
alternatives, unless I'm doing something incorrectly, in which case please 
let me know.

TIA,

Derek Vadneau


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] extends / super.function() bug

2006-06-30 Thread Jim Cheng

Joeri van Oostveen wrote:


I'm having this (weird) problem:

the doSomething() gets called 3 times!
First time the B version, which calls the A function (2nd one).
Next, the A function is called again... which should not be so!!! :(


It's a rather annoying but poorly documented bug that's been around for 
quite a while--at least since since Flash Player 6 if I'm not mistaken. 
 If you search through the ChattyFig archives, you can find some of the 
past discussions here:


http://chattyfig.figleaf.com/pipermail/flashcoders/2003-February/064363.html
http://chattyfig.figleaf.com/pipermail/flashcoders/2004-November/126203.html

In addition to this bug, the super pointer has traditionally been quite 
problematic and buggy, particularly in atypical usages such as 
referencing a method other than the currently overridden one from the 
superclass, or within a with block.


In your case, the simplest solution would be to make sure that you 
override the afflicted method in each class in your inheritance chain, 
although this can get rather ugly very quickly, particularly with large 
codebases.


I actually ran into this exact same bug myself a couple of weeks ago 
while hacking together an AOP-based run-time profiler for ActionScript 
2.0 and got myself quite confused for a while until I hit up a few 
friends of mine whom helpfully refreshed my memory.


At that time, my friend and co-worker Sean Christmann recommended the 
following fix from a previous project of his:


code

  _global.superFix = function(curSuper) {

 // arguments.callee is this function object
 // set the super passed in so we can use it in __resolve
 arguments.callee.__super = curSuper
 arguments.callee.__caller = arguments.caller;

 // return ourselves so the method gets called on us
 return arguments.callee;
  }

  // Now, instead of calling super.myMethod(), do the following:
  superFix(super).myMethod();

/code

Jim


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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 japanese people embed fonts?

2006-06-30 Thread Zeh Fernando

 i have to get japanese characters into our application, but as i see it,
 there is no solution for this :(

If you embed a Japanese font the file size will increase by 1.75MB or more 
per font, so I would not embed Japanese fonts for on-line delivery. I 
would use generic device fonts for dynamic texts. For static texts you 
don't need to embed fonts at all.


Like Kenneth said, simply don't - use _sans or _serif as fonts so it will 
use the default system fonts.


You will lose some control of the text - you won't know in advance the 
length it will have (it will change from computer to computer), and even how 
it will be rendered (with or without antialias - also change from computer 
to computer).


The good thing is that although it's limited, you do have some control of 
it - you can still use effects (Flash 8+) for example. So it's simply a 
matter of dealing with it in a different way.


- Zeh 


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] FOSS, Science, and Public activism

2006-06-30 Thread proclus
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

(Sorry if you get more than one copy of this message, but I felt
that it was urgent to get this important info out.)

The values of freedom and openness are crucial to understanding 
itself, so that civilization and public welfare now depend on 
them, as I argue below.  These values may find their best 
expression in the free and open source software (FOSS) movement, 
and the foresightful example of FOSS developers should now be
beneficially applied to many other disciplines in the context of a
global and public Internet.

It is crucial that we occasionally take time to discuss the
reasons _why_ we release our source code, and this is one of 
those occasions.  There are good reasons for the freedom and
openness which are characteristics of FOSS development, reasons
which should receive wider attention now that they can be readily
communicated to other arenas.  The consequences of doing otherwise
are often catastrophic.

For example, it incomprehensible that Genentech could consider
withdrawing a cheap cure for blindness (ARMD) from the market.

http://lists.essential.org/pipermail/random-bits/2006-june/001374.html

The mechanism of this drug is public knowledge.

http://sourceforge.net/mailarchive/forum.php?thread_id=14183567forum_id=6042

This abhorrent situation is a great example of the kind of thing
that will happen if people don't get behind the values of freedom
and openness that we are espousing.  Please let Genentech know
that you find what they are doing offensive.  Publicize the mechanism
so that new compounds can be obtained as replacements.  For the 
future, continued vociferous public activism is required to prevent
such outrages from occurring in the future.

It becomes clear that the compounds which come from common roots,
fruits, and vegetables are a shared human heritage and the free and
open source of the future.  Tannins are another interesting case in
point, because as molecules, and as anti-oxidents, they are similar to
resveratrol (resV), and that molecular mechanism has been anchored to
the public domain via a prior art declaration.  It is a so-called
CR-memetic, which may increase healthy human longevity by many
decades.  Here are some links about it.

Resveratrol mechanism posts from GNU-Darwin list
http://proclus.gnu-darwin.org/gdposts.html

CR protocol for human bodies
http://proclus.gnu-darwin.org/bootstrap.html

Here is some important recent news about it.

http://www.imminst.org/forum/index.php?s=act=printclient=printerf=237t=10749

It is exciting to suppose that people can get off the pharmaceuticals
that they are taking with calorie restriction or CR-memetics.  I
personally am trying to get off the cholesterol drug Pravachol, a
statin compound, starting a few of weeks ago.  Write me, and I'll let
you know how it turns out.  From the article...

Fontana says ...  evidence of younger hearts in people on calorie
restriction, suggest that humans on CR have the same adaptive
responses as did animals whose rates of aging were slowed by CR.

I think that it is time to look at the tannins in tobacco leaves.  
There may be other treasures lurking there too.  As you may be
aware there is ample public research into any possible beneficial
compounds that may be obtained from tobacco leaves.  The mechanisms
are there waiting to be discovered.  If you want to post them, just
reply to me and I'd be delighted to host them.

The public establishment of prior art is a time-honed method of
entering inventions into the public domain.  We now have other
methods at our disposal as well.   If you are planning to establish
prior art against future CR-memetic related patents, you might want
to have a look at www.creativecommons.org.  Perhaps it goes without
saying at this point that you should please choose a license that
provides for free and broad public access to your memetic.

In that way you will assure that the public health is served by 
anchoring them to the public common, where they cannot be exploited
by those who would withhold them for their own profit.  The DRM 
situation is precisely analogous to this.  Can you imagine doing
science in a world where your ability to read and write your data is
filtered through secret protocols that are hidden from you? I
recommend the Defective By Design campaign to fight the outrage of
DRM, which is incompatible with the scientific pursuit.

http://www.defectivebydesign.org/

It is clear that scientific tools must be demonstrably and
penetratingly understood, or else our claims will likely be skewed
and called into question.  Free and open source software is
a great example of how to make your science verifiable to the
public.  Establishing prior art against future patents is 
another good one, which is precisely analogous in method, 
making the result explicit to the public, free and open to all.
Thank goodness for the free and open software movement, which
gave us such a great example of how to serve 

RE: [Flashcoders] FOSS, Science, and Public activism

2006-06-30 Thread Dave Watts
 Subject: [Flashcoders] FOSS, Science, and Public activism

Try as I might, I can't find anything about Flash coding within this
message. This kind of completely OT crap is unacceptable.

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

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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 japanese people embed fonts?

2006-06-30 Thread Kenneth Kawamoto

 But, if you really do need to embed the fonts, then you can use a
 combination of your first two suggestions to acheive what you want.

 1) create a font symbol, giving it whatever name you want to use to 
refer to

 your font.
 2) create a text field on the stage and use that to force Flash to embed
 whichever characters you want.

I'm not sure if this works for Japanese text, as a Font Symbol does not 
include Japanese font outlines even for a Japanese font. (This behaviour 
may be different on Japanese version of Flash IDE, but I don't know.)


The only way I know is to embed fonts into TextFields manually. But then 
you can embed only one style per TextField and you cannot mix styles 
such as bold and italic in one TextField.


(These issues were the points of the original poster if I understood 
correctly.)


If you really want, you can create 3 extra dummy TextFields per font, 
and embed bold, italic and bold-italic styles. After that you can mix 
all these styles in one TextField.


However this has a heavy penalty - about 9MB for just one font.

Use _sans or _serif as in Zeh's post…

Kenneth Kawamoto
http://www.materiaprima.co.uk/

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Biased Random Particle Distribution

2006-06-30 Thread elibol

I wish there were more discussions like this...

I experimented a bit with this with some curving equations, this is what I
have to contribute:

import flash.geom.Point;
var particleAmount = 100;
var particles = [];

var radiusMin = 3;
var radiusMax = 100;

function createParticles(){
   var i = -1, l = particleAmount, a = 0, rDiff = radiusMax - radiusMin;
   while(++il){

   a = Math.pow(2, 10 * (i/l-1));
   //a = Math.sin((Math.PI/2)*i/l);
   trace(a);

   var radius = a*rDiff;

   //var theta = Math.random()*Math.PI*2;
   var theta = (i/l)*(Math.PI*2);
   //var theta = 0;

   particles.push(Point.polar(radius, theta));
   }
}

function drawParticles(){
   var i = -1, l = particles.length;
   _root.createEmptyMovieClip('emc', 1);
   _root.emc._x = Stage.width/2;
   _root.emc._y = Stage.height/2;
   _root.emc.lineStyle(1, 0x00, 100);
   //trace(particles);
   trace(particles.length);
   while(++il){
   var a = particles[i].x*3, b = particles[i].y*3, c = a, d = b + 1;
   _root.emc.moveTo(a,b);
   _root.emc.lineTo(c,d);
   }
}

createParticles();
drawParticles();

Variable a is a set of different equations that will create curves, the
equation that uses pow uses an exponential curve. The Math.sin one uses a
simple sin curve. The theta can be swaped around too to check out the effect
the equations give.

I noticed you mentioned creating a bias on the right side of a rectangle
too, I think you can do this by using a range for the x property of a point
instead of the radius.

M.

On 5/26/06, clark slater [EMAIL PROTECTED] wrote:


I need to randomly distribute a series of particles in a 2D space with a
bias towards the zero point for both dimensions. I know how to create a
biased distribution towards the center (thanks Keith peters) by averaging
a
series of throws - but I am stuck on the zero bias distribution.

Any ideas? I guess I need something like an exponential decay curve?

Clark
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] AS3 Reference Library PDF?

2006-06-30 Thread Charles Parcell

Now that Flash Player 9 is officially released, does anyone know if there is
a PDF of the AS3 Reference Library?  While I know it is on LiveDocs, I like
to thumb through actual paper.

Thanks,
Charles P.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Flex 2 and Flash 9 Press Releases

2006-06-30 Thread David Rorex

FYI, the (free) Flex SDK works fine for me on linux (since it's java based).
Also the standalone player runs under Wine (even if a bit slow), so I can
test simple apps.

-David R

On 6/29/06, Chris Allen [EMAIL PROTECTED] wrote:


Any official word on whether a Mac and/or Linux version of Flex
Builder 2 is going to be released? I would rather not have to use
Windows to develop Flex applications. It is an Eclipse plugin after
all, so this doesn't seem too far fetched of an idea to me.

Thanks in advance for any insight.

-Chris


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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: Re: [Flashcoders] Flex 2 and Flash 9 Press Releases

2006-06-30 Thread Chris Allen

Thanks for the reply David,

What I'm really hoping for is the Eclipse IDE plugin AKA Flex Builder
2. I realize I can build Flex 2 applications without it, but I love
using Eclipse for AS2 and Java development, so it's logical for me to
want the AS3 editor and all the other tools it comes with. It looks
like the Flex Builder plugin has some seriously useful features that
hopefully users of other platforms can eventually take advantage of.

Adobe, Anyone?

-Chris

On 6/30/06, David Rorex [EMAIL PROTECTED] wrote:

FYI, the (free) Flex SDK works fine for me on linux (since it's java based).
Also the standalone player runs under Wine (even if a bit slow), so I can
test simple apps.

-David R

On 6/29/06, Chris Allen [EMAIL PROTECTED] wrote:

 Any official word on whether a Mac and/or Linux version of Flex
 Builder 2 is going to be released? I would rather not have to use
 Windows to develop Flex applications. It is an Eclipse plugin after
 all, so this doesn't seem too far fetched of an idea to me.

 Thanks in advance for any insight.

 -Chris

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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: Re: [Flashcoders] exporting dynamic swf art to other apps

2006-06-30 Thread Mason Wendell

John: I just played around with this. Unfortunately it flattens all the
layers to screen resolution and I need to blow it up for print. It also
flattens it to the background, and Ideally I'm looking for a more flexible
solution.

Joylon: That's a good point about the pdf writer only having the ability to
pull the library assets, and not the runtime alterations. I hadn't put that
together. It explains why I had no luck with different pdf settings.

I'm downloading some decompiler trials, and hopefully I'll have more luck
with one of those.


On 6/30/06, John Mark Hawley [EMAIL PROTECTED] wrote:


How about trying to print the _root as a pdf using {printAsBitmap: true}?
That's supposed to play well with transparency, innit?


 From: Jolyon Russ [EMAIL PROTECTED]
 Date: 2006/06/30 Fri AM 10:39:24 CDT
 To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
 Subject: Re: [Flashcoders] exporting dynamic swf art to other apps

 This is a method used a lot by Joshua Davis, I took his FITC boot camp
 course and no, you can't retain the alpha values and presumably filter
(not
 tried w/filters).

 I think you'll find that because the alpha and filter properties are
applied
 at run-time the pdf you output will only embed the standard library
symbols
 without any of this information.

 Also, you might find you get better result printing as .ps files,
 Illustrator will like them more than pdf but it still won't solve your
 problem, sadly.

 Jolyon

 PS. First reply so :-P

 On 6/30/06, Mason Wendell [EMAIL PROTECTED] wrote:
 
  Thanks a lot. I haven't explored decompilers. I'll check some out and
see
  what my options are. Has anyone else tried this method? Any
  recommendations
  for a good decompiler or technique?
 
  On 6/30/06, Lee McColl-Sylvester [EMAIL PROTECTED] wrote:
  
   I think the issue you'll find here is that, the work area of the
Flash
   IDE is not the Flash player.  Any content created in the IDE can be
made
   use of however Adobe see fit as it's an IDE, but the player is cut
down
   for file size and speed purposes.
  
   Your best bet is to either look up exporting frames from an SWF in
the
   IDE itself, or lookup other IDE's / decompilers and see if they
support
   it.
  
   Lee
  
  
  
  
   -Original Message-
   From: [EMAIL PROTECTED]
   [mailto:[EMAIL PROTECTED] On Behalf Of
Mason
   Wendell
   Sent: 30 June 2006 15:36
   To: Flashcoders@chattyfig.figleaf.com
   Subject: [Flashcoders] exporting dynamic swf art to other apps
  
   Hey all,
  
   I'm generating art in actionscript that I need to export from my swf
and
   bring into Illustrator or Photoshop for final tweaks before sending
it
   out
   to a large format printer. I know you can export from the IDE but
since
   everything I'm using is dynamic I can't use those functions.
  
   My current best method is to print the swf to a pdf from the player
and
   open
   that pdf in Illustrator. Unfortunatly I lose all my alpha and filter
   data in
   this process, and since I might have 1000 or more instances in my
export
   those values are nearly impossible to recreate. I've tried adjusting
the
   pdf
   settings but I haven't found the right combo yet.
  
   Does anybody here know of a method to export still frames (I'm not
   trying to
   export video or motion here) from the swf in a vector format?
  
   This issue has been nagging me for quite a while now, and I haven't
   found
   any tutorials or tips online on how to do it. I'd really appreciate
any
   feedback from this forum. Thanks a lot.
  
   -=Mason
   ___
   Flashcoders@chattyfig.figleaf.com
   To change your subscription options or search the archive:
   http://chattyfig.figleaf.com/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


--
John 

RE: Re: [Flashcoders] Flex 2 and Flash 9 Press Releases

2006-06-30 Thread David Mendels
Hi,

Expect a post on the Flex team blog ot Matt's blog in the near term.
The team is hoping to provide some roadmap info on this as soon as
possible. Bookmark www.flex.org and/or use the link to the Flex blog
aggregator at the upper right of that page (which is really just a smart
search on MXNA.)

-David 

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf 
 Of Chris Allen
 Sent: Friday, June 30, 2006 2:42 PM
 To: Flashcoders mailing list
 Subject: Re: Re: [Flashcoders] Flex 2 and Flash 9 Press Releases
 
 Thanks for the reply David,
 
 What I'm really hoping for is the Eclipse IDE plugin AKA Flex 
 Builder 2. I realize I can build Flex 2 applications without 
 it, but I love using Eclipse for AS2 and Java development, so 
 it's logical for me to want the AS3 editor and all the other 
 tools it comes with. It looks like the Flex Builder plugin 
 has some seriously useful features that hopefully users of 
 other platforms can eventually take advantage of.
 
 Adobe, Anyone?
 
 -Chris
 
 On 6/30/06, David Rorex [EMAIL PROTECTED] wrote:
  FYI, the (free) Flex SDK works fine for me on linux (since 
 it's java based).
  Also the standalone player runs under Wine (even if a bit 
 slow), so I 
  can test simple apps.
 
  -David R
 
  On 6/29/06, Chris Allen [EMAIL PROTECTED] wrote:
  
   Any official word on whether a Mac and/or Linux version of Flex 
   Builder 2 is going to be released? I would rather not have to use 
   Windows to develop Flex applications. It is an Eclipse 
 plugin after 
   all, so this doesn't seem too far fetched of an idea to me.
  
   Thanks in advance for any insight.
  
   -Chris
  
  ___
  Flashcoders@chattyfig.figleaf.com
  To change your subscription options or search the archive:
  http://chattyfig.figleaf.com/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] MovieClipLoader vs component

2006-06-30 Thread Palmer, Jim
Rick,

I use the MovieClipLoader object seeing as I'm anti-component usage, at
least the stock components that come with the Flash IDE. The MovieClipLoader
works well with great event handlers and a simple loadClip() method.

I utilize the onLoadStart, onLoadProgress, onLoadComplete, and onLoadError
events for each clip loaded.

I use this class for every subclip to be loaded except for the parent clip's
pre-loader which is neither a preloader component or an instantiation of the
MovieClipLoader class, but that's a whole different discussion.

The idea is to be concerned with the actual flash bytecode size of the
exported movie in the end. That's essentially why I develop without using
the stock flash IDE components and build all of my own via classes. On that
note, I have not tested the difference in size of the exported movie for the
loading of the preloader component opposed to the moviecliploader class. But
an easy way to see the end result is to use the Generate size report in
the publish settings which summarizes the size of your exported movie. Try
with the component, and try with the class.

--
Jim Palmer ! Mammoth Web Operations

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Rick
 Lecoat
 Sent: Friday, June 30, 2006 9:18 AM
 To: FlashCoders list
 Subject: [Flashcoders] MovieClipLoader vs component
 
 
 Hi to all on the list from a new sign-up.
 
 I'm also new to the whole AS thing, so do please bear with me if I ask
 questions that seem obvious or stupid to those with more 
 experience then
 I (which will be all of you).
 
 The book that I used to teach myself Flash offered two ways 
 of loading a
 SWF inside another movie; one was by using a movieClipLoader, and the
 other was by using a Loader component.
 
 The first way seems more complicated (needs for AS code), but I'm also
 wondering if it offers more control than the component option.
 
 What is generally considered to be the better way?  
 Thanks in advance; 
 
 -- 
 Rick Lecoat
 
 
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/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: Re: [Flashcoders] exporting dynamic swf art to other apps

2006-06-30 Thread John Mark Hawley
Going the PrintJob route is going to flatten everything no matter what, unless 
your layers are in separate movieclips that you can print to PDF separately, 
but you can always scale your clip up to the required resolution, print, then 
scale back down again...

 
 From: Mason Wendell [EMAIL PROTECTED]
 Date: 2006/06/30 Fri PM 01:50:07 CDT
 To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
 Subject: Re: Re: [Flashcoders] exporting dynamic swf art to other apps
 
 John: I just played around with this. Unfortunately it flattens all the
 layers to screen resolution and I need to blow it up for print. It also
 flattens it to the background, and Ideally I'm looking for a more flexible
 solution.
 
 Joylon: That's a good point about the pdf writer only having the ability to
 pull the library assets, and not the runtime alterations. I hadn't put that
 together. It explains why I had no luck with different pdf settings.
 
 I'm downloading some decompiler trials, and hopefully I'll have more luck
 with one of those.
 
 
 On 6/30/06, John Mark Hawley [EMAIL PROTECTED] wrote:
 
  How about trying to print the _root as a pdf using {printAsBitmap: true}?
  That's supposed to play well with transparency, innit?
 
  
   From: Jolyon Russ [EMAIL PROTECTED]
   Date: 2006/06/30 Fri AM 10:39:24 CDT
   To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
   Subject: Re: [Flashcoders] exporting dynamic swf art to other apps
  
   This is a method used a lot by Joshua Davis, I took his FITC boot camp
   course and no, you can't retain the alpha values and presumably filter
  (not
   tried w/filters).
  
   I think you'll find that because the alpha and filter properties are
  applied
   at run-time the pdf you output will only embed the standard library
  symbols
   without any of this information.
  
   Also, you might find you get better result printing as .ps files,
   Illustrator will like them more than pdf but it still won't solve your
   problem, sadly.
  
   Jolyon
  
   PS. First reply so :-P
  
   On 6/30/06, Mason Wendell [EMAIL PROTECTED] wrote:
   
Thanks a lot. I haven't explored decompilers. I'll check some out and
  see
what my options are. Has anyone else tried this method? Any
recommendations
for a good decompiler or technique?
   
On 6/30/06, Lee McColl-Sylvester [EMAIL PROTECTED] wrote:

 I think the issue you'll find here is that, the work area of the
  Flash
 IDE is not the Flash player.  Any content created in the IDE can be
  made
 use of however Adobe see fit as it's an IDE, but the player is cut
  down
 for file size and speed purposes.

 Your best bet is to either look up exporting frames from an SWF in
  the
 IDE itself, or lookup other IDE's / decompilers and see if they
  support
 it.

 Lee




 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of
  Mason
 Wendell
 Sent: 30 June 2006 15:36
 To: Flashcoders@chattyfig.figleaf.com
 Subject: [Flashcoders] exporting dynamic swf art to other apps

 Hey all,

 I'm generating art in actionscript that I need to export from my swf
  and
 bring into Illustrator or Photoshop for final tweaks before sending
  it
 out
 to a large format printer. I know you can export from the IDE but
  since
 everything I'm using is dynamic I can't use those functions.

 My current best method is to print the swf to a pdf from the player
  and
 open
 that pdf in Illustrator. Unfortunatly I lose all my alpha and filter
 data in
 this process, and since I might have 1000 or more instances in my
  export
 those values are nearly impossible to recreate. I've tried adjusting
  the
 pdf
 settings but I haven't found the right combo yet.

 Does anybody here know of a method to export still frames (I'm not
 trying to
 export video or motion here) from the swf in a vector format?

 This issue has been nagging me for quite a while now, and I haven't
 found
 any tutorials or tips online on how to do it. I'd really appreciate
  any
 feedback from this forum. Thanks a lot.

 -=Mason
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/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
 

[Flashcoders] Slightly OT: New Flex 2 Courses!

2006-06-30 Thread Steve Drucker
 
Greetings everyone!

The new Flex 2 instructor led courseware has just been released by Adobe and
we have these new courses scheduled starting in July/August!

You can view the curriculum and course dates at the following url:

http://training.figleaf.com/Developing-Rich-Internet-Applications-with-Macro
media-Flex.cfm

Regards,
Steve Drucker
CEO
Fig Leaf Software
http://www.figleaf.com
http://training.figleaf.com
Adobe / Macromedia / Google / Paperthin 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


RE: [Flashcoders] Ajax and ActionScript 2.0

2006-06-30 Thread Merrill, Jason
 XHTML and CSS are much more suited to
display and edit text than flash.

I would take issue with that.  You're leaving out the whole beauty of
embedded (programmatically or otherwise) anti-aliased fonts in Flash!  A
big plus for me and my clients.  :) 

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

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


Re: [Flashcoders] Getter/Setter behaviour question [SOLVED]

2006-06-30 Thread Derek Vadneau
For anyone interested:

I figured something out and remember reading something about this, 
although I can't find a link at the moment.

The getter is setting the property. The setter is ignored, and in fact 
there doesn't need to be a setter, and the private property is set.

Example: (the same as my previous code except with the set function 
commented out)

class MyClass
{
private var _scrollTargets:Array = new Array();

function MyClass()
{
init();
}

public function init():Void
{
trace('init: '+_scrollTargets);
}

[Inspectable(type=Array,defaultValue=_level0)]
/*
public function set scrollTargets(t:Array)
{
trace('set: '+t);
}
*/
public function get scrollTargets():Array
{
trace('get: '+_scrollTargets);

return _scrollTargets;
}
}

This traces:
get:
init: _level5

Mystery solved. Dumb, but at least it can be explained.


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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: RE: Re: [Flashcoders] Flex 2 and Flash 9 Press Releases

2006-06-30 Thread Chris Allen

Thanks very much for the information David. I'm glad to hear that this
is on the roadmap.

Have a happy 4th of July.

-Chris

On 6/30/06, David Mendels [EMAIL PROTECTED] wrote:

Hi,

Expect a post on the Flex team blog ot Matt's blog in the near term.
The team is hoping to provide some roadmap info on this as soon as
possible. Bookmark www.flex.org and/or use the link to the Flex blog
aggregator at the upper right of that page (which is really just a smart
search on MXNA.)

-David

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf
 Of Chris Allen
 Sent: Friday, June 30, 2006 2:42 PM
 To: Flashcoders mailing list
 Subject: Re: Re: [Flashcoders] Flex 2 and Flash 9 Press Releases

 Thanks for the reply David,

 What I'm really hoping for is the Eclipse IDE plugin AKA Flex
 Builder 2. I realize I can build Flex 2 applications without
 it, but I love using Eclipse for AS2 and Java development, so
 it's logical for me to want the AS3 editor and all the other
 tools it comes with. It looks like the Flex Builder plugin
 has some seriously useful features that hopefully users of
 other platforms can eventually take advantage of.

 Adobe, Anyone?

 -Chris

 On 6/30/06, David Rorex [EMAIL PROTECTED] wrote:
  FYI, the (free) Flex SDK works fine for me on linux (since
 it's java based).
  Also the standalone player runs under Wine (even if a bit
 slow), so I
  can test simple apps.
 
  -David R
 
  On 6/29/06, Chris Allen [EMAIL PROTECTED] wrote:
  
   Any official word on whether a Mac and/or Linux version of Flex
   Builder 2 is going to be released? I would rather not have to use
   Windows to develop Flex applications. It is an Eclipse
 plugin after
   all, so this doesn't seem too far fetched of an idea to me.
  
   Thanks in advance for any insight.
  
   -Chris
  
  ___
  Flashcoders@chattyfig.figleaf.com
  To change your subscription options or search the archive:
  http://chattyfig.figleaf.com/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] About OOP metodology

2006-06-30 Thread Bernard Visscher
I think you could do this the MVC way
(http://en.wikipedia.org/wiki/Model_view_controller)
The only thing that really changes is your view, the model and the
controller are almost the same.
You could even write a model, controller and view which holds all fields and
logic that returns in all the forms.
Then you extend those to meet the needs for this particular form.

This is the same way edibol as wrote I see now... Quote: You could even
abstract the technical logic from the UI completely and write
communicators/controllers that respond to events fired from the ui
(movieclips).


Greetz,

Bernard

 -Oorspronkelijk bericht-
 Van: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] Namens elibol
 Verzonden: vrijdag 30 juni 2006 17:06
 Aan: Flashcoders mailing list
 Onderwerp: Re: [Flashcoders] About OOP metodology
 
 Try a compositional approach. You might design a set of 
 classes that reference movieclips and delegate events to the 
 class; this would be contrary to extending movieclips. This 
 way you can design movieclips specific to the site and design 
 the code specific to the logic.
 
 You could even abstract the technical logic from the UI 
 completely and write communicators/controllers that respond 
 to events fired from the ui (movieclips).
 
 M.
 
 On 6/30/06, Ricardo Sánchez [EMAIL PROTECTED] wrote:
 
  I've just started to work in a big internet communication 
 agency. We 
  have to make 2 or 3 microsites every week. Each of which 
 uses a very 
  similar form to get user data.
 
  All that changes from one to another is a couple of fields and the 
  look of it.
 
  My question is: What's the best way to implement a 
 re-usable class for 
  this kind of work? Should I make a movieclip with all the 
 fields and a 
  class binded to it and modify the clip everytime I re-use it? Or 
  should I make a class that loads different clips from the library?
 
  Do I explain myself?
 
  Thanks.
  ___
  Flashcoders@chattyfig.figleaf.com
  To change your subscription options or search the archive:
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
  Brought to you by Fig Leaf Software
  Premier Authorized Adobe Consulting and Training 
  http://www.figleaf.com http://training.figleaf.com
 
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training 
 http://www.figleaf.com http://training.figleaf.com
 

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] RTSP in flash?

2006-06-30 Thread Jim Cheng

Wade Arnold wrote:


I have a desktop application that I am working on that has one camera that
it connects at:

rtsp://127.0.0.1/livefeed

I have scoured the web and do not see any way of natively accessing this
stream from flash. Does anyone know of any third part flash players that
allow you to connect to real time streaming protocol? 


You're probably best off seeing if it has a driver that'll play with the 
Flash Player's native camera support, seeing that it's running on the 
same machine (localhost).  Failing that


A long shot might be jumping over to ActionScript 3 and Flash Player 9 
and doing it yourself by implementing the RTSP protocol and MPEG4IP 
codec entirely in AS3.  While this is quite possible, if you go this 
way, be prepared for quite a bit of work and the possibility of 
lackluster performance given the complexity of decoding a video stream 
in real-time).  For example of something similar, consider, Darron 
Schall's FlashVNC client that he built using AS3 in the fall of last 
year:  http://www.darronschall.com/weblog/archives/000192.cfm


Alternatively, you could look into whether it might be possible to use 
Red5 with a transcoder like FFMPEG to convert the stream into FLV in a 
separate application before streaming it into your Flash Player.  As far 
as I know, there hasn't been any announcements of such a beast, though 
there isn't anything stopping an enterprising and skilled coder from 
doing this.


Jim

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Ajax and ActionScript 2.0

2006-06-30 Thread Bernard Visscher
 I'm not trying to make you look foolish, it's just that 
 overblown descriptions like that are what make real 
 programmers delete the job posting without finishing the 
 first paragraph.

I'm in with that. IMO you should only say We need people! This is our
portfolio, if you think you can help us give us a call!
I think every good AS programmer can program javascript and thus AJAX sites
(If they want to is another issue ;)).
I'm just meaning to say, I really do think it's a bit useless to ask for
experience in some kind of language.
You did it rather nicely to only say AS or AJAX, but I see very much job
postings with With a good knowledge of PHP, ASP, ASP.NET, XHTML, HTML, CSS,
PERL, JS, SQL, C# etc etc...
The best way IMO is getting to know people in a reallife conversation and
maybe ask them a few logical questions that a good programmer can answer,
not covering one (script)language.

Greetz,

Bernard



___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] FOSS, Science, and Public activism

2006-06-30 Thread Dave Watts
 Thank you for getting back to me.  As noted in the message, 
 it is targeted to forums which are bound to find it 
 interesting, although clearly not everyone in a given forum 
 will find it so.  You and I are both developers, and the 
 current actions of the Apple corporation are deteriorating 
 with respect to FOSS developers.

I am also the list manager, so my judgment of what's OT carries a bit more
weight than yours. Please don't do this again. Thanks!

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

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] RTSP in flash?

2006-06-30 Thread Chafic Kazoun
The Flash Player doesn't support the RTSP protocol (neither RTP, RTCP  
which are usually also required for proper RTSP) and it doesn't  
support decoding MPEG4 Video.  So, currently there is no way for you  
to play such a stream natively in the player and I doubt it will be  
coming anytime soon if ever.  The only other option would be for you  
to try to layer a quicktime player (if that player supports the  
version of mpeg4 your camera provides) or some media player on top of  
the Flash interface and have them communicate to each other, which  
essentially means you would fake the displaying of the video within  
Flash.


My guess is you are trying to do this within a browser, if you have  
the option of distributing this application as a desktop application  
you might want to look into some methods of embedding media player  
within a desktop application or take a look at 3rd party projector  
tools which some will allow you to do this more easily if you have no  
experience in writing desktop applications


HTH

Chafic
http://www.atellis.com
blog: http://www.rewindlife.com


On Jun 30, 2006, at 4:45 PM, Wade Arnold wrote:

I have a desktop application that I am working on that has one  
camera that

it connects at:



rtsp://127.0.0.1/livefeed



I have scoured the web and do not see any way of natively accessing  
this
stream from flash. Does anyone know of any third part flash players  
that

allow you to connect to real time streaming protocol?



Thanks for any insight!



Wade Arnold

t8design.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] Ajax and ActionScript 2.0

2006-06-30 Thread Spencer Markowski

Thanks for the correction. Your input has been beyond valuable.

On 6/30/06, Bernard Visscher [EMAIL PROTECTED] wrote:


 I'm not trying to make you look foolish, it's just that
 overblown descriptions like that are what make real
 programmers delete the job posting without finishing the
 first paragraph.

I'm in with that. IMO you should only say We need people! This is our
portfolio, if you think you can help us give us a call!
I think every good AS programmer can program javascript and thus AJAX
sites
(If they want to is another issue ;)).
I'm just meaning to say, I really do think it's a bit useless to ask for
experience in some kind of language.
You did it rather nicely to only say AS or AJAX, but I see very much job
postings with With a good knowledge of PHP, ASP, ASP.NET, XHTML, HTML,
CSS,
PERL, JS, SQL, C# etc etc...
The best way IMO is getting to know people in a reallife conversation and
maybe ask them a few logical questions that a good programmer can answer,
not covering one (script)language.

Greetz,

Bernard



___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Ajax and ActionScript 2.0

2006-06-30 Thread ryanm
but I see very much job postings with With a good knowledge of PHP, ASP, 
ASP.NET, XHTML, HTML, CSS, PERL, JS, SQL, C# etc etc...



   I could answer that ad, couldn't you? ;-)

   It's actually the part where they want all of those skills and the job 
only pays $30k that bothers me.


   Here's my sample job posting:

-
We're a small interactive agency woirking for top clients that we can't tell 
you about. It's a fun enviornment and we're like a big family.


Requirements: PhD in Physics, 10+ years experience in aerodynamics and 
aircraft design, 8+ years working experience with particle accelerators, a 
doctorate in divinity, familiarity with the layout of the human genome, and 
PhotoShop CS.


Pay: $23k

Oh, and we need you to relocate to Dubai.
-

;-)

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] Ajax and ActionScript 2.0

2006-06-30 Thread Steve Rachels

uh... you forgot the contact info.


ryanm wrote:

but I see very much job postings with With a good knowledge of PHP, 
ASP, ASP.NET, XHTML, HTML, CSS, PERL, JS, SQL, C# etc etc...



   I could answer that ad, couldn't you? ;-)

   It's actually the part where they want all of those skills and the 
job only pays $30k that bothers me.


   Here's my sample job posting:

-
We're a small interactive agency woirking for top clients that we 
can't tell you about. It's a fun enviornment and we're like a big family.


Requirements: PhD in Physics, 10+ years experience in aerodynamics and 
aircraft design, 8+ years working experience with particle 
accelerators, a doctorate in divinity, familiarity with the layout of 
the human genome, and PhotoShop CS.


Pay: $23k

Oh, and we need you to relocate to Dubai.
-

;-)

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

2006-06-30 Thread Bernard Poulin

For some AVM1 and AVM2 flash representation of objects, fire up this breeze
presentation about the flash player 9.

http://seminars.breezecentral.com/p64058844/

Around minute 28 into the presentation, it talks about AVM1 and AVM2
representation of an object.  Like I suspected, AVM1 uses a straight hash
table.

B.

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




Bernard Poulin wrote:
 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?

I will not be far wrong. If your primary allocation is to small, many
array keys hash to the same spot and you have to search a long linked
list. It is is too big, you waste a lot of space. It is not trivial to
increase the size of the allocation dynamically since you must rehash
all of the entries.
 Keeping an array ordered to be able to do binary searches can
 statistically cost a lot of copying at insertion time.
You are only adjusting links unless you want a balanced tree.
 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.
String hashes are only useful for looking up a specific value. It is
unlikely that the hashes are even stored since once you store the
key/value you no longer have any need for the hash since the position in
the main table is known and you can follow the links in the overflow
back to the main table(usually).

If you are hashed into the overflow, you have to examine each key since
the hashes are identical for everyone in the list (otherwise they would
not be in the list - they would be in another list of collided 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.

Associative array is not a physical description of the implementation.
It describes the logical way that an Actionscript programmer finds the
value associated with a key. The implementation of Array probably
involves a fairly simple linked list of key objects that point to value
objects. Whether the keys are linked as a tree structure to speed up
access is an interesting question which was raised earlier.
 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.

Agreed
 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


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

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