[Flashcoders] Anyone know of good mac app that will trace outside of Flash

2008-02-07 Thread Alistair Colling
Oops, sorry pressed send too quick on that one, here's the complete  
message


Hiya, I have been using XTrace (http://mabblog.com/xtrace.html) and  
it is a great application as it allows me to view my trace messages  
with different colours outside of the Flash IDE. My problem is that  
after a short while the window disappears so I can't reference my  
trace messages while I edit my code in Textmate.


Does anyone know of another tracing app that would float above all  
apps as XTrace does and woul allow me to look over trace messages in  
this way?


Cheers!
Ali



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


[Flashcoders] AS3 Function question

2008-02-07 Thread Sidney de Koning

Hi list,

I have a function in  AS3, and it takes two arguments, but sometimes i 
want it to have 1 argument. But when i run it now it errors:

1136: Incorrect number of arguments.  Expected 2.
How do i do this? keep one arguments standard in the function brackets 
and check for the second argument with the arguments array like in AS2?


Help would be advised,

Thanks,

Sidney

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


Re: [Flashcoders] Anyone know of good mac app that will trace outside of Flash

2008-02-07 Thread Sidney de Koning

Hi Ali,

I use XRAY from Blitz (http://osflash.org/xray) its is a very good debug 
/ logger tool.

and it just uses a SWF that you run.

Cheers,

Sid

Alistair Colling wrote:
Oops, sorry pressed send too quick on that one, here's the complete 
message


Hiya, I have been using XTrace (http://mabblog.com/xtrace.html) and it 
is a great application as it allows me to view my trace messages with 
different colours outside of the Flash IDE. My problem is that after a 
short while the window disappears so I can't reference my trace 
messages while I edit my code in Textmate.


Does anyone know of another tracing app that would float above all 
apps as XTrace does and woul allow me to look over trace messages in 
this way?


Cheers!
Ali



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

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


RE: [Flashcoders] AS3 Function question

2008-02-07 Thread Pavel Krusek
Hi,

maybe is possible solution via ...(rest) parameter?

function methodName (...argumentsArray) {
}

Example:

public function addArticle(name, ...attribs) {
}

And method invocation:

addArticle(article_1, argument_2, argument_3, argument_4);


Pavel



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Sidney de
Koning
Sent: Thursday, February 07, 2008 12:45 PM
To: Flash Coders List
Subject: [Flashcoders] AS3 Function question

Hi list,

I have a function in  AS3, and it takes two arguments, but sometimes i 
want it to have 1 argument. But when i run it now it errors:
1136: Incorrect number of arguments.  Expected 2.
How do i do this? keep one arguments standard in the function brackets 
and check for the second argument with the arguments array like in AS2?

Help would be advised,

Thanks,

Sidney

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

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


Re: [Flashcoders] AS3 Function question

2008-02-07 Thread Kenneth Kawamoto

function someFunction(... args):void {
trace(args);
}

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

Sidney de Koning wrote:

Hi list,

I have a function in  AS3, and it takes two arguments, but sometimes i 
want it to have 1 argument. But when i run it now it errors:

1136: Incorrect number of arguments.  Expected 2.
How do i do this? keep one arguments standard in the function brackets 
and check for the second argument with the arguments array like in AS2?


Help would be advised,

Thanks,

Sidney


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


RE: [Flashcoders] AS3 Function question

2008-02-07 Thread Jim Hayes
I normally just set a default value for the second argument :

function someFunction(arg1:int,arg2:String=null):void
{
if(arg2==null)
{
//whatever.
}
//some code ...
}

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Sidney
de Koning
Sent: 07 February 2008 11:45
To: Flash Coders List
Subject: [Flashcoders] AS3 Function question

Hi list,

I have a function in  AS3, and it takes two arguments, but sometimes i 
want it to have 1 argument. But when i run it now it errors:
1136: Incorrect number of arguments.  Expected 2.
How do i do this? keep one arguments standard in the function brackets 
and check for the second argument with the arguments array like in AS2?

Help would be advised,

Thanks,

Sidney

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

__
This communication is from Primal Pictures Ltd., a company registered in 
England and Wales with registration No. 02622298 and registered office: 4th 
Floor, Tennyson House, 159-165 Great Portland Street, London, W1W 5PA, UK. VAT 
registration No. 648874577.

This e-mail is confidential and may be privileged. It may be read, copied and 
used only by the intended recipient. If you have received it in error, please 
contact the sender immediately by return e-mail or by telephoning +44(0)20 7637 
1010. Please then delete the e-mail and do not disclose its contents to any 
person.
This email has been scanned for Primal Pictures by the MessageLabs Email 
Security System.
__

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


[Flashcoders] Flash player 9.0.47 serious issue (maybe some 9 versions before too)

2008-02-07 Thread Meinte van't Kruis
I find the following:

When following the methods described by Daryl Theo (at
http://darylteo.com/blog/2007/11/16/abstracting-assets-from-actionscript-in-as30-asset-libraries/
)
to duplicate DisplayObjects works fine in flash player 9.0.115 (latest). In
version 9.0.47 it repeatedly crashes the browser (both firefox in ie)... I
wonder
if anyone else has this problem. To reproduce, simple instal 9.0.47, follow
the steps by Daryl, and voila, a browser crash.

In short, make an swf, with document class Circle

then load in your main swf, with the following code in the onComplete
handler;

private function onComplete(e:Event) {
var appDomain:ApplicationDomain = e.target.applicationDomain;

var skinClass:Class = appDomain.getDefinition
(getQualifiedClassName(e.target.loader.content)) as Class;

trace(CLASS:  + skinClass);

//var tmp:* = new skinClass();   - uncommenting this line
crashes the browser
}


Any ideas, or other ideas to clone a displayobject?

-- 
M.A. van't Kruis
http://www.malatze.nl/
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] AS3 Function question

2008-02-07 Thread Matthew James Poole
Yep that's exactly how to do it... 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Pavel
Krusek
Sent: 07 February 2008 12:07
To: 'Flash Coders List'
Subject: RE: [Flashcoders] AS3 Function question

Hi,

maybe is possible solution via ...(rest) parameter?

function methodName (...argumentsArray) { }

Example:

public function addArticle(name, ...attribs) { }

And method invocation:

addArticle(article_1, argument_2, argument_3, argument_4);


Pavel



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Sidney
de Koning
Sent: Thursday, February 07, 2008 12:45 PM
To: Flash Coders List
Subject: [Flashcoders] AS3 Function question

Hi list,

I have a function in  AS3, and it takes two arguments, but sometimes i
want it to have 1 argument. But when i run it now it errors:
1136: Incorrect number of arguments.  Expected 2.
How do i do this? keep one arguments standard in the function brackets
and check for the second argument with the arguments array like in AS2?

Help would be advised,

Thanks,

Sidney

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

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

__
This e-mail has been scanned for viruses by the Virtual Universe e-mail
security system - powered by MessageLabs.
http://www.virtual-universe.net

__

The contents of this email are confidential and may be subject to legal 
privilege and protected by copyright. If you are not the intended recipient any 
use, copying or disclosure of this e-mail to any third party is strictly 
forbidden by the sender and we reserve all rights and remedies against any 
person or entity making any such unauthorised use. If you have received this 
email in error, please contact the sender immediately by telephone or return 
the email to the sender and then delete this email and any copies of it on your 
system. Virtual Universe Limited may monitor the contents of emails sent and 
received via its network for viruses and to ensure the lawful and authorised 
use of its systems. Virtual Universe Limited will not be held responsible for 
any damage caused by viruses which may be transmitted upon receipt of this 
email or the opening of any attachment thereto. Any views or opinions presented 
in this email are solely those of the author and do not necessarily !
 represent those of Virtual Universe Limited.

Virtual Universe Limited is a company established under the laws of England and 
Wales with registered number 03064568 and has its registered office at 1 Regent 
Street, London, SW1Y 4NW and principal place of business at 28-39 The Quadrant, 
135 Salusbury Road, London NW6 6RJ, United Kingdom. It is registered for VAT in 
the United Kingdom with number GB877113217.


__
This e-mail has been scanned for viruses by the Virtual Universe e-mail 
security system - powered by MessageLabs. http://www.virtual-universe.net

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


RE: [Flashcoders] AS3 Function question

2008-02-07 Thread Matthew James Poole
True, but with the rest argument you can have as many args as you
want... 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jim
Hayes
Sent: 07 February 2008 12:11
To: Flash Coders List
Subject: RE: [Flashcoders] AS3 Function question

I normally just set a default value for the second argument :

function someFunction(arg1:int,arg2:String=null):void
{
if(arg2==null)
{
//whatever.
}
//some code ...
}

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Sidney
de Koning
Sent: 07 February 2008 11:45
To: Flash Coders List
Subject: [Flashcoders] AS3 Function question

Hi list,

I have a function in  AS3, and it takes two arguments, but sometimes i
want it to have 1 argument. But when i run it now it errors:
1136: Incorrect number of arguments.  Expected 2.
How do i do this? keep one arguments standard in the function brackets
and check for the second argument with the arguments array like in AS2?

Help would be advised,

Thanks,

Sidney

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

__
This communication is from Primal Pictures Ltd., a company registered in
England and Wales with registration No. 02622298 and registered office:
4th Floor, Tennyson House, 159-165 Great Portland Street, London, W1W
5PA, UK. VAT registration No. 648874577.

This e-mail is confidential and may be privileged. It may be read,
copied and used only by the intended recipient. If you have received it
in error, please contact the sender immediately by return e-mail or by
telephoning +44(0)20 7637 1010. Please then delete the e-mail and do not
disclose its contents to any person.
This email has been scanned for Primal Pictures by the MessageLabs Email
Security System.
__

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

__
This e-mail has been scanned for viruses by the Virtual Universe e-mail
security system - powered by MessageLabs.
http://www.virtual-universe.net

__

The contents of this email are confidential and may be subject to legal 
privilege and protected by copyright. If you are not the intended recipient any 
use, copying or disclosure of this e-mail to any third party is strictly 
forbidden by the sender and we reserve all rights and remedies against any 
person or entity making any such unauthorised use. If you have received this 
email in error, please contact the sender immediately by telephone or return 
the email to the sender and then delete this email and any copies of it on your 
system. Virtual Universe Limited may monitor the contents of emails sent and 
received via its network for viruses and to ensure the lawful and authorised 
use of its systems. Virtual Universe Limited will not be held responsible for 
any damage caused by viruses which may be transmitted upon receipt of this 
email or the opening of any attachment thereto. Any views or opinions presented 
in this email are solely those of the author and do not necessarily !
 represent those of Virtual Universe Limited.

Virtual Universe Limited is a company established under the laws of England and 
Wales with registered number 03064568 and has its registered office at 1 Regent 
Street, London, SW1Y 4NW and principal place of business at 28-39 The Quadrant, 
135 Salusbury Road, London NW6 6RJ, United Kingdom. It is registered for VAT in 
the United Kingdom with number GB877113217.


__
This e-mail has been scanned for viruses by the Virtual Universe e-mail 
security system - powered by MessageLabs. http://www.virtual-universe.net

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


Re: [Flashcoders] Terminal Server

2008-02-07 Thread tom rhodes
wow. that's awesome, thanks for this Pete.

On 07/02/2008, Pete Hotchkiss [EMAIL PROTECTED] wrote:

 Not strictly RDC - but have you seen Darran's work on Flash/VNC ?

 http://www.darronschall.com/weblog/archives/000192.cfm






 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of tom
 rhodes
 Sent: 07 February 2008 15:16
 To: flashcoders
 Subject: [Flashcoders] Terminal Server

 Hello all,

 I've done a little googling to find out how to connect to Terminal
 Server from a webpage. Just wondering if anyone has any experience of
 doing this through flash? If anyone has can they point me to some
 usefull resources as i need to scope out the price of making a flash
 front end that talks with Terminal Server.

 Any help greatly appreciated, thanks in advance,

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

 __
 This email has been scanned by the MessageLabs Email Security System.
 For more information please visit http://www.messagelabs.com/email
 __

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

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


RE: [Flashcoders] Terminal Server

2008-02-07 Thread Pete Hotchkiss
Not strictly RDC - but have you seen Darran's work on Flash/VNC ?

http://www.darronschall.com/weblog/archives/000192.cfm

 


 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of tom
rhodes
Sent: 07 February 2008 15:16
To: flashcoders
Subject: [Flashcoders] Terminal Server

Hello all,

I've done a little googling to find out how to connect to Terminal
Server from a webpage. Just wondering if anyone has any experience of
doing this through flash? If anyone has can they point me to some
usefull resources as i need to scope out the price of making a flash
front end that talks with Terminal Server.

Any help greatly appreciated, thanks in advance,

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

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
__

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


Re: [Flashcoders] Flash player 9.0.47 serious issue (maybe some 9 versions before too)

2008-02-07 Thread Kenneth Kawamoto

private function onComplete(e:Event):void {
   var appDomain:ApplicationDomain = 
e.target.loader.contentLoaderInfo.applicationDomain;
   var skinClass:Class = 
appDomain.getDefinition(getQualifiedClassName(e.target.content.getChildAt(0))) 
as Class;

   trace(skinClass:  + skinClass);
}

Output:
skinClass: [class Circle]

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

Meinte van't Kruis wrote:

I find the following:

When following the methods described by Daryl Theo (at
http://darylteo.com/blog/2007/11/16/abstracting-assets-from-actionscript-in-as30-asset-libraries/
)
to duplicate DisplayObjects works fine in flash player 9.0.115 (latest). In
version 9.0.47 it repeatedly crashes the browser (both firefox in ie)... I
wonder
if anyone else has this problem. To reproduce, simple instal 9.0.47, follow
the steps by Daryl, and voila, a browser crash.

In short, make an swf, with document class Circle

then load in your main swf, with the following code in the onComplete
handler;

private function onComplete(e:Event) {
var appDomain:ApplicationDomain = e.target.applicationDomain;

var skinClass:Class = appDomain.getDefinition
(getQualifiedClassName(e.target.loader.content)) as Class;

trace(CLASS:  + skinClass);

//var tmp:* = new skinClass();   - uncommenting this line
crashes the browser
}


Any ideas, or other ideas to clone a displayobject?



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


RE: [Flashcoders] copy mask from one clip to another

2008-02-07 Thread Jesse Graupmann

1. Create empty MovieClip ( clipC ) on same parent as clipB
2. Create BitmapData from clipA
3. Draw BitmapData to clipC
4. Set mask of clipB to clipC ( check cacheAsBitmap == true )


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Andrew
Sinning
Sent: Thursday, February 07, 2008 9:15 AM
To: Flash Coders
Subject: [Flashcoders] copy mask from one clip to another

Using AS2 in CS3, what are the rough steps that I would need to take to 
copy an image from inside one clip and use it as the mask for an 
entirely different clip?

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

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


[Flashcoders] Max MovieClip Size Before Filters are Dropped?

2008-02-07 Thread Mark Hawley
Anyone know the maximum size, in pixels, a MovieClip can be before Flash
refuses to apply filters to it? It seems to be dependent on the filter
parameters, making me think there's a max size on the rendered clip.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Max MovieClip Size Before Filters are Dropped?

2008-02-07 Thread Zeh Fernando

2880 pixels on any dimension. It's mentioned somewhere in the documentation.

Mark Hawley wrote:

Anyone know the maximum size, in pixels, a MovieClip can be before Flash
refuses to apply filters to it? It seems to be dependent on the filter
parameters, making me think there's a max size on the rendered clip.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


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


RE: [Flashcoders] Yes or no: Moving one MC into another (AS2)

2008-02-07 Thread Jesse Graupmann
Yup. 

It's never too late to make the switch to AS3. You'll also sleep better at
night if you do.

;)

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mendelsohn,
Michael
Sent: Thursday, February 07, 2008 11:14 AM
To: Flash Coders List
Subject: RE: [Flashcoders] Yes or no: Moving one MC into another (AS2)

That would do it, Bob, thanks, but my clips aren't even in the library.
(It's all generated by code.)  

I'm wondering, isn't this issue solved in AS3 with addChild()?

- MM




I'm not sure at what point in your runtime you want to make the copy, 
but if these clips are all library symbols in the same fla and are 
exported for Actionscript, wouldn't this do it?

B.attachMovie(A, myA, B.getNextHighestDepth());
B.myA.attachMovie(X, myX, B.myA.getNextHighestDepth());


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

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


RE: [Flashcoders] Max MovieClip Size Before Filters are Dropped?

2008-02-07 Thread Jesse Graupmann
Mark,


A quick way around that is to use the scrollRect property. While it'll cause
some new annoying issues, it'll be the best fix for the size problem.


image.scrollRect = new Rectangle ( 0, 0, 100, 100 );


AS 3
http://www.gskinner.com/blog/archives/2006/11/understanding_d.html 

AS 2
http://www.sephiroth.it/tutorials/flashPHP/scrollRect/




_

Jesse Graupmann
www.jessegraupmann.com 
www.justgooddesign.com/blog/ 
_



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Zeh Fernando
Sent: Thursday, February 07, 2008 11:29 AM
To: Flash Coders List
Subject: Re: [Flashcoders] Max MovieClip Size Before Filters are Dropped?

2880 pixels on any dimension. It's mentioned somewhere in the documentation.

Mark Hawley wrote:
 Anyone know the maximum size, in pixels, a MovieClip can be before Flash
 refuses to apply filters to it? It seems to be dependent on the filter
 parameters, making me think there's a max size on the rendered clip.
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


Re: [Flashcoders] Yes or no: Moving one MC into another (AS2)

2008-02-07 Thread eric e. dolecki
you swap around galore with the AS3 displayObject model yes.

On Feb 7, 2008 2:13 PM, Mendelsohn, Michael [EMAIL PROTECTED]
wrote:

 That would do it, Bob, thanks, but my clips aren't even in the library.
 (It's all generated by code.)

 I'm wondering, isn't this issue solved in AS3 with addChild()?

 - MM




 I'm not sure at what point in your runtime you want to make the copy,
 but if these clips are all library symbols in the same fla and are
 exported for Actionscript, wouldn't this do it?

 B.attachMovie(A, myA, B.getNextHighestDepth());
 B.myA.attachMovie(X, myX, B.myA.getNextHighestDepth());


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

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


Re: [Flashcoders] Max MovieClip Size Before Filters are Dropped?

2008-02-07 Thread Pedro Kostelec
isn't there a way to maximise this limitation?

On Feb 7, 2008 8:28 PM, Zeh Fernando [EMAIL PROTECTED] wrote:

 2880 pixels on any dimension. It's mentioned somewhere in the
 documentation.

 Mark Hawley wrote:
  Anyone know the maximum size, in pixels, a MovieClip can be before Flash
  refuses to apply filters to it? It seems to be dependent on the filter
  parameters, making me think there's a max size on the rendered clip.
  ___
  Flashcoders mailing list
  Flashcoders@chattyfig.figleaf.com
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders




-- 
Pedro D.K.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] tabindex with explorer 7

2008-02-07 Thread José Antonio Viadas O.
Hi i want to know if anyone of you have the same problema that i have.

I have tabindex in my file and when I test it in explorer 7 when I press tab
the focus goes to the browser address bar.

 

Hope someone can help me to resolve this

 

thanks

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


RE: [Flashcoders] Yes or no: Moving one MC into another (AS2)

2008-02-07 Thread Mendelsohn, Michael
Great idea Jesse, thanks!

- MM



function getMCData ( mc:MovieClip ):Object 
{
return { _x:mc._x, _y:mc._y, _width:mc._width,
_height:mc._height,
_xscale:mc._xscale, _yscale:mc._yscale }; 
}

mcB.Y = mcB.attachMovie ( myMovie, Y, mcB.getNextHighestDepth(),
getMCData ( mcA.X ) );


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


Re: [Flashcoders] Flash player 9.0.47 serious issue (maybe some 9 versions before too)

2008-02-07 Thread Kenneth Kawamoto

Oops you said Circle was the Document class.

var appDomain:ApplicationDomain = e.target.applicationDomain;
var skinClass:Class = 
appDomain.getDefinition(getQualifiedClassName(e.target.content)) as Class;

trace(skinClass:  + skinClass);

then it's the same as yours basically. Sorry about the noise!

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

Kenneth Kawamoto wrote:

private function onComplete(e:Event):void {
   var appDomain:ApplicationDomain = 
e.target.loader.contentLoaderInfo.applicationDomain;
   var skinClass:Class = 
appDomain.getDefinition(getQualifiedClassName(e.target.content.getChildAt(0))) 
as Class;

   trace(skinClass:  + skinClass);
}

Output:
skinClass: [class Circle]

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

Meinte van't Kruis wrote:

I find the following:

When following the methods described by Daryl Theo (at
http://darylteo.com/blog/2007/11/16/abstracting-assets-from-actionscript-in-as30-asset-libraries/ 


)
to duplicate DisplayObjects works fine in flash player 9.0.115 
(latest). In
version 9.0.47 it repeatedly crashes the browser (both firefox in 
ie)... I

wonder
if anyone else has this problem. To reproduce, simple instal 9.0.47, 
follow

the steps by Daryl, and voila, a browser crash.

In short, make an swf, with document class Circle

then load in your main swf, with the following code in the onComplete
handler;

private function onComplete(e:Event) {
var appDomain:ApplicationDomain = e.target.applicationDomain;

var skinClass:Class = appDomain.getDefinition
(getQualifiedClassName(e.target.loader.content)) as Class;

trace(CLASS:  + skinClass);

//var tmp:* = new skinClass();   - uncommenting this 
line

crashes the browser
}


Any ideas, or other ideas to clone a displayobject?





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


Re: [Flashcoders] Anyone know of good mac app that will trace outside of Flash

2008-02-07 Thread Andy Herrman
I've been using Alcon: http://osflash.org/projects/alcon

It's lighter weight and much simpler than xray and has been quite
useful.  You can run it from the provided exe or from the SWF.  The
SWF should work fine on the Mac.

  -Andy

On Feb 7, 2008 7:07 AM, Sidney de Koning [EMAIL PROTECTED] wrote:
 Hi Ali,

 I use XRAY from Blitz (http://osflash.org/xray) its is a very good debug
 / logger tool.
 and it just uses a SWF that you run.

 Cheers,

 Sid


 Alistair Colling wrote:
  Oops, sorry pressed send too quick on that one, here's the complete
  message
 
  Hiya, I have been using XTrace (http://mabblog.com/xtrace.html) and it
  is a great application as it allows me to view my trace messages with
  different colours outside of the Flash IDE. My problem is that after a
  short while the window disappears so I can't reference my trace
  messages while I edit my code in Textmate.
 
  Does anyone know of another tracing app that would float above all
  apps as XTrace does and woul allow me to look over trace messages in
  this way?
 
  Cheers!
  Ali
 
 
 
  ___
  Flashcoders mailing list
  Flashcoders@chattyfig.figleaf.com
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


[Flashcoders] Yes or no: Moving one MC into another (AS2)

2008-02-07 Thread Mendelsohn, Michael
Hi list...

I have movieclip A, which contains movieclip X.  I also have movieclip
B, with no children, and I want it to contain a duplicate of A.X. 

Is it possible to do this in AS2?

Thanks,
- Michael M.

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


RE: [Flashcoders] multiple TextFormats in one TextField

2008-02-07 Thread Mendelsohn, Michael
Thanks Gregory.  That's exactly what I did and it worked perfectly.

- MM




1) in a loop (or in any other way), you create the resulting text with
default formatting.
2) at the same time, you record (in arrays)
- start/end positions of each string
- its TextFormat
3) When the result text is ready, just apply TextFormats using recorded
positions.


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


Re: [Flashcoders] Yes or no: Moving one MC into another (AS2)

2008-02-07 Thread Bob Leisle

Hi Michael,

I'm not sure at what point in your runtime you want to make the copy, 
but if these clips are all library symbols in the same fla and are 
exported for Actionscript, wouldn't this do it?


B.attachMovie(A, myA, B.getNextHighestDepth());
B.myA.attachMovie(X, myX, B.myA.getNextHighestDepth());

hth,
Bob


Mendelsohn, Michael wrote:

Hi list...

I have movieclip A, which contains movieclip X.  I also have movieclip
B, with no children, and I want it to contain a duplicate of A.X. 


Is it possible to do this in AS2?

Thanks,
- Michael M.

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



  


--
Thanks,
~
Bob Leisle 
Headsprout Software  Engineering

http://www.headsprout.com
Where kids learn to read! 


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


Re: [Flashcoders] Flash player 9.0.47 serious issue (maybe some 9 versions before too)

2008-02-07 Thread Meinte van't Kruis
Actually, the trace doesn't really matter. The point is, flash player of
that version keeps crashing whenever I try to get a class definition from an
external SWF, and after this instantiating that class.

the line producing the crash is then this one; var tmp:* = new skinClass();

On Feb 7, 2008 5:49 PM, Kenneth Kawamoto [EMAIL PROTECTED] wrote:

 Oops you said Circle was the Document class.

 var appDomain:ApplicationDomain = e.target.applicationDomain;
 var skinClass:Class =
 appDomain.getDefinition(getQualifiedClassName(e.target.content)) as Class;
 trace(skinClass:  + skinClass);

 then it's the same as yours basically. Sorry about the noise!

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

 Kenneth Kawamoto wrote:
  private function onComplete(e:Event):void {
 var appDomain:ApplicationDomain =
  e.target.loader.contentLoaderInfo.applicationDomain;
 var skinClass:Class =
  appDomain.getDefinition(getQualifiedClassName(
 e.target.content.getChildAt(0)))
  as Class;
 trace(skinClass:  + skinClass);
  }
 
  Output:
  skinClass: [class Circle]
 
  Kenneth Kawamoto
  http://www.materiaprima.co.uk/
 
  Meinte van't Kruis wrote:
  I find the following:
 
  When following the methods described by Daryl Theo (at
 
 http://darylteo.com/blog/2007/11/16/abstracting-assets-from-actionscript-in-as30-asset-libraries/
 
  )
  to duplicate DisplayObjects works fine in flash player 9.0.115
  (latest). In
  version 9.0.47 it repeatedly crashes the browser (both firefox in
  ie)... I
  wonder
  if anyone else has this problem. To reproduce, simple instal 9.0.47,
  follow
  the steps by Daryl, and voila, a browser crash.
 
  In short, make an swf, with document class Circle
 
  then load in your main swf, with the following code in the onComplete
  handler;
 
  private function onComplete(e:Event) {
  var appDomain:ApplicationDomain =
 e.target.applicationDomain;
 
  var skinClass:Class = appDomain.getDefinition
  (getQualifiedClassName(e.target.loader.content)) as Class;
 
  trace(CLASS:  + skinClass);
 
  //var tmp:* = new skinClass();   - uncommenting this
  line
  crashes the browser
  }
 
 
  Any ideas, or other ideas to clone a displayobject?
 
 

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




-- 
M.A. van't Kruis
http://www.malatze.nl/
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] Yes or no: Moving one MC into another (AS2)

