Re: [Flashcoders] Arguments.callee._name?

2007-07-17 Thread Hans Wichman
clutter anything with two unneeded classes you are referring to EventDispatcher and Delegate right? ;-) Sorry cudnt resist, but all fun and games aside, I agree, it depends on your purpose. As said I use it in my logger which needs to retrieve this info automatically without the user having to

[Flashcoders] Text Input Component

2007-07-17 Thread payal
Hi All I am trying to attach a movieclip containg textInput component to the stage. Its attaching successfully But I am not able to set its Text. Regards Payal ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the

RE: [Flashcoders] Text Input Component

2007-07-17 Thread vivek
Can you give some hint of what actually you have done? Some code? That will help. Peace, veiky -Original Message- From: payal [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 17, 2007 4:31 PM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] Text Input Component Hi All I am

Re: [Flashcoders] Text Input Component

2007-07-17 Thread Paul Andrews
- Original Message - From: payal [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Sent: Tuesday, July 17, 2007 12:00 PM Subject: [Flashcoders] Text Input Component Hi All I am trying to attach a movieclip containg textInput component to the stage. Its attaching successfully

RE: [Flashcoders] Text Input Component

2007-07-17 Thread payal
I am using the following code for (var i = 0; i 20; i++) { this.con_mc.data_mc.attachMovie (kid_mc, kid_mc+i, i); this.con_mc.data_mc[kid_mc + i]._x = 0; if (i == 0) { this.con_mc.data_mc[kid_mc + i]._y = 0; } else

RE: [Flashcoders] Text Input Component

2007-07-17 Thread vivek
-Original Message- From: payal [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 17, 2007 5:04 PM To: flashcoders@chattyfig.figleaf.com Subject: RE: [Flashcoders] Text Input Component I am using the following code for (var i = 0; i 20; i++) { this.con_mc.data_mc.attachMovie

Re: [Flashcoders] Text Input Component

2007-07-17 Thread Helen Triolo
The component needs time to initialize. If you're coding on the main timeline, you can replace the line that assigns the text with this: this.con_mc.data_mc[kid_mc + i].onEnterFrame = function() { if (this.ifBD1.text != undefined) { this.ifBD1.text = Test;

RE: [Flashcoders] Font in Library problems

2007-07-17 Thread David Ngo
Not sure where your error is, but can I ask why you're instantiating your Font instance twice? David -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Michael Trim Sent: Tuesday, July 17, 2007 10:12 AM To: flashcoders@chattyfig.figleaf.com Subject:

[Flashcoders] Font in Library problems

2007-07-17 Thread Michael Trim
Can anyone tell me why the following isn't displaying any text? No Compiler errors, all traces show objects existing? If I remove the textformat all together it appears on stage in times. __ package

RE: [Flashcoders] Font in Library problems

2007-07-17 Thread Michael Trim
That's a mistake, I've tried a lot of variations to get this working! I can't find an example online where this works inside a class, all the documentation has timeline examples (which I can get working with same font). -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL

RE: [Flashcoders] Font in Library problems

2007-07-17 Thread David Ngo
Ah. Try setting the textformat AFTER you set the text. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Michael Trim Sent: Tuesday, July 17, 2007 10:47 AM To: flashcoders@chattyfig.figleaf.com Subject: RE: [Flashcoders] Font in Library problems That's a

RE: [Flashcoders] Font in Library problems

2007-07-17 Thread Michael Trim
Doh! *blushes* thanks David. Sometimes you can look at something too long. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of David Ngo Sent: 17 July 2007 16:15 To: flashcoders@chattyfig.figleaf.com Subject: RE: [Flashcoders] Font in Library problems Ah.

Re: [Flashcoders] obfuscation swf !

2007-07-17 Thread Jim Berkey
If the viewer cannot get your swf, they cannot decompile it: http://jimbo.us/swf_protect/ - Original Message - From: Bart Wttewaall [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Sunday, May 07, 2006 8:10 AM Subject: Re: [Flashcoders]

Re: [Flashcoders] obfuscation swf !

2007-07-17 Thread Eric Priou
Isn't all the swf content in that url ? http://jimbo.us/Games/mahJongg/advert.php?data=content so : $ curl -LO http://jimbo.us/Games/mahJongg/advert.php?data=content $ mv advert.php?data=content ad.swf $ swfdump -a ad.swf Interesting content. Is this trick so hard to find ? Le 17 juil. 07 à

RE: [Flashcoders] obfuscation swf !

2007-07-17 Thread Sunil Jolly
Yeah - looks like it to me! And what's with all the secrecy about the technique? :) Sunil -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Eric Priou Sent: 17 July 2007 17:26 To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] obfuscation

RE: [Flashcoders] obfuscation swf !

2007-07-17 Thread Frederic Caron
I've just save as and uncompile .. I don't get where's the revolution? protocol = _url.substr(0, _url.indexOf(:)); if (protocol == file) { message = It seems you are trying out this Game on your local hard disk. This game will only work if played on Jimbo.us; } else if (protocol == http) {

RE: [Flashcoders] obfuscation swf !

2007-07-17 Thread Jesse Graupmann
Check it out, and see if you can 'steal' this game - it is yours for the taking: Instead of Alert! you should have wrote, Congrats! This game is yours! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Frederic Caron Sent: Tuesday, July 17, 2007 9:32 AM

[Flashcoders] real time QA

2007-07-17 Thread Van Tuck
List - A client is inquiring about a web-based system that would allow the user to type in a question, have the algorithm compare the input character-by-character to a predefined list of answers until all but one answer had been removed and the correct answer returned. Basically think

Re: [Flashcoders] obfuscation swf !

2007-07-17 Thread Jim Berkey
Instead of answering every note that claims to have 'taken' the game, don't write a note - prove it - You do not have the game, you have a nearly empty container file :) You have the game? Congrats - upload it to your site and show us! jimbo - Original Message - From: Jesse

Re: [Flashcoders] obfuscation swf !

2007-07-17 Thread Jim Berkey
So you are telling me that the game content is ad.swf? I don't think so . . . - Original Message - From: Eric Priou [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Sent: Tuesday, July 17, 2007 12:26 PM Subject: Re: [Flashcoders] obfuscation swf ! Isn't all the swf content in

Re: [Flashcoders] real time QA

2007-07-17 Thread Alan MacDougall
Van Tuck wrote: List - A client is inquiring about a web-based system that would allow the user to type in a question, have the algorithm compare the input character-by-character to a predefined list of answers until all but one answer had been removed and the correct answer returned.

Re: Re[2]: [Flashcoders] obfuscation swf !

2007-07-17 Thread Jim Berkey
Congratulations, I obviously have more holes to plug, my methods are no good. I will continue trying . . . jimbo - Original Message - From: Rákos Attila [EMAIL PROTECTED] To: Jim Berkey flashcoders@chattyfig.figleaf.com Sent: Tuesday, July 17, 2007 1:48 PM Subject: Re[2]:

Re: [Flashcoders] real time QA

2007-07-17 Thread Steven Sacks
How about some real time TA, instead? ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized

RE: Re[2]: [Flashcoders] obfuscation swf !

2007-07-17 Thread Frederic Caron
Download the FLA here http://www.the-flash-files.com/download/game.fla -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la part de Rákos Attila Envoyé : July 17, 2007 1:48 PM À : Jim Berkey Objet : Re[2]: [Flashcoders] obfuscation swf ! Well, just for you:

RE: [Flashcoders] obfuscation swf !

2007-07-17 Thread Frederic Caron
Why don't you explain us what's the technique, cause for me that isn't a game anyways that's only weird blocs. - F -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la part de Jim Berkey Envoyé : July 17, 2007 1:21 PM À : flashcoders@chattyfig.figleaf.com Objet :

Re: [Flashcoders] Using createEmptyMovieClip to create MovieClips within MovieClips

2007-07-17 Thread Andy Herrman
I've never seen createEmptyMovieClip or attachMovie take time. I'm pretty sure those are blocking actions, so once it's returned the clip exists. -Andy On 7/16/07, o renken [EMAIL PROTECTED] wrote: theres a little time needed to create the MC..i think thats the reason for your undefined. try

[Flashcoders] AS3 package and class access

2007-07-17 Thread Matt Muller
Hi, I have a question about class instantiation. I have a class in this package com.foo.view.playerSkins I am trying to instantiate a singleton in com.foo.view (1 dir up) The compiler is throwing the following error... 1120: Access of undefined property TestInstance. However when its in the

Re: [Flashcoders] obfuscation swf !

2007-07-17 Thread Mark Winterhalder
On 7/17/07, Jim Berkey [EMAIL PROTECTED] wrote: So you are telling me that the game content is ad.swf? I don't think so . . http://www.snafoo.org/snafoogame.swf 7 minutes. Sorry. Mark ___ Flashcoders@chattyfig.figleaf.com To change your

Re: Re[2]: [Flashcoders] obfuscation swf !

2007-07-17 Thread Jon Bradley
On Jul 17, 2007, at 2:05 PM, Jim Berkey wrote: Congratulations, I obviously have more holes to plug, my methods are no good. I will continue trying . . . You can't do it Jim - there aren't any holes to plug. It's just technically impossible. cheers, - Jon

Re: [Flashcoders] Using createEmptyMovieClip to create MovieClips within MovieClips

2007-07-17 Thread Alan MacDougall
2007/7/16, John laPlante [EMAIL PROTECTED]: I'm writing a component and have created a MovieClip with createEmptyMovieClip. When I try to create sub-MovieClip inside the first MC with createEmptyMovieClip, it is undefined. This must be a basic Flash thing. I haven't used

Re[2]: [Flashcoders] obfuscation swf !

2007-07-17 Thread R�kos Attila
Well, just for you: http://www.tengerstudio.com/public/mahjong/ It took no more than 5-10 minutes :) Attila =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= From:Jim Berkey [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com

Re[4]: [Flashcoders] obfuscation swf !

2007-07-17 Thread R�kos Attila
Frederic and Sunil already got your game - the little modification to jump over the URL checking and upload to a different site is nothing :) Attila =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= From:Jim Berkey [EMAIL PROTECTED] To:

[Flashcoders] Drawing API :: curveTo assistance, code and example inside

2007-07-17 Thread Ash Warren
I am trying to create a very simple way for a user to manipulate a mask shape in Flash using curveTo. After finding a few great online examples I feel that I'm getting pretty close, however I cannot get rid of my corner control point that begins/ends the shape. Please view the example here and

RE: Re[2]: [Flashcoders] obfuscation swf !

2007-07-17 Thread Dave Burnett
Now his failure is complete. - D. Vader From: Frederic Caron [EMAIL PROTECTED] Reply-To: flashcoders@chattyfig.figleaf.com To: flashcoders@chattyfig.figleaf.com Subject: RE: Re[2]: [Flashcoders] obfuscation swf ! Date: Tue, 17 Jul 2007 14:05:41 -0400 Download the FLA here

Re: [Flashcoders] AS3 package and class access

2007-07-17 Thread Rob Romanek
What is your import statement for the singleton like? import com.foo.view.MySingletonClass; Rob On Tue, 17 Jul 2007 14:10:56 -0400, Matt Muller [EMAIL PROTECTED] wrote: Hi, I have a question about class instantiation. I have a class in this package com.foo.view.playerSkins I am trying

Re: Re[2]: [Flashcoders] obfuscation swf !

2007-07-17 Thread Mark Winterhalder
On 7/17/07, Jon Bradley [EMAIL PROTECTED] wrote: You can't do it Jim - there aren't any holes to plug. It's just technically impossible. Agreed, it is impossible to defend an attack by somebody determined and competent. But that doesn't mean it can't be made very difficult, especially with

[Flashcoders] AS2 -- AS3 issue with accessing clips

2007-07-17 Thread Max Kaufmann
Let's say I have a MovieClip with a blank frame labelled blank and another frame labelled foo with a movieclip instance on the stage called bar. In AS2 this works: clip.gotoAndStop(blank); clip.gotoAndStop(foo); trace(clip.bar); // _level0.clip.bar In AS3 it does not: clip.gotoAndStop(blank);

Re: [Flashcoders] real time QA

2007-07-17 Thread Van Tuck
Thanks Alan - I was thinking of something similar; that definitely helps. Sorry there Steven - I prefer women. V Van R Tuck Director of Web Development Cause Design Group 1519 Stanford Street Suite 6 Santa Monica, CA 90404 t: 310.430.5369 www.causedesigngroup.com On Jul 17, 2007,

RE: [Flashcoders] Drawing API :: curveTo assistance, code and example inside

2007-07-17 Thread Ash Warren
This might be a better example: http://www.ashbrand.com/curveto_circle.swf I am using basically the same code however, please see below: /**/ this.pLine.beginFill (0xF0A0B9); var endX:Number, endY:Number;

Re: [Flashcoders] Drawing API :: curveTo assistance, code and example inside

2007-07-17 Thread Hans Wichman
Hi, my quick guess is, let the loop run from 0 to i controlPoints.length and do the lookup like this.controlPoints[ (i+1)%controlPoints.length ] Just a guess though, but I think that might be it. And then skip the last curveTo outside of the loop. greetz JC On 7/17/07, Ash Warren [EMAIL

RE: [Flashcoders] Drawing API :: curveTo assistance, code and example inside

2007-07-17 Thread Ash Warren
Well that seemed to kind of get me closer, here is the latest example using your code tip (pasted below) http://www.ashbrand.com/curveto_circle_2.swf Thank you. /**/ this.pLine.beginFill (0xF0A0B9); var

Re: [Flashcoders] AS3 package and class access

2007-07-17 Thread Matt Muller
yes. On 7/17/07, Rob Romanek [EMAIL PROTECTED] wrote: What is your import statement for the singleton like? import com.foo.view.MySingletonClass; Rob On Tue, 17 Jul 2007 14:10:56 -0400, Matt Muller [EMAIL PROTECTED] wrote: Hi, I have a question about class instantiation. I have a class

[Flashcoders] onEnterFrame() and delete onEnterFrame()

2007-07-17 Thread macromedia flash
hi there, I am workin on the the script below, and have problem for onEnterFrame() action. 1. there is an movieclip on my stage and assigned the Instance Name to templates. 2. I would like to use duplicateMovieClip to create 5 more templates on the stage and have fade in effects. 3. After that,

Re: [Flashcoders] AS3 package and class access

2007-07-17 Thread Jonathyn B. Tellez
I've seen behavior like that if the class and/or method are not explicitly public (AS3 default is 'internal' which would explain your ability to instantiate when in the same package.) HTH JB Tellez Sr. Software Engineer Scientific Learning On Tue, 17 Jul 2007 14:10:56 -0400, Matt

RE: [Flashcoders] onEnterFrame() and delete onEnterFrame()

2007-07-17 Thread Keith Reinfeld
This works: var yPos:Number = 50; for (var i:Number = 0; i 5; i++) { duplicateMovieClip(templates, templates + i, this.getNextHighestDepth()); var mc:MovieClip = this[templates + i]; yPos += 50; mc._y = yPos; mc._alpha = 0;

Re: [Flashcoders] Drawing API :: curveTo assistance, code and example inside

2007-07-17 Thread Hans Wichman
Hi, shouldnt thethis.pLine.moveTo (0,100); be control point based as well? greetz JC On 7/17/07, Ash Warren [EMAIL PROTECTED] wrote: Well that seemed to kind of get me closer, here is the latest example using your code tip (pasted below) http://www.ashbrand.com/curveto_circle_2.swf

RE: [Flashcoders] onEnterFrame() and delete onEnterFrame()

2007-07-17 Thread Jesse Graupmann
You could make it just a bit more lean than that... for (var i:Number = 0; i 5; i++) { var mc = templates.duplicateMovieClip( templates + i, templates._parent.getNextHighestDepth()); mc._y = ( i * 50 ) + 100; mc._alpha = 0; mc.onEnterFrame = fadeInMc; }

Re: [Flashcoders] onEnterFrame() and delete onEnterFrame()

2007-07-17 Thread Muzak
- Original Message - From: Jesse Graupmann [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Sent: Wednesday, July 18, 2007 12:49 AM Subject: RE: [Flashcoders] onEnterFrame() and delete onEnterFrame() You could make it just a bit more lean than that... Except that fadeInMc()

RE: [Flashcoders] onEnterFrame() and delete onEnterFrame()

2007-07-17 Thread Jesse Graupmann
I was just making an example based on this article. http://timotheegroleau.com/Flash/articles/scope_chain.htm #6 To avoid memory waste, a simple solution is to not use nested function but create function externaly instead and attach references only. So would that still be bad practice for AS

Re: [Flashcoders] onEnterFrame() and delete onEnterFrame()

2007-07-17 Thread Muzak
Well, both are bad practice (IMO). I'd go for an animation engine, like animationpackage: http://www.alex-uhlmann.de/flash/animationpackage/ Which has a class for alpha tweening: http://www.alex-uhlmann.de/flash/animationpackage/ap2/de/alex_uhlmann/animationpackage/animation/Alpha_doc.html As

[Flashcoders] RE: obfuscation swf !

2007-07-17 Thread Costello, Rob R
2006/5/7, [EMAIL PROTECTED] [EMAIL PROTECTED]: Is there any good way or method for obfuscation a Flash file so that swf works fine after obfuscation and also prevent any one to understand the code easily . Few common softwares for obfuscation are just not that good as swf stops working after

[Flashcoders] textures

2007-07-17 Thread Cristo @ Cryzto
Hi everybody! I've surely got a interesting question: If I've got a plain vector-rectangle (with radial-color) and want to give it a texture (-fill) per actionscript. how can I achieve that? Is it even possible? Thnx 4 answering. Cryzto _ Ich verwende die kostenlose

RE: [Flashcoders] Drawing API :: curveTo assistance, code and example inside

2007-07-17 Thread Ash Warren
Oh I feel like I'm sooo close. Here is what I have after your last suggestion: http://www.ashbrand.com/curveTo_circle_3.swf It looks pretty good at first glance but if you zoom in on the file you will see that the vector looks twisted at the top. Here is the code that is driving that file:

Re: [Flashcoders] onEnterFrame() and delete onEnterFrame()

2007-07-17 Thread Jason Burnett
What about this? I added a whole bunch of garbage to the fade function to show flexibility. You could trim the fat by eliminating most of the arguments passed. this.template.fade=function (dest:Number, //this is the alpha value you want to fade TO

[Flashcoders] This account is not active

2007-07-17 Thread rweinstein
In an attempt to reduce spam, we have deactivated this account. Please send non-spam correspondence to [EMAIL PROTECTED] That address is checked regularly for legitimate messages and will be responded to shortly. Thanks, Motion Over Time Management

Fwd: [Flashcoders] This account is not active

2007-07-17 Thread Hans Wichman
Hi, see your message below, you are spamming the flashcoders mailinglist with it. Could you please just unsubscribe yourself? kind regards, JC -- Forwarded message -- From: [EMAIL PROTECTED] [EMAIL PROTECTED] Date: Jul 18, 2007 6:28 AM Subject: [Flashcoders] This account is not

Re: [Flashcoders] Drawing API :: curveTo assistance, code and example inside

2007-07-17 Thread Hans Wichman
Hi, pretty cool :) If I had to guess I'd say the twist is caused by moving to a controlpoint instead of the average of one. Could you try moving to (firstPoint+lastPoint)/2 ? greetz JC On 7/18/07, Ash Warren [EMAIL PROTECTED] wrote: Oh I feel like I'm sooo close. Here is what I have after

Re: [Flashcoders] textures

2007-07-17 Thread Hans Wichman
Hi, I have an interesting question too, did you check the manual? :) beginBitmapFill (MovieClip.beginBitmapFill method) public beginBitmapFill(bmp:BitmapData, [matrix:Matrix], [repeat:Boolean], [smoothing:Boolean]) : Void Fills a drawing area with a bitmap image. The bitmap can be repeated or

Re: [Flashcoders] RE: obfuscation swf !

2007-07-17 Thread Hans Wichman
Hi, I might be wrong but like Bart said, I think SWFEncrypt does all this already. At least I haven't had any problems with this andits fast too AND usable from a build file. But I'm sure some of you will be able to crack it. What I do have problems with is the attitude displayed towards Jimbo

RE: [Flashcoders] onEnterFrame() and delete onEnterFrame()

2007-07-17 Thread Jesse Graupmann
Ok, so no scope change and no extra tween class. Isn't over engineering considered bad practice? And aren't all the cool kids are using http://code.google.com/p/tweener/ right now anyway? ;) // // FRAME VERSION // var a = 0; for (var i:Number = 0; i 5; i++) { var mc =

RE: [Flashcoders] textures

2007-07-17 Thread Jesse Graupmann
Without practical knowledge, I would suggest either flash.filters.DisplacementMapFilter or mc.beginBitmapFill along with mc.blendMode. // // DisplacementMapFilter // Maybe something like these mixed with a tiled bitmaps? http://www.reflektions.com/miniml/template_permalink.asp?id=334

Re: [Flashcoders] Drawing API :: curveTo assistance, code and example inside

2007-07-17 Thread Hans Wichman
Hi Ash, i smashed a quick and dirty sample together, you can find it here: http://www.objectpainters.com/flashExamples/controlPointDrawing/controlPoint.swf The fla is here: http://www.objectpainters.com/flashExamples/controlPointDrawing/controlPoint.fla Basically I think you are very close,