RE:[Flashcoders] Q:Animating a gradient

2005-11-23 Thread Andreas Weber
Maybe describe the effect a bit? http://motiondraw.com/md/as_samples/t/gradientEye/ Probably not what you want, it's not even Flash 8... HTH -- Andreas Weber motiondraw.com Hi Has anyone seen examples of animating a gradient in flash8? Recall seeing something as part of the

[Flashcoders] detecting when mouse goes outside of the flash

2005-11-23 Thread Martin Klasson
Hi coders. This has been up before, and I have done some own tests and searched the archives as well. But I can't find the solution, if there is any. I want a certain thing to happen in my flash when the mouse moves outside flash. Since the _xmouse/_ymouse stops updating when dragged outside

Re: [Flashcoders] Calc max radius of a circle

2005-11-23 Thread Danny Kodicek
The difficult part of the question is that the circle is really a 3D object ie it can be rotate about the x or y axis. Do you mean rotate into the z axis? X and Y are still just 2-D spaces. 'rotating around the x-axis' is a perfectly reasonable statement for a 3D object: rotate

Re: [Flashcoders] detecting when mouse goes outside of the flash

2005-11-23 Thread Campbell Anderson
P.S. to make it more reliable (but I realise you not happy with using browser code...would be to surrond the flash movie with a div and have a javascript listen for a on mouseover and call an fscommand or externalinterface call (depending on the version of flash). c. Hi coders. This has

[Flashcoders] setVariable through javaScript and cross domain block

2005-11-23 Thread Adrian Raper, Clarity
Hi I am using javaScript and setVariable to try and communicate between a html page with javascript on one domain (actually running a SCORM based LMS) and the Flash swfs and content on another. The Flash swfs load fine, they can call javascript functions, but the setVariable simply does not

[Flashcoders] RE: Flashcoders Digest, Vol 10, Issue 84

2005-11-23 Thread dave matthews
correct Mani. At 2GoTo.com, we use an empty movie clip for the main infinitely large plane, then load movies onto it using x/y coordinates to position them - we have even been able to load x/y points in the 500,000 pixel range with no objections/problems from the players. Dave_Matthews

RE: [Flashcoders] detecting when mouse goes outside of the flash

2005-11-23 Thread Campbell Anderson
Yep was wondering if you had tried.sorry its the only answer I know of. c. Thanks Campbell. That code is though what I try to avoid, since it isn't 100% accurate. A quick move with the mouse and the code won't really detect that the cursor has left the flash area. The

Re: [Flashcoders] TLS negotiation with AS 3.0, is it possible?

2005-11-23 Thread Campbell Anderson
Check with some of the guys making Jabber clientsas I think thats how Jabber authen. dont see why it wouldnt.just watch how your writing the stream from memory there are two asci write methods and one appends the stream length as the first two bytes. Cam. Hi, i'm working on a

Re: [Flashcoders] Calc max radius of a circle

2005-11-23 Thread Jim McIntyre
The difficult part of the question is that the circle is really a 3D object ie it can be rotate about the x or y axis. Do you mean rotate into the z axis? X and Y are still just 2-D spaces. 'rotating around the x-axis' is a perfectly reasonable statement for a 3D object: rotate

[Flashcoders] device fonts change renderin behaviour

2005-11-23 Thread Timo Langpeter
when using device fonts f.ex. _sans i can see the alpha areas of png files. the funny thing is that the alpha areas are allready cut out because we have to develop for a 16bit color screen. Now with embeded fonts the alpha areas aren't as visible as when using device fonts. Does anyone

RE: [Flashcoders] Calc max radius of a circle

2005-11-23 Thread Merrill, Jason
'rotating around the x-axis' is a perfectly reasonable statement for a 3D object: rotate something in the x-y plane by 90 degrees about the x-axis and it will end up in the x-z plane. Rotating around the z-axis would keep it in the same plane. You can't rotate a 2-d object about an axis at all,

Re: [Flashcoders] Way to get URL of host page?

2005-11-23 Thread NEILHIGHLEY.COM
The end computer? The client computer of the person with the browser? Try looking up server variables. (here is a list of most of them: http://www.lib.washington.edu/asp/browser/servar.asp) (REMOTE_ADDR and REMOTE_HOST) I don't think there is any way of retrieving them unless you use a flashVars

[Flashcoders] RE: detecting when mouse goes outside of the flash

2005-11-23 Thread dave matthews
hi Martin, If the panorama tool is a 'drag to pan' system and you need to detect the mouse release outside of the Flash area, try this: Place an invisible button over the entire dragged button, which might be the whole stage. Set this invisible button to goto a blank frame and stop on

[Flashcoders] Porting SHA-1 implementation from Java to AS3

2005-11-23 Thread Tiago Vale
Hi list, Im porting a SHA-1 implementation from java to AS3 and theres a strange behaviour that I cant deal with, I really dont know if this is a Java or a Flash question, but here it goes. JAVA tracing int + blk + + + 0x5A827999 + + + ro + + + prev+ = + data[z] output int

[Flashcoders] Distort bitmap in flash 8?

2005-11-23 Thread Mark Burvill
Quick question about Flash 8 (I'm still using Flash 7 and my trial has expired for 8)... Is it possible to actually distort a bitmap image now in the same way that you can distort a shape (modify - transform - distort)? I want to create a perspective look as though you are looking at a

RE: [Flashcoders] Distort bitmap in flash 8?

2005-11-23 Thread Shaw, Matt
The answer is still no... Frustrating eh? But this guy has some tricks up his sleeve... http://lab.andre-michelle.com/f7:%203d/3dimage.swf -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mark Burvill Sent: Wednesday, November 23, 2005 11:10 AM To:

Re: [Flashcoders] AS3 - parse file

2005-11-23 Thread JesterXL
http://blog.andre-michelle.com/2005/as3-perspective-texturemapping/ - Original Message - From: franto [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Wednesday, November 23, 2005 9:58 AM Subject: [Flashcoders] AS3 - parse file Hi, i'm trying new

Re: [Flashcoders] Distort bitmap in flash 8?

2005-11-23 Thread Mark Burvill
I know I've just been looking at that, but still don't really have any idea how to go about it. :o( I haven't really looked much into the Flash 8 bitmap manipulation yet, and I can't quite work out how complicated it would be to do what need. I don't need to do any animation, just have a

Re: [Flashcoders] need 3D concept beginner guide

2005-11-23 Thread Danny Kodicek
You might also find my book, Mathematics and Physics for Programmers, helpful if you're short on the maths side. It includes a good few chapters on 3d. http://www.amazon.com/gp/product/1584503300/104-6635299-8705521 Best Danny - Original Message - From: Johan Lopes [EMAIL PROTECTED]

Re: [Flashcoders] need 3D concept beginner guide

2005-11-23 Thread quinrou .
have a look here too : http://www.kirupa.com/developer/actionscript/3dindex.htm On 11/23/05, Danny Kodicek [EMAIL PROTECTED] wrote: You might also find my book, Mathematics and Physics for Programmers, helpful if you're short on the maths side. It includes a good few chapters on 3d.

Re: [Flashcoders] detecting when mouse goes outside of the flash

2005-11-23 Thread Marc Hoffman
I never found a good solution, either, without using code in the HTML page. I even tried setting a clip to look for the mouse and execute a function if the mouse wasn't found, but that failed (for reasons you explain). If you can keep your buttons away from the edges of the movie, you can use

Re: [Flashcoders] Creating a button class entirely in 2.0 with no symbol association, possible?

2005-11-23 Thread Janis Radins
I'm doing this all the time I've made tonns of different inputs fro diferent projects and finally I am planing to code some fullscale AS2 only UI collection. Thats done like this: class myButton { private var mc:MovieClip; function myButton(host:MovieClip, level:Number){ mc=

Re: [Flashcoders] Way to get URL of host page?

2005-11-23 Thread Gerry Creighton
I needed to find this info as well and tried this.url but that only returns the location of the swf not the html page the swf is in. I made a sample to mess around with this issue... I had to use javascript to get the href and pass it to Flash. I do this onLoad but incase the user has popups

RE: [Flashcoders] Way to get URL of host page?

2005-11-23 Thread Jayson K Hanes
That's utterly useless in attempts to foil an swf that is used by way of someone else's html on another server... it is good information but can't be used the way that it would be most desirable. Flash needs to have this ability natively through the ocx.. without the dependence of html

Re: [Flashcoders] Way to get URL of host page?

2005-11-23 Thread Gerry Creighton
I agree... I wanted a way to display certain content in Flash dependent on what html page was delivered to the viewer without adding FlashVars code to the html page. So what use is this.url if it only shows me the path to the swf? None really. I could be wrong though...in which case I

Re: [Flashcoders] detecting when mouse goes outside of the flash

2005-11-23 Thread Gregory_GOusable
I'd suggest to use 1-pixel frame (maybe invisible) movieclip. Even better - 2 such frames,- say, 1 and 2 px from the edge of the stage. Then it can work as follows: 1) If mouse crosses one of frames, check (setInterval or onEnterFrame) if it'll cross other right after this. Then: 2) If

Re: [Flashcoders] detecting when mouse goes outside of the flash

2005-11-23 Thread David Rorex
The problem with all these look for mouse within 1 to 2 pixels of the border solutions, is that moving the mouse, even at a moderate speed, makes it move by 10 or more pixels at a time. -David R On 11/23/05, Gregory_GOusable [EMAIL PROTECTED] wrote: I'd suggest to use 1-pixel frame (maybe

Re: [Flashcoders] Blitting, Double-Buffering, and Other Bitmap Methodologies

2005-11-23 Thread Martin Wood
There's a good series of articles on gamedev.net :) http://www.gamedev.net/reference/list.asp?categoryid=45#200 The Game Programming Genesis series. In a lot of cases the 'magical render' is performed by a render manager, the entities themselves dont do rendering, they are maintained in a

Re: [Flashcoders] Blitting, Double-Buffering, and Other Bitmap Methodologies

2005-11-23 Thread JesterXL
I wish someone on the forum had said read this article on this very site when I posted there, hahah! Thanks a bunch for the link! - Original Message - From: Martin Wood [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Wednesday, November 23, 2005

Re: [Flashcoders] Blitting, Double-Buffering, and Other Bitmap Methodologies

2005-11-23 Thread Daniel Cascais
Hi Jesse, I've seen some pretty good samples in André Michelle's blog (http://blog.andre-michelle.com/), and I even think some of his bitmap rendering source can be found here: http://session.andre-michelle.com/fl8.session.2005.zip I know I'm not really answering your question, but it might be

Re: [Flashcoders] detecting when mouse goes outside of the flash

2005-11-23 Thread Marc Hoffman
A 1-pixel wide area is not likely to capture a rollOver. Here's a .swf to test how wide a button needs to be to capture a rollOver: http://www.dartfrogmedia.com/buttonTest - Marc At 10:42 AM 11/23/2005, you wrote: I'd suggest to use 1-pixel frame (maybe invisible) movieclip. Even better - 2

[Flashcoders] AFLAX...

2005-11-23 Thread Paul Colton
Hi, I'm new to this mailing list, so first, hello. Second, I wanted to tell you about my open source project, AFLAX. Simply put, AFLAX is a JavaScript library that lets you fully utilize Flash. That is, you write EVERYTHING in JavaScript, both Flash and non-Flash code, which makes it

Re: [Flashcoders] Detecting when a swf loses focus

2005-11-23 Thread Tyler Wright
Basically, the event is onBlur Yes, if you've followed the discussion you'd know that onBlur is has been the attempted solution. It just doesn't work when Flash has focus ... the browser seems to miss the onblur if you click on Flash (giving it focus) and then click outside the window (when the

[Flashcoders] Attaching combobox inside of class

2005-11-23 Thread Dan Wade
I get a combobox that looks like a blank textfield using function below: private function buildCombo() { //create page combobox used to toggle between pages var pageToggler_cb = target.createClassObject(mx.controls.ComboBox, pageSelector, target.getNextHighestDepth());

[Flashcoders] Component order: Adding event handlers ?

2005-11-23 Thread Wade Arnold
Where is the proper place in a component to add event handlers? class constructor init createChildren draw onLoad ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

RE: [Flashcoders] Component order: Adding event handlers ?

2005-11-23 Thread Scott Hyndman
By multiple I mean duplicated. The list is speedy today! Scott -Original Message- From: [EMAIL PROTECTED] on behalf of Scott Hyndman Sent: Wed 11/23/2005 6:47 PM To: Flashcoders mailing list Cc: Subject:RE: [Flashcoders] Component order: Adding event handlers ?

Re: [Flashcoders] detecting when mouse goes outside of the flash

2005-11-23 Thread Kalle Thyselius, inlovewith
i did something in javascript that sent the data into flash onMouseMove, which worked very well. especially if the flash movie is on a fixed position. i can't seem to find the code now though. kalle On 11/23/05, Marc Hoffman [EMAIL PROTECTED] wrote: A 1-pixel wide area is not likely to

Re: [Flashcoders] Spinning wheel

2005-11-23 Thread Alias
Check out Flade: http://www.cove.org/flade/default.aspx HTH Alias On 11/23/05, Eric E. Dolecki [EMAIL PROTECTED] wrote: before i code one up myself - does anyone have the basic math for a wheel of fortune type of spinning wheel? if it had a flapper that would be a bonus. otherwise i can just

Re: [Flashcoders] Post awaiting for approval[OT]

2005-11-23 Thread Liam Morley
when you right-clickzoom in and then (once you a find a place where a Flash right-click menu will pop up, which is hard) right-clickshow all, it doesn't show the entire view. On 11/22/05, David Peek [EMAIL PROTECTED] wrote: http://david.peek.ws/spark/ just need an opinion. No. HTH, Alias

Re: [Flashcoders] Creating a button class entirely in 2.0 with no symbol association, possible?

2005-11-23 Thread Boon Chew
Thanks Janis. The problem with doing it below is that you cannot change _x, _y directly on the mc like you can with a regular movieclip. var b = new myButton(); b._x = 200; -- won't work Janis Radins [EMAIL PROTECTED] wrote: I'm doing this all the time I've made tonns of different

Re: [Flashcoders] HTML tag r not working

2005-11-23 Thread old9
I guess that an HTML enabled text field means that there would probably be multi-fonts used. so flash doesn't know which font to embed. can anyone make a solution? 2005/11/24, Pandian [EMAIL PROTECTED]: HTML tags are not supported when the font of Text field is embedded. Wat may be the

[Flashcoders] FlashCommand fails to fail

2005-11-23 Thread Chris Velevitch
I'm using Mike Chambers FlashCommand to compile multiple files in one go with ant from within Eclipse. However, if one of my .fla files generates an error, compiling continues on to the next file. I'm using the failonerror attribute in the execute tag exec executable=${flash.command}