2008-02-07 Thread Mendelsohn, Michael
Thanks, gents.

I've just started reading Moock's AS3 book.  I'm sleeping better
already.

- MM


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


[Flashcoders] copy mask from one clip to another

2008-02-07 Thread Andrew Sinning
Using AS2 in CS3, what are the rough steps that I would need to take to 
copy an image from inside one clip and use it as the mask for an 
entirely different clip?


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


RE: [Flashcoders] AS3 Function question

2008-02-07 Thread Matthew James Poole
Better to do this if you want to ensure Type too... 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Sidney
de Koning
Sent: 07 February 2008 13:27
To: Flash Coders List
Subject: Re: [Flashcoders] AS3 Function question

this works for me, since i only need either 1 or 2 arguments, never
more.

Thanks for all the examples guys,

Sid

Matthew James Poole wrote:
 True, but with the rest argument you can have as many args as you 
 want...

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Jim 
 Hayes
 Sent: 07 February 2008 12:11
 To: Flash Coders List
 Subject: RE: [Flashcoders] AS3 Function question

 I normally just set a default value for the second argument :

 function someFunction(arg1:int,arg2:String=null):void
 {
   if(arg2==null)
   {
   //whatever.
   }
   //some code ...
 }

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

 de Koning
 Sent: 07 February 2008 11:45
 To: Flash Coders List
 Subject: [Flashcoders] AS3 Function question

 Hi list,

 I have a function in  AS3, and it takes two arguments, but sometimes i

 want it to have 1 argument. But when i run it now it errors:
 1136: Incorrect number of arguments.  Expected 2.
 How do i do this? keep one arguments standard in the function brackets

 and check for the second argument with the arguments array like in
AS2?

 Help would be advised,

 Thanks,

 Sidney

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

 __
 This communication is from Primal Pictures Ltd., a company registered 
 in England and Wales with registration No. 02622298 and registered
office:
 4th Floor, Tennyson House, 159-165 Great Portland Street, London, W1W 
 5PA, UK. VAT registration No. 648874577.

 This e-mail is confidential and may be privileged. It may be read, 
 copied and used only by the intended recipient. If you have received 
 it in error, please contact the sender immediately by return e-mail or

 by telephoning +44(0)20 7637 1010. Please then delete the e-mail and 
 do not disclose its contents to any person.
 This email has been scanned for Primal Pictures by the MessageLabs 
 Email Security System.
 __

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

 __
 This e-mail has been scanned for viruses by the Virtual Universe 
 e-mail security system - powered by MessageLabs.
 http://www.virtual-universe.net

 __

 The contents of this email are confidential and may be subject to
legal privilege and protected by copyright. If you are not the intended
recipient any use, copying or disclosure of this e-mail to any third
party is strictly forbidden by the sender and we reserve all rights and
remedies against any person or entity making any such unauthorised use.
If you have received this email in error, please contact the sender
immediately by telephone or return the email to the sender and then
delete this email and any copies of it on your system. Virtual Universe
Limited may monitor the contents of emails sent and received via its
network for viruses and to ensure the lawful and authorised use of its
systems. Virtual Universe Limited will not be held responsible for any
damage caused by viruses which may be transmitted upon receipt of this
email or the opening of any attachment thereto. Any views or opinions
presented in this email are solely those of the author and do not
necessarily !
  represent those of Virtual Universe Limited.

 Virtual Universe Limited is a company established under the laws of
England and Wales with registered number 03064568 and has its registered
office at 1 Regent Street, London, SW1Y 4NW and principal place of
business at 28-39 The Quadrant, 135 Salusbury Road, London NW6 6RJ,
United Kingdom. It is registered for VAT in the United Kingdom with
number GB877113217.


 __
 This e-mail has been scanned for viruses by the Virtual Universe 
 e-mail security system - powered by MessageLabs. 
 http://www.virtual-universe.net

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


[Flashcoders] MS Access?

2008-02-07 Thread Dave Mennenoh

Sorry for that title... I didn't mean to do that.

I have a client who wants to use Access for their database - yeesh... Is it
possible to use AMFPHP (Flash8) with MS Access? Is Access SQL capable? Any 
decent hosts that offer PHP and Access? Seems unlikely... Should I just tell 
them to man-up and use MySQL?



Dave -
Head Developer
http://www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/ 


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


[Flashcoders] Scott A Mowry is out of the office.

2008-02-07 Thread samowry

I will be out of the office starting  02/07/2008 and will not return until
02/14/2008.

I will respond to your message when I return.

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


Re: [Flashcoders] AS3 Function question

2008-02-07 Thread Sidney de Koning

this works for me, since i only need either 1 or 2 arguments, never more.

Thanks for all the examples guys,

