Re: [Flashcoders] use get / set functions or make your own

2008-12-10 Thread Eric E. Dolecki
I usually take the private with getters and setters approach - I can check the bounds of the setting of the var. I am thinking more of designers here taking the code and using it than I am other developers. Although I have many times set up public vars that I tweak from outside the class(es) too.

Re: [Flashcoders] use get / set functions or make your own

2008-12-09 Thread Eric E. Dolecki
Since I like FlashDevelop, with a keyboard shortcut and a click I create setters and getters. On Tue, Dec 9, 2008 at 9:02 AM, Hans Wichman [EMAIL PROTECTED] wrote: Hi, I'm still in the middle. I used to use getMyVariable setMyVariable for everything, now I usually use public variables for

Re: [Flashcoders] use get / set functions or make your own

2008-12-09 Thread Eric E. Dolecki
select the variable, ctrl-shift-1 ;) On Tue, Dec 9, 2008 at 9:26 AM, Cor [EMAIL PROTECTED] wrote: Yes I prefer FD also, but what is the shortcut for getters and setters?? -Original Message- From: [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED] On Behalf Of Eric E. Dolecki Sent: dinsdag

Re: [Flashcoders] JavaFX released

2008-12-06 Thread Eric E. Dolecki
On my Mac in Firefox when I scroll the page, that player UI flickers on and off. Pretty lame. On Sat, Dec 6, 2008 at 1:15 PM, Jim Robson [EMAIL PROTECTED] wrote: I checked out the drag-able component sample on javafx.com and it didn't work. If you're interested in the details, I put them in a

[Flashcoders] Different class instances with socket using same port number?

2008-12-04 Thread Eric E. Dolecki
Wondering if it's possible to have different classes open sockets to the same port number? Going to throw stuff in an if/else and depending on a variable, send to the socket with different values. They all currently open to the same port number. ie. inside each of the class constructors being

Re: [Flashcoders] Different class instances with socket using same portnumber?

