Re: [Flashcoders] Make your own multiuser flash apps

2007-02-16 Thread Yehia Shouman
Great work dude On 2/16/07, Paul Venton [EMAIL PROTECTED] wrote: Looks good - had a quick test with a dead cat but ran out of time ... plan on making a proper visit soon :-) ___ Flashcoders@chattyfig.figleaf.com To change your subscription options

Re: [Flashcoders] RadioButton and CheckBox

2007-02-16 Thread Alfredo Laguia
hiez Why don´t use a radio button? - Original Message - From: Laurent CUCHET [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Friday, September 29, 2006 9:10 AM Subject: [Flashcoders] RadioButton and CheckBox I need a way to uncheck checkbox

[Flashcoders] Flash IDE thinks standard #include .as file is a class file

2007-02-16 Thread Mike Mountain
I've been working on an as file for some time - it's used as an #include, it isn't a class (although it's part of a project which has classes), just a means for me to tidy away some pretty rudimentary timeline code from designers. Everything was working fine but now the IDE won't validate the code

Re: [Flashcoders] Flash IDE thinks standard #include .as file is a class file

2007-02-16 Thread Andrei Thomaz
is there a class with the same name of the .AS file? []'s andrei On 2/16/07, Mike Mountain [EMAIL PROTECTED] wrote: I've been working on an as file for some time - it's used as an #include, it isn't a class (although it's part of a project which has classes), just a means for me to tidy

RE: [Flashcoders] Flash IDE thinks standard #include .as file is aclass file

2007-02-16 Thread Mike Mountain
Nope, that was my initial thoughtand there never has been - doesn't matter what I save it as now, it still breaks. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Andrei Thomaz Sent: 16 February 2007 12:06 To: Flashcoders mailing list

Re: [Flashcoders] Flash IDE thinks standard #include .as file is aclass file

2007-02-16 Thread Muzak
I've seen this happen when the include .as file had the same name as the fla it's included in. Just a thought.. regards, Muzak - Original Message - From: Mike Mountain [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Friday, February 16, 2007 12:58

Re: [Flashcoders] Flash IDE thinks standard #include .as file is aclass file

2007-02-16 Thread [EMAIL PROTECTED]
Are you working on a LAN? I had the same issue here, the cause was that my computer clock were different from the network computer clock. When I moved the files to my HD it worked out. Muzak wrote: I've seen this happen when the include .as file had the same name as the fla it's included

Re: [Flashcoders] Flash Player 7 Installer?

2007-02-16 Thread Martin Jonasson
If you're using Firefox on windows this can be very useful aswell: http://www.sephiroth.it/weblog/archives/2006/10/flash_switcher_for_firefox.php Glen Pike skrev: http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_14266 Thuy wrote: Does anyone have an old Flash Player installer? Flash

Re: [Flashcoders] Flash IDE thinks standard #include .as file is aclass file

2007-02-16 Thread Jake Prime
I seem to recall that I had this issue a while back. Turned out that when the .as file started with a capital letter, it treated it as a class, but when it started with a lower case letter it was fine. I just did a simple test and this doesn't appear to always be the case, so there must have

[Flashcoders] Flash Preview Font Sharing

2007-02-16 Thread Nick Kuh
Has anyone had success at implementing runtime font sharing between swfs when publishing from Flash Preview using AS3? I know that Flex is capable of this but I need the library, my project needs to be designer friendly. I've spent all morning searching the net for some info on this but haven;t

Re: [Flashcoders] Flash 9 standalone - no fullscreen on Linux

2007-02-16 Thread August Gresens
Good News. Thanks for your help! - Cheers A On 2/16/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Ran a quick test this morning... fscommand('fullscreen', true) works as expected in the Linux version of the standalone player (9.0.31.0). Though I did notice that switching to another window

Re: [Flashcoders] Flash Player 7 Installer?

2007-02-16 Thread Andy Herrman
In general, if you're looking for old versions of something I find this site to be useful: http://oldversion.com/ Just for future reference. -Andy On 2/16/07, Martin Jonasson [EMAIL PROTECTED] wrote: If you're using Firefox on windows this can be very useful aswell:

[Flashcoders] Events for custom classes?

2007-02-16 Thread Merrill, Jason
OK, I'm pretty good at Actionscript 2.0, but something I never really understood and now need to. Core question: How do I make an event in a custom class, and how do I make a listener in another class listen for the event? EventBroadcaster in the help docs seems to only show how to use it

Re: [Flashcoders] Events for custom classes?

2007-02-16 Thread Helen Triolo
Use EventDispatcher: How: http://chattyfig.figleaf.com/pipermail/flashcoders/2006-February/160302.html Why: http://chattyfig.figleaf.com/pipermail/flashcoders/2004-June/114320.html found with Muzak's archive search tool: http://muzakdeezign.com/flashcoders/ Helen Merrill, Jason wrote:

Re: [Flashcoders] OnRollOver Scrolling Text Problem

2007-02-16 Thread JOR
Your example didn't include checking the X axis so I didn't include it. I've posted a revised working example along with source code here: http://www.jamesor.com/examples/Scroller/ I've modified my previous example to enable scrolling only when the mouse is within the mask area. -- james

Re: [Flashcoders] Events for custom classes?

2007-02-16 Thread John Grden
I'm not sure if you're asking for this level of explanation or not Jason, but this might help: I use a BaseClass.as to extend so that I can dispatch events via GDispatcher: import com.blitzagency.xray.logger.XrayLog; import com.gskinner.events.GDispatcher; /** * @author John Grden */ class

RE: [Flashcoders] Events for custom classes?

2007-02-16 Thread Merrill, Jason
Helen, Great, thank you. However, I'm a little confused on how I apply that to my code I posted. All the MM docs on Event Dispatcher show using it with Adove classes or components. And how about the scope with my Webservice event? That scope is outside of my custom class, so how do I fire

Re: [Flashcoders] Events for custom classes?

2007-02-16 Thread John Grden
Oh and the last part, dispatching the event: from BaseMain.as: dispatchEvent( { type:SOMETHING_COMPLETE } ); hth, On 2/16/07, John Grden [EMAIL PROTECTED] wrote: I'm not sure if you're asking for this level of explanation or not Jason, but this might help: I use a BaseClass.as to extend

RE: [Flashcoders] Events for custom classes?

2007-02-16 Thread Merrill, Jason
Cool John, I'll check into this. Thanks Jason Merrill Bank of America Learning Organizational Effectiveness -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of John Grden Sent: Friday, February 16, 2007 10:17 AM To: Flashcoders mailing list

RE: [Flashcoders] Events for custom classes?

2007-02-16 Thread Holth, Daniel C.
Here is your code modified to use the EventDispatcher: import mx.events.EventDispatcher; // import the event dispatcher class com.boa.projects.iqrcgenerator.components.AdminData{ public var addEventListener:Function; // Set the functions public var removeEventListener:Function;

Re: [Flashcoders] Events for custom classes?

2007-02-16 Thread Helen Triolo
If you use dispatchEvent from any class, any other class that's listening for it can respond. No scope issues that I can see. I have a simple example of two classes talking to each other using EventDispatcher at http://flash-creations.com/notes/sample_emailer.php if you want it -- click the

RE: [Flashcoders] Events for custom classes?

2007-02-16 Thread Merrill, Jason
Awesome Daniel, will try that out. Thank you!!! Jason Merrill Bank of America Learning Organizational Effectiveness -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Holth, Daniel C. Sent: Friday, February 16, 2007 10:36 AM To: Flashcoders

[Flashcoders] problem with fl9 beta

2007-02-16 Thread Gustavo Duenas
Hi, Ive been doing some experiments (some dumb ones) with the beta of flash 9 from adobe labs and I just run this code, something happens, maybe its me, but is some basic code. it shouldn't happened that way. and other issue with this is that the beta doesn't have the check code able, so I

RE: [Flashcoders] Events for custom classes?

2007-02-16 Thread Alain Rousseau
Also if you want to create your own onResult Event (it's not a real event) you can do this without EventDispatcher or listeners : class com.boa.projects.iqrcgenerator.components.AdminData{ public var onResult:Function; private var userData:Object; public function

Re: [Flashcoders] Flash Player 7 Installer?

2007-02-16 Thread Thomas Fowler
There's another utility in the same vein as Sephiroth's extension: http://www.pluginswitcher.de/download/index.html I find this one to be a little richer in features... - Original Message - From: Martin Jonasson [EMAIL PROTECTED] To: Flashcoders mailing list

[Flashcoders] Re: Flash Player 7 Installer?

2007-02-16 Thread Thuy
Glen, Martin Andy: Thanks for the links and tools. Testing won't be such a pain next time. Thuy Nguyen Web Designer Angus Journal 816.383.5228 ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:

RE: [Flashcoders] Events for custom classes?

2007-02-16 Thread Merrill, Jason
Very cool Alain, thank you. Jason Merrill Bank of America Learning Organizational Effectiveness -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Alain Rousseau Sent: Friday, February 16, 2007 11:00 AM To: 'Flashcoders mailing list'

RE: [Flashcoders] Flash 9 standalone - no fullscreen on Linux

2007-02-16 Thread Hairy Dog Digital
fscommand('fullscreen', true) works as expected in the Linux version of the standalone player (9.0.31.0). Though I did notice that switching to another window seemed to kick it out of full-screen... Out of curiousity, if you then switch back to the flash player, does it return to full-screen

[Flashcoders] AS3 and streaming timeline sounds

2007-02-16 Thread Andy Makely
We have an AS3 project, which requires a long sound to be strictly synced to the animation. We build the assets SWF using Flash 8, then embed the assets via AS3 and do the usual MXMLC compile to build. If there is a movieclip asset that has a sound on the timeline, and that sound is set to

Re: [Flashcoders] OnRollOver Scrolling Text Problem

2007-02-16 Thread Omar Fouad
thanks so much On 2/16/07, JOR [EMAIL PROTECTED] wrote: Your example didn't include checking the X axis so I didn't include it. I've posted a revised working example along with source code here: http://www.jamesor.com/examples/Scroller/ I've modified my previous example to enable scrolling

[Flashcoders] Full-time position in NYC for AS Developer

2007-02-16 Thread me myself
Hi. I'm the lead AS Developer at a company that is deeply hooked into the music and entertainment industries. We're doing some cutting-edge stuff with Flash and social networks, and we need another good AS person. We offer a competitive salary, equity, an intellectually-stimulating and creative

[Flashcoders] (no subject)

2007-02-16 Thread Gustavo Duenas
hi, I'm doing something pretty simple, I have a movie clipo which starts drag, I'd like to move this in the x axis, but I don't know how to program this to launch an event if the x axis is positive and other is the x axis is negative, or simpler how can I trigger an event is the movie clip

[Flashcoders] Re: for...in property access replacement in AS3?

2007-02-16 Thread Matt Garland
Thanks Mike, you are the man. I didn't use setPropertyIsEnumerable, because adding that for every property would be as much typing as writing a custom conversion function. But describeType, that's the trick. It converts class info into XML. Info is easily accessible with EX4 syntax, one

Re: [Flashcoders] Re: for...in property access replacement in AS3?

2007-02-16 Thread eka
Hello :) my article about the for..in enumeration in AS3 vs AS2 in french ... http://www.ekameleon.net/blog/index.php?2007/01/30/60-as2-vs-as3-enumerations-avec-un-forin but you can Bablefish or google translator to translate the article and the ActionScript is ActionScript :) You must use a

[Flashcoders] Re: Flash Player 7 Installer?

2007-02-16 Thread Thuy
I must've missed your reply earlier - thanks for the link, I can't wait to try all this stuff out! -- Thuy Nguyen Web Designer Angus Journal 816.383.5228 ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:

Re: [Flashcoders] Flash Player 7 Installer?

2007-02-16 Thread T. Michael Keesey
On 2/16/07, Thomas Fowler [EMAIL PROTECTED] wrote: There's another utility in the same vein as Sephiroth's extension: http://www.pluginswitcher.de/download/index.html I find this one to be a little richer in features... Wow, nice!!! -- Mike Keesey

[Flashcoders] help

2007-02-16 Thread Gustavo Duenas
Hi, I need desperately some help...how can I detect if some dragged object is moving right or left. Because I need to trigger some event when its moving right and other when it is moving left. so far I'm trying to use this, but it appears to be useless. this is the code inside the object

RE: [Flashcoders] (no subject)

2007-02-16 Thread Holth, Daniel C.
You need to keep track of the previous x value and compare that to the new x value. The simplest way to achieve this is an onEnterFrame function (although note this is the least efficient way). For example try putting a movie clip called ball_mc on your stage and add this code to the first

Re: [Flashcoders] help

2007-02-16 Thread LMSpam
it's usually a safer bet to use or rather than == On Feb 16, 2007, at 1:48 PM, Gustavo Duenas wrote: Hi, I need desperately some help...how can I detect if some dragged object is moving right or left. Because I need to trigger some event when its moving right and other when it is moving

RE: [Flashcoders] help

2007-02-16 Thread Patrick Matte | BLITZ
function onEnterFrame(){ var delta:Number = mc._x - oldX; if(delta0){ launching; } if(delta0){ launching2; } oldX = mc._x; } BLITZ | Patrick Matte - 310-551-0200 x214 -Original Message- From: [EMAIL

Re: [Flashcoders] help

2007-02-16 Thread Gustavo Duenas
Thanks issue resolved...Thanks Man. On Feb 16, 2007, at 1:55 PM, [EMAIL PROTECTED] wrote: it's usually a safer bet to use or rather than == On Feb 16, 2007, at 1:48 PM, Gustavo Duenas wrote: Hi, I need desperately some help...how can I detect if some dragged object is moving right or

RE: [Flashcoders] Events for custom classes?

2007-02-16 Thread Merrill, Jason
Daniel, try as I may, I can't get your code to work. I have one class, which has a combobox. I can get the event to fire when the combobox changes just fine, but I can't get it to hear the firing of the data capture from the webservice in the other class. So basically, in pseudocode, I need to

Re: [Flashcoders] Events for custom classes?

2007-02-16 Thread Matthew Ganz
do you have a reference to the class that is broadcasting the event in the class that's listening for the event? meaning, when you write your addEventListener in your Receiving class, you should have: referenceToBroadcastingClass.addEventListener(myEvent,myHandler); - Original Message

RE: [Flashcoders] Events for custom classes?

2007-02-16 Thread Alain Rousseau
Jason, So if I understand clearly what you want to do is : From Class A : (pseudo code following) class ClassA { private var instClassB:ClassB; make comboBox make datagrid function ClassA() { instClassB = new ClassB();

Re: [Flashcoders] help

2007-02-16 Thread JOR
Additionally, you may opt to use else if so that the second expression isn't evaluated if the first one evaluates true. ... } else if(delta0){ ... James O'Reilly — Consultant Adobe Certified Flash Expert http://www.jamesor.com Design • Code • Train Patrick Matte | BLITZ

RE: [Flashcoders] Events for custom classes?

2007-02-16 Thread Merrill, Jason
do you have a reference to the class that is broadcasting the event in the class that's listening for the event? Yes, that's this part of his code: myAdminData.addEventListener(eventOnResult, r); Where he has r = this in his code Jason Merrill Bank of America Learning Organizational

RE: [Flashcoders] Events for custom classes?

2007-02-16 Thread Merrill, Jason
Thanks Alain, will revist it that way instead. Jason Merrill Bank of America Learning Organizational Effectiveness -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Alain Rousseau Sent: Friday, February 16, 2007 3:01 PM To: 'Flashcoders

Re: [Flashcoders] help

2007-02-16 Thread Gustavo Duenas
thanks men, I don't know what would I do without all of you ...thanks. Regards. On Feb 16, 2007, at 1:51 PM, Holth, Daniel C. wrote: You need to keep track of the previous x value and compare that to the new x value. The simplest way to achieve this is an onEnterFrame function (although note

RE: [Flashcoders] Events for custom classes?

2007-02-16 Thread Holth, Daniel C.
I think Matthew has what you are looking for. Alain's solution should do what you want too. If you want to write two classes with lower cohesion so they aren't referencing each other, you could write a third control class which would have code similar to the following. This way objA and objB

RE: [Flashcoders] Events for custom classes?

2007-02-16 Thread Karina Steffens
Hi Jason, I have my own implementation of AsBroadcaster/EventDispatcher (bundling both in one class), which is very flexible and can be used with inheritance or composition (But unlike the standard implementations, it's not a mix-in class). If you'd like me to send you the class, just let me

RE: [Flashcoders] Events for custom classes?

2007-02-16 Thread Merrill, Jason
I think Matthew has what you are looking for. Alain's solution should do what you want too. Thanks Daniel - nice approach, I like it. It's always the design patterns stuff that kills me. I've read a lot about them, but it's hard to know how to apply to specific projects sometimes, so I do a

RE: [Flashcoders] Events for custom classes?

2007-02-16 Thread Merrill, Jason
Sure, yes - please send offlist . Thanks! Jason Merrill Bank of America Learning Organizational Effectiveness -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Karina Steffens Sent: Friday, February 16, 2007 3:30 PM To: 'Flashcoders mailing

RE: [Flashcoders] Events for custom classes?

2007-02-16 Thread Rost, Andrew
Can you please email your class to me as well [offlist]. I'm working on almost the same thing as Jason. Thanks much, Andrew Rost IDEXX Computer Systems -Original Message- From: Merrill, Jason [mailto:[EMAIL PROTECTED] Sent: Friday, February 16, 2007 2:41 PM To: Flashcoders mailing list

RE: [Flashcoders] Events for custom classes?

2007-02-16 Thread Merrill, Jason
Alain, Been following your suggested method, it's great, and everything works as advertized, except can't get wsResulthandler to fire once the Webservice data is received. Also, how do I send the data from the comboBox change event through to the getWsData function? I need to know the data

RE: [Flashcoders] Events for custom classes?

2007-02-16 Thread Merrill, Jason
Nevermind the second part of the question about passing the combobox data, I figured that out: (in class A) function cbChangeHandler(e){ var t_cb:ComboBox = e.target; var thisData:Number = t_cb.dataProvider[t_cb.selectedIndex].data;

RE: [Flashcoders] Events for custom classes?

2007-02-16 Thread Alain Rousseau
Jason, By the look of it, you will never receive an onResult for your getUserListResult ... it's a simple Object and no Method onResult exists for that class that I know of ... What are you using to make your webservice calls ? are you using Flash Remoting ? if so you should use the responder

RE: [Flashcoders] Events for custom classes?

2007-02-16 Thread Merrill, Jason
I am using the Webservice component. It has a built-in onResult event, and works fine for me. But can't get it to work with Delegate. This works for me: var getUserResult = new Object(); getUserResult =alreadyLodedWwebserive.DoMethod(arg) getUserResult.onResult =

RE: [Flashcoders] Events for custom classes?

2007-02-16 Thread Merrill, Jason
Ah - nevermind - figured out I had removed the scope to my webservice and forgot to put it back in. Delegate works fine for me now, sorry about the noise, and thanks so much everyone for the help!! Jason Merrill Bank of America Learning Organizational Effectiveness -Original

[Flashcoders] Erasing areas with the drawing API?

2007-02-16 Thread David Ham
Does anyone know how to erase part of an area that was created with the drawing API? I need to be able to draw a polygon, and then draw another polygon inside it and punch it out. For example, I need to draw a square and then punch a square hole in it. Anyone ever done this before? OK

Re: [Flashcoders] Erasing areas with the drawing API?

2007-02-16 Thread Claus Wahlers
David Ham wrote: Does anyone know how to erase part of an area that was created with the drawing API? I need to be able to draw a polygon, and then draw another polygon inside it and punch it out. For example, I need to draw a square and then punch a square hole in it. Anyone ever done this

Re: [Flashcoders] Events for custom classes?

2007-02-16 Thread Muzak
You should really look into something like ARP or Cairngorm. http://osflash.org/arp http://labs.adobe.com/wiki/index.php/Cairngorm regards, Muzak - Original Message - From: Merrill, Jason [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Friday,

Re: [Flashcoders] Erasing areas with the drawing API?

2007-02-16 Thread Helen Triolo
Yes -- draw the second (inner) shape before you do the endFill and it will be punched out. If you need the final shape to be a mask, draw the inner shape in the reverse direction from how you drew the outer shape (ie, counter-clockwise if the original shape was drawn clockwise).

Re: [Flashcoders] Erasing areas with the drawing API?

2007-02-16 Thread David Ham
Huh, that was easy. Turns out that if you don't call endFill(), you can just draw the polygon, moveTo() the hole, and lineTo() the outline of the hole, and it fills itself in. I found an example of this in this article: http://www.adobe.com/devnet/flash/articles/adv_draw_methods.html

Re: [Flashcoders] Erasing areas with the drawing API?

2007-02-16 Thread David Ham
Thanks very much Helen and Claus for your responses! OK DAH Huh, that was easy. Turns out that if you don't call endFill(), you can just draw the polygon, moveTo() the hole, and lineTo() the outline of the hole, and it fills itself in. I found an example of this in this article:

[Flashcoders] removeMovieclip actions on 1000 MCs

2007-02-16 Thread Mick G
I have 1000 movieclips on stage and want it so whichever one you click on gets removed. At the moment I have a for loop that is assigning: for(var i=0; i1000; i++){ this[mc+i].onPress = function(){ trace(this); this.removeMovieClip(); } } it all works fine, I'm just

Re: [Flashcoders] removeMovieclip actions on 1000 MCs

2007-02-16 Thread T. Michael Keesey
How about having them all use a subclass of MovieClip? class RemoveableClip extends MovieClip { public function onPress():Void { trace(this); this.removeMovieClip(); } } (Then link that class to the symbol.) On 2/16/07, Mick G [EMAIL PROTECTED] wrote: I have 1000

RE: [Flashcoders] Events for custom classes?

2007-02-16 Thread Karina Steffens
I sent the custom class off list to both of you. If anyone else is interested, I'll put it on my blog as soon as I get a moment to spare, and will let the list know when it's there. Karina -Original Message- From: Rost, Andrew [mailto:[EMAIL PROTECTED] Sent: 16 February 2007 20:55

[Flashcoders] extends MovieClip

2007-02-16 Thread David Cohn
Hey all, As per my earlier thread, I've been playing around with the Component Definition dialog box in order to create a class which extends MovieClip, where the class can be passed parameters (or, set in the Parameters tab as the case may be). This seems to implement what I want, but

Re: [Flashcoders] removeMovieclip actions on 1000 MCs

2007-02-16 Thread Fumio Nonaka
If your movie's structure allows, create an empty MovieClip and put all instances to be removed into it. Removing the parent MovieClip clears all included children. _ Mick G wrote: At the moment I have a for loop that is assigning: for(var i=0; i1000; i++){ this[mc+i].onPress =

[Flashcoders] Keyboard Shortcuts ?????? Help

2007-02-16 Thread Mark Wallis
I am having major trouble with implementing keyboard shortcuts for my movie. Everything is fine in firefox if the movie has focus it takes precedence over the browser shortcuts. IE7 is a different story. It takes complete keyboard control. I found only 2/3 keys i could use which were not used by