Sid

Matthew James Poole wrote:

True, but with the rest argument you can have as many args as you
want... 


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jim
Hayes
Sent: 07 February 2008 12:11
To: Flash Coders List
Subject: RE: [Flashcoders] AS3 Function question

I normally just set a default value for the second argument :

function someFunction(arg1:int,arg2:String=null):void
{
if(arg2==null)
{
//whatever.
}
//some code ...
}

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Sidney
de Koning
Sent: 07 February 2008 11:45
To: Flash Coders List
Subject: [Flashcoders] AS3 Function question

Hi list,

I have a function in  AS3, and it takes two arguments, but sometimes i
want it to have 1 argument. But when i run it now it errors:
1136: Incorrect number of arguments.  Expected 2.
How do i do this? keep one arguments standard in the function brackets
and check for the second argument with the arguments array like in AS2?

Help would be advised,

Thanks,

Sidney

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

__
This communication is from Primal Pictures Ltd., a company registered in
England and Wales with registration No. 02622298 and registered office:
4th Floor, Tennyson House, 159-165 Great Portland Street, London, W1W
5PA, UK. VAT registration No. 648874577.

This e-mail is confidential and may be privileged. It may be read,
copied and used only by the intended recipient. If you have received it
in error, please contact the sender immediately by return e-mail or by
telephoning +44(0)20 7637 1010. Please then delete the e-mail and do not
disclose its contents to any person.
This email has been scanned for Primal Pictures by the MessageLabs Email
Security System.
__

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

__
This e-mail has been scanned for viruses by the Virtual Universe e-mail
security system - powered by MessageLabs.
http://www.virtual-universe.net

__

