[Flashcoders] RE: Flashcoders Digest, Vol 12, Issue 42

2006-01-15 Thread Stephen Ford
Thanks [EMAIL PROTECTED] - I will start looking into 'eventDispatcher' and see what I can learn. Much appreciated. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Re: [Flashcoders] Can't redefine class method

2006-01-15 Thread Mark Winterhalder
interesting -- if you replace A with this: class A { private function A(){}; public static var doit:Function; // will be defined later private static function dothis() { trace( "A.dothis" ); } } and then, keeping B as it was in the example: A.doit = f

[Flashcoders] RE: Interactive SWF in a Scroll Pane

2006-01-15 Thread Costello, Rob R
might be that problem where a v2 component hogs the focus if so, use selection.setFocus(this) in an onPress or onRelease handler of the movie clip inside the scrollpane to get them to take focus properly hth Rob -- Message: 12 Date: Wed, 11 Jan 2006 21:16:56 -0700 (MST) F

Re: [Flashcoders] Can't redefine class method

2006-01-15 Thread Mark Winterhalder
hi Chris, mtasc behaves the same. i've had a look with flasm, it explicitly calls A.dothis() in A.doit. writing this.dothis() isn't possible because it's a static function -- there is no object "this" could refer to. there is, as far as i know, nothing you can do about it except to work around it

[Flashcoders] JSFL help

2006-01-15 Thread grant
I've never used JSFL and found a book at borders that was supposed to teach but looks more like a dump of the API to a book. I need to create some templated swf's and would like the text fields in the swf to be populated either by a human being whois not a flash developer (e.g. enter data into

Re: [Flashcoders] (no subject)

2006-01-15 Thread Mark Radose
yeah i had a look at that and it didnt help too much. I've been looking at the following formula given in the Help files, I kinda understand it in principle the only think i dont understand is why when an offset is found does it scale it down by 256? and also what happens if the resulting value is

Re: [Flashcoders] (no subject)

2006-01-15 Thread Chris Velevitch
Try:- http://blog.andre-michelle.com/index.php?s=displacementmapfilter http://www.quasimondo.com/archives/000568.php#568 On 1/16/06, Mark Radose <[EMAIL PROTECTED]> wrote: > Does anyone know any good tutorials on The DisplacementMapFilter? I've > looked through the Help files to try and get my he

Re: [Flashcoders] Can't redefine class method

2006-01-15 Thread Chris Velevitch
That doesn't make sense. I've attached my files, give that a go. On 1/16/06, Andy Johnston <[EMAIL PROTECTED]> wrote: > yup > > >Did you create 2 .as files called A.as and B.as and import B into your > >.fla file before calling B.doit()? > > > >On 1/16/06, Andy Johnston <[EMAIL PROTECTED]> wrote:

Re: [Flashcoders] Can't redefine class method

2006-01-15 Thread Andy Johnston
yup Did you create 2 .as files called A.as and B.as and import B into your .fla file before calling B.doit()? On 1/16/06, Andy Johnston <[EMAIL PROTECTED]> wrote: when I try to replicate that B.doit doesnt even appear as a method? I have 2 classes, A and B. B extends A:- class A {

Re: [Flashcoders] Can't redefine class method

2006-01-15 Thread Chris Velevitch
Did you create 2 .as files called A.as and B.as and import B into your .fla file before calling B.doit()? On 1/16/06, Andy Johnston <[EMAIL PROTECTED]> wrote: > when I try to replicate that B.doit doesnt even appear as a method? > > >I have 2 classes, A and B. B extends A:- > > > >class A { > > >

Re: [Flashcoders] Can't redefine class method

2006-01-15 Thread Andy Johnston
when I try to replicate that B.doit doesnt even appear as a method? I have 2 classes, A and B. B extends A:- class A { private function A(){}; public static function doit() { dothis(); } private static function dothis() {

[Flashcoders] (no subject)

2006-01-15 Thread Mark Radose
Does anyone know any good tutorials on The DisplacementMapFilter? I've looked through the Help files to try and get my head around it but i dont quite understand it yet. I'm hoping that if I can understand how it works I might be able to use more effectivley. I was wondering if its possible to do

Re: [Flashcoders] ComboBox not firing change event when selectedIndex set

2006-01-15 Thread Chris Velevitch
This is the intended behaviour. You should fire the change event yourself. The reason being, know you changed it, so you can call or do anything else you like at the same time. It's only when the user interacts with a component that you want to detect. Chris -- Chris Velevitch Manager - Sydney Fl

[Flashcoders] ComboBox not firing change event when selectedIndex set

2006-01-15 Thread Steven Sacks
function change() { trace("change"); } MyCmb.addEventListener("change", this); MyCmb.selectedIndex = MyCmb.selectedIndex + 1; Does not fire a change event. How do I detect when the combo box has changed from code not from direct user interaction with the component? This seems completely

[Flashcoders] Can't redefine class method

2006-01-15 Thread Chris Velevitch
I have 2 classes, A and B. B extends A:- class A { private function A(){}; public static function doit() { dothis(); } private static function dothis() { trace("A.dothis"); } } import A; class B e

AW: [Flashcoders] 3d transforms in flash 8

2006-01-15 Thread Benjamin Dobler
Check out this tut by senocolor (? Or so). http://www.kirupa.com/developer/actionscript/3dindex.htm It`s great and covers everything to get you started. Cheers benz Benjamin Dobler RIA Development web: http://www.richapps.de mail: [EMAIL PROTECTED] > -Ursprüngliche Nachricht- > Von: [E

RE: [Flashcoders] Alpha fading a dynamic text field

2006-01-15 Thread Adrian Lynch
With _sans, the Embed... button was inactive, so I changed the font and embedded it and now it works. Is the trick not to use _sans or any of the device fonts? Adrian -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Martin Wood Sent: 15 January 2006 19:29 To

RE: [Flashcoders] Alpha fading a dynamic text field

2006-01-15 Thread Adrian Lynch
See, that's what I thought. But that was a fix for masking dynamic text fields. Does it also solve the fading issue? My text field font is _sans, which I can't embed because it's a device font(I have no idea about fonts so some one chime in if I'm wrong about that). I think I might get away with

Re: [Flashcoders] Alpha fading a dynamic text field

2006-01-15 Thread Martin Wood
just remember to embed the font :) Adrian Lynch wrote: I can't for the life of me remember if I've done this before, and if I had problems with it in the past. Can you programatically fade a dynamic text field, for example with tf._alpha = 50? -- Martin Wood http://relivethefuture.com/chor

[Flashcoders] Alpha fading a dynamic text field

2006-01-15 Thread Adrian Lynch
I can't for the life of me remember if I've done this before, and if I had problems with it in the past. Can you programatically fade a dynamic text field, for example with tf._alpha = 50? Here's a sample file. I tried applying the fade to both the text field and the containing MC. No luck. http

Re: [Flashcoders] file upload being called twice

2006-01-15 Thread Lanny McNie
This isn't a bug. FileReference on the PC does a "check". where it hits the script to see if it exists, and then sends the data in the 2nd request. On 1/15/06, Sam Wootton <[EMAIL PROTECTED]> wrote: > > Cool, thanks for that - worked great. > > > On 15/01/06, David Rorex <[EMAIL PROTECTED]> wrote

Re: [Flashcoders] file upload being called twice

2006-01-15 Thread Sam Wootton
Cool, thanks for that - worked great. On 15/01/06, David Rorex <[EMAIL PROTECTED]> wrote: > > I have the same problem, and others have reported it as well. The > workaround, is in php to check the filename of the uploaded file. The > first time it is called, the filename will be blank or null, so

Re: [Flashcoders] file upload being called twice

2006-01-15 Thread David Rorex
I have the same problem, and others have reported it as well. The workaround, is in php to check the filename of the uploaded file. The first time it is called, the filename will be blank or null, so just disregard that request. -David R On 1/15/06, Sam Wootton <[EMAIL PROTECTED]> wrote: > > I am

[Flashcoders] 3d transforms in flash 8

2006-01-15 Thread Andreas Rønning
I've been trying to get into this for a long time, but i've had a hard time finding good entry level documentation for it. I'd like to figure out how to display a simple 4-vertice rectangular plane and rotate it in 3d with user input. Something as basic as that would probably help me a fantasti

[Flashcoders] file upload being called twice

2006-01-15 Thread Sam Wootton
Hi, I am, using the FileReference class to upload a file - everything works great, apart form the fact that my PHP script is being called twice from Flash. Anyone know how to solve this? Regards, Sam ___ Flashcoders mailing list Flashcoders@chattyfig.f

Re: [Flashcoders] Obfuscation

2006-01-15 Thread will g
allright boys and girls. i've come back baring news. first and foremost. i agree obscurity is not security. therefore... hoops will have to be a distant second best. second... read below. http://www.gotoandplay.it/_articles/2004/04/swfProtection.php if anyone has any further coherent inform

RE: [Flashcoders] Obfuscation

2006-01-15 Thread GregoryN
> --- Scott Hyndman wrote: >> 1) there's no way to 100% protect your swf :-( > There's no 100% to protecting anything...nothing to be sad-faced about, it's > just the way it is. The > objective in security is to have any attacker jump through hoops to reach his > goal. If these hoops are too

RE: [Flashcoders] Obfuscation

2006-01-15 Thread Scott Hyndman
> 1) there's no way to 100% protect your swf :-( There's no 100% to protecting anything...nothing to be sad-faced about, it's just the way it is. The objective in security is to have any attacker jump through hoops to reach his goal. If these hoops are too numerous, or too high off the ground,

Re: [Flashcoders] Obfuscation

2006-01-15 Thread Sam Wootton
Yeah, thanks, was just working on that - saw it posted on a forum somewhere. Your help is much appreciated. On 15/01/06, bryan.rice <[EMAIL PROTECTED]> wrote: > > > On Jan 15, 2006, at 8:26 AM, Sam Wootton wrote: > > > Is it possible to send additional variables along with the > > FileReference

Re: [Flashcoders] Obfuscation

2006-01-15 Thread bryan.rice
On Jan 15, 2006, at 8:26 AM, Sam Wootton wrote: Is it possible to send additional variables along with the FileReference object? I have not found a way to do it through the file POST itself, but you can add a query string to the URL of your file upload script. fileupload.php?yourVar=yo

Re: [Flashcoders] Obfuscation

2006-01-15 Thread Sam Wootton
Hello, I am using the FileReference class to upload an image to a PHP script, nice and simple. In my PHP script i have: $userfile= $_FILE['Filedata']['tmp_name']; Which, should get the file. But are there any other parameters in the _FILE array i can access, because in a normal upl

RE: [Flashcoders] Obfuscation

2006-01-15 Thread John Hattan
> From: will g [mailto:[EMAIL PROTECTED] > Sent: Saturday, January 14, 2006 8:06 AM > To: flashcoders@chattyfig.figleaf.com > Subject: [Flashcoders] Obfuscation > > Hello all, > > My name is Will, and i've got an interesting question. (or > at least I think it's interesting). This question is