2008-12-04 Thread Eric E. Dolecki
PROTECTED] [mailto: [EMAIL PROTECTED] On Behalf Of Eric E. Dolecki Sent: 04 December 2008 15:24 To: Flash Coders List Subject: [Flashcoders] Different class instances with socket using same portnumber? Wondering if it's possible to have different classes open sockets to the same port number

Re: [Flashcoders] Different class instances with socket using same portnumber?

2008-12-04 Thread Eric E. Dolecki
socket connection. You can pass that as a reference to two or more classes. -Original Message- From: [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED] On Behalf Of Eric E. Dolecki Sent: 04 December 2008 15:24 To: Flash Coders List Subject: [Flashcoders] Different class instances

Re: [Flashcoders] structuring singletons in AS3

2008-12-01 Thread Eric E. Dolecki
You could always use a document class and have that suck in a main class kick it off using the document class. On Mon, Dec 1, 2008 at 9:46 AM, Mendelsohn, Michael [EMAIL PROTECTED] wrote: Hi list... Slowly but surely, I'm moving from AS2 to AS3. In my AS2 projects, I usually create a

Re: [Flashcoders] can Flex classes be used within (Flash CS3) along with ActionScript?

2008-11-26 Thread Eric E. Dolecki
Using a SWC, yes. But it's nasty work IMO. Use Flex Builder if you have it. On Wed, Nov 26, 2008 at 3:47 PM, BOYD SPEER [EMAIL PROTECTED] wrote: can Flex classes be imported and used within (Flash CS3) along with ActionScript? -Boyd ___

Re: [Flashcoders] can Flex classes be used within (Flash CS3) along with ActionScript?

2008-11-26 Thread Eric E. Dolecki
IDE if you can avoid; however, it is pretty good for animations; yet, if you want to do animations, go to cs4... bones and IK and bears oh my. Eric E. Dolecki wrote: Using a SWC, yes. But it's nasty work IMO. Use Flex Builder if you have it. On Wed, Nov 26, 2008 at 3:47 PM, BOYD SPEER

Re: [Flashcoders] snap to guide AS code?

2008-11-24 Thread Eric E. Dolecki
You'll need to think of what to do at a corner intersection... a corner case, but you may need to weight one rule over another. On Mon, Nov 24, 2008 at 3:17 PM, Rich Rodecker [EMAIL PROTECTED] wrote: kris - no meant snapping ti a line created in the swf. Same idea as the IDE, but in a swf.

Re: [Flashcoders] How much would you charge?

2008-11-14 Thread Eric E. Dolecki
Not sure thats really ripping them off considering they probably don't know how to use the thing even if they bought it themselves. On Fri, Nov 14, 2008 at 8:59 AM, Jon Bradley [EMAIL PROTECTED]wrote: On Nov 14, 2008, at 2:28 AM, Carl Welch wrote: Good point. I'd recommend using

Re: [Flashcoders] How much would you charge?

2008-11-14 Thread Eric E. Dolecki
the link to SlideShowPro they wouldnt know what to do with it. And Dr. Ache suggested 290 Euro, which is like, what, on the current exchange rate, $50,000.00 ?? :P .m On Fri, Nov 14, 2008 at 9:30 AM, Eric E. Dolecki [EMAIL PROTECTED] wrote: Not sure thats really ripping them off considering

Re: [Flashcoders] Drawing BitmapData - thinner lines?

2008-11-13 Thread Eric E. Dolecki
that lessrain example is crazy good. Not sure about the thickness thing - are you drawing the rule with a thickness of 0 and not 1? On Thu, Nov 13, 2008 at 9:07 AM, Sander Schuurman [EMAIL PROTECTED] wrote: Hi cool list, I am trying out some dynamic drawing to bitmapData. It works well, only

[Flashcoders] Easing a selection

2008-11-06 Thread Eric E. Dolecki
I was thinking about this the other day... easing of a selection of items in a list. Now, one could move a selector with a mouse, and then kind of throw it and then check the onUpdate of it's single ease (use speed as the determination for how far it should travel) to check if it's within the

Re: [Flashcoders] AS2 - Code not working in FP10

2008-11-06 Thread Eric E. Dolecki
I opened that up at work and was presented was some chicks ass pulling jeans up on it. Someone walking by thought it was humorous. On Thu, Nov 6, 2008 at 10:26 AM, FlashDev [EMAIL PROTECTED] wrote: yeah view it hear... www.maryjanefashion.com/index.php SJM - Original Message -

Re: [Flashcoders] Easing a selection

2008-11-06 Thread Eric E. Dolecki
tween calls; like: TweenLite. With kind, Sebastian. Eric E. Dolecki wrote: I was thinking about this the other day... easing of a selection of items in a list. Now, one could move a selector with a mouse, and then kind of throw it and then check the onUpdate of it's single ease (use

Re: [Flashcoders] Easing a selection

2008-11-06 Thread Eric E. Dolecki
/tweenliteas3/ Just set the easing equation to what ever curve you require, there is even a little flash app. that lets you pick parameters to copy-paste. Peace, Seb. Eric E. Dolecki wrote: I am after tweening events more than the actual position of a selector. ie. class.increment(); short pause

Re: [Flashcoders] FW: [Flash_Tiger] Outsourcing and Actionscript specs

2008-11-05 Thread Eric E. Dolecki
Did you have check ins with them, or did they just deliver the final thing? Check ins might allow you to see how they are architecting things and you'd be able to ask questions, or suggest different ways to code something, etc. I've seen some projects where custom events are passed from one class

[Flashcoders] Getting a compiler error

2008-10-30 Thread Eric E. Dolecki
if( Number(loc[0]) == NaN || Number(loc[1] == NaN )return; Warning: 1098: Illogical comparison with NaN. This statement always evaluates to false. Okay, so I have also tried if( loc[0] == NaN || loc[1] == NaN ) return; I get the same error. loc[0] 99.9% of the time is a string value

Re: [Flashcoders] Getting a compiler error

2008-10-30 Thread Eric E. Dolecki
Thanks Juan ;) On Thu, Oct 30, 2008 at 10:42 AM, Juan Pablo Califano [EMAIL PROTECTED] wrote: Use isNaN instead. For some reason I don't really get, this evaluates to false in AS 3.0. trace( (NaN == NaN) ); Cheers Juan Pablo Califano 2008/10/30, Eric E. Dolecki [EMAIL PROTECTED

Re: [Flashcoders] Printing filters from the Flash Player

2008-10-25 Thread Eric E. Dolecki
Nearly identical - you'd have to change _width to width, use the .graphics of a MC, etc. On Sat, Oct 25, 2008 at 6:22 AM, Cor [EMAIL PROTECTED] wrote: And how does this look in AS3?? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Glen Pike Sent:

Re: [Flashcoders] Disabling Print Screen key

2008-10-23 Thread Eric E. Dolecki
Since thats at an operating system level, I don't think you could do anything. If it's a kiosk, have a keyboard without that button, for every one else, you're stuck. What would you try to do with the keypress for that key anyway? By the time you received it (if Flash had focus), it would already

Re: [Flashcoders] Recommendation for budget development mac

2008-10-22 Thread eric e. dolecki
I am hearing the Mac Mini might be discontinued (as of right now). Not sure if that change your mind about one. On Wed, Oct 22, 2008 at 10:52 AM, Weyert de Boer [EMAIL PROTECTED] wrote: Yes, you can also consider to buy a Mac and use VMWare Fusion to test under Windows etc.

Re: [Flashcoders] Recommendation for budget development mac

2008-10-17 Thread eric e. dolecki
I think that you made a good decision there, for what it's worth. Eric On Fri, Oct 17, 2008 at 10:45 AM, Paul Steven [EMAIL PROTECTED]wrote: Thanks for all the advice - I have made a quick decision and ordered a Mac Mini 2 GHZ (Intel one) with an extra gig of RAM. Sounds like this will be

[Flashcoders] Socket Speed?

2008-10-17 Thread eric e. dolecki
I am curious if anyone knows how fast Flash can generally accept socket data without dropping messages. Thanks, Eric ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Re: [Flashcoders] Socket Speed?

2008-10-17 Thread eric e. dolecki
to discover with my test and prove that the error was on the server side :) If you don't have the facilities to run command line PHP, you can easily enough roll your own with examples on line. HTH GLen eric e. dolecki wrote: I am curious if anyone knows how fast Flash can generally accept

Re: [Flashcoders] flushing memory

2008-10-03 Thread eric e. dolecki
Handle it without using a timeline at all and use code straight instead? On Fri, Oct 3, 2008 at 2:11 PM, Allandt Bik-Elliott (Receptacle) [EMAIL PROTECTED] wrote: hi folks is there any way i can completely flush the memory for the flash plugin? i have a spelling game that uses classes on

Re: [BULK] Re: [Flashcoders] Layering, drawing a blank

2008-09-29 Thread eric e. dolecki
Umm... just a little bit. Check out DisplayObject On Mon, Sep 29, 2008 at 3:06 PM, Lord, Susan, CTR, DSS [EMAIL PROTECTED] wrote: AS3. I tried swapDepth() and getDepth, and a fewothers but none worked. Has it changed since AS2? -Original Message- From: [EMAIL PROTECTED]

Re: [Flashcoders] favourite programming environment

2008-09-27 Thread eric e. dolecki
Cosmos? Really? On Sat, Sep 27, 2008 at 11:52 AM, Glen Pike [EMAIL PROTECTED]wrote: My Favourite coding environment: On a tropical beach under a parasol / coconut-less palm, preferably in a deckchair or similar comfortable reclining chair with a flatscreen display on a swan neck. Located

Re: [Flashcoders] favourite programming environment

2008-09-26 Thread eric e. dolecki
I like TextMate on the Mac. On Fri, Sep 26, 2008 at 10:38 AM, Allandt Bik-Elliott (Receptacle) [EMAIL PROTECTED] wrote: I'm sure it's been asked before but as these things change over time, i thought it worth rehashing now what's your favourite coding environment? I really like

Re: [Flashcoders] [AS3] TextField Bug: Text outside of the TF

2008-09-26 Thread eric e. dolecki
turn the border on for the TF and see where it really is. On Fri, Sep 26, 2008 at 1:06 PM, sebastian [EMAIL PROTECTED] wrote: Check alignment and check how you are creating the text fields. This sounds like an issue with how you are placing and coding the text fields. Benicio del Toro wrote:

Re: [Flashcoders] OT: Flex builder vs Flex SDK

2008-09-25 Thread eric e. dolecki
You can design visually with FlexBuilder, it's a great AS3 editor, you can maintain projects in it, etc. On Thu, Sep 25, 2008 at 2:54 PM, Pedro Kostelec [EMAIL PROTECTED] wrote: Hi I was wandering if starting to use Flex; but i can't see the difference between the FLex BUilder 3 and the FLex

Re: [Flashcoders] AS3 additions/changes in CS4?

2008-09-23 Thread eric e. dolecki
I believe AS3 is going to be augmented with new classes, not radically changed -- certainly nothing like AS2-AS3. On Tue, Sep 23, 2008 at 4:52 PM, Mendelsohn, Michael [EMAIL PROTECTED] wrote: Yes, because what I'm concerned about is having to jump from AS2 to AS3 to some sort of AS3.1. My

[Flashcoders] multiple classes in one swc?

2008-09-18 Thread eric e. dolecki
Is it possible to have many classes burned into a single SWC and then call classes out of it? - linked to SWC import someClass; import someOtherClass; var foo:SomeClass = new SomeClass(); var bar:SomeOtherClass = new SomeOtherClass(); ___ Flashcoders

Re: [Flashcoders] multiple classes in one swc?

2008-09-18 Thread eric e. dolecki
] wrote: Yes, as2 or as3 ? greetz JC On Thu, Sep 18, 2008 at 9:58 PM, eric e. dolecki [EMAIL PROTECTED] wrote: Is it possible to have many classes burned into a single SWC and then call classes out of it? - linked to SWC import someClass; import someOtherClass; var

Re: [Flashcoders] What kind of Movies will play directly in a Flash Page

2008-09-11 Thread eric e. dolecki
Simply add the following line to the htaccess file: AddType video/x-flv .flv On Thu, Sep 11, 2008 at 4:03 PM, Steve Abaffy [EMAIL PROTECTED] wrote: What should the mime type be?? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bob Wohl Sent:

Re: [Flashcoders] Help Please

2008-09-10 Thread eric e. dolecki
A created mc (with code) has a height and width of 0 until it's populated with something. If this is something that you created and placed on the stage, you should be able to use the property inspector to change those. Eric On Wed, Sep 10, 2008 at 11:41 AM, Eng. Omar Eltonoby [EMAIL