The contents of this email are confidential and may be subject to legal 
privilege and protected by copyright. If you are not the intended recipient any 
use, copying or disclosure of this e-mail to any third party is strictly 
forbidden by the sender and we reserve all rights and remedies against any 
person or entity making any such unauthorised use. If you have received this 
email in error, please contact the sender immediately by telephone or return 
the email to the sender and then delete this email and any copies of it on your 
system. Virtual Universe Limited may monitor the contents of emails sent and 
received via its network for viruses and to ensure the lawful and authorised 
use of its systems. Virtual Universe Limited will not be held responsible for 
any damage caused by viruses which may be transmitted upon receipt of this 
email or the opening of any attachment thereto. Any views or opinions presented 
in this email are solely those of the author and do not necessarily !
 represent those of Virtual Universe Limited.

Virtual Universe Limited is a company established under the laws of England and 
Wales with registered number 03064568 and has its registered office at 1 Regent 
Street, London, SW1Y 4NW and principal place of business at 28-39 The Quadrant, 
135 Salusbury Road, London NW6 6RJ, United Kingdom. It is registered for VAT in 
the United Kingdom with number GB877113217.


__
This e-mail has been scanned for viruses by the Virtual Universe e-mail 
security system - powered by MessageLabs. http://www.virtual-universe.net

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

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


RE: [Flashcoders] Yes or no: Moving one MC into another (AS2)

2008-02-07 Thread Mendelsohn, Michael
That would do it, Bob, thanks, but my clips aren't even in the library.
(It's all generated by code.)  

I'm wondering, isn't this issue solved in AS3 with addChild()?

- MM




I'm not sure at what point in your runtime you want to make the copy, 
but if these clips are all library symbols in the same fla and are 
exported for Actionscript, wouldn't this do it?

B.attachMovie(A, myA, B.getNextHighestDepth());
B.myA.attachMovie(X, myX, B.myA.getNextHighestDepth());


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


RE: [Flashcoders] MS Access?

2008-02-07 Thread Dave Watts
 I have a client who wants to use Access for their database - 
 yeesh... Is it possible to use AMFPHP (Flash8) with MS 
 Access? Is Access SQL capable? Any decent hosts that offer 
 PHP and Access? Seems unlikely... Should I just tell them to 
 man-up and use MySQL?

You can connect to Access databases from PHP on Windows. Access does support
the bulk of ANSI-92 SQL. If you can get away will telling them to man-up,
though, go for it.

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

Fig Leaf Training: Adobe/Google/Paperthin Certified Partners
http://training.figleaf.com/

WebManiacs 2008: the ultimate conference for CF/Flex/AIR developers!
http://www.webmaniacsconference.com/
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] labyrinth-games

2008-02-07 Thread Martin Klasson
Hi Everyone,

I am in the hunt for making some labyrinth-games, simple ones,
seen from above with simple walls..

and you start from the outside, and tries to get into the center-piece.

I have tried to start, but I am coming off on the wrong foot!
can ya help!

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


[Flashcoders] Terminal Server

2008-02-07 Thread tom rhodes
Hello all,

I've done a little googling to find out how to connect to Terminal Server
from a webpage. Just wondering if anyone has any experience of doing this
through flash? If anyone has can they point me to some usefull resources as
i need to scope out the price of making a flash front end that talks with
Terminal Server.

Any help greatly appreciated, thanks in advance,

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


RE: [Flashcoders] Any problems with the list?

2008-02-07 Thread Dave Watts
 Haven't recieved any emails all day. (from Flash Coders List) 
 Anything wrong with the email list?? Anyone else experiencing 
 problems?

I've been receiving mail. I've cc'd you directly on this, just to see
whether you receive this directly. It's about 10:35 am EST.

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

Fig Leaf Training: Adobe/Google/Paperthin Certified Partners
http://training.figleaf.com/

WebManiacs 2008: the ultimate conference for CF/Flex/AIR developers!
http://www.webmaniacsconference.com/
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] Yes or no: Moving one MC into another (AS2)

2008-02-07 Thread Jesse Graupmann
Michael,

From what I understand, NO - although there are still a couple workarounds.



var mcA:MovieClip = this.attachMovie ( myMovie, mcA,
this.getNextHighestDepth() );
mcA.X = mcA.attachMovie ( myMovie, X, mcA.getNextHighestDepth(),
{_x:100, _xscale:120, _yscale:20 } );
var mcB:MovieClip = this.attachMovie ( myMovie, mcB,
this.getNextHighestDepth(), { _y:100 } );


//  Quick way of grabbing the initial settings from another clip
//  NOTE: These will just be set when the clip is instantiated - not ideal
for getter / setter information


function getMCData ( mc:MovieClip ):Object 
{
return { _x:mc._x, _y:mc._y, _width:mc._width, _height:mc._height,
_xscale:mc._xscale, _yscale:mc._yscale }; 
}

mcB.Y = mcB.attachMovie ( myMovie, Y, mcB.getNextHighestDepth(),
getMCData ( mcA.X ) );


//  If the MovieClips extended a custom class
//  you could ask for information to initialize another
//  once it hit the stage


mcB.Y.initialize ( mcA.X.getInitData () );




_

Jesse Graupmann
www.jessegraupmann.com 
www.justgooddesign.com/blog/ 
_




-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mendelsohn,
Michael
Sent: Thursday, February 07, 2008 6:24 AM
To: Flash Coders List
Subject: [Flashcoders] Yes or no: Moving one MC into another (AS2)

Hi list...

I have movieclip A, which contains movieclip X.  I also have movieclip
B, with no children, and I want it to contain a duplicate of A.X. 

Is it possible to do this in AS2?

Thanks,
- Michael M.

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

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


Re: [Flashcoders] Scott A Mowry is out of the office.

2008-02-07 Thread Dave Mennenoh
I have a client who wants to use Access for their database - yeesh... Is it 
possible to use AMFPHP (Flash8) with MS Access? Is Access SQL capable?


Dave -
Head Developer
http://www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/ 


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


Re: [Flashcoders] copy mask from one clip to another

2008-02-07 Thread Andrew Sinning

Thanks Jesse.

Jesse Graupmann wrote:

1. Create empty MovieClip ( clipC ) on same parent as clipB
2. Create BitmapData from clipA
3. Draw BitmapData to clipC
4. Set mask of clipB to clipC ( check cacheAsBitmap == true )


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


[Flashcoders] How did they do it?? A particular flash site.

2008-02-07 Thread Vlado Krempl
Hello everyone,

There is a great flash site that I absolutely love, and just wanted your 
opinion on how they layed it out.

The site is :
 http://checklandkindleysides.com

They use a background gradient image, so is the flash movie in transparent 
mode?? 
Or perhaps they have used another program for 3D, for example I read somewhere 
that Swift 3D is great for this kind of work.
They also use CSS on the nav text, have they integrated html with flash??

Cheers,

Vlado  
Please consider the environment before printing this e-mail. 
The contents of this message should be treated as COMMERCIAL IN CONFIDENCE 
unless otherwise specified in the message
and is intended solely for the use of the individual or entity to whom it is 
addressed.
If you have received this email in error please notify the sender. If you are 
not the named addressee you should not disseminate, distribute or copy this 
e-mail.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] H.264 encoding tool - progressive download

