Re: [Flashcoders] clearing loaded classes in IDE?

2007-02-04 Thread Andy Johnston
delete ASO files I'm having some weird behavior. The short version is, when I edit one of my classes, and re-run the FLA in the IDE which absolutely is dependent on this class, it is not getting the new behavior, and is clearly running some older version of the class. Is there some reason the

Re: [Flashcoders] getting 5 random numbers out of 0-16 no dups

2006-11-30 Thread Andy Johnston
http://www.actionscript.org/forums/showthread.php3?s=threadid=28769 Quick question. Whats the fastest way to get 5 random numbers out of a list of X number of numbers without having any duplicates? Kinda like the script below excpet it graps duplicates... var loopNum:Number = 16; function

Re: [Flashcoders] xml thumbnail gallery reverse order problem

2006-11-30 Thread Andy Johnston
reverse the order of your xml?? hi y'all i tried to subscribe to the flash forums on kirupia and on actionscript.org, but for some reason i never receive the confirmation emails. i'm at my wit's end with this problem and i need help!!! there is an xml gallery w/thumbnail tutorial on

Re: [Flashcoders] Re: Flex vs. Flash IDE

2006-05-23 Thread Andy Johnston
its like trying to compare adobe indesign and illustrator, sure they share a lot of common underlying elements but the usage is much different. If I want to layout a 100 page book i will use indesign... If i want to design a poster with rich graphic elements i will use illustrator Flex

Re: [Flashcoders] Publish my swf direct to server

2006-04-02 Thread Andy Johnston
You could run a local webserver like apache or IIS then just copy the published files to the server directory on your harddrive then view in your browser? Hi all Is there any methods to publish and upload my flash files directly to my webserver. Tried network places but doesnt work. I now

[Flashcoders] yet another screwing from micrsoft

2006-03-29 Thread Andy Johnston
anyone care to comment on this little gem? http://www.eweek.com/article2/0,1895,1943847,00.asp looks bad to me, thats a lot of reauthoring ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:

Re: [Flashcoders] yet another screwing from micrsoft

2006-03-29 Thread Andy Johnston
the eolas patent than you are... Here is a workaround for it... http://www.flashinto.com/phpBB2/viewtopic.php?t=3215sid=a69d2b96fbe275f8ae573b0ad09600c0 On 3/29/06, Andy Johnston [EMAIL PROTECTED] wrote: anyone care to comment on this little gem? http://www.eweek.com/article2/0,1895,1943847,00.asp

Re: [Flashcoders] movieclip actions not working

2006-03-19 Thread Andy Johnston
ben, you cannot have a button inside another button... That is why your code wont work. paste this over your current code m1.onRollOver = function ():Void { this.gotoAndStop (20); }; m1.onRollOut = function ():Void { this.gotoAndStop (1); }; m1.m2.onPress = function ():Void {

Re: [Flashcoders] movieclip actions not working

2006-03-19 Thread Andy Johnston
- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Andy Johnston Sent: maandag 20 maart 2006 1:41 To: Flashcoders mailing list Subject: Re: [Flashcoders] movieclip actions not working ben, you cannot have a button inside another button... That is why your code wont work. paste

Re: [Flashcoders] Position objects evenly around ellipse

2006-03-16 Thread Andy Johnston
heres a js library has an oval function... might be of some use to get you going http://www.walterzorn.com/jsgraphics/jsgraphics_e.htm Thanks very much Ryan - looks like a good start - I can use maybe a little of that, but an ellipse is also mathematically quite different, and I'm not sure

Re: [Flashcoders] dynamically naming sound objects?

2006-03-09 Thread Andy Johnston
function loadSounds() { for (var i:Number = 0; i mySounds.length; i++) { sRef = _root[sound+i] // I assume sRef is a already created movieClip var testSound:Sound = new Sound(sRef); sounds_array.push(testSound); testSound.loadSound(mySounds[i], False); } } I am trying to create a

Re: [Flashcoders] best flash actionscript book/reference

2006-03-09 Thread Andy Johnston
I would highly recommend Colin Moock's Essential Actionscript 2.0 it is an excellent guide to the package system and object oriented goodness. so after not having coded in flash for about 5 years (lots of changes) and getting hardcore back into actionscript, and ESPECIALLY this list :P (love

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

2006-03-07 Thread Andy Johnston
For this reason people usually use server side scripts to supply flash with correct calculations for finance apps. It might not look like a big deal until you are using Flash to do some financial app, where you obtain a number from a string variable, convert it to a number, divide it with

Re: [Flashcoders] Help with timeline Script

2006-02-28 Thread Andy Johnston
Not going to code up your whole app but here are some utility methods I use for quick dev. They make use of the fuse kit http://www.mosessupposes.com/Fuse/ You should send moses an email for the code and he will get it back to ya quickly. Once you have the code you can do something with the

Re: [Flashcoders] Documenting my code

2006-01-18 Thread Andy Johnston
also could try: http://www.jellyvision.com/actiondoc/ stand alone and nice ryanm wrote: Or, can anyone suggest an alternative software that takes the java-doc style comments and create documentation? Check out NaturalDocs. It's free (open course), and it reads almost any style of

Re: [Flashcoders] Class Error Message

2006-01-16 Thread Andy Johnston
A Simple hello class that assigns a custom message to a text field based upon time of day. **/ class com.bushidodeep.Hello { private var width:Number; private var height:Number; private var stageHeight:Number = 300; private var stageWidth:Number = 300; private var theDate:String;

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() {

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

Re: [Flashcoders] Using a Function as Variable[code]

2006-01-12 Thread Andy Johnston
Whats the problem? Hi, The code would be helpful :) /** A Simple hello class that assigns a custom message to a text field based upon time of day. **/ class com.bushidodeep.Hello { private var width:Number; private var height:Number; private var stageHeight:Number = 300;

Re: [Flashcoders] Using a Function as Variable[code]

2006-01-12 Thread Andy Johnston
class com.bushidodeep.Hello { private var width:Number; private var height:Number; private var stageHeight:Number = 300; private var stageWidth:Number = 300; private static var textFieldDepth:Number = 0; private var messageFormat:TextFormat; public var now:String =

Re: [Flashcoders] Creating An OOP MC Via Composition

2006-01-11 Thread Andy Johnston
public function Hello(target:MovieClip) { container_mc = target.createEmptyMovieClip (messageDisplay, 1); displayGreeting(); } Hi, Thanks for the prompt response. When I create the Hello object on the AS timeline, nothing is rendered to screen. [CODE] import

Re: [Flashcoders] Creating An OOP MC Via Composition

2006-01-11 Thread Andy Johnston
nah actually should be [CODE] var myHelloClip:MovieClip = createEmptyMovieClip(hello_mc, 1); import com.bushidodeep.*; var myHello:Hello = new Hello(myHelloClip); [/CODE] [CODE] /** A Simple hello class that assigns a custom message to a text field based upon time of day. **/ class

Re: [Flashcoders] Creating An OOP MC Via Composition

2006-01-11 Thread Andy Johnston
, Chris On Jan 11, 2006, at 5:56 PM, Andy Johnston wrote: nah actually should be [CODE] var myHelloClip:MovieClip = createEmptyMovieClip(hello_mc, 1); import com.bushidodeep.*; var myHello:Hello = new Hello(myHelloClip); [/CODE] [CODE] /** A Simple hello class that assigns a custom message

Re: [Flashcoders] Massive XML files and Flash

2006-01-05 Thread Andy Johnston
I've found this as version of xpath very very handy.. easy to implement and use also.. http://www.xfactorstudio.com/ActionScript/AS2/XPath/ Thanks Jester, but databases are not my forte, to do it quickly I'd like to just use ActionScript only. Is there anyway I can just load specific

Re: [Flashcoders] Actionscript 2.0 Class involving XML

2006-01-03 Thread Andy Johnston
Dunno if you have looked at this before but is very nice for dealing with xml in flash http://www.xfactorstudio.com/ActionScript/AS2/XPath/ Hey Everyone, I am wondering if there is anyone out there who knows Actionscript 2.0 Classes and XML extremely well. I have an Open Source

Re: [Flashcoders] simulating narrowband connection

2005-12-08 Thread Andy Johnston
Run Bit Torrent at full downloads ;) Hi there, Are there any tools out there that enable you to simulate a low bandwidth connection (e.g. modem or slow broadband connection) I'm currently working on a project which uses flv files that interact with my flash movie. In the past I always used

Re: [Flashcoders] strange compiler error

2005-12-08 Thread Andy Johnston
Are your classes on a network drive? This usually is a time stamp syncing error Try restarting your machine or deleting the aso files Hi there, I try compile a fla file with the flash 8 IDE. It always gives me this pointless error message. **Error**

Re: [Flashcoders] strange compiler error

2005-12-08 Thread Andy Johnston
*Shrug* http://www.epresenterplus.com/blog/archives/30.html I tried deleting the aso files and restarted my computer - nothing helped :-( ---Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Andy Johnston Sent: Friday, 9 December 2005 2:25 PM

[Flashcoders] water simulation

2005-11-28 Thread Andy Johnston
Hi all, Looking for some actionscript to simulate a body of water that is contained in a rectangular box. Think cutting a swimming pool in half then shaking it from side to side. Anyone got some physics code that would generate a constrained sloshing around motion? any help or pointer mucho

Re: [Flashcoders] water simulation

2005-11-28 Thread Andy Johnston
. butthere's a quicktime animation at the end which demonstrates his equation, and there seems to be a slosh effect ... http://www.osc.edu/education/su_programs/si/si2005/projects/wave_motion/ Regards - Miles At 08:02 PM 11/28/2005, Andy Johnston wrote: Hi all, Looking for some actionscript

Re: [Flashcoders] OOP newbie question

2005-11-24 Thread Andy Johnston
import mx.utils.Delegate; class OSC { var mySocket : XMLSocket; public function OSC () { connect (); } function connect () { mySocket = new XMLSocket (); mySocket.onXML =

Re: [Flashcoders] OOP newbie question

2005-11-24 Thread Andy Johnston
Java or C++ ? //h -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Andy Johnston Sent: Thursday, November 24, 2005 10:41 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] OOP newbie question I never have a use for self refencing.. maybe thats just me

Re: [Flashcoders] OOP newbie question

2005-11-24 Thread Andy Johnston
Nothing is wrong with it. Just seems an ugly way to deal with differences in scope. Why what's wrong about it? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Andy Johnston Sent: Friday, 25 November 2005 2:41 PM To: Flashcoders mailing list Subject

Re: [Flashcoders] Particle class

2005-11-20 Thread Andy Johnston
http://www.bit-101.com/Particles/ Hi all I've been working on a particle simulation class, and I've put the current source and an example on my site http://www.lookmumimontheinternet.com/blog/?p=13 It's a bit rough around the edges but if people could have a look and let me know what

Re: [Flashcoders] Particle class

2005-11-20 Thread Andy Johnston
at. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Andy Johnston Sent: Monday, 21 November 2005 10:41 AM To: Flashcoders mailing list Subject: Re: [Flashcoders] Particle class http://www.bit-101.com/Particles/ Hi all I've been working on a particle simulation

Re: [Flashcoders] Particle class

2005-11-20 Thread Andy Johnston
yet so that may be a while yet. I'd be great to see the performance benefits though. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Andy Johnston Sent: Monday, 21 November 2005 11:04 AM To: Flashcoders mailing list Subject: Re: [Flashcoders] Particle

Re: [Flashcoders] Style sheet does not load - puzzled.

2005-11-17 Thread Andy Johnston
I copied that into a test fla and all works fine for me... is your css valid? Heres some simple test rules: p { color: #00; font-family: Arial,Helvetica,sans-serif; font-size: 12px; display: inline; } a:link { color: #FF00FF; text-decoration: underline; } a:hover{ color: #99;

Re: [Flashcoders] Style sheet does not load - SOLVED

2005-11-17 Thread Andy Johnston
No worries miles, whenever im stuck on a bug I just can't figure it's usually something easily overlooked... Fresh eyes minds can make all the difference, helps to come at the blighters from a different perspective. Andy, Thank you - cut and pasted your styles into styles.css, and it worked.

Re: [Flashcoders] Apple using Flash for their new retail store reservation system

2005-11-17 Thread Andy Johnston
mmm flex Check it out! http://genius.apple.com/customer/?store=R050 Any news behind the developers? -Carlos- ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders