[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

[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

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

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

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

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

[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

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)

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

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

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]

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:

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:

[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

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

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:

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

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

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

[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 ___

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 ) );

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

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]

[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

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

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,

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

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

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

[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

[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

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]

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

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

[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] 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

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

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 =

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/

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

[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.

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

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.

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.)

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

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

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

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

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

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

[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?? ___