Re: [Flashcoders] TextField._yscale bug?

2006-04-03 Thread GregoryN
I'd suggest to use a wrapper movie clip and apply _yscale = -100 to it instead of textfield itself. -- Best regards, GregoryN http://GOusable.com Flash components development. Usability services. - Pieter Snoeck wrote:

Re: [Flashcoders] converting/printing swf to eps

2006-04-03 Thread Gabriel
Hey Ron...what I want to do is generate content in client side flash, pass it to the server (php or whatever) print this content to an eps, and return the eps to the client. thanks Ron Wheeler wrote: What exactly do you want to do? Ron Gabriel wrote: Hi everybody... anybody knows a

Re: [Flashcoders] converting/printing swf to eps

2006-04-03 Thread Gabriel
I generate the content of the swf on the client app, let's say a free drawing, then I want to print it to the *server printer* (?). The point is...I need an eps from a generated content with origin in the client machine. You was talking about many free printer drivers, can you point me to

Re: [Flashcoders] ribbon effect

2006-04-03 Thread franto
is this suitable? http://www.franto.com/blog2/as3-cloth-simulation-verlet-algorithm On 4/3/06, Benjamin Dobler [EMAIL PROTECTED] wrote: Hey, can someone hook me up with some math, ideas or code on how to create the famous natzke/yugop ribbon effect? Something like:

Re: [Flashcoders] TextField._yscale bug?

2006-04-03 Thread Pieter Snoeck
I have tried that too ... no luck. copyOne_mc.textfield_txt.text = something; copyTwo_mc.textfield_txt.text = something; copyTwo_mc._yscale = -100; same result as without wrapping the textfield in a mc thanks, pieter On 4/3/06, GregoryN [EMAIL PROTECTED] wrote: I'd suggest to use a wrapper

[Flashcoders] Re: looking for some .NET to Flash tools

2006-04-03 Thread daniel
Hi! Have you tried SQLXML? http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnanchor/html/anch_sqlxml.asp It allows you to send SQL queries with XML messages, or through normal URLs. (The latter is probably not very secure.)

Re: [Flashcoders] TextField._yscale bug?

2006-04-03 Thread Tom Rhodes
hey, might be a bit of a shot in the dark as i havenìt tried out your code but i would suggest finding out the .textHeight of your actual text as the textfield will undoubtedly be bigger than your text, then make any adjustments based on the difference between textHeight and the ._height of

RE: [Flashcoders] Good Math script for sheet movement when draged ontable

2006-04-03 Thread INK .
Not exactly. I am looking for a script that simulates sheet of papper movment over table with good physics and math. startDrag() is not realy nice looking. All need is to press and drag the papper with rotation according to mouse X Y position and a distance. Like real sheet of papper on polishing

Re: [Flashcoders] Publish my swf direct to server

2006-04-03 Thread Johnny Zen
Looks like i'm sticking with using dreamweaver ftp. Dont want to use 3rd party ftp because its another window i have to use. Using dreamweaver is ok I suppose, and Dave, I do it the same way you do currently. Its a shame studio doesnt have project management that combines flash/dreamweaver etc,

RE: [Flashcoders] Flash 8 video encoder causing spontaneous reboot!Help!

2006-04-03 Thread Mike Mountain
There's a windows XP setting that auto shuts down when a crash is detected, it's in system, advanced, startup and recovery, untick 'Automatically restart' - then you'll get to see your blue screen. Lucky you :D M -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]

Re: [Flashcoders] TextField._yscale bug?

2006-04-03 Thread Pieter Snoeck
Okay, I have found the solution! the font has to be embedded as Anti-alias for animation + auto kern must be activated. Greetings, Pieter On 4/3/06, Tom Rhodes [EMAIL PROTECTED] wrote: hey, might be a bit of a shot in the dark as i havenìt tried out your code but i would suggest finding out

Re: [Flashcoders] MTASC and spaces in classpath

2006-04-03 Thread Sam Thorne
Thanks guys, the flashout spaces issue was the problem. Right now I've abandoned eclipse/mtasc anyway, deadlines and all. But now I know how to get it working, I'll look into using it properly after this project, and explore Ant a bit more too. On 2 Apr 2006, at 03:06AM, Chris Allen wrote:

Re: [Flashcoders] Publish my swf direct to server

2006-04-03 Thread Mark Winterhalder
Dont want to use 3rd party ftp because its another window i have to use. If you can somehow launch a script on publish, then using scp with a pgp/rsa key-pair authentication would be an option because you wouldn't have to enter a password: http://google.com/search?q=ssh+authentication Your

Re: [Flashcoders] Good Math script for sheet movement when draged ontable

2006-04-03 Thread f a r i d | s i l v a | a b o i d
have you tried this one? http://laco.wz.cz/tween/ -- SalU2 f a r i d | s i l v a | a b o i d www.e-foco.com.ar tel: +54 11 4115-0773 cel: 15-5774-8005 Moderador de Salas Dreamweaver y Programación Multimedia User Group Adobe Argentina http://www.mmug-ar.com.ar

RE: [Flashcoders] Good Math script for sheet movement when dragedontable

2006-04-03 Thread INK .
Well.. I am not talking here about Movieclip twening engines. The basic idea is: press and drag the sheet of papper with _rotation based in the movement direction doing some Math with angles sin/ cos.. I am not good at trigonometric functions. So maybe someone did something like that before.

[Flashcoders] XPath hangs

2006-04-03 Thread Yotam Laufer
Hi List, I've been using xfactor studio's XPath class for AS 2.0 but have been experiencing some problems with a specific path. I've got this XML: ?xml version=1.0? RetrieveContent xmlns:xsd=http://www.w3.org/2001/XMLSchema; xmlns:xsi= http://www.w3.org/2001/XMLSchema-instance;

[Flashcoders] Falling leafs

2006-04-03 Thread Eskil Janson
Hi! I have a customer who wants falling leafs or herbs (small jpg:s ) to fall in the foreground of a larger picture. Anyone who has done this, and fells like sharing a few lines? I don't really need advice on how to solve the problems involved, think I could figure something out, but i feel

[Flashcoders] Help with building a spider diagram

2006-04-03 Thread Kevin Boyd (MMCR)
I need to produce a spider diagram (a 360 deg personnel chart) dynamically from an XML file in Flash 8. I have built most of it but hitting problems, mainly with the layout and how to figure out if nodes are going to bump into other nodes. Has anyone produced this kind of thing before and be up

Re: [Flashcoders] Falling leafs

2006-04-03 Thread Daniel Cascais
I've seen a lot of apps like this, very popular in christmas time (with falling snow) I'm sure Robert Penner has an example somewhere. You can also try Ultrashock.com. On 4/3/06, Eskil Janson [EMAIL PROTECTED] wrote: Hi! I have a customer who wants falling leafs or herbs (small jpg:s ) to

Re: [Flashcoders] Falling leafs

2006-04-03 Thread franto
is this ok? http://www.franto.com/particle/ ___ 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: [Flashcoders] XPath hangs

2006-04-03 Thread Ron Wheeler
What happens if you put the value in a CDATA? Ron Yotam Laufer wrote: Hi List, I've been using xfactor studio's XPath class for AS 2.0 but have been experiencing some problems with a specific path. I've got this XML: ?xml version=1.0? RetrieveContent

Re: [Flashcoders] Good Math script for sheet movement when dragedontable

2006-04-03 Thread Alias
You could probably adapt the page drag mathematics from this article... http://www.oreillynet.com/pub/a/javascript/2004/09/03/flashhacks.html A good book to learn about trigonometry is the Complete Idiot's Guide to Algebra by W. Michael Kelly - it's very well written and mathematical

Re: [Flashcoders] converting/printing swf to eps

2006-04-03 Thread Ron Wheeler
Have you looked at SVG as an alternative? You may be able generate this on the client without the server. What about PDF. Have a look at Apache's FOP as a server tool for converting input to various output formats. Let me know what you think of these. There may be more ways to skin this

Re: [Flashcoders] Falling leafs

2006-04-03 Thread Eskil Janson
Thanks Franto! Looks nice. It's a really nice start, and I like the falling motion. Some wind, a little sqewing, and a little more random rotation, and you could start feel the smell of autumn... /Eskil franto skrev: is this ok? http://www.franto.com/particle/

Re: [Flashcoders] Falling leafs

2006-04-03 Thread Ron Wheeler
If you just want something simple you can find examples of snow done with a scrolling image. Not very realistic. You want to look at particle generators for a more realistic effect. Ron Daniel Cascais wrote: I've seen a lot of apps like this, very popular in christmas time (with falling snow)

Re: [Flashcoders] XPath hangs

2006-04-03 Thread Yotam Laufer
Hi Ron, I don't see how that should change anything, but in any case I don't have the option to do so. Even if I omit the value and search only for //[EMAIL PROTECTED]'ThumbnailFilename'] it will still hang. Thanks, Yotam. ___

Re: [Flashcoders] Help with building a spider diagram

2006-04-03 Thread Ron Wheeler
GraphViz does this from some very simple input. I am not sure how easy it would be to take their code and turn it into Actionscript You could use it on the server side. Ron Kevin Boyd (MMCR) wrote: I need to produce a spider diagram (a 360 deg personnel chart) dynamically from an XML file in

Re: [Flashcoders] Good Math script for sheet movement when dragedontable

2006-04-03 Thread eugen pflüger
i guess you are looking for something like this: http://www.intentionallies.co.jp this site is from yugo nakamura. very well scripted. someday i tried it by myself but unfortunaly didnt get it to work. my thoughts were this: on click on a sheet find the distance from the middle and set it to

RE: [Flashcoders] Help with building a spider diagram

2006-04-03 Thread Kevin Boyd (MMCR)
Yes great stuff on GraphViz, though I do need something more Flash based because, as usual, only have a couple of days to get this out! Kevin Boyd Multimedia Creations Ltd. www.mmcr.co.uk -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ron Wheeler

Re: [Flashcoders] Falling leafs

2006-04-03 Thread franto
it's particle class, all depends on settings :) On 4/3/06, Ron Wheeler [EMAIL PROTECTED] wrote: If you just want something simple you can find examples of snow done with a scrolling image. Not very realistic. You want to look at particle generators for a more realistic effect. Ron Daniel

Re: [Flashcoders] XPath hangs

2006-04-03 Thread Bart Wttewaall
I've tested it and it just works like a charm. No hangup or anything. I'm using Flash 8 AS2 by the way and the latest release of xfactorstudio's XPath import DepthManagerTest; import nl.mediamonkey.xml.XMLLoader; import mx.utils.Delegate; import com.xfactorstudio.xml.xpath.XPath; var test = new

Re: [Flashcoders] Good Math script for sheet movement when dragedontable

2006-04-03 Thread Seb L
yeah that's close...! What you need is a pendulum simulation, where the clicked point is the pivot, and the centre point is the weight (centre of gravity). I built something like this for www.jak2renegade.com, except there was gravity involved too. (check scene 2). Take out the effects of gravity

RE: [Flashcoders] Help with building a spider diagram

2006-04-03 Thread Mike Guerrero
B-Line has some charting components and I believe they have a spider plot one, or something similar http://www.blinex.com/ MikeG -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kevin Boyd (MMCR) Sent: Monday, April 03, 2006 8:19 AM To: 'Flashcoders

Re: [Flashcoders] XPath hangs

2006-04-03 Thread Yotam Laufer
I can't get it to work. Saved it as a file, new FLA, still hangs. MX2004, FP7. On 03/04/06, Bart Wttewaall [EMAIL PROTECTED] wrote: I've tested it and it just works like a charm. No hangup or anything. ___ Flashcoders@chattyfig.figleaf.com To change

Re: [Flashcoders] Good Math script for sheet movement whendragedontable

2006-04-03 Thread Zeh Fernando
Another good article on something like that is this -- http://www.mactech.com/articles/mactech/Vol.12/12.08/GXRigidBodyDragging/index.html It's done for some kind of Apple scripting language, but of course the important part (trigonometry) still holds. That's what I used as a guide when I

Re: [Flashcoders] Falling leafs

2006-04-03 Thread Gerry Creighton
This is probably what you want... http://hosted.zeh.com.br/mctween/examples/leaves.swf Gerry ... http://www.thespikeranch.com Certified Macromedia Flash MX Designer

Re: [Flashcoders] converting/printing swf to eps

2006-04-03 Thread Gabriel
What I need is to import the drawing, that's why I choose eps (but the only real need is that it must be vectorial), Not really to export the image created by the user, but recreate it on the server side, based on a few parameters. I can live without the drawing part. PDF would be a

Re: [Flashcoders] Falling leafs

2006-04-03 Thread Eskil Janson
This example definitely went straight up to number one on my list! Thanks a lot, /Eskil Gerry Creighton skrev: This is probably what you want... http://hosted.zeh.com.br/mctween/examples/leaves.swf Gerry ...

Re: [Flashcoders] looking for some .NET to Flash tools

2006-04-03 Thread Gavin Lilley
I do not fully understand what you mean by .net database? if this is an online project with a budget and php is an option then I recomend amfphp. or remoting for .net is good. if this is an offline project then it is possible to connect to .net facilities via the ExternalInterface. -- Gavin

RE: [Flashcoders] Flash 8 video encoder causing spontaneousreboot!Help!

2006-04-03 Thread Hauwert, Ralph
Brad, I've got a lot of experience with both the Flash 8 encoder, as with the SSqueeze (with the on2 plugin), and have not seen it push an entire system into reset state. Have you tried any other CPU intensive application lately ? A crash that severe using 2 different applications would imply

Re: [Flashcoders] Good Math script for sheet movement whendragedontable

2006-04-03 Thread eugen pflüger
looks great! i thought that topic is dead for me. but maybe i give a triy again :) zeh, would you share the code of your test swf? thanks in advance. e Am 03.04.2006 um 16:11 schrieb Zeh Fernando: Another good article on something like that is this --

RE: [Flashcoders] Good Math script for sheet movementwhendragedontable

2006-04-03 Thread INK .
Thanks in reply, guys! This is exact as I need http://hosted.zeh.com.br/misc/novo2.swf -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Zeh Fernando Sent: Monday, April 03, 2006 5:11 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] Good Math

RE: [Flashcoders] Flash to excel?

2006-04-03 Thread Juan Anzaldo
I export reports in a excel file from flash writing the headers like: response.AddHeader Content-Type,application/xls response.AddHeader Content-Disposition,attachment;filename=reporteBitacora.xls response.AddHeader Content-Type,application/force-download response.AddHeader

Re: [Flashcoders] PrintJob causes Abort Script error message.

2006-04-03 Thread Tyler Wright
I have over 20 years of programming experience including at assembler level, advanced Java, etc, but thanks for trying to put me in my place :-) There is no error. There is no timeout. Not in the PrintDialog object. I think the FlashCoders list in general has a silly habbit of saying

RE: [Flashcoders] Flash e-commerce site

2006-04-03 Thread Ryan Potter
Not sure why you would want to use flash for an e-comm site, and this is coming from a person that tries to use flash all the time even when it isn't necessarily appropriate. That being said, we used oscommerce and had a store up and running in less than a week. I was pretty impressed with

Re: [Flashcoders] Good Math script for sheet movementwhendragedontable

2006-04-03 Thread Zeh Fernando
Another good article on something like that is this -- http://www.mactech.com/articles/mactech/Vol.12/12.08/ GXRigidBodyDragging/index.html Here's one of my test SWFs by the way, so you can see what I'm talking about: http://hosted.zeh.com.br/misc/novo2.swf looks great! i thought that

[Flashcoders] Steps of colors

2006-04-03 Thread Juan Anzaldo
I'm doing a class that manages a colors palette I want to select a color and know 10 steps from the color to White to the color I have this code that make a gradient from white to the color that I want and from this color to black --- createEmptyMovieClip(gradiente_mc, 10);

RE: [Flashcoders] Flash e-commerce site

2006-04-03 Thread Ettwein, Josh
Off the top of my head, I'd say you would want to use it for an e-comm site because it is rather well suited for that, imho. The persistent state is perfect for this sort of thing, and allows for the entire checkout process to happen without browser refresh. As far as security goes, put it on an

RE: [Flashcoders] Flash e-commerce site

2006-04-03 Thread Kevin Matzdorf
Why do you not recommend using flash for e-commerce? I'm finishing up a site based off of the book Beginning PHP 5 and MySQL E-Commerce: From Novice to Professional and I'm am building a flash front end for it. Why would I want to stick to html when I could have a flash front end?? Kevin

[Flashcoders] Max connections from T1

2006-04-03 Thread Jed Wood
Sorry if this is totally obvious, but I just want to confirm before I go making some important and drastic decisions. If I set up FMS2 on a server that's just connected to a T1 line (getting 1300 kbps each direction), and I want to stream FLVs that are encoded at 300 kbps, I'll likely only

Re: [Flashcoders] Steps of colors

2006-04-03 Thread Duncan Reid
Hi Juan, I had a similar question last year and Andreas Weber provided a perfect solution: http://chattyfig.figleaf.com/mailman/htdig/flashcoders/2005-February/131505.html Andreas Weber motiondraw.com hope this helps, Dunc ** On 4/3/06, Juan Anzaldo [EMAIL PROTECTED] wrote: I'm doing a

Re: [Flashcoders] Flash e-commerce site

2006-04-03 Thread richard carr
FWIW Here is one similar to flashcart, I have not used it. http://www.flashkart.com/ ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to

Re: [Flashcoders] Find Nearest Color?

2006-04-03 Thread Darren Cook
Hi, A minor optimization, but you can drop the Math.sqrt(). I.e. x^2 y^2 == x y for all positive values of x and y. Darren That's what I actually ended up doing, and it worked out pretty good: private function getClosest (red1:Number, green1:Number, blue1:Number):Number {

Re: [Flashcoders] If not Zinc, then what?

2006-04-03 Thread Darren Cook
I always had this feeling Flash is not meant to be run for a long period of time - no one will interact with your Flash movie on browser for 24 hours continuously, so that's absolutely fine. But can anyone tell me if you have successfully developed 24/7 app using Flash wrapped in

Re: [Flashcoders] AS2.0 class ................. private function calling...

2006-04-03 Thread Alias
Hi guys, Unfortunately, this is old news. Flash's private/public modifiers are compile-time only. Once actionscript is compiled down to bytecode, everything's public. If you want to call private methods, you can do it even more easily like so: _global.com.yourclass.yourMethod() or, possibly:

[Flashcoders] Alert window layering issue

2006-04-03 Thread Stephen Downs
I'm having a problem creating an Alert window instance which renders in a layer depth above all other stage elements. The Alert window consistently renders behind some other programatically instantiated movieClip elements. When creating the Alert, I've tried setting the parent parameter

Re: [Flashcoders] If not Zinc, then what?

2006-04-03 Thread Grant Cox
Well, I was probably being too harsh with major bugs, as I can't remember exactly what they were now (it was about 6 months ago I used it). I believe we had the same issue with building - having to reload SW first, but often when reloading it would fail because the process was still running

Re: [Flashcoders] Alert window layering issue

2006-04-03 Thread JesterXL
It may be too late, but typically Alert's are created on _root. This is also how ComboBox's and other popups in the PopUpManager are created. If you put 1 movieclip on _root, and put you're entire app in it, you should have no problems. If you creating your own custom movieclips on _root,

Re: [Flashcoders] Flash e-commerce site

2006-04-03 Thread Helios Pregioni Bayma
Thanks everyone for all the help. Ryan, I know Flash is still something to belive for many people and that withouth it should be more reliable on security issues, but I believe it has changed completely in last years and had developed so much on application creation, and Rich Internet Application

Re: [Flashcoders] converting/printing swf to eps

2006-04-03 Thread David Rorex
Ok, let me get this straight: You don't want to convert a .swf file into a .eps file. You want to export data generated from within your .swf file into a .eps file? If it is just vector images you want to export, than I would say go with SVG, it's XML based, and most vector image tools will read

Re: [Flashcoders] Flash and input type=file....

2006-04-03 Thread Grant Cox
Except that only works in Flash 8, as the OP mentioned. Unfortunately there is no way to do this in Flash 7, except for iframe hacks or similar. I saw a link a year or so ago where someone placed a transparent HTML iframe over the top of the flash SWF, so the HTML form looked as though it

[Flashcoders] Flash in HTML and the Object Embed tags ...

2006-04-03 Thread Stephen Ford
Can anyone tell my why the following icon/image appears momentarilyin the top left of my browser screen when visiting my website: (click link to see image)http://i56.photobucket.com/albums/g194/CarlosBrems/image.gif Is this something to do with the OBJECT tag or EMBED tag that Ihave

Re: [Flashcoders] Flash 8 Asset Xtra

2006-04-03 Thread Michael Bedar
Assessability and EternalInterface both involve talking to the host player, so i would not be shocked if these never work... no pun As far as V2 components.. I have tested my own custom components and they are working fine, so I'm not sure what the catching point is.. Maybe they will fix

Re: [Flashcoders] Alert window layering issue

2006-04-03 Thread Stephen Downs
Problem solved, thanks to you! Alert.show() does return an instance (part 1 of the puzzle), which can then be forced to the top via the DepthManager (part 2 of the puzzle), a class I didn't know existed. Thanks again JesterXL. On Apr 3, 2006, at 6:05 PM, JesterXL wrote: It may be too