Re: [Flashcoders] TextArea class properties

2008-09-09 Thread eric e. dolecki
Sounds like its a focus UI thing. You may need to turn that bit off. Eric On Tue, Sep 9, 2008 at 12:09 PM, Lehr, Theodore M (N-SGIS) [EMAIL PROTECTED] wrote: Yeah - didn't seem to affect anything -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of

Re: [Flashcoders] TextArea class properties

2008-09-09 Thread eric e. dolecki
Sounds like you need to disable the focusRect thing in addition to .selectable = false; On Tue, Sep 9, 2008 at 12:41 PM, Lehr, Theodore M (N-SGIS) [EMAIL PROTECTED] wrote: Beauty - this works - but it is graying out my text - how can I maintain the same text color when it is disabled... is

[Flashcoders] Debugger Text Field

2008-09-08 Thread eric e. dolecki
Hey all, I have a class that serves as a debugger - containing a textfield that text gets dumped into. Rather quickly. What might be the best way to simply limit the number of lines in the field itself, as the appends after a while bog the application down (understandable). I have many ideas, but

Re: [Flashcoders] Singleton lookups vs Events ...

2008-09-03 Thread eric e. dolecki
*I like events - but I am no computer scientist. Events allow flexibility. * On Wed, Sep 3, 2008 at 9:16 AM, S0 F1 [EMAIL PROTECTED] wrote: Any thoughts on whether it's more efficient (in terms of development and player performance) to use Singleton's (with static public 'getInstance' or

Re: [BULK] Re: [Flashcoders] Unloading an SWF in Flash and controlling the loadedSWF

2008-09-02 Thread eric e. dolecki
I think you want to listen for the event of the loader being loaded then use .content for it. loader.addEventListener( Event.COMPLETE, iAmLoaded_Drunk ); function iAmLoaded_Drunk( e:Event ):void { var lo:Loader = e.target as Loader; lo.content.alpha = 20; // what you actually

Re: [BULK] Re: [Flashcoders] Unloading an SWF in Flash and controlling the loadedSWF

2008-09-02 Thread eric e. dolecki
hehe oops - .alpha = 0.2; On Tue, Sep 2, 2008 at 1:11 PM, eric e. dolecki [EMAIL PROTECTED] wrote: I think you want to listen for the event of the loader being loaded then use .content for it. loader.addEventListener( Event.COMPLETE, iAmLoaded_Drunk ); function iAmLoaded_Drunk( e:Event

Re: [Flashcoders] MouseEvents on overlapping siblings in AS3

2008-08-29 Thread eric e. dolecki
Think you need to drink some bubbly - bubbling events On Fri, Aug 29, 2008 at 8:40 AM, Matthias Dittgen [EMAIL PROTECTED]wrote: but imagine one of the mc overlapping the whole other mc. MovieClips: A and B. A is overlapping B if the mouse is over A but not over B: i want receive a ROLL_OVER

Re: [Flashcoders] [Flashcoders tweening glowfilter from inner to outer

2008-08-28 Thread eric e. dolecki
at 9:06 PM, Hans Wichman [EMAIL PROTECTED] wrote: Hi, I don't think tweening from inner to outer is possible, unless you use multiple glow filters. greetz JC On Wed, Aug 27, 2008 at 9:43 PM, eric e. dolecki [EMAIL PROTECTED] wrote: Can tweenfilterlite tween from inner

[Flashcoders] [Flashcoders tweening glowfilter from inner to outer

2008-08-27 Thread eric e. dolecki
Can tweenfilterlite tween from inner to outer glows elegantly? The server isn't responding for me to check myself without setting up test code. Might do anyway. Eric ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com

Re: [Flashcoders] Sound/Music

2008-08-25 Thread eric e. dolecki
I second soundrangers. Cheap audio, really sweet quality. On Mon, Aug 25, 2008 at 7:30 AM, Paul Steven [EMAIL PROTECTED]wrote: http://www.soundrangers.com is pretty good inho... Kevin Bowers [EMAIL PROTECTED] Mobile: +44 (0)7899 081409 -Original Message- From: [EMAIL

Re: [Flashcoders] Flash - Hardware Interfacing/Communication

2008-08-21 Thread eric e. dolecki
Yup, sockets are your friend. You don't need a wrapper. You can get some software that can open a bunch of ports too serving as your bridge. (Comfoolery does this but only on a application instance per COM port) - get one that allows virtual ports if you need it. On Thu, Aug 21, 2008 at 4:32 AM,

Re: [Flashcoders] Object vs *

2008-08-11 Thread eric e. dolecki
To the hijacker, You sort of can, but not online. run full screen, run a socket server and connect to it, have the socket server answer a command and position the system cursor (with Java let's say here). I've done this before myself, but it has to be a standalone executable with the running

Re: [Flashcoders] Object vs *

2008-08-11 Thread eric e. dolecki
:[EMAIL PROTECTED] On Behalf Of eric e. dolecki Sent: Monday, August 11, 2008 9:32 AM To: Flash Coders List Subject: Re: [Flashcoders] Object vs * To the hijacker, You sort of can, but not online. run full screen, run a socket server and connect to it, have the socket server answer

Re: [Flashcoders] websites with public APIs available from flash

2008-08-08 Thread Eric E. Dolecki
What about webservices Sent from my iPod On Aug 8, 2008, at 6:44 PM, Patrick Matte | BLITZ [EMAIL PROTECTED] wrote: I'm rounding up a list of websites with public API that flash can interact with. I have : Yahoo maps Flickr Youtube Weather.com Do you know any other? Patrick

Re: [Flashcoders] How to achieve blob magnification effect?

2008-08-06 Thread eric e. dolecki
I believe you can just use a spherical displacement map. Here is a fun displacement map you can check out: http://labs.zeh.com.br/blog/?p=128 Regards, Eric On Wed, Aug 6, 2008 at 12:39 PM, Ali Drongo [EMAIL PROTECTED]wrote: Hi there, I want to achieve the effect of seamless magnification a bit

Re: [Flashcoders] When to use AS3?

2008-07-30 Thread eric e. dolecki
Taking time to jump to AS3 with the penetration numbers the way they are is only going to put one behind the 8-ball in regards to new features to take advantage of, performance increases, ease of maintenance and of development. Building class libraries, etc. is such a joy now and with OOP you can

[Flashcoders] E4X question in regards to ill-formed node

2008-07-29 Thread eric e. dolecki
I am getting XML from a WSDL and one of the nodes is like so: P-E26.95/P-E now, how can I address this node? trace( foo..P-E ); won't work, how can I use E4X to reliably get that node's value if the index of it (child index) could move around within the parent nodes? Eric

Re: [Flashcoders] E4X question in regards to ill-formed node

2008-07-29 Thread eric e. dolecki
Many thanks, that works quite nicely. Eric On Tue, Jul 29, 2008 at 11:11 AM, Ian Thomas [EMAIL PROTECTED] wrote: trace(foo.descendants(P-E)); (Worth looking at foo.child() and foo.elements() too...) HTH, Ian On Tue, Jul 29, 2008 at 3:50 PM, eric e. dolecki [EMAIL PROTECTED] wrote: I

Re: [Flashcoders] stop microphone echos...what what ?? FIXED

2008-07-25 Thread eric e. dolecki
Did Microphone.setUseEchoSupression(true); do anything? On Fri, Jul 25, 2008 at 9:13 AM, laurent [EMAIL PROTECTED] wrote: Hey boys.and sweet girls... Go the echo problem fix, no sound out IN the speakers. There's actually a pretty abvious method, at least the description: Routes audio

Re: [Flashcoders] Resizing Images

2008-07-22 Thread eric e. dolecki
Do you even need to cast as Bitmap? can't you just do container.forceSmoothing = true; ? Oops - that might be AS2. On Tue, Jul 22, 2008 at 12:59 PM, Matt S. [EMAIL PROTECTED] wrote: smoothing. Cast the image as a Bitmap and apply smoothing, and you'll be able to resize without image

Re: [Flashcoders] Is a precise timer for making rhythms possible?

2008-07-12 Thread Eric E. Dolecki
I think he means a prior composition Sent from my iPod On Jul 12, 2008, at 3:55 PM, Kerry Thompson [EMAIL PROTECTED] wrote: Ron Wheeler wrote: If you have a playback button that plays the composed work, you can concatenate the sounds/notes selected and play the composed segment.

Re: [Flashcoders] Document viewer

2008-06-26 Thread eric e. dolecki
You might want to check this out: http://www.adobe.com/products/flashpaper/ On Thu, Jun 26, 2008 at 8:22 AM, Stuart Campbell [EMAIL PROTECTED] wrote: Hi, I have a project where I need the client to be able to view documents in the browser (PDF, Word, RTF and Excel). However, the

Re: [Flashcoders] switch statement more efficient than if...else?

2008-06-25 Thread eric e. dolecki
Switch/case is a bit quicker. On Wed, Jun 25, 2008 at 10:12 AM, Allandt Bik-Elliott (Receptacle) [EMAIL PROTECTED] wrote: Hi guys quick question that came up in a conversation I had the other day - are switch statements more or less efficient than a series of if...else statements in either

Re: [Flashcoders] switch statement more efficient than if...else?

2008-06-25 Thread eric e. dolecki
better way than nested switches that are 3-4 pages long = if/else statements ;) On Wed, Jun 25, 2008 at 11:25 PM, Kerry Thompson [EMAIL PROTECTED] wrote: Steven Sacks wrote: I disagree that switch statements are more readable than if else statements, at least if you put your braces on

[Flashcoders] Bitmap data for presentation

2008-06-24 Thread eric e. dolecki
I don't know if it would always be prudent, but I've found if I have components or UI composed of lists of Sprites, etc. instead of using a mask, I use BitmapData to present the visuals instead... so basically you need almost nothing on the display tree whatsoever. I know its a RAM hit (a little),

[Flashcoders] Determine scale on stage position

2008-06-19 Thread eric e. dolecki
I have something being dragged on stage, and I'd like to set up rules for scaling. smallest = 0.7 middle = 1 largest = 1.3 Now, if I make a area of influence area on the stage, whats the best way to set up the math to produce the results I'd need to set the scaleX and scaleY?

[Flashcoders] Maintain position on rotation

2008-06-18 Thread eric e. dolecki
AS3. I have a MC I am rotating, and inside the MC I have a Sprite (affixed to the bottom of the MC). While rotating, I want to place another MC's x,y (each frame) on that rotating MC. However the x,y never updates. I tried localToGlobal, but that doesn't seem to change either during the rotation.

Re: [Flashcoders] Maintain position on rotation

2008-06-18 Thread eric e. dolecki
at 2:16 PM, Jon Bradley [EMAIL PROTECTED] wrote: On Jun 18, 2008, at 1:27 PM, eric e. dolecki wrote: While rotating, I want to place another MC's x,y (each frame) on that rotating MC. However the x,y never updates. I tried localToGlobal, but that doesn't seem to change either during

Re: [Flashcoders] Paste rich text possible in Flash?

2008-06-17 Thread eric e. dolecki
Don't believe so but AIR can do it. On Tue, Jun 17, 2008 at 9:54 PM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Just say you have text in Microsoft Word which is formatted bold and a certain colour. Is it possible to copy that text into a Flash (MX2004 or 8) input field and retain (or at

Re: [Flashcoders] looking at the maths for an osx style dock

2008-06-12 Thread eric e. dolecki
sorry for the OT response, but man this code makes me so glad I don't do AS2 anymore ;) - e. On Thu, Jun 12, 2008 at 12:48 PM, allandt bik-elliott [EMAIL PROTECTED] wrote: hi guys - i queried this a few days ago when all the messages were disappearing into the hole - i've amended my code so

Re: [Flashcoders] Real Time Lip Sync

2008-06-12 Thread eric e. dolecki
could you use a FLV for audio and place some cuepoints in it and use that to maintain sync? On Thu, Jun 12, 2008 at 4:11 PM, Derek Nugent [EMAIL PROTECTED] wrote: How real does it have to be? I have animation experience than Flash As an animation TD, to automate lip sync I move the jaw

[Flashcoders] Best way to architect a kind of keyCode rotation

2008-06-11 Thread eric e. dolecki
I am going to be getting key events that sum up a degree of rotation. ie. 3, 0, 1, ^ = 301 degrees (well, I get keCodes that I need to translate back into their corresponding numbers) So I was thinking I have an array that I push the values (keyCode) into... when I get a delimiter, I then

Re: [Flashcoders] full screen

2008-05-29 Thread eric e. dolecki
http://www.adobe.com/devnet/flashplayer/articles/full_screen_mode.html On Thu, May 29, 2008 at 1:57 PM, sense co moh [EMAIL PROTECTED] wrote: Hi Everbody can anyone tell me how to make button from flash to make the movie fullscreen and in same time hide thr bars like title bar and the address

[Flashcoders] Rule/Box and x,y detection on rotation

2008-05-22 Thread eric e. dolecki
AS3. I have a rule that is anchored to the center of the stage. It extends out and rotates around following the mouse (it extends out past the edges of the stage to ensure collision). I have a box (no fill) that overlays the stage, and where the rule in the middle touches the box rules, I'd like

[Flashcoders] Anyone have Alducente's AS3 gofr 1.5?

2008-05-20 Thread eric e. dolecki
Anyone have Alducente's gofr 1.5 AS3 Web Service stuff? I went to download it and the main site is down. Was hoping someone here has it. - Eric ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com

[Flashcoders] AS3: Stretch only edges of a displayObject?I

2008-05-20 Thread eric e. dolecki
I am looking to take a DO (movieclip), and stretch just the side edges, leaving the middle unstretched... so take an image, cut in 4 vertical pieces, and stretch the outside pieces out horizontally by like 15%. I could use DisplayObjects above the main one and just stretch those horizontally, but

Re: [Flashcoders] AS3: Stretch only edges of a displayObject?I

2008-05-20 Thread eric e. dolecki
, create the four slices and add them inside the same do, allowing you to manipulate only slices 1 and 4, but still treat the entire d.o. as a single entity. On 5/20/08 9:44 AM, eric e. dolecki wrote: I am looking to take a DO (movieclip), and stretch just the side edges, leaving the middle

Re: [Flashcoders] AS3: Stretch only edges of a displayObject?I

2008-05-20 Thread eric e. dolecki
be stretched 15% (it will be more than 15% because you would have to take into account the width of the entire clip) and set their scalex to that value. Position their x so they're lined up correctly. Voila! eric e. dolecki wrote: I am looking to take a DO (movieclip), and stretch just

Re: [Flashcoders] AS3: Stretch only edges of a displayObject?I

2008-05-20 Thread eric e. dolecki
a displacement map approach. I think Grant did one of Mike Chambers. I'll try to pull this into focus when I have a clearer head and maybe I can think of a concrete link or two. R On 5/20/08 1:35 PM, eric e. dolecki [EMAIL PROTECTED] wrote: While I don't seem to be able to do this easily, I am

Re: [Flashcoders] Dispatch Event works only with SetTimeout

2008-05-19 Thread eric e. dolecki
sounds like you *might* need an ADDED_TO_STAGE event here... but can't say without knowing more. On Mon, May 19, 2008 at 2:23 PM, Merrill, Jason [EMAIL PROTECTED] wrote: What does the listener look like? Also what code do you use to trigger the event dispatch when not using the timer?

[Flashcoders] Question about Google Maps Flash APIs

2008-05-15 Thread eric e. dolecki
They offer up a SWC, any way of using that in the Flash IDE without using FlexBuilder? ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Re: [Flashcoders] Question about Google Maps Flash APIs

2008-05-15 Thread eric e. dolecki
by calling: var myNewObject:Class = new ClassFileForHoldingGooglesAPIClass(); Or call functions on the ClassFileForHoldingGooglesAPIClass. Hope this is what you mean. Cheers, Sidney On May 15, 2008, at 3:41 PM, eric e. dolecki wrote: They offer up a SWC, any way of using

Re: [Flashcoders] How to create Radio Buttons with Grouping

2008-04-30 Thread eric e. dolecki
Check HelpF1 On Wed, Apr 30, 2008 at 4:19 PM, ACE Flash [EMAIL PROTECTED] wrote: I dragged 2 radio buttons on the Stage ( from Components panel ). I would like to group them so when I click one of them, I could get radio 1 or 2 selected. Does anyone know how to do this? Thanks

Re: [Flashcoders] Tweening alpha value of a TextField

2008-04-27 Thread eric e. dolecki
embed your font. in as3 a textfield is a displayObject and has an alpha property. If HydroTween is AS2 only, then you might need to wrap it in a movieclip (I haven't heard of HydroTween before) On Sun, Apr 27, 2008 at 8:42 AM, Patrick Jakub Jankun [EMAIL PROTECTED] wrote: Hi Everyone, Im

Re: [Flashcoders] Is Adobe fixing this big FP9 problem?

2008-04-16 Thread eric e. dolecki
Every SWF to be loaded would need an instance of that custom class and register its events, etc. with it so a method could be called on it to blow it up. I think. Seems like it would be a pretty monstrous booger to do and implement. On Wed, Apr 16, 2008 at 11:01 AM, Matt S. [EMAIL PROTECTED]

Re: [Flashcoders] dynamic text and _alpha

2008-04-15 Thread eric e. dolecki
is the font embedded? On Tue, Apr 15, 2008 at 9:47 AM, Lehr, Theodore M (N-SGIS) [EMAIL PROTECTED] wrote: I am changing the _alpha value of a mc when a button is clicked A dynamic textbox in the mc is not being affected by it... Everything else in the mc is... how can I change the

Re: [Flashcoders] Is Adobe fixing this big FP9 problem?

2008-04-14 Thread eric e. dolecki
Indeed, its pretty bad and pretty unworkable in some circumstances as Grant has pointed out. Ick. On Mon, Apr 14, 2008 at 2:25 PM, Brian Mays [EMAIL PROTECTED] wrote: I don't completely understand everything it's describing but I sent it on to our programming team who responded with the words

[Flashcoders] A question about localConnection

2008-04-11 Thread eric e. dolecki
I would like to place a SWF in a web page on a server, and have localConnection work with a SWF on the desktop (localhost). The following 2 classes work fine when run locally, and fine when run both online. Is there a trick I can use, or do I need to use XMLSocket somehow for this? *SENDER (to

Re: [Flashcoders] A question about localConnection

2008-04-11 Thread eric e. dolecki
Rich, That was it. I totally missed that in the online docs. Hanging my head in shame here, thanks for pointing that out though! On Fri, Apr 11, 2008 at 3:06 PM, Rich Shupe [EMAIL PROTECTED] wrote: Eric, could the problem be that you're not preceding the connection names with underscores?

Re: [Flashcoders] Two for loops and one if statement into one for loop.

2008-04-07 Thread eric e. dolecki
I don't think anything would be faster than having no code to execute ;) You forgot to paste it. On Mon, Apr 7, 2008 at 11:12 AM, Helmut Granda [EMAIL PROTECTED] wrote: Is there a way to edit the code below to be included into just one for loop and would it actually be faster? On a side note

[Flashcoders] Krugle?

2008-03-28 Thread eric e. dolecki
Anyone ever use Krugle.org to search for AS source code? I just ran into the site, and I am not sure what to think yet. For other languages it might be better, but I'm currently unsure without spending time in the system. The search results and tabbed interface, etc. is pretty sweet though. - eric

Re: [Flashcoders] AS2, AM/PM or 24 time format?

2008-03-26 Thread eric e. dolecki
don't all computers use 24 hour clocks and the user can decide whether or not to display 12/24? On Wed, Mar 26, 2008 at 12:13 PM, Glen Pike [EMAIL PROTECTED] wrote: Hi, Look at the Date class - you can use getDate, etc. or getUTCDate, etc. so I guess you could compare and contrast.

Re: [Flashcoders] AS3 sftp

2008-03-25 Thread eric e. dolecki
SVN Repository seems to be empty :/ On Tue, Mar 25, 2008 at 9:41 AM, Muzak [EMAIL PROTECTED] wrote: http://maliboo.riaforge.org/ - Original Message - From: laurent [EMAIL PROTECTED] To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Tuesday, March 25, 2008 2:16 PM

Re: [Flashcoders] AS3 sftp

2008-03-25 Thread eric e. dolecki
http://projects.maliboo.pl/FlexFTP/ That seems to work, but nothing else. Better than nothing. This is Apollo-specific, not sure much changed there for AIR. On Tue, Mar 25, 2008 at 10:11 AM, Glen Pike [EMAIL PROTECTED] wrote: Maybe you have to FTP to get the source :0 eric e. dolecki wrote

[Flashcoders] prob in Flex 3/AIR

2008-03-25 Thread eric e. dolecki
I have this bit of code in my AIR app: mx:Model id=myTopics topics topic label=AS3 Reference data= http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/; / topic label=Adobe AIR Marketplace data=

Re: [Flashcoders] prob in Flex 3/AIR

2008-03-25 Thread eric e. dolecki
label=Adobe AIR Marketplace data= http://www.adobe.com/cfusion/exchange/index.cfm?event=productHomeamp;exc=24amp;loc=en_us / Ian On Tue, Mar 25, 2008 at 5:12 PM, eric e. dolecki [EMAIL PROTECTED] wrote: I have this bit of code in my AIR app: mx:Model id=myTopics topics

Re: [Flashcoders] Sound.loadSound ?isStreaming?

2008-03-25 Thread eric e. dolecki
setBufferTime ? On Tue, Mar 25, 2008 at 2:26 PM, Andrew Sinning [EMAIL PROTECTED] wrote: I may not quite understand how to use the the isStreaming:Boolean parameter of the Sound.loadSound() function in AS2. If set to true, the sound will start playing as soon as enough data is downloaded.

Re: [Flashcoders] AS3 Coding Conventions Question

2008-03-17 Thread eric e. dolecki
Well, you're only going to use the FOO_BAR, so I don't think it really matters. Instead of a string, you could use a number and just have it be 1, etc. as well. On Mon, Mar 17, 2008 at 12:05 AM, Jason Van Cleave [EMAIL PROTECTED] wrote: This is a pretty nice doc and I agree/use most of these

Re: [Flashcoders] 9-slice scaling not working when used as mask

2008-03-13 Thread eric e. dolecki
I haven't tried what you're doing, but you might be better off using the drawAPI and a method to draw your mask instead if probs continue. Thats the old-fashioned way to me. eric On Thu, Mar 13, 2008 at 8:48 AM, Martin Klasson [EMAIL PROTECTED] wrote: Hi Flashcoders, my subject might said it

Re: [Flashcoders] Is there any grid component in AS 3.0

2008-03-10 Thread eric e. dolecki
check out Flex. On Mon, Mar 10, 2008 at 8:08 PM, anuj sharma [EMAIL PROTECTED] wrote: Hi All I am looking for a grid container in AS 3.0. With my search I found that AS 3.0 supports Data Grid but for holding data not for visual layout perspective. I am looking something for visual layout

Re: [Flashcoders] AS2 vs. AS3: instantiate library symbols with a loop string concatenation

2008-03-04 Thread eric e. dolecki
for( var i:uint = 0; i30; i++ ) { var sym:MovieClip = new Item(); sym.name = sym+i; someContainer.addChild( sym ); } ... someContainer.getChildAt( nIndex ); etc. On Tue, Mar 4, 2008 at 3:25 PM, jonathan howe [EMAIL PROTECTED] wrote: Imagine I have in my library a series of

Re: [Flashcoders] How do you do this?

2008-02-25 Thread eric e. dolecki
tons of math and some papervision3d. On Mon, Feb 25, 2008 at 4:40 PM, Jim Robson [EMAIL PROTECTED] wrote: Hello all, There's a neat 3D CS3 demo from a Japanese tour. I'd like to know how to go about creating this kind of effect; my (few and rare) attempts at 3D animation in Flash have

<    1   2   3   4   5   >