Re: [Flashcoders] Please Help - missing item from loaded XML file, but not when I simulate download?!

2005-10-18 Thread Ron Wheeler
Your XML seems to be missing a collection element to hold all of the mains mains main.../main main.../main main.../main /mains If you are missing the mains entries, the second main element is just an orphan and not related to the first one. If you try to access your XML from Firefox it

Re: [Flashcoders] External class changes not being reflected in the output! Any idea?

2005-10-18 Thread Ron Wheeler
It could be caching. Lots of discussion in the forum about this - Basically, you have to clean out your Player's cache area. It can also be caused by loading a swf that was compiled with the old version. Flash will use the first version of a class that it finds. So if you have 2 swfs that

Re: [Flashcoders] Free and open source software

2005-10-28 Thread Ron Wheeler
Eclipse, Doxygen, eclox, ArgoUML, Pixia, Ant for development. GanttProject,OpenOffice and FreeMind for management tools Ron Patrick Matte wrote: Hi, I'm rounding up a list of free and open source software. For flash, I have found MTASC and swfmil. Does anyboby know of any other free

Re: [Flashcoders] JavaDoc in as2

2005-10-31 Thread Ron Wheeler
Doxygen and the eclox plug-in. Ron Doug Miller wrote: http://www.as2doc.com/ I believe there are other applications out there that will do it as well. Anyone know if there are any eclipse plugins that will generate docs for as2, that would be nice!

Re: [Flashcoders] Simple serial reading application

2005-10-31 Thread Ron Wheeler
Try Google. I came up with this tutorial http://people.interaction-ivrea.it/h.barragan/flashserialinterface.html It does not describe how to write the server but that might come from the manufacturere of the device. Ron Danny Kirkwood wrote: dosn`t have to be flash, but we have a shell

Re: [Flashcoders] Debugging wih FAMES?

2005-10-31 Thread Ron Wheeler
Flashout is the debugging part of Eclipse Brent Gore wrote: Here goes my first post to flashcoders. I recently began experimenting with the FAMES development setup. So far the IDE is really awesome, but is there anyway to debug? I've played with the debug settings in Eclipse but no luck.

Re: [Flashcoders] Debugging wih FAMES?

2005-11-01 Thread Ron Wheeler
MTASC also gets you into a powerful IDE with lots of tools built in that can be used for all of your programming activities - client (Flash Java), server (all languages) and scripting(Ant/Maven) and documenation (Xdocs, Javadocs) and www development. You only have to get good at one IDE to be

Re: [Flashcoders] POST question

2005-11-07 Thread Ron Wheeler
Could you be any more vague? Ron [EMAIL PROTECTED] wrote: Has anyone run into issues with doing a LoadVars.send() using POST with IE 6.0 and Flash plug-in 7.0.19? I'm seeing a consistent problem that I think involves SP2 and user interface issues, but I'm trying to rule out plug-in quirks.

Re: [Flashcoders] XML driven ticker tape

2005-11-08 Thread Ron Wheeler
Should be easy. Reading XML is simple. The scrolling direction seems odd but you can probably figure out how to do it easier than someone can figure out how to read it. http://www.developingwebs.net/flash/marquee.php Ron Paul Steven wrote: I would like to create a ticker tape style text

Re: [Flashcoders] XML driven ticker tape

2005-11-08 Thread Ron Wheeler
http://www.coolfocus.com/relocate.asp?page=flash/freestuff/marqueedesc.asp another example Ron Paul Steven wrote: I would like to create a ticker tape style text display along the bottom of my flash movie. I would like the text to be read in from an xml file. The text would basically just

Re: [Flashcoders] Eclipse/FDT/Subclipse weirdness

2005-11-15 Thread Ron Wheeler
I have never seen anything like this. Why do you need the refresh - what is happening outside Eclipse? You did not mention just exiting and restarting Eclipse. Does that do anything or show any errors? Are other Eclipse projects affected? That is a tremendous housecleaning - only thing you do

Re: [Flashcoders] Math.random()

2005-11-17 Thread Ron Wheeler
The randomness of Math.random is one possible source of concern but what you do with the random number to produce a dice roll is more important. It is easy to make a simple mistake in the mapping of a random number to an integer between 1 and 6 that results in a skewed distribution.

Re: [Flashcoders] Math.random()

2005-11-17 Thread Ron Wheeler
to be done on the server. That way, there is no chance of a rogue client beating the system. Ron Jon Bradley wrote: On Nov 17, 2005, at 2:56 PM, Ron Wheeler wrote: If the game is for money and the client side code can be hacked for profit, you need to move more of the game engine onto

Re: [Flashcoders] Xml manipulation crash player (7)

2005-11-21 Thread Ron Wheeler
What do you mean by crash? Ron Flapflap wrote: Hi there, We got a big trouble in a project that manipulate a lot some xml object : We came at point that if we do some manipulation (mostly appendChild) on xml object the player crash... It's a flash mx 2004 project. The thing that is very

Re: [Flashcoders] Xml editor

2005-11-22 Thread Ron Wheeler
XMLBuddy - free plug-in to Eclipse XMLSpy Home version - free and has Eclipse plug-in XMLSpy Pro for serious XSLT work. Ron Patrick Matte wrote: What software do you people use for editing xml for your flash projects ? ___ Flashcoders mailing

Re: [Flashcoders] Planet Earth MC

2005-12-23 Thread Ron Wheeler
If you change the size of the movie clip on the screen does the effect change? Perhaps you are just getting a preview of the effect of global warming on the Great Lakes. Ron Mendelsohn, Michael wrote: Hi list... [Studio 8, XP, Illustrator CS2] I have a MC of a rotating planet earth.

Re: [Flashcoders] Artificial Life flash resources

2005-12-29 Thread Ron Wheeler
Are we talking about what effect programming in Flash has on your social life or something else? Can you be more specific about what kind of life and what sort of behaviour you are hoping to exhibit. Plant life is pretty easy to model unless the wind is blowing. Talking humans are pretty easy

Re: [Flashcoders] Documenting my code

2006-01-19 Thread Ron Wheeler
If you want to share your config, perhaps you could post it to this thread. There are a number of us using Doxygen and its Eclipse plug-in. I would like to see someone write a Doxygen pre-filter for AS. That is all that is required to get full ActionScipt support in Doxygen. Filters have been

Re: [Flashcoders] Documenting my code

2006-01-19 Thread Ron Wheeler
Thanks Ron Johan Lopes wrote: Hi Ron, Here's a link to download from my Dev server (file size ~14K) http://www.statik1.com/FlashCoders/DoxyFile.zip Cheers, /Johan On 1/19/06, Ron Wheeler [EMAIL PROTECTED] wrote: If you want to share your config, perhaps you could post

Re: [Flashcoders] Documenting my code

2006-01-20 Thread Ron Wheeler
Before you write one, please have a look at writing the filter for Doxygen. Ron Ian Thomas wrote: Looks good - but sadly doesn't support inheritance: http://www.senocular.com/projects/ZenDoc/doc/#manual_limitations Which is a real shame. The hunt for the perfect documentation tool goes on.

Re: working with numbers loaded from XML was [Flashcoders] if not working. (urgent help again?)

2006-02-04 Thread Ron Wheeler
It is hard to see how they are brought in from XML in your code extract. Have you run the text through parseInt to convert them from strings to numbers? Ron dls wrote: I am really stumped and desperate here! seem to be having trouble working with variables brought in from XML the

Re: working with numbers loaded from XML was [Flashcoders] if notworking. (urgent help again?)

2006-02-05 Thread Ron Wheeler
What does Number(011) return? Ron Karthik wrote: At least when working with XML, I have found Number() to be fairly inconsistent in converting strings to numbers. parseInt() seems to work everytime. How exactly? An example would be good. I find Number a lot more suitable and

Re: [Flashcoders] Outsourcing

2006-02-10 Thread Ron Wheeler
For starters, fix up your www site: More English content or a separate English language version Make your sample applications look more like finished products or more clearly identified as templates. If you have more demo templates to show off your skill, include them in your

Re: [Flashcoders] Outsourcing

2006-02-11 Thread Ron Wheeler
Bratadinata wrote: Ron Wheeler wrote: For starters, fix up your www site: More English content or a separate English language version Make your sample applications look more like finished products or more clearly identified as templates. If you have more demo templates to show off

Re: [Flashcoders] How much do you charge for a Flash application?

2006-02-12 Thread Ron Wheeler
Figure out how long it is going to take. Often it makes sense to have a 2 (or more) stage process - requirements/design then implementation. This protects both you and the client. The client knows what he is going to get and how much it will cost - you know what work you actually have to do.

Re: [Flashcoders] CVS/VCS confusion

2006-02-15 Thread Ron Wheeler
I hope that you are putting Eclipse in front of this. That really makes the choice of repository unimportant. h Ron Karthik wrote: Could anyone recommend some basic articles and/or tutorials on this subject? Or perhaps suggest approaches that have worked best in your own work environment?

Re: [Flashcoders] UML tool for AS2

2006-02-18 Thread Ron Wheeler
ArgoUML is a great free UML tool from www.tigris.org There is an Actionscript code generator available. Janis Radins wrote: Hye ppl! I've been searching for decent AS2 UML tool but had no luck. Could anyone share theyr good expieriences of some UML tools well suited for AS2 ? PS Yes I've

Re: [Flashcoders] Flash connecting to a database - all running on a DVD-ROM

2006-02-23 Thread Ron Wheeler
Are all of the data and referenced files on the DVD? We have done a database of Personal Protective Equipment for first responder with pictures of each piece of equipment and full descriptions on a CD. Built a search engine in Flash to select items based on several criteria. The pictures

Re: [Flashcoders] Installing Custom Ant Tasks in Eclipse

2006-02-23 Thread Ron Wheeler
You might as this in the Ant forum. Lots of good Eclipse and Ant guys there who can probably see where you have gone wrong. user@ant.apache.org Ron John Mark Hawley wrote: There doesn't seem to be a simple tutorial for actually getting custom Ant tasks installed and running. Even as2Ant

Re: [Flashcoders] What does this PATENT mean??

2006-02-24 Thread Ron Wheeler
The US Patent Office is a mess and I suspect that most software patents like this one are not valid since their are lots of examples of prior art. This patent would be challenged by every big company if the owners ever tried to enforce it. They would have a hard time proving that they were the

Re: [Flashcoders] sorting a collection of points clockwise

2006-02-26 Thread Ron Wheeler
Calculate the angle between the center and the point, and subtract 90 to get 12 o'clock to 0degrees and add 270 to negative numbers to put them between 270 and 360 degrees. Ron Bart Wttewaall wrote: Hi List, I'm looking for an algorithm that sorts a collection of points counter-, or

Re: [Flashcoders] file reference

2006-03-03 Thread Ron Wheeler
Can you just put your list of files in an XML file and present that to the user? You can map the file references to wherever you want and provide good descriptions rather than just file names. If you just want the names, you could probably generate the XML index with Ant or some other

Re: [Flashcoders] 2D first person shooter

2006-03-05 Thread Ron Wheeler
Try using google programming Flash games You will get lots of references and ideas. http://fgpwiki.corewatch.net/index.php/Main_Page is the Flash Game Programming Wiki Just a start Ron Samuel Santos wrote: Hi Guys I try to find in google some code for a 2D First Person Shooter there is

Re: [Flashcoders] Strange behaviour from modulus operator

2006-03-06 Thread Ron Wheeler
How much closer to zero where you expecting? 5 to the power of 10 to the -14 is zero to the limits of modern PCs. If you want to deal with integers make the numbers integers. If you do your math in floating point with a mantissa with lots of bits, you are going to get some bits left over at

Re: [Flashcoders] random concatenated txt question

2006-03-06 Thread Ron Wheeler
Does this need to be inside the loop? if (initialTxt == undefined) { initialTxt = ''; } Why not clean up the code by typing it fully to reduce or eliminate the possibility of silly errors. initialTxt is never declared. Why is this myTxt not on _root with the other one.

Re: [Flashcoders] Heap Size Eclipse

2006-03-07 Thread Ron Wheeler
Which VM are you using? You might want to show the Eclipse startup command. Ron [EMAIL PROTECTED] wrote: I have some problems using eclipse lately. Problems start when launching MTASC for compiling a huge project. The heap size goes up to 253M of 254M, and remains this high, even after mtasc

Re: [Flashcoders] Doh! Converting a floating point string to number loses precision

2006-03-07 Thread Ron Wheeler
The way you deal with it will depend on what you want to do. If you want to see is something is close enough to zero you subtract them and check the difference if (Math.abs(i - 952.86)=0.1){trace(close enough for me)}else {trace(Not the same)}; if (Math.abs(i -

Re: [Flashcoders] Doh! Converting a floating point string to numberloses precision

2006-03-08 Thread Ron Wheeler
. - boon Ron Wheeler [EMAIL PROTECTED] wrote: The way you deal with it will depend on what you want to do. If you want to see is something is close enough to zero you subtract them and check the difference if (Math.abs(i - 952.86)=0.1){trace(close enough for me)}else {trace(Not the same

Re: [Flashcoders] getURL not working

2006-03-08 Thread Ron Wheeler
Beware that one of the methods (GET or POST) has a server dependent limit on the size of message that can be sent. It is very small usually. (2000 character range) Flash supports both methods except when you are testing. Then it only supports the wrong one. Read getURL docs for more

Re: [Flashcoders] Doh! Converting a floating point string to numberloses precision

2006-03-08 Thread Ron Wheeler
. On Mar 8, 2006, at 10:10 AM, Ron Wheeler wrote: You could also implement a decimalNumber Class that does its arithmetic in decimal. You need to carry guard digits through calculations to ensure that rounding is done properly. You can make the numbers as large as you want with whatever precision you

Re: [Flashcoders] Documentation Generator

2006-03-09 Thread Ron Wheeler
Doxygen is a free multi language Javadoc generator with an Eclipse plug-in. Generates API style docs and Class diagrams. It is keeps you in the mainstream of programming with one tool for both client and server documentation. Supports all of the JavaDoc notational bits. Ron Michael Trim

Re: [Flashcoders] Find Nearest Color?

2006-03-16 Thread Ron Wheeler
If a color can be treated as a point in a 3-d cube 256 units on each side, you can use the formula in this reference http://www.uwm.edu/~ericskey/TANOTES/Ageometry/node10.html to calculate the distance between 2 colors. I have not tried this but it would seem logical that this would work Ron

Re: [Flashcoders] Compile using an older version of a given class

2006-03-17 Thread Ron Wheeler
If you have a compiled swf that imported a version of the class and it gets loaded before your swf with the new version, the new version will be ignored. Also delete your Flash cache Ron Wendy Richardson wrote: I came across this problem yesterday: I have some flash code with lots of

Re: [Flashcoders] Database modeling for AS projects

2006-03-21 Thread Ron Wheeler
Honeyghan wrote: I've been doing some research on various modeling tools which would enable me to easily model databases for future flash projects. Came across two very interesting solutions which should be on your radar. My requirements are as follows: 1. Feature rich, stable application

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

2006-03-29 Thread Ron Wheeler
Steven Sacks wrote: Please warn us when you are going to do this, since from the tone of the conversation, there is some sense that this will cause the end of civilization as we know it. Hacking the swf to increase the timeout is not the solution, it's a band-aid on a gunshot wound.

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

2006-03-30 Thread Ron Wheeler
the Flash player and the intrinsic classes that we developers can do nothing about, so that they work robustly and as expected. They could at least amend the documentaion for PrintJob to warn developers of the issues. --- On Wed 03/29, Ron Wheeler [EMAIL PROTECTED] wrote: From: Ron Wheeler

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] converting/printing swf to eps

2006-04-03 Thread Ron Wheeler
are the swf's generated in the first place? Instead of doing something-swf-eps you can do: something-swf something-eps -David R On 3/30/06, Gabriel [EMAIL PROTECTED] wrote: I save a swf to the server, and I need to retrieve an eps from it...any idea? Ron Wheeler wrote: What exactly do you want

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] 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] converting/printing swf to eps

2006-04-04 Thread Ron Wheeler
(color, scale or so)? thanks GaB Ron Wheeler wrote: 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

Re: [Flashcoders] Find Nearest Color?

2006-04-04 Thread Ron Wheeler
= tempD; closestColor = __palette[i]; } } return closestColor; } - Josh On Mar 16, 2006, at 7:59 PM, Ron Wheeler wrote: If a color can be treated as a point in a 3-d cube 256 units on each side, you can use the formula in this reference

Re: [Flashcoders] Cantering a mc when you click on it

2006-04-05 Thread Ron Wheeler
You need to know the registration point and the _x and _y and the center of the stage that you are trying to move the clip on. Draw a sketch and it will be clear. Ron Kevin Boyd (MMCR) wrote: I'm trying to figure out the math of how to move a movie clip into the centre of the stage

Re: [Flashcoders] converting/printing swf to eps

2006-04-07 Thread Ron Wheeler
in movieclips by color. 2 - I need to open this swf with my app, let the user change the color of each mc (at this point, everything is fine) 3 - give the user an eps with the result. end of workflow. simple uh? :P GaB. Ron Wheeler wrote: I am having trouble figuring out the flow. What does

Re: [Flashcoders] converting/printing swf to eps

2006-04-07 Thread Ron Wheeler
for printing with an automated app...any idea? thanks GaB Ron Wheeler wrote: Can you not just use a postscript printer under windows to create the file? If you download the Adobe generic PostScript driver, set the output to file and to be eps rather than PostScript and you should be able to print

Re: [Flashcoders] converting/printing swf to eps

2006-04-09 Thread Ron Wheeler
the blanks to color, like in a paint app for kids, and then export this to an eps, that simple is the idea. The queries must be received by a server ( a custom app?), or I'm missing something... You said, a lot of tools to create outputs, to eps? can you name one? thanks GaB Ron Wheeler wrote

Re: [Flashcoders] SourceSafe??? Recommendations needed.

2006-04-21 Thread Ron Wheeler
Subversion and CVS are free and widely used. We use Eclipse as the front-end and it works really well - even for marketing documentation and proposals. Ron Loren R. Elks wrote: Hi: We are slowing building our eLearning group in our company. We are finding that we really need a system like

Re: [Flashcoders] HashMap?

2006-05-10 Thread Ron Wheeler
It appears that a HashMap is a Java class that uses a hash on the key to store its keys and values. http://java.sun.com/j2se/1.4.2/docs/api/java/util/HashMap.html This would speed up lookup if you have a large set of keys. If you do not need the speed or do not have a large collection of keys

Re: [Flashcoders] HashMap?

2006-05-12 Thread Ron Wheeler
the Flash Player internals could tell for sure. Ron Bernard Poulin wrote: mmm... Are you implying that ActionScript objects are not hashmaps? I thought they were *all* hashmaps (even Arrays are hashmaps). Every method call that you do involves at least one hash lookup. B. 2006/5/10, Ron

Re: [Flashcoders] HashMap?

2006-05-13 Thread Ron Wheeler
and retrieved, it you had a large number of them. ...at least this is what I think. I might be completely wrong. B. 2006/5/12, Ron Wheeler [EMAIL PROTECTED]: I would be a little surprised. There does not seem to be any way to control the hash parameters and every array would have a lot of wasted

Re: [Flashcoders] Equidistant points on an ellipse!

2006-05-13 Thread Ron Wheeler
Not that hard on CPU. It only got to 63% on my old 1 GHz Windows PC. Ron Glenn Mitchell wrote: Hi again, got distracted by this last night, here is some VERY messy code to dash a line on an elipse ummm, there's no comments there either ... but I'll rewrite it with comments if anyone's

Re: [Flashcoders] HashMap?

2006-05-13 Thread Ron Wheeler
] on behalf of Ron Wheeler Sent: Sat 5/13/2006 10:43 AM To: Flashcoders mailing list Cc: Subject:Re: [Flashcoders] HashMap? Bernard Poulin wrote: I cannot say for AS3 implementation because I never tried it. (Which is the original subject of this topic.) In AS1, AS2

Re: [Flashcoders] HashMap?

2006-05-15 Thread Ron Wheeler
well, and stays balanced. Scott -Original Message- From: [EMAIL PROTECTED] on behalf of Ron Wheeler Sent: Sat 5/13/2006 2:25 PM To: Flashcoders mailing list Cc: Subject:Re: [Flashcoders] HashMap? Wouldn't it be true to say that hash maps will get slower

Re: [Flashcoders] Video Production Shop

2006-05-15 Thread Ron Wheeler
What area? Keenan Keeling wrote: Anyone out there know of a video production shop in the area? Looking for someone to shoot an instructional video and do the editing (for later streaming with Flash Video). If you know anyone, contact me off-list so we don't clutter things up. Keenan Keeling

Re: [Flashcoders] How to serialize key events?

2006-05-15 Thread Ron Wheeler
You might try reading the Java class documents to see what is special about Vectors as opposed to Arrays in Actionscript. The code is pretty simple. Have you tried to code and test it under ActionScript? It looks like you add objects to a list and take the first one off the list. It provides

Re: [Flashcoders] HashMap?

2006-05-15 Thread Ron Wheeler
will still find a place for it. B. 2006/5/15, Ron Wheeler [EMAIL PROTECTED]: The tree would make sense. The garbage collection for an associative array is an interesting problem with variable key and value lengths. Ron Scott Hyndman wrote: Well, yes. Now that I think about it my test didn't

[Flashcoders] Open source legal framework

2006-05-16 Thread Ron Wheeler
A little off topic but I know that many of us are interested in open source. http://conservancy.softwarefreedom.org/ This is an organization set up to help open source projects with the legal side of things. Providing limited liability, tax exempt status, etc Ron

Re: [Flashcoders] HashMap?

2006-05-16 Thread Ron Wheeler
Bernard Poulin wrote: If you can not tune a HashMap it will be worse than an ordinary array. It will take more space and more processing time. This will of course depend on the size and usage - it *may* be more efficient with hashmaps. Do you really think we can generalize being it worse all

Re: [Flashcoders] How to serialize key events?

2006-05-16 Thread Ron Wheeler
) { var obj:Object = mailbox.firstElement(); array.addElement(obj); mailbox.removeElementAt(0); numMessages--; } return array; } } Ron Wheeler [EMAIL PROTECTED] wrote: The code is pretty simple. Have you tried to code and test it under ActionScript? It looks like

Re: [Flashcoders] HashMap?

2006-05-17 Thread Ron Wheeler
Bernard Poulin wrote: Funny, I was actually thinking of an implementation which would use a Java-style String objects. In java, all string objects have an int hash data member (computed the first time it is needed). In that scenario, only a portion of the hash value is used to make the hash

Re: [Flashcoders] word docs-to-xml file

2006-05-18 Thread Ron Wheeler
Word to OpenOffice OpenOffice stores the file as a zip with the actual text in a file content.xml inside the zip. The OpenOffice document can be opened with any one of the zip packages(winrar, winzip,etc) You will find the contents of your document in XML and you only have to read it or

Re: [Flashcoders] ControlManager implementation for Moock MVC framework

2006-05-22 Thread Ron Wheeler
You might want to look at ActionStep which has a framework for MVC that you could use directly or as a model. All the little gotcha's have all been worked out. Ron Spiral Universe wrote: Hi. I'm trying to build an app based on the MVC framework provided here:

Re: [Flashcoders] Slides and Screens - Help, please

2006-05-23 Thread Ron Wheeler
Google Flash Slideshow. You will find all kinds of code and tips. You may find that people in this forum are more inclined to get involved when you have a more particular problem with some code that you are debugging. How do I write code... is not a promising start to a question. If you look

Re: [Flashcoders] Re: Biased Random Particle Distribution

2006-05-26 Thread Ron Wheeler
Would a formula based on logarithms give you what you want as well? You were not very specific about what you wanted the distribution to look like. Ron clark slater wrote: Here I go answering my own question. To make it more dense toward the origin, use {x,y} = {random[]^2,

Re: [Flashcoders] Re: Biased Random Particle Distribution

2006-05-27 Thread Ron Wheeler
of the rectangle. Clark On 5/26/06, Ron Wheeler [EMAIL PROTECTED] wrote: Would a formula based on logarithms give you what you want as well? You were not very specific about what you wanted the distribution to look like. Ron clark slater wrote: Here I go answering my own question. To make it more

Re: [Flashcoders] Re: Biased Random Particle Distribution

2006-05-28 Thread Ron Wheeler
for these kind of things, thanks a million. Clark On 5/27/06, Ron Wheeler [EMAIL PROTECTED] wrote: I was surprised that the squaring gave you any kind of banding since it should be a smooth bias. I think that the log transformation will give you less of a bias toward one side but I have

Re: [Flashcoders] When you are done with a project what do you take with your for your portfolio

2006-05-31 Thread Ron Wheeler
Ask the client for permission to use what ever you want to show. Make sure that the current client is clear what your role was in building the thing that you want to show. If you new prospect calls to check your reference and the client says that he does not recall if you worked on that part

Re: [Flashcoders] Tool for creating UML diagrams from ActionScript codeother than Enterprise architect?

2006-06-01 Thread Ron Wheeler
doxygen generates complete documentation with class diagrams for Actionscript. Has a little trouble with typing and could really use an actionscript preprocessor but works well without it. Use Javadoc coding in your comments and you get a nicely done standard documentation set. Has an

Re: [Flashcoders] Tool for creating UML diagrams from ActionScript codeother than Enterprise architect?

2006-06-01 Thread Ron Wheeler
Free as wel. Ron Wheeler wrote: doxygen generates complete documentation with class diagrams for Actionscript. Has a little trouble with typing and could really use an actionscript preprocessor but works well without it. Use Javadoc coding in your comments and you get a nicely done standard

Re: [Flashcoders] XML Parsing

2006-06-05 Thread Ron Wheeler
If it was up to me, I would redo the XML to be a bit more concise and more standard. layers layer name=LayerOne assets asset width=20 height=10 xPos=50 yPos=30 name=somename0.bmp / asset width=20 height=10 xPos=50 yPos=30 name=somename1.bmp/ /assets

Re: [Flashcoders] XML Parsing

2006-06-05 Thread Ron Wheeler
Sajid Saiyed wrote: Hi, My data is not this simple or static. ???not static - your XML changes after you have read it??? I gave this sample XML just to explain the structure. The XML is going to be dynamic, hence I need to parse it using something like XPATH (I suppose). If the XML changes

Re: [Flashcoders] Where to politelyandappropriatelydiscusspricing issues

2006-06-05 Thread Ron Wheeler
We have had this discussion before. Salary expectations vary by country and by city. I am sure that many people in the forum living in India or other parts of Asia would be pleased to make $40,000 per year. Someone in New York City would starve to death in the cold. Someone in rural Kansas

Re: [Flashcoders] XML Parsing

2006-06-05 Thread Ron Wheeler
If you get a nice clean XML structure, XPath will save you a lot of code. It takes a bit of getting used to but it will make your life easier. Ron Sajid Saiyed wrote: Hi Ron, I can modify the XML structure and will not be a problem , I will try your suggested solution. Merill, I am trying to

Re: [Flashcoders] UML Modelling for AS2.0 applications ...

2006-06-07 Thread Ron Wheeler
ArgoUML . Open Source from tigris.org. Stephen Ford wrote: Can anyone recommend a good application or website for UML modelling of an AS2.0 application. I have taken a look at gmodeler and downloaded an application called Enterprise Architect, but can anyone recommend anything else I should

Re: [Flashcoders] XML diff

2006-06-10 Thread Ron Wheeler
Just hang onto the xml tress and walk them in parallel. Depending on the types of changes that might happen, you will have varying degrees of difficulty in matching the trees. Probably easier than a diff on a text file. Possible tests: For each node, check attributes for changes - easy if

Re: [Flashcoders] xls - xml mapping

2006-06-15 Thread Ron Wheeler
If you give the client an OpenOffice spreadsheet, the data is already stored in XML and you may only need a minor transformation with XSLT to get it into a format that you want for for your flash backend. OpenOffice is free and looks a lot like Excel . If your client will only deal with Excel,

Re: [Flashcoders] Sharing fla over network

2006-06-15 Thread Ron Wheeler
Add Eclipse as an IDE and move to MTASC (FAME ). That is still the best way to go. Ron jim wrote: If you can use some source control like SVN that might be what you are looking for. Its pretty easy to set up and will stop you writing over each others changes. Jim -Original Message-

Re: [Flashcoders] XML named node values

2006-06-17 Thread Ron Wheeler
If the chNames do not have any key or ids, with what are you trying to stay in sych? If you are trying to use the node value as a key, then that is what you have to check. This is an XML fact of life - nothing to do with Flash or Actionscript. XPATH will simplify the problem of finding specific

Re: [Flashcoders] Language Supported in Flash?

2006-06-19 Thread Ron Wheeler
What do you mean by support? IDE in Portuguese and Spanish Ability to develop applications that display and process Portuguese and Spanish - yes. Suhas Kotkar wrote: Hi All, Can any one let me know whether Flash has the support for the following languages? Spanish (Latin

Re: [Flashcoders] For...in counts backwards?

2006-06-20 Thread Ron Wheeler
Mendelsohn, Michael wrote: Hi list... From the help on for...in: You can also iterate through the elements of an array: var myArray:Array = [one, two, three]; for (var i:String in myArray) { trace(myArray[i]); } This code outputs the following in the Output panel: three two One Why

Re: [Flashcoders] help

2006-06-20 Thread Ron Wheeler
Bachman, Richard wrote: I need help with creating a site somewhat like this onehttp://www.samsung.com/se/current/campaign/slim/site/index.htm I'm trying to figure out the coding involved in this site. Thanks! There could be quite a bit. I did not try the game but the phone

Re: [Flashcoders] OT: Junior Developer Flash/Flex Salary?

2006-06-20 Thread Ron Wheeler
Mark Lapasa wrote: These are most interesting points Radley. However on the topic of 'pre-made code', I am now wondering what is the practices of some the freelancer/consultants/etc. on the list. If people pay you money for code, be it 30k or 100k, is it right to use your past developed code

Re: [Flashcoders] growing animation

2006-06-21 Thread Ron Wheeler
http://www.jcu.edu/math/vignettes/lsystems.htm http://www.acm.org/crossroads/xrds8-2/plantsim.html http://www.linuxlinks.com/Software/Graphics/Fractals/ http://wase.urz.uni-magdeburg.de/jschulen/lplants/index.html http://algorithmicbotany.org/papers/abop/abop.pdf A very good on-line textbook

Re: [Flashcoders] euro symbol fight

2006-07-06 Thread Ron Wheeler
Who controls my_flash_service.php. That is the spot where the escaping should be done. Ron Gabriel wrote: Is a good idea, but I cannot do that because, most of the data I get, I retrieve it from the database directly trough the ORM (pear), so I can't touch the data. the way it comes is:

Re: [Flashcoders] euro symbol fight

2006-07-06 Thread Ron Wheeler
If you want it to work It is probably easier to do every single one than just some. Ron Gabriel wrote: I access it with AMFPHP, are you saying I have to modify every single object returned from AMF? thanks Ron Wheeler wrote: Who controls my_flash_service.php. That is the spot where

[Flashcoders] OT SVN/Project Hosting

2006-08-14 Thread Ron Wheeler
Can anyone recommend a good project hosting site with reasonable rates and good uptime? Want to host a small project 3-4 developers - Flash and server side so likely need several projects with the same team Minimum SVN, Bugzilla, etc. Anything else to ask for? Client side will be Eclipse.

Re: [Flashcoders] working with dynamic images using mysql database

2006-08-22 Thread Ron Wheeler
Why would you want to add the extra overhead of a file system? What about data backup synchronization/integrity issues? How do you organize the files. What if you get a lot of files and your filesystem chokes? Put a thousand files in a Windows directory and watch the fun. You have more control

Re: [Flashcoders] UML Diagrams

2006-08-24 Thread Ron Wheeler
ArgoUML from www.tigris.org is free. Eclipse has a free UML editor If you want to generate UML from Actionscript, Doxygen will do that and generate Javadoc style documentation from properly commented code. Ron Mike Keesey wrote: Just curious, What do people on this use to create UML

Re: [Flashcoders] OOP methodology and flash. I'm loosing my faith...

2006-08-25 Thread Ron Wheeler
Almost all of the examples of coding on Macromedia are OOP. If you download any of the open source code in the http://www.osflash.org/ site, you will find nicely written, peer reviewed code written in Actionscript. For dozens of examples, download ActionStep. It is easy for everyone, some

Re: [Flashcoders] Flash player cache?

2006-08-31 Thread Ron Wheeler
Does compiling the B class fix the problem? If the B.SWF has an old version of the definition of the C Class, then rebuilding A.SWF will not get rid of the copy of the definition of Class C in the B.SWF. When Flash player needs to use Class C it uses the first definition it finds. Common

  1   2   3   >