2008-02-07 Thread Steven Loe
Hello All,

I've found that Visual Hub will properly encode h.264 mp4 with the atom at the 
head of
the file. This allows the h.264 file to be progressively downloaded. 

The good news: is that visual hub costs a mere $24.00. And it will do batch 
encoding.
The downside is that it's mac only.

Here's how:
1. In Visual Hub, click Mp4
2. check H.264
3. check Hint for Streaming
4. press start

That's it.



 




  

Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ 

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


RE: [Flashcoders] MS Access?

2008-02-07 Thread Merrill, Jason
Yes to all your questions except the 3rd, which I don't know the answer
to.  

Jason Merrill
Bank of America  
GTO LLD Solutions Design  Development 
eTools  Multimedia 

Bank of America Flash Platform Developer Community



 

-Original Message-
From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] On Behalf 
Of Dave Mennenoh
Sent: Thursday, February 07, 2008 5:56 PM
To: Flash Coders List
Subject: [Flashcoders] MS Access?

Sorry for that title... I didn't mean to do that.

I have a client who wants to use Access for their database - 
yeesh... Is it possible to use AMFPHP (Flash8) with MS 
Access? Is Access SQL capable? Any decent hosts that offer 
PHP and Access? Seems unlikely... Should I just tell them to 
man-up and use MySQL?


Dave -
Head Developer
http://www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/ 

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

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


Re: [Flashcoders] MS Access?

2008-02-07 Thread Juan Pablo Califano
It's ODBC, not OBDC (I always spell that wrong!!!)

2008/2/7, Juan Pablo Califano [EMAIL PROTECTED]:

 Dave, in one or two really old, small and low traffic sites, I've seen
 Access used as the DD.BB (along with classic ASP). Yes, it's SQL capable,
 you can connect to it through an OBDC driver. But it really sucks...

 There are OBDC drivers for PHP, so I guess it should be possible to
 connect to an Access DD.BB. It'll probably be slow and won't be able to
 handle much traffic, but it should be possible.

 If your client insist on using Access, maybe it's because they already
 have stuff developed for Access (tables with lots of rows, views, not sure
 if there are stored procedures in Access) and they're concerned about the
 upgrading overhead. Maybe upgrading to MS SQL Server is a more suitable
 option in that scenario -- not that I've tried that myself, but I've been
 told that it's easy and sounds reasonable considering both are MS
 products... On the other hand, I once did an upgrade from MS Access to
 MySql and it wasn't precisely smooth  (in part it might just have been that
 I didn't / don't know much about MS Access).

 Hope that helps.

 Cheers
 Juan Pablo Califano
 2008/2/7, Dave Mennenoh [EMAIL PROTECTED]:
 
  Sorry for that title... I didn't mean to do that.
 
  I have a client who wants to use Access for their database - yeesh... Is
  it
  possible to use AMFPHP (Flash8) with MS Access? Is Access SQL capable?
  Any
  decent hosts that offer PHP and Access? Seems unlikely... Should I just
  tell
  them to man-up and use MySQL?
 
 
  Dave -
  Head Developer
  http://www.blurredistinction.com
  Adobe Community Expert
  http://www.adobe.com/communities/experts/
 
  ___
  Flashcoders mailing list
  Flashcoders@chattyfig.figleaf.com
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 


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


Re: [Flashcoders] MS Access?

2008-02-07 Thread Glen Pike
If you can bring Access to PHP:  
http://www.phpfreaks.com/tutorials/61/0.php
You will probably have to run on a Windows server - did I really say 
that, I feel dirty now...
Not sure about SQL, but access does support it - try typing SQL in the 
query window to (if you have Access installed.)




Dave Mennenoh wrote:

Sorry for that title... I didn't mean to do that.

I have a client who wants to use Access for their database - yeesh... 
Is it
possible to use AMFPHP (Flash8) with MS Access? Is Access SQL capable? 
Any decent hosts that offer PHP and Access? Seems unlikely... Should I 
just tell them to man-up and use MySQL?



Dave -
Head Developer
http://www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders




--

Glen Pike
01736 759321
www.glenpike.co.uk http://www.glenpike.co.uk
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] MS Access?

2008-02-07 Thread Juan Pablo Califano
Dave, in one or two really old, small and low traffic sites, I've seen
Access used as the DD.BB (along with classic ASP). Yes, it's SQL capable,
you can connect to it through an OBDC driver. But it really sucks...

There are OBDC drivers for PHP, so I guess it should be possible to connect
to an Access DD.BB. It'll probably be slow and won't be able to handle much
traffic, but it should be possible.

If your client insist on using Access, maybe it's because they already have
stuff developed for Access (tables with lots of rows, views, not sure if
there are stored procedures in Access) and they're concerned about the
upgrading overhead. Maybe upgrading to MS SQL Server is a more suitable
option in that scenario -- not that I've tried that myself, but I've been
told that it's easy and sounds reasonable considering both are MS
products... On the other hand, I once did an upgrade from MS Access to
MySql and it wasn't precisely smooth  (in part it might just have been that
I didn't / don't know much about MS Access).

Hope that helps.

Cheers
Juan Pablo Califano
2008/2/7, Dave Mennenoh [EMAIL PROTECTED]:

 Sorry for that title... I didn't mean to do that.

 I have a client who wants to use Access for their database - yeesh... Is
 it
 possible to use AMFPHP (Flash8) with MS Access? Is Access SQL capable? Any
 decent hosts that offer PHP and Access? Seems unlikely... Should I just
 tell
 them to man-up and use MySQL?


 Dave -
 Head Developer
 http://www.blurredistinction.com
 Adobe Community Expert
 http://www.adobe.com/communities/experts/

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

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


Re: [Flashcoders] How did they do it?? A particular flash site.

2008-02-07 Thread Glen Pike

Hi,

   There was a blog article on this - search in Google or something, I 
think they rendered all the animations out from 3D, but that's all I can 
remember.


   Bit arrogant that it won't run and complains about my screen 
resolution not being 1024 x 768 - dur, it is but Firefox is running with 
tabs open - although they are designers so we may be able to forgive 
their ignorance of coders who squeeze their machines for years after the 
upgrade by dates :)

   Glen

  


Vlado Krempl wrote:

Hello everyone,

There is a great flash site that I absolutely love, and just wanted your 
opinion on how they layed it out.

The site is :
 http://checklandkindleysides.com

They use a background gradient image, so is the flash movie in transparent mode?? 
Or perhaps they have used another program for 3D, for example I read somewhere that Swift 3D is great for this kind of work.

They also use CSS on the nav text, have they integrated html with flash??

Cheers,

Vlado  
Please consider the environment before printing this e-mail. 
The contents of this message should be treated as COMMERCIAL IN CONFIDENCE unless otherwise specified in the message

and is intended solely for the use of the individual or entity to whom it is 
addressed.
If you have received this email in error please notify the sender. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. 
___

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


  


--

Glen Pike
01736 759321
www.glenpike.co.uk http://www.glenpike.co.uk
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Flash player 9.0.47 serious issue (maybe some 9 versions before too)

2008-02-07 Thread Kenneth Kawamoto
I'm on a Mac at the moment and I can verify this crashes both Firefox 
and Safari immediately. It would be interesting to find out why, but as 
this is the old player we are talking about, Adobe won't be looking into.


Since it works on Moviestar (works on both PC/Mac), can you just check 
the player version installed with SWFObject and do the ExpressInstall if 
Moviestar is not present? (The last time I checked, the ExpressInstall 
was not working on Mac at all though, but that's another matter...)


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

Meinte van't Kruis wrote:
Actually, the trace doesn't really matter. The point is, flash player of 
that version keeps crashing whenever I try to get a class definition 
from an external SWF, and after this instantiating that class.


the line producing the crash is then this one; var tmp:* = new skinClass();

On Feb 7, 2008 5:49 PM, Kenneth Kawamoto [EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED] wrote:


Oops you said Circle was the Document class.

var appDomain:ApplicationDomain = e.target.applicationDomain;
var skinClass:Class =
appDomain.getDefinition(getQualifiedClassName(e.target.content)) as
Class;
trace(skinClass:  + skinClass);

then it's the same as yours basically. Sorry about the noise!

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

Kenneth Kawamoto wrote:
  private function onComplete(e:Event):void {
 var appDomain:ApplicationDomain =
  e.target.loader.contentLoaderInfo.applicationDomain;
 var skinClass:Class =
 

appDomain.getDefinition(getQualifiedClassName(e.target.content.getChildAt(0)))
  as Class;
 trace(skinClass:  + skinClass);
  }
 
  Output:
  skinClass: [class Circle]
 
  Kenneth Kawamoto
  http://www.materiaprima.co.uk/
 
  Meinte van't Kruis wrote:
  I find the following:
 
  When following the methods described by Daryl Theo (at
 

http://darylteo.com/blog/2007/11/16/abstracting-assets-from-actionscript-in-as30-asset-libraries/
 
  )
  to duplicate DisplayObjects works fine in flash player 9.0.115
  (latest). In
  version 9.0.47 it repeatedly crashes the browser (both firefox in
  ie)... I
  wonder
  if anyone else has this problem. To reproduce, simple instal 9.0.47,
  follow
  the steps by Daryl, and voila, a browser crash.
 
  In short, make an swf, with document class Circle
 
  then load in your main swf, with the following code in the
onComplete
  handler;
 
  private function onComplete(e:Event) {
  var appDomain:ApplicationDomain =
e.target.applicationDomain;
 
  var skinClass:Class = appDomain.getDefinition
  (getQualifiedClassName(e.target.loader.content)) as Class;
 
  trace(CLASS:  + skinClass);
 
  //var tmp:* = new skinClass();   - uncommenting
this
  line
  crashes the browser
  }
 
 
  Any ideas, or other ideas to clone a displayobject?

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


RE: [Flashcoders] How did they do it?? A particular flash site.

2008-02-07 Thread Jesse Graupmann
With magic! 

Unfortunately if you haven't learned it by now you'll never be able to
understand its full potential.


Full screen - FLASH and HTML
http://www.kirupa.com/developer/mx2004/fullscreen.htm
http://gotoandlearn.com/player.php?id=31

CSS
http://www.kirupa.com/developer/mx2004/css.htm

VIDEO
http://gotoandlearn.com/player.php?id=46
http://gotoandlearn.com/player.php?id=1 

TRANSPARENT VIDEO
http://www.pjenkins.co.uk/blog/index.php/2006/09/22/transparent-flash-video-
for-a-website/#more-3



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Vlado Krempl
Sent: Thursday, February 07, 2008 3:19 PM
To: Flash Coders List
Subject: [Flashcoders] How did they do it?? A particular flash site.

Hello everyone,

There is a great flash site that I absolutely love, and just wanted your
opinion on how they layed it out.

The site is :
 http://checklandkindleysides.com

They use a background gradient image, so is the flash movie in transparent
mode?? 
Or perhaps they have used another program for 3D, for example I read
somewhere that Swift 3D is great for this kind of work.
They also use CSS on the nav text, have they integrated html with flash??

Cheers,

Vlado  

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


Re: [Flashcoders] H.264 encoding tool - progressive download

2008-02-07 Thread Radley Marx




Nice Tip! I would have never guessed.

-radley


--
Radley Marx
www.radleymarx.com
[EMAIL PROTECTED]
--




On Feb 7, 2008, at 3:20 PM, Steven Loe wrote:


Hello All,

I've found that Visual Hub will properly encode h.264 mp4 with the  
atom at the head of

the file. This allows the h.264 file to be progressively downloaded.

The good news: is that visual hub costs a mere $24.00. And it will  
do batch encoding.

The downside is that it's mac only.

Here's how:
1. In Visual Hub, click Mp4
2. check H.264
3. check Hint for Streaming
4. press start

That's it.


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


RE: [Flashcoders] How did they do it?? A particular flash site.

2008-02-07 Thread Merrill, Jason
That doesn't look like Swift3D to me, looks more like faked 3D using
Flash transforms or some other tool - but Swift3D does not do fancy
morphing of vector shapes like that.  

Jason Merrill
Bank of America  
GTO LLD Solutions Design  Development 
eTools  Multimedia 

Bank of America Flash Platform Developer Community



 

-Original Message-
From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] On Behalf 
Of Vlado Krempl
Sent: Thursday, February 07, 2008 6:19 PM
To: Flash Coders List
Subject: [Flashcoders] How did they do it?? A particular flash site.

Hello everyone,

There is a great flash site that I absolutely love, and just 
wanted your opinion on how they layed it out.

The site is :
 http://checklandkindleysides.com

They use a background gradient image, so is the flash movie 
in transparent mode?? 
Or perhaps they have used another program for 3D, for example 
I read somewhere that Swift 3D is great for this kind of work.
They also use CSS on the nav text, have they integrated html 
with flash??

Cheers,

Vlado
Please consider the environment before printing this e-mail. 
The contents of this message should be treated as COMMERCIAL 
IN CONFIDENCE unless otherwise specified in the message and 
is intended solely for the use of the individual or entity to 
whom it is addressed.
If you have received this email in error please notify the 
sender. If you are not the named addressee you should not 
disseminate, distribute or copy this e-mail. 
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


[Flashcoders] paused stream still playing...

2008-02-07 Thread [p e r c e p t i c o n]
Hi Coders,
I'm trying understand why an flv that i've pause is still playing but
without audio and it seems to play really fast then stop then play really
fas again until the whole video has played...only then does it truly
pause...
wierd??
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders