Re: [Flashcoders] Seeking a bit of drawing API inspiration..

2006-02-02 Thread GregoryN
Ian, If I understand you right, you're drawing a chain_of_circles instead of just drawing a line? This approach seems quite strange, but it's your choice anyway :-) I don't think the math to redraw all circles will heal the performance - rather opposite. Instead, I can suggest use one of the

Re: [Flashcoders] Component instantiation- How does dragging affect the constructor

2006-02-02 Thread GregoryN
Mani, Have you explored mm_livepreview.as file as I suggested before? Matter is that 2 instances are created for Live Preview, and the 1st one then becomes invisible. Also, I'm a bit confused, what's private constructor you've mentioned? Usually I create a special case (section) within

Re: [Flashcoders] Tell me more about _professionalism

2006-02-02 Thread Nicolas Cannasse
as far as type-checking goes, I'm going to take as much of it as I can get. advertisinguse haXe !/advertising :) Nicolas ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

RE: [Flashcoders] Tell me more about _global

2006-02-02 Thread j.c.wichman
* yawns * -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steven Sacks Sent: Wednesday, February 01, 2006 9:57 PM To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] Tell me more about _global Apart from that, your email takes a kind of

[Flashcoders] Loading consecutive swfs into the same holder movieclip

2006-02-02 Thread Toon Van de Putte
I'm sure this problem has cropped up before for lots of people, so I'd like to know what your approaches are for solving it: I have a navigation bar with buttons that each load a different swf into the same holder movieclip. These swf's are quite large, so they take a while to download. Now,

RE: [Flashcoders] using flash for UI in applications

2006-02-02 Thread Mike Mountain
What's wrong with the new external interface api? M ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Re: [Flashcoders] Naming conventions for AS2.0 ...

2006-02-02 Thread Ian Thomas
In the days of old compilers and IDEs I used to use complicated naming conventions - including the (horrible) Hungarian notation mentioned above (But it did help at the time. I think. When wading through piles of someone else's mangled C code.). Now with more sensible IDEs that can do

Re: [Flashcoders] Tell me more about _global

2006-02-02 Thread Thimon Sistermans [Us Media]
RTFM stop this post please regards - Original Message - From: j.c.wichman [EMAIL PROTECTED] To: 'Flashcoders mailing list' flashcoders@chattyfig.figleaf.com Sent: Thursday, February 02, 2006 9:34 AM Subject: RE: [Flashcoders] Tell me more about _global * yawns * -Original

Re: [Flashcoders] Seeking a bit of drawing API inspiration..

2006-02-02 Thread Ian Thomas
Hi Gregory, Thanks for that. I am basically plotting/drawing a circle at each point the mouse moves to while clicked. (This isn't a paint package, it's for something else entirely - which is why I'm not drawing lines...) I had already got as far as trying rectangles - they are indeed a lot

RE: [Flashcoders] ActionScript equivalent of embed/object BASE tag

2006-02-02 Thread Adrian Lynch
You could do it manually. Create a variable and prepend(not a word!) it to all your loadMovie(), load() etc. calls. Ade -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Jan Schluenzen Sent: 02 February 2006 10:23 To: Flashcoders mailing list Subject:

Re: [Flashcoders] clearing variables from memory after use...

2006-02-02 Thread Roman Blöth
j.c.wichman schrieb: Hi Roman, You describe my_var =null as being useless, but this should be enough for the garbage collector to come along and reclaim an object? With respect to the static issue, what do you mean with 'static instances' ? Could u provide an example of such an object with isn't

Re: [Flashcoders] clearing variables from memory after use...

2006-02-02 Thread Roman Blöth
David Rorex schrieb: my_var = null; and delete my_var; should do exactly the same thing...delete doesn't actually delete the object, only the reference to the object. it doesn't get removed from memory until later (when the GC feels like it) Well, we observe different behaviour here: After

[Flashcoders] mx.utils.ClassFinder.findClass problem

2006-02-02 Thread franto
Can someone explain me this? Im using mx.utils.ClassFinder.findClass to find class and make instance from it but some classes it cant find, it's not just problem of mx.utils.ClassFinder.findClass im using another way to create dynamic class (as I wrote yesterday to the list) but same classes are

RE: [Flashcoders] Naming conventions for AS2.0 ...

2006-02-02 Thread Adrian Lynch
As others have said, consistency is more important, but that's not to say that there are no good or bad naming conventions. Five years ago I had stupidly small names, then stupidly long names, now they're somewhere in the middle and mostly sensible and readable :O) Also, if you're working on a

RE: [Flashcoders] targeting duplicateMovieClip

2006-02-02 Thread Adrian Lynch
Did you find the problem? duplicateMovieClip() returns a reference to the newly duped clip, you can store this as you wish. myDupe = dupeMePleaseSomebodyDupeME.duplicateMovieClip(youCanAlsoUseThisNameHereButI TendNotTo, someDepth); Ade -Original Message- From: [EMAIL PROTECTED]

Re: [Flashcoders] mx.utils.ClassFinder.findClass problem

2006-02-02 Thread Ian Thomas
Hi Franto, As far as I understand it, 'import' isn't enough to get a class compiled into your .swf. The line: import sk.sowhat.linuxPlayer.play4dogs.Test; just tells the compiler that any mention of the word Test in your code will refer to that class. If the class isn't compiled into the SWF,

[Flashcoders] Flash 8 CPU test script

2006-02-02 Thread Bart Wttewaall
Hi list, I'd like to be able to tell if the user's cpu is up for a heavy load of animations, filters and flv's with alphachannel. I remember a post about how the Flash 8 VM had been drastically rewritten so that cpu-usage and garbage collection acted in a whole new manner. In Flash 7 I'd write a

Re: [Flashcoders] Naming conventions for AS2.0 ...

2006-02-02 Thread Ian Thomas
On 2/2/06, Adrian Lynch [EMAIL PROTECTED] wrote: Also, if you're working on a project with others, be consistent with each other. If it's a fresh project, have a chat about what to use. If you're coming on board you might be more inclined to follow what's already there. Amen. If you're

[Flashcoders] advise

2006-02-02 Thread syam s
sir i have a problem. i draw a picture using flash action script. but i want to save this as an image on a button click var brush=5; _root.createEmptyMovieClip(line,1); //line.lineStyle(5,myColour,100); line.lineStyle(brush,0x00,100); _root.onMouseDown = function () {

Re: [Flashcoders] Problems with Javascript Integration Kit

2006-02-02 Thread Rajat Paharia
Hi Jim - I'm encountering similar problems in IE (not in Firefox) with an older version of the kit, but haven't been able to figure out how to fix it. But you're not alone :( - rajat On 2/1/06, Jim Kremens [EMAIL PROTECTED] wrote: Hi all! I'm having trouble with the latest version of the

Re: [Flashcoders] ActionScript equivalent of embed/object BASE tag

2006-02-02 Thread Cédric Muller
did you try '_lockroot' ? cedric You could do it manually. Create a variable and prepend(not a word!) it to all your loadMovie(), load() etc. calls. Ade -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Jan Schluenzen Sent: 02 February 2006 10:23 To:

Re: [Flashcoders] Seeking a bit of drawing API inspiration..

2006-02-02 Thread Ian Thomas
I was being silly. A night's sleep has cleared things up. All I needed to do was draw less circles. In other words, check whether I'd already drawn a circle anywhere near the current drawing position, and if I had, don't draw a new circle. Gave me a blistering speed increase. Thanks! Ian On

Re: [Flashcoders] mx.utils.ClassFinder.findClass problem

2006-02-02 Thread Cédric Muller
because you call it directly new sk.whatever.linux.AClass() calls the class directly, as you specify the path, it doesn't need to import it before ... another way would be to: import sk.whatever.linux.AClass; var myAClass = new AClass(); would work too ... now regarding your idea, if

Re: [Flashcoders] mx.utils.ClassFinder.findClass problem

2006-02-02 Thread Ian Thomas
Whoops - I'm being dim. These will work just as well: import sk.sowhat.linuxPlayer.play4dogs.Test; var dummyVar:Function=Test; or var dummyVar:Function=sk.sowhat.linuxPlayer.play4dogs.Test; (with no import) Ian On 2/2/06, Ian Thomas [EMAIL PROTECTED] wrote: Hi Franto, As far as I

Re: [Flashcoders] mx.utils.ClassFinder.findClass problem

2006-02-02 Thread Martin Wood
or just import com.whatever.Foo; var foo:Foo; no need for the :Function, or the assignment. martin Ian Thomas wrote: Whoops - I'm being dim. These will work just as well: import sk.sowhat.linuxPlayer.play4dogs.Test; var dummyVar:Function=Test; or var

Re: [Flashcoders] mx.utils.ClassFinder.findClass problem

2006-02-02 Thread franto
but Ian, why it find other classes, i dont instantiate any of class, that code you can see in email is everything, and it has found 15 classes, but 3 doesnt find Classes found: 15 Classes not found: 3 Why? On 2/2/06, Ian Thomas [EMAIL PROTECTED] wrote: Hi Franto, As far as I understand it,

Re: [Flashcoders] mx.utils.ClassFinder.findClass problem

2006-02-02 Thread franto
Yes it works var dummyVar:Function=sk.sowhat.linuxPlayer.play4dogs.Test; (with no import) this is not problem but i create instance dynamicly, i got string in XML sk.sowhat.linuxPlayer.play4dogs.Test and i need create instance, but application doesnt know which classes will be instantiated, so

Re: [Flashcoders] mx.utils.ClassFinder.findClass problem

2006-02-02 Thread Cédric Muller
do you know which ones weren't found (the 3 classes) ? but Ian, why it find other classes, i dont instantiate any of class, that code you can see in email is everything, and it has found 15 classes, but 3 doesnt find Classes found: 15 Classes not found: 3 Why? On 2/2/06, Ian Thomas [EMAIL

Re: [Flashcoders] Zinc file system callbacks?

2006-02-02 Thread Derek Stottlemyer
Hi David, The new version of Zinc (2.5) has synchronous functions, so the flash timeline will wait until the FileIO call is complete before continuing. If you don't want to have flash stop while the function completes you have two options: 1.You can make the call asynchronous (I think you add

Re: [Flashcoders] mx.utils.ClassFinder.findClass problem

2006-02-02 Thread franto
yes, new class[sk.sowhat.linuxPlayer.play4dogs.ScreenManager]: undefined new class[sk.sowhat.linuxPlayer.play4horses.ScreenSingle]: undefined new class[sk.sowhat.linuxPlayer.Screen]: undefined Classes found: 15 Classes not found: 3 I try to look into that classes, but i dont find nothing strange

Re: [Flashcoders] mx.utils.ClassFinder.findClass problem

2006-02-02 Thread Cédric Muller
in your .as file (main class, or classesManger,...) you can simply put references to the classes you will/should use ... I did it once the following way: /** * setPackagesToImport * fake method, never gets called. just here for 'import' + reference purposes * */ private function

Re: [Flashcoders] mx.utils.ClassFinder.findClass problem

2006-02-02 Thread franto
This works Cedric, thank you very much :) All of you On 2/2/06, Cédric Muller [EMAIL PROTECTED] wrote: in your .as file (main class, or classesManger,...) you can simply put references to the classes you will/should use ... I did it once the following way: /** * setPackagesToImport

[Flashcoders] problem with html anchors

2006-02-02 Thread Jesús Muiño
Hi, sorry for my poor english. I'm trying to use Flash with anchor points in the html. I have this tag at the top of the body: a name=top/a. In the swf i have a button, and i need to go to the top of the html when i push that button. I've tried this scripts: onRelease(){ getURL(#top); } It

Re: [Flashcoders] mx.utils.ClassFinder.findClass problem

2006-02-02 Thread Cédric Muller
but please, remember that this is a Flash Hack with a lot of whack and crack :) you're welcome! cedric This works Cedric, thank you very much :) All of you On 2/2/06, Cédric Muller [EMAIL PROTECTED] wrote: in your .as file (main class, or classesManger,...) you can simply put references to

Re: [Flashcoders] Seeking a bit of drawing API inspiration..

2006-02-02 Thread GregoryN
Also, what code do you use to draw circles? Even in the MM docs, there are 2 methods, using 2 types of bezier curves: quadratic and cubic. Quadratic bezier method (of drawing circle) works fast and uses just 4 calls to curveTo(). But the result is squared. Cubic bezier method uses Math class

Re: [Flashcoders] Seeking a bit of drawing API inspiration..

2006-02-02 Thread Ian Thomas
I'm using an 8-arc method - I'd prefer to find 4-arc (i.e. the quadratic bezier) but haven't been able to find/work out suitable code. Could you point me in the right direction? Many thanks, Ian On 2/2/06, GregoryN [EMAIL PROTECTED] wrote: Also, what code do you use to draw circles? Even

Re: [Flashcoders] using flash for UI in applications

2006-02-02 Thread Chris Velevitch
On 2/2/06, Mike Mountain [EMAIL PROTECTED] wrote: What's wrong with the new external interface api? Nothing. The external interface api is stated to be better and more flexible than fscommands, but you still need to know which container you are talking to and what it can do. Chris -- Chris

RE: [Flashcoders] Seeking a bit of drawing API inspiration..

2006-02-02 Thread j.c.wichman
Hi, This probably isnt of any use to you, but for the filled circles, you can only simply draw a linepiece with a length of say 0.0001 and a high linethickness (50px for example results in a circle with a diameter of 50px). Like I said only of use if you draw filled circles. Greetz Hans

Re: [Flashcoders] Seeking a bit of drawing API inspiration..

2006-02-02 Thread Ian Thomas
Hi Hans, Thanks for that - unfortunately it doesn't work in my case. I'd already thought of it, but I'm actually drawing a mask layer - and line thickness has no effect on a mask. Cheers, Ian On 2/2/06, j.c.wichman [EMAIL PROTECTED] wrote: Hi, This probably isnt of any use to you, but for

RE: [Flashcoders] Seeking a bit of drawing API inspiration..

2006-02-02 Thread Mike Mountain
I missed the very first post - but is there a reaosn you're not using bitmap data to achieve this? (ie. Not flash 8?) M -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ian Thomas Sent: 02 February 2006 13:16 To: Flashcoders mailing list

Re: [Flashcoders] Seeking a bit of drawing API inspiration..

2006-02-02 Thread Ian Thomas
Hi Mike, Yes, not flash 8. :-) Otherwise that would have been my first stop. :-) Although come to think of it I've no idea whether/how bitmap masks work - does Flash take into account the alpha channels of a bitmap used as a mask? Anyway - that's irrelevant to me at the moment and and

Re: [Flashcoders] Seeking a bit of drawing API inspiration..

2006-02-02 Thread Cédric Muller
please. have a look here: http://www.kaourantin.net/2005/08/alpha-masking-goodness-in-flash- player.html worth everything ;) take care cedric Hi Mike, Yes, not flash 8. :-) Otherwise that would have been my first stop. :-) Although come to think of it I've no idea whether/how bitmap

Re: [Flashcoders] Seeking a bit of drawing API inspiration..

2006-02-02 Thread Ian Thomas
Oh, now that is extremely pretty. :-) I'm looking forward to getting my hands on version 8 - must get these projects finished first tho'... Thanks, Ian On 2/2/06, Cédric Muller [EMAIL PROTECTED] wrote: please. have a look here:

[Flashcoders] How do you code your Flash applications?

2006-02-02 Thread Anggie Bratadinata
Hi expert coders, Just a simple question, How do you develop your Flash applications? How do you write clean, readable, and reusable codes? The reason I'm asking this is because, so often, I got lost in MovieClips spaghetti. Different depth/levels/timelines drive me nuts and in the end, after

[Flashcoders] Unconditional and operator

2006-02-02 Thread j.c.wichman
Hi, does anyone know of an unconditional and operator in flash that I'm not aware of, eg in java a() b(), forcing both a() and b() to be called? And yes I know this reeks of hacking ;). greetz Hans ___ Flashcoders mailing list

Re: [Flashcoders] Unconditional and operator

2006-02-02 Thread Ian Thomas
Hi Hans... Java's operator isn't intended as an unconditional and - it just sort of works, because '' means 'bitwise AND', so the operation ab has to combine the individual bits of the values a and b - so must work out the values of both. It doesn't return a boolean, it takes two integers and

Re: [Flashcoders] Unconditional and operator

2006-02-02 Thread Ian Thomas
Ignore the msg:String parameter - I did. Red herring. Ian On 2/2/06, Ian Thomas [EMAIL PROTECTED] wrote: function a(msg:String) { trace(A); return false; } function b(msg:String) { trace(B); return false; }

[Flashcoders] Flex Enterprise Services

2006-02-02 Thread Kamyar Nazeri
List, Has anyone here installed/worked with Flex Enterprise Services? I've not yet installed FES, only read articles in Adobe Labs that are somehow mixed-up and not good categorized! Does anybody know that Flex Message Service introduced in FES comes with a server API or it's just set of

RE: [Flashcoders] Unconditional and operator

2006-02-02 Thread j.c.wichman
Hi Ian, Thanks I'll test it out. Note that in Java it was intended (http://java.sun.com/docs/books/tutorial/java/nutsandbolts/relational.html): Returns true if op1 and op2 are both boolean and both true; always evaluates op1 and op2; if both operands are numbers, performs bitwise AND operation

Re: [Flashcoders] Unconditional and operator

2006-02-02 Thread Ian Thomas
Hm! Well, you learn something new every day - thanks for that! Cheers, Ian On 2/2/06, j.c.wichman [EMAIL PROTECTED] wrote: Returns true if op1 and op2 are both boolean and both true; always evaluates op1 and op2; if both operands are numbers, performs bitwise AND operation

Re: [Flashcoders] Tell me more about _global--Back to the question

2006-02-02 Thread Manuel Saint-Victor
Okay- let's meander back to the part where I learn from my question So If i create a class with a bunch of static methods from what I've read , I can use those methods without instantiating the class. This would effectively create the ability for them to be called from any timeline like so

Re: [Flashcoders] Tell me more about _global--Back to the question

2006-02-02 Thread Ian Thomas
On 2/2/06, Manuel Saint-Victor [EMAIL PROTECTED] wrote: Okay- let's meander back to the part where I learn from my question So If i create a class with a bunch of static methods from what I've read , I can use those methods without instantiating the class. This would effectively create

[Flashcoders] Constrain width and height of a swf into a MC with loadMovieNum or loadClip or loadMovie ?

2006-02-02 Thread a f
Hello, I try to understand how to constrain a swf of width = 500 , height = 300 in a movie-clip whose width=200 and height=247 without redimendionning the *.swf. (I know i will lose some visual information of the SWF, it is all right...) Do you know how to do that ? I just suceed to

Re: [Flashcoders] Component instantiation- How does dragging affect the constructor

2006-02-02 Thread Manuel Saint-Victor
Bart--This is perfect- I was thinking of something along those lines- are there any hidden issues with that that I hadn't thought of? GregoryN-I must have missed the mm_livepreview.as comment that you made- I'm going to google my gmail and follow up on that - tell me more about the special

Re: [Flashcoders] Component instantiation- How does dragging affect the constructor

2006-02-02 Thread Manuel Saint-Victor
GregoryN -by private constructor I just meant that the class was intended to be a Singleton- I actually tried creating a class that does nothing but extend MovieClip with a private cinstructror and placed atrace statement in the constructor and lo and behold - the private was ignored and the

Re: [Flashcoders] advise

2006-02-02 Thread Andreas Rønning
You can't. - Andreas syam s wrote: sir i have a problem. i draw a picture using flash action script. but i want to save this as an image on a button click var brush=5; _root.createEmptyMovieClip(line,1); //line.lineStyle(5,myColour,100); line.lineStyle(brush,0x00,100);

Re: [Flashcoders] Tell me more about _global--Back to the question

2006-02-02 Thread Manuel Saint-Victor
Thanks Ian. On 2/2/06, Ian Thomas [EMAIL PROTECTED] wrote: On 2/2/06, Manuel Saint-Victor [EMAIL PROTECTED] wrote: Okay- let's meander back to the part where I learn from my question So If i create a class with a bunch of static methods from what I've read , I can use those

RE: [Flashcoders] advise

2006-02-02 Thread Pedro Furtado
To complete the statement below, without any aditional scripting, like a wrapper for offline or php for serverside. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Andreas Rønning Sent: quinta-feira, 2 de Fevereiro de 2006 14:58 To: Flashcoders mailing

[Flashcoders] How to alter all movieClips with as2

2006-02-02 Thread kevin kroe
How to add some new properties to a movieClip with as2 (no prototypes) ? ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

RE: [Flashcoders] advise

2006-02-02 Thread Merrill, Jason
You can't. - Andreas Yes you can. I've seen tons of examples. Here's one: http://flash-creations.com/notes/astb_saveshapes.php And another: Jason Merrill | E-Learning Solutions | icfconsulting.com -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders-

RE: [Flashcoders] advise

2006-02-02 Thread Merrill, Jason
Here's another: http://www.senocular.com/index.php?id=0.156 And here's a product by the folks who host this list: http://www.figleaf.com/Products/WYSIDraw.cfm Jason Merrill | E-Learning Solutions | icfconsulting.com -Original Message- From: [EMAIL PROTECTED]

RE: [Flashcoders] How do you code your Flash applications?

2006-02-02 Thread Merrill, Jason
I'd be more than happy if you, experts, can tell me the right way to code/develop Flash applications. TIA, -- Anggie Bratadinata Malang - East Java I N D O N E S I A I guess they don't can their worms in Indonesia. Jason Merrill | E-Learning Solutions | icfconsulting.com NOTICE:

Re: [Flashcoders] Flash 8 CPU test script

2006-02-02 Thread franto
As far as I know, new VM is in AS3.0 in Flash player 8.5... am I right? On 2/2/06, Bart Wttewaall [EMAIL PROTECTED] wrote: Hi list, I'd like to be able to tell if the user's cpu is up for a heavy load of animations, filters and flv's with alphachannel. I remember a post about how the Flash

[Flashcoders] xpath / xpath4as2 beginners question

2006-02-02 Thread Kent Humphrey
I'm trying to figure out how to use xfactorstudios xpath4as2 class, but I can't seem to get over the first hurdle! Can anyone tell me why this isn't working? import com.xfactorstudio.xml.xpath.*; myDoc = new XML(); myDoc.onLoad = function(){ var products =

Re: [Flashcoders] Problems with Javascript Integration Kit

2006-02-02 Thread Jim Kremens
Thanks for the reply! I actually reached out to Mike Chambers directly... waiting to hear back. Is the kit actually supported by Macromedia? Just wondering if I'm on my own here or if I can expect some advice. Jim Kremens On 2/2/06, Rajat Paharia [EMAIL PROTECTED] wrote: Hi Jim - I'm

RE: [Flashcoders] Seeking a bit of drawing API inspiration..

2006-02-02 Thread GregoryN
Well, here's a quote from MM docs (Flash 7 AS reference, MovieClip.curveTo()): == start quote === The following example draws a circle with a solid blue hairline stroke and a solid red fill: this.createEmptyMovieClip(circle_mc, 1); with (circle_mc) { lineStyle(0, 0xFF, 100);

Re: [Flashcoders] Component instantiation- How does dragging affect the constructor

2006-02-02 Thread GregoryN
Well, try this: 1) read the mm_livepreview.as file very carefully. Read Gary Grossman's comments in it and try to understand what each string of code does. 2) Read Components Dictionary chapter of Using Components in Flash docs. you'll see the differencies of behaviour (in Live Preview) of

Re: [Flashcoders] Constrain width and height of a swf into a MC withloadMovieNum or loadClip or loadMovie ?

2006-02-02 Thread Helen Triolo
Or if you do want to resize it, use MovieClipLoader and a handler (instead of loadMovie) and do the resize in the onLoadInit function -- example code in the 2nd blue box under MovieClipLoader on this page: http://flash-creations.com/notes/dynamic_loadjpg.php Helen --

Re: [Flashcoders] How to alter all movieClips with as2

2006-02-02 Thread Mike Britton
class someObj extends MovieClip { public var someProperty:String; function someObj() {} } ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

[Flashcoders] Question about xpath and cdata

2006-02-02 Thread Mark Burvill
Hi everyone, I'm still a bit new to using xml with flash, and I'm just starting to dig into xfactorstudio's xpath for AS2. I'm generally loving the way it's clearly going to save me loads of time in searching through my xml docs, but I'm having a bit of a probem getting html formatted text

RE: [Flashcoders] xpath / xpath4as2 beginners question

2006-02-02 Thread Merrill, Jason
Try: XPath.selectNodes(this,product/products/text()); Instead. What does your XML look like? For the above to work, it would have to be: product product Hi there. /product /product However, not a good idea to have a child node be the same name as the parent

Re: [Flashcoders] How do you code your Flash applications?

2006-02-02 Thread Cedric Muller
what's that ?? harsh ? I'd be more than happy if you, experts, can tell me the right way to code/develop Flash applications. TIA, -- Anggie Bratadinata Malang - East Java I N D O N E S I A I guess they don't can their worms in Indonesia. Jason Merrill | E-Learning Solutions |

Re: [Flashcoders] Problems with Javascript Integration Kit

2006-02-02 Thread david kraftsow
Rajat - Are you testing with both firefox and ie open at the same time, by chance? Because it will only work in one but not the other depending on which one opened the local connection first. This happened to me as well and I couldn't figure out what was going on until I tested it with ie

[Flashcoders] Accordion Menu / XML Tutorial

2006-02-02 Thread MJorge
* * -- Hello, I´m in really need of a tutorial or working sample of a menu using XML, like the one´s from : http://store.jumpeye.com/accmenu/help.html Can anyone give me a link with a working sample or tutorial? Thanks. --

Re: [Flashcoders] dynamic html text with xpath and cdata

2006-02-02 Thread Ryan Luce
Oops, that was a spelling error, i do have the in the cdata field... and it is an html textfield. I may just skip xpath and use flash's normal xml functions... will try when i get home. Thanks, Ryan. On 2/1/06, Troy Rollins [EMAIL PROTECTED] wrote: On Feb 1, 2006, at 11:19 PM, Ryan Luce

Re: [Flashcoders] Seeking a bit of drawing API inspiration..

2006-02-02 Thread Ian Thomas
Hi Gregory, Thanks for that - I've come up with an approximation based on very similar code. Not ideal, but it's close enough for the purpose I needed it for. That combined with a quick hash table to make sure I'm not plotting circles near other circles has given me the performance I need.

Re: [Flashcoders] How do you code your Flash applications?

2006-02-02 Thread Ramon Tayag
Hey Anggie, Hello from a neighbor. I'm no guru, but I am OC (obsessive compulsive) when it comes to keeping my code clean. 1) If I can help it, I keep all my code in one place. All in one frame, all the better. All in one swf? Better yet. 2) I don't keep the actual code in the FLA but I

[Flashcoders] Chinese / Japanese Text Input

2006-02-02 Thread Alex McCabe
Does anyone have knowledge they can share about the best way to guarantee that an end user will be able to enter text into a flash movie using characters in their own language (ie Chinese or Japanese). Usually I use an embedded font which is good for most western character sets, but with Japanese

[Flashcoders] Flash Programmer Needed - Montreal (QC)

2006-02-02 Thread Alain Rousseau
Hello FlashCoders, Isacsoft / Bigknowledge is seeking a Flash Programmer for the creation of a framework for our new e-learning application. Job will include organizing and processing data for our pre-built applications; including debugging, upgrading, and maintaining the code. Applicant should

RE: [Flashcoders] Seeking a bit of drawing API inspiration..

2006-02-02 Thread Mike Mountain
Be interesting to see the speed diff between rolling your own and having a circle in the libray (100px diameter, centered on the reg point) and simply attaching it and scaling to size. M -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ian Thomas

RE: [Flashcoders] quick array question

2006-02-02 Thread Corban Baxter
Thanks. great help! Corban Baxter  |  rich media designer  |  www.funimation.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Grant Cox Sent: Wednesday, February 01, 2006 6:17 PM To: Flashcoders mailing list Subject: Re: [Flashcoders]

Re: [Flashcoders] Constrain width and height of a swf into a MC with loadMovieNum or loadClip or loadMovie ?

2006-02-02 Thread Éric Thibault
hello there I've just finished my first component and I've included in it controles to mask, resize, align the loaded animations or images according to a max with and height (configurable). If want to e-mail me off list and I will send it to you directly. eric dot thibault at rve dot

RE: [Flashcoders] understanding the for loop - EXTENDED HELP NEEDED.

2006-02-02 Thread Corban Baxter
Well, I am going to take a stab at strict formatting. Not sure how well this is going to go but wish me luck as I venture off. Hopefully I can get some help as I take this new road. I appreciate the insight Andreas, //cb -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL

Re: [Flashcoders] How do you code your Flash applications?

2006-02-02 Thread Steve Webster
5) Comment, a lot! Just wanted to qualify this piece of advice. You should comment appropriately, which is not necessarily the same as commenting a lot. Comments such as... // Increase the value of i by 5 i += 5; ...are no good to anyone. Instead, explain why 5 is being added to i,

Re: [Flashcoders] Problems with Javascript Integration Kit

2006-02-02 Thread Jim Kremens
Hi David, Were you able to get it working with the latest source from SVN? I can't see what I might be doing wrong in the setup, so I'm assuming there are some bugs. But if you've got it working, that would be great to know. And maybe you could post (or send) an example? Thanks, Jim Kremens

[Flashcoders] securitySandboxError with FileReference and Jakarta FileUpload

2006-02-02 Thread Jamay Liu
Hi all, I am new to this list from [EMAIL PROTECTED] They directed me here with my problem; hopefully you can help me out! I am trying to implement an upload file feature on my website. I'm using the Flash 8 FileReference tools with Jakarta commons file upload, and it works fine locally.

RE: [Flashcoders] How do you code your Flash applications?

2006-02-02 Thread Merrill, Jason
Harsh? Seriously? How? Can't take a joke? Yo - My joke was just that their question is a can of worms if you mis-understood. Jason Merrill | E-Learning Solutions | icfconsulting.com -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On

Re: [Flashcoders] xpath / xpath4as2 beginners question

2006-02-02 Thread Kent Humphrey
On 2 Feb 2006, at 15:48, Merrill, Jason wrote: However, not a good idea to have a child node be the same name as the parent node (though it's OK in the sense it that won't screw up Xpath). Would you believe my problem was I had product/products instead of product/products ?! Sheesh...

[Flashcoders] OT Where's Nigel Pegg?

2006-02-02 Thread Gerry Creighton
Has anyone seen or heard from Nigel Pegg? His last blog entry was in May of 2004. I was admiring his awesome Comment App and found some links to source files for this but the links are bad. Hello? Nigel...are you out there? Gerry

[Flashcoders] this[rfcClip].container.attachMovie[imgID];

2006-02-02 Thread Corban Baxter
Hey guys I am working on this project still that is doing a whole lot of random things. Since I have not converted over to AS2 yet I am having some problems with doing this... this[rfcClip].container.attachMovie[imgID]; the rfcClip and the imgID variables are pulling from arrays and seem to trace

Re: [Flashcoders] Constrain width and height of a swf into a MC with loadMovieNum or loadClip or loadMovie ?

2006-02-02 Thread a f
Thank you Helen I read your code and use it (as follows) - // set up loader, an instance of MovieClipLoader, and loadHandler, the object // that will listen for its events

Re: [FlashCoders] wave generator example

2006-02-02 Thread Jim Armstrong
Dimitrios Bendilas wrote: Hello everyone, There was a tutorial/article about a wave generator engine in ActionScript, that produced pretty complex waves and had a boat which you could move ON the waves using the left and right arrow buttons. It was a very nice example and I think it was made

Re: [Flashcoders] Flash 8 CPU test script

2006-02-02 Thread Alias
Flash 8 does not contain the new VM. Only flash 8.5 contains it, and if you are running flash 8.0 content, it will use the 8.0 VM. Carry on as you were, you should be fine. Alias On 2/2/06, Bart Wttewaall [EMAIL PROTECTED] wrote: Hi list, I'd like to be able to tell if the user's cpu is up

RE: [Flashcoders] xpath / xpath4as2 beginners question

2006-02-02 Thread Merrill, Jason
It's well formed, sure, but I would do it like this instead - make heavy use of attributes - as much as possible for speed, relationships, and readability, something like this: root clients client name=Borgo di Colleoli sector=Property discipline

RE: [Flashcoders] How do you code your Flash applications?

2006-02-02 Thread Ettwein, Josh
Dude, that's some funny shit. :) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mark Winterhalder Sent: Thursday, February 02, 2006 9:22 AM To: Flashcoders mailing list Subject: Re: [Flashcoders] How do you code your Flash applications? On 2/2/06,

RE: [Flashcoders] dynamic html text with xpath and cdata

2006-02-02 Thread Merrill, Jason
Grabbing CData values with Xpath can be tricky, but I have found a way that works, like this for example: XMLNode((XPath.selectNodes(myXML, content/ introduction/text())[0])).nodeValue Basically, you use XPath to grab the 0 element in the array it creates, and then Flash's XML object to grab the

Re: [Flashcoders] Flash 8 CPU test script

2006-02-02 Thread elibol
The VM for Player version 8 is optimized. 8.5 will have this optimized 2.0VM for backwards compatibility, along with a newly written 3.0 VM. Bart, either way, the method would report the time it took for the method to execute. If the machine has player 8, then it should just return a lower value,

Re: [Flashcoders] Flash 8 CPU test script

2006-02-02 Thread elibol
I think the old VM is version 1.0, and the new one is 2.0. This would make more sense, I'm not sure though. M. On 2/2/06, elibol [EMAIL PROTECTED] wrote: The VM for Player version 8 is optimized. 8.5 will have this optimized 2.0VM for backwards compatibility, along with a newly written 3.0

Re: [FlashCoders] wave generator example

2006-02-02 Thread Dimitrios Bendilas
Yes! That's the one! Thanks Jim! Dimitrios - Original Message - From: Jim Armstrong [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Thursday, February 02, 2006 8:01 PM Subject: Re: [FlashCoders] wave generator example Dimitrios Bendilas

Re: [Flashcoders] Flash 8 CPU test script

2006-02-02 Thread elibol
Alias, I think what he means is the player 8 optimization: Reduced Memory Footprint Flash Player 8 implements more efficient memory management to improve ActionScript and Player performance. Faster ActionScript Performance ActionScript performance has been optimized in Flash Player 8. Rendering

  1   2   >