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] 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

[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] 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

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] 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] referencing sprites within a sprite (AS3 newbie question)

2008-12-16 Thread Eric E. Dolecki
.currentTarget ? On Tue, Dec 16, 2008 at 4:51 PM, Ian Thomas i...@eirias.net wrote: Yes. However, it was the simplest answer to Michael's question. I'm afraid I didn't (and still don't) have time to answer the question with a long 'here's how I'd actually do it and why it's a good idea

Re: [Flashcoders] Flash vs. Flex libraries

2008-12-23 Thread Eric E. Dolecki
are you SURE you can't use embed metadata in Flash CS4? ;) Eric On 12/23/2008, Ian Thomas i...@eirias.net wrote: Taka, That's really interesting - excellent to know! I _suspect_ (having had previous bad experiences) that doing things within the _complete_ Flex framework will be

Re: [Flashcoders] [AS2] Set the default value of a ComboBox

2009-01-08 Thread Eric E. Dolecki
populate with an array, and then go through the array, and use the matching index. On Thu, Jan 8, 2009 at 11:29 AM, FlashDev fl...@funkdaweb.com wrote: Hi Guys, happy new year to you all! I have a combobox added to the stage in the flash IDE and it is populated via Actionscript 2 from an

[Flashcoders] accessing variables - AS3

2009-01-12 Thread Eric E. Dolecki
I have forgotten how to do this... I'd like to set some variables like this a var exists... zAmt now I'd like to set the value in a method... [ stringValue + Amt] = someValue; How do I compose that? -- http://ericd.net Interactive design and development

Re: [Flashcoders] accessing variables - AS3

2009-01-12 Thread Eric E. Dolecki
Jethani manish.jeth...@gmail.comwrote: On Tue, Jan 13, 2009 at 1:51 AM, Eric E. Dolecki edole...@gmail.com wrote: I have forgotten how to do this... I'd like to set some variables like this a var exists... zAmt now I'd like to set the value in a method... [ stringValue

Re: [Flashcoders] accessing variables - AS3

2009-01-12 Thread Eric E. Dolecki
Isn't that for an XML object? On Mon, Jan 12, 2009 at 3:47 PM, Mendelsohn, Michael michael.mendels...@fmglobal.com wrote: You might also want to look into using this.hasOwnProperty(stringValue + Amt) to make certain what you're looking for actually exists in the object in the first place.

[Flashcoders] AS3 Nice Knob(s)

2009-01-16 Thread Eric E. Dolecki
I am looking for an AS3 knob that is close to this: http://keith-hair.net/blog/examples/niceknobs/ yet is something I can use in the Flash CS4 IDE - a SWC would even be nice to link up to. The URL above is just an example. Being able to optionally check + or - movements on 360º revolutions

Re: [Flashcoders] AS3 Nice Knob(s)

2009-01-16 Thread Eric E. Dolecki
...@chattyfig.figleaf.com [mailto: flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Eric E. Dolecki Sent: Friday, January 16, 2009 11:51 AM To: Flash Coders List Subject: [Flashcoders] AS3 Nice Knob(s) I am looking for an AS3 knob that is close to this: http://keith-hair.net/blog/examples/niceknobs/ yet

Re: [Flashcoders] AS3 Nice Knob(s)

2009-01-16 Thread Eric E. Dolecki
realistic but are actually harder to use. -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto: flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Eric E. Dolecki Sent: Friday, January 16, 2009 12:17 PM To: Flash Coders List Subject: Re: [Flashcoders] AS3 Nice Knob

Re: [Flashcoders] AS3 Nice Knob(s)

2009-01-16 Thread Eric E. Dolecki
knobs spin forever? just work it like a slider but update % and position via max/min distance and maintain the math. 3 rotations is max slider x3. Keeping track of rotation works but you'll have to calculate for negative rotation. B. On Fri, Jan 16, 2009 at 1:42 PM, Eric E. Dolecki edole

[Flashcoders] Pixel Bender source for page turn?

2009-01-19 Thread Eric E. Dolecki
Hey all, I am looking for PB source to distort a displayObject like a page turn, only from the top to bottom instead of side to side. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Re: [Flashcoders] registering Enter key along with mouse event

2009-01-22 Thread Eric E. Dolecki
Is this in the IDE? If so, you need to turn off keyboard shortcuts On Thu, Jan 22, 2009 at 10:27 AM, Mendelsohn, Michael michael.mendels...@fmglobal.com wrote: Hi list... I have a sprite that should fire an event either when it's clicked, or when it has focus and the spacebar or the enter

Re: [Flashcoders] Does Flash fire any event(s) when...

2009-02-04 Thread Eric E. Dolecki
There is stage.addEventListener( Event.DEACTIVATE, method ); stage.addEventListener( Event.ACTIVATE, method ); - eric 2009/2/4 Andrew Murphy amur...@delvinia.com Hi. :) I was wondering if a .swf embedded in a web page fires and event(s) when... 1) ...the user navigates away from the page.

Re: [Flashcoders] Does Flash fire any event(s) when...

2009-02-04 Thread Eric E. Dolecki
- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Eric E. Dolecki Sent: Wednesday, February 04, 2009 8:50 AM To: Flash Coders List Subject: Re: [Flashcoders] Does Flash fire any event(s) when

Re: [Flashcoders] Best way to access my main class?

2009-02-05 Thread Eric E. Dolecki
Agreed on Option 3. Custom event inclusive of whatever kind of data you want to send to the associated listening method. I think I whip up custom events more than almost anything else. - Eric On Thu, Feb 5, 2009 at 1:30 PM, Nate Beck n...@tldstudio.com wrote: Option 3! Always opt to use

[Flashcoders] Getting attributes out of a node with : in it

2009-02-09 Thread Eric E. Dolecki
For example I have a node like so: yweather:condition text=Partly Cloudy code=30 temp=34 date=Mon, 09 Feb 2009 12:56 pm EST/ How can I get into that node to pull attributes out? The : in the node name is screwing my up at the moment. Eric ___

Re: [Flashcoders] Getting attributes out of a node with : in it

2009-02-09 Thread Eric E. Dolecki
Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto: flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Eric E. Dolecki Sent: Monday, February 09, 2009 10:37 AM To: Flash Coders List Subject: [Flashcoders] Getting attributes out of a node with : in it For example I have

Re: [Flashcoders] Getting attributes out of a node with : in it

2009-02-09 Thread Eric E. Dolecki
://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/Namespace.html Unfortunately, you didn't paste the entire XML doc so I can't guide you further. - Taka On Mon, Feb 9, 2009 at 10:36 AM, Eric E. Dolecki edole...@gmail.com wrote: For example I have a node like so: yweather:condition text

Re: [Flashcoders] Getting attributes out of a node with : in it

2009-02-09 Thread Eric E. Dolecki
Of Eric E. Dolecki Sent: Monday, February 09, 2009 4:10 PM To: Flash Coders List Subject: Re: [Flashcoders] Getting attributes out of a node with : in it Ok, so in my XML loaded function I have this: private function loadedXML( e:Event ):void { var myXML:XML = new XML( e.target.data ); var

[Flashcoders] Strange XML parsing thing

2009-02-13 Thread Eric E. Dolecki
Maybe it's Friday and I'm tired, but this just seems so weird. Something I have done 8 billions times before and now things are acting up. Code couldn't be much more simple. var myLoader:URLLoader = new URLLoader(); myLoader.addEventListener( Event.COMPLETE, onLoadXML ); myLoader.load( new

Re: [Flashcoders] Strange XML parsing thing

2009-02-13 Thread Eric E. Dolecki
. } On Fri, Feb 13, 2009 at 5:10 PM, Kenneth Kawamoto kennethkawam...@gmail.com wrote: trace(myXML.children().(localName() == Outcome)); -- Kenneth Kawamoto http://www.materiaprima.co.uk/ Eric E. Dolecki wrote: Maybe it's Friday and I'm tired, but this just seems so weird. Something I have

Re: [Flashcoders] Strange XML parsing thing

2009-02-13 Thread Eric E. Dolecki
(Delay: , myXML.Delay); } regards, Muzak - Original Message - From: Eric E. Dolecki edole...@gmail.com To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Friday, February 13, 2009 10:08 PM Subject: [Flashcoders] Strange XML parsing thing Maybe it's Friday and I'm tired

Re: [Flashcoders] Strange XML parsing thing

2009-02-13 Thread Eric E. Dolecki
rockin' On Fri, Feb 13, 2009 at 6:53 PM, Kenneth Kawamoto kennethkawam...@gmail.com wrote: You can reduce one more line :) default xml namespace = myXML.namespace(); Kenneth Kawamoto http://www.materiaprima.co.uk/ Eric E. Dolecki wrote: Thanks for all of this!! So this should work

Re: [Flashcoders] Printing table receipt with Flex

2009-02-26 Thread Eric E. Dolecki
Could you use some temporary HTML to do that and write the HTML internally? On Thu, Feb 26, 2009 at 8:50 AM, Omar Fouad omarfouad@gmail.com wrote: Hi all,I am working on a POS application in AIR and SQLite, and I am stuck with this little problem. I need to send to a printer, some data

Re: [Flashcoders] And another one re: try-catch-finally statements

2009-03-03 Thread Eric E. Dolecki
I *think* that if that array is built up out of a URLRequest or something and the URL to call is down, a finally would catch that and the error wouldn't. But I'm not positive about that. On Tue, Mar 3, 2009 at 10:02 PM, SJF sjf...@gmail.com wrote: I have a head-cold (hence the possibly obvious

Re: [Flashcoders] Problem with export linkage definition in a loaded swf

2009-03-09 Thread Eric E. Dolecki
Are you sure the swf is loaded before trying to instantiate the class? On Mon, Mar 9, 2009 at 8:47 AM, laurent laur...@logiquefloue.org wrote: Hi, I have a map.swf containing a linked movie clip named Paris as a exported Class. I load this map from another swf. The problem that occure in

Re: [Flashcoders] AS3 - XML Filter by Date

2009-03-09 Thread Eric E. Dolecki
I suppose if the XML has that kind of data in it you could. On Mon, Mar 9, 2009 at 12:02 PM, Doug Coning dcon...@webize.com wrote: Greetings everyone, In AS3, can you filter xml by a date value or range? Thanks, Doug Coning ___ Flashcoders

Re: [Flashcoders] Playing Flash video in slow-motion

2009-03-14 Thread Eric E. Dolecki
I don't know what the point of keeping the pitch the same would actually be... On Sat, Mar 14, 2009 at 1:11 PM, Paul Andrews p...@ipauland.com wrote: - Original Message - From: Adam Duston a...@langolab.com To: Flash Coders List flashcoders@chattyfig.figleaf.com Cc: Jennifer Ede

[Flashcoders] Intersection on circle based on angle

2009-03-17 Thread Eric E. Dolecki
I've done this before but can't find my file(s). I am currently googling but haven't found the answer yet (I'm sure it's out there, just need to rediscover it). I have a circle, registration at 0, 0. If I have an angle from it's center, I'd like to get x,y where the angle would intersect with the

Re: [Flashcoders] Intersection on circle based on angle

2009-03-17 Thread Eric E. Dolecki
, angle ); and now coord.x and coord.y seems to be rotated AND being determined further out. Since I'm not altering angle, what's going on here? On Tue, Mar 17, 2009 at 10:15 AM, Eric E. Dolecki edole...@gmail.comwrote: Jason, Could you elaborate please? Point.polar( length, angle ); I

Re: [Flashcoders] Intersection on circle based on angle

2009-03-17 Thread Eric E. Dolecki
sorry - found my pilot error. this ROCKS - thanks, I never would have found that. LOTS of cool stuff in the Point class. On Tue, Mar 17, 2009 at 10:34 AM, Eric E. Dolecki edole...@gmail.comwrote: Okay this thing may be the coolest thing I've seen in a while. However it's acting funny. If I do

Re: [Flashcoders] Intersection on circle based on angle

2009-03-17 Thread Eric E. Dolecki
Thanks man, you just changed my world. On Tue, Mar 17, 2009 at 10:26 AM, Merrill, Jason jason.merr...@bankofamerica.com wrote: I have the angle (say 0 degrees). The length would then be pixels from the center (ie. radius)? Yes, radius is pixel distance from starting point (in your case,

Re: [Flashcoders] Intersection on circle based on angle

2009-03-17 Thread Eric E. Dolecki
Cowburn m...@pierscowburn.com wrote: Lots of cool stuff in the Rectangle class too, in case you didn't know :) Piers On 17 Mar 2009, at 15:00, Eric E. Dolecki wrote: Thanks man, you just changed my world. On Tue, Mar 17, 2009 at 10:26 AM, Merrill, Jason jason.merr...@bankofamerica.com

[Flashcoders] Question about AS3 components

2009-03-17 Thread Eric E. Dolecki
I have a component I am building that has a default size set with an avatar clip. When it's placed on stage by hand, it uses that dimension and it removes that clip. Great. I have overriden height and width mutators and accessors. When I resize the component on stage, it works correctly, but I

Re: [Flashcoders] Question about AS3 components

2009-03-17 Thread Eric E. Dolecki
This is not for Flex, this is straight AS3 and using the IDE to generate the SWC. I am subclassing Sprite. On Tue, Mar 17, 2009 at 2:33 PM, Merrill, Jason jason.merr...@bankofamerica.com wrote: I was asking about the required method overrides for AS3 components in Flex to do some similar

Re: [Flashcoders] Particle Playground, Flash 10 General Purpose Comuting with Pixel Bender

2009-03-18 Thread Eric E. Dolecki
Ping us when you release something or have a demo online. Looks cool. E. On Wed, Mar 18, 2009 at 8:03 AM, Hans Wichman j.c.wich...@objectpainters.com wrote: awesome:) On Wed, Mar 18, 2009 at 12:45 PM, mike cann mike.c...@gmail.com wrote: Hey List, I have been playing around with

Re: [Flashcoders] odd error when I try a rss viewer on internet

2009-03-18 Thread Eric E. Dolecki
Did you put the rss file online? On Wed, Mar 18, 2009 at 10:09 AM, Gustavo Duenas LRS gdue...@leftandrightsolutions.com wrote: Hi I have this odd error using the rssviewer on the as3 samples on the adobe website. The Rssviewer is working fine locally, but when I put it on the internet it

Re: [Flashcoders] Dynamic Images and the Library

2009-05-03 Thread Eric E. Dolecki
Not in AS2, but you can do it serverside I think. Thanks, E. On May 3, 2009, at 6:24 AM, Karl DeSaulniers k...@designdrumm.com wrote: Well, I am working in AS2. Is there something like that in AS2? Thanks for your input. Karl DeSaulniers Design Drumm http://designdrumm.com On May 3,

[Flashcoders] Projector, loaded SWFs and audio files

2009-06-11 Thread Eric E. Dolecki
Quick question. I have a projector that loads SWFs on demand. The SWFs are in a subdirectory called Sections. Each section SWF that loads into the directory loads it's own audio from a folder inside the Sections directory. Works fine on their own, but when loaded into the Projector, the relative

[Flashcoders] Papervision3D - amorphous object with buttons

2009-06-12 Thread Eric E. Dolecki
I must admit I am pretty new still to PV3D - I am looking for a sample that has a non-spherical, non-planar object that can be rotated around that has buttons on it one can click on. Think an extruded oval or something with buttons on various sides. Is there a really good starting point for this

Re: [Flashcoders] transparency in flash

2009-06-19 Thread Eric E. Dolecki
Google AS3 blendmode On Fri, Jun 19, 2009 at 4:36 PM, Gustavo Duenas gdue...@leftandrightsolutions.com wrote: Hi there, in Illustrator and photoshop you can set the transaparency to overlay, normal, soft light, hardlight, multiply, etc, there is away to set this thing also using action

[Flashcoders] Constrain drag to non-rectangular shape

2009-07-01 Thread Eric E. Dolecki
I'd like to constrain a drag to an area that isn't a rectangle, which leads me to hitTest and an enter frame thing. However I am wondering if it could be done with math instead. At the moment: constrain to a multi-point shape (think deformed trapezoid) but could be ellipses, circles, etc.

[Flashcoders] AS3 multi-range slider

2009-07-08 Thread Eric E. Dolecki
Before I set out to code one of these up, does anyone have an AS3 range slider that can use more than two thumbs? Like four or five? Not using Flex. Thanks for any pointers in advance. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com

Re: [Flashcoders] for the love of your own personal god... sign up and vote

2009-07-13 Thread Eric E. Dolecki
What do you need this access for, where activityLevel wouldn't serve you? On Mon, Jul 13, 2009 at 5:17 PM, Anthony Pace anthony.p...@utoronto.cawrote: to open the microphone, so we can use computer spectrum, sign up and vote please, please, please, please, please

Re: [Flashcoders] To Void or not to void?? That is my question..

2009-07-14 Thread Eric E. Dolecki
void is good when you compile - if your method does not return something and you try to return something from the method, your compiler will complain which is good: private function foo():void { return true; } // 1051:Return value must be undefined. Also, if you define something being

Re: [Flashcoders] Actionscript Documentators

2009-07-20 Thread Eric E. Dolecki
If you're on a Mac, this completely rocks: http://visiblearea.com/visdoc/ No tree menu, but I love the docs this generates. On Mon, Jul 20, 2009 at 8:19 PM, Álvaro Saraiva alv...@glups.pt wrote: Hi, I need to create documentation for some class files in AS2, and found ZendDoc

Re: [Flashcoders] Dancing characters...

2009-07-22 Thread Eric E. Dolecki
try rounded values? On Wed, Jul 22, 2009 at 11:31 AM, Sander Schuurman b...@chello.nl wrote: Hi list... I'm trying to make some kind of Dock... http://www.sentoplene.com/dock But sometimes when I stop with the mouse, some characters keep on moving slightly... How can I get rid of that?

Re: [Flashcoders] a real custom cursor

2009-07-28 Thread Eric E. Dolecki
You'll need to use a Sprite. Make sure to use event.updateAfterEvent() on your mouseMove event handler. Should work fine. I've swapped cursors using java and Flash talking to it (and controlled the cursor position that way as well)... but that was for a standalone special-case use. I am sure

Re: [Flashcoders] a real custom cursor

2009-07-28 Thread Eric E. Dolecki
losPhone On Jul 28, 2009, at 2:35 PM, Eric E. Dolecki edole...@gmail.com wrote: You'll need to use a Sprite. Make sure to use event.updateAfterEvent() on your mouseMove event handler. Should work fine. I've swapped cursors using java and Flash talking to it (and controlled the cursor position

[Flashcoders] AWS calls with signature... not working

2009-08-26 Thread Eric E. Dolecki
I tried this class out: http://blog.promethe.net/2009/08/24/amazon-web-services-rest-queries-signature-in-actionscript-3/ I compiled a SWC out of FB and hooked up the crypto stuff from as3corelib, and when I provide my key and secret key, I get this returned XML (Error opening URL): ?xml

Re: [Flashcoders] Catalyst

2009-09-26 Thread Eric E. Dolecki
It needs layouts and stuff so it's flex with as3 Thanks, Eric On Sep 26, 2009, at 6:29 PM, Anthony Pace anthony.p...@utoronto.ca wrote: Anyone try catalyst? Does it only output to flex style code that make babies cry, or does it output do pure AS3 too?

Re: [Flashcoders] as3 to iphone app

2009-10-08 Thread Eric E. Dolecki
I would take those 4 books and get to know them inside and out. While compiling AS3 to iPhone app is neat, there is no substitute for knowing how to make an iPhone app with access to all of the APIs natively. Learning Objective-C is quite useful and will help round out your toolset. If you want to

Re: [Flashcoders] as3 to iphone app

2009-10-08 Thread Eric E. Dolecki
and content? mike chambers m...@adobe.com On Oct 8, 2009, at 5:50 AM, Eric E. Dolecki wrote: If you want to *really* make iPhone apps, use Xcode and the SDK. If you just want to get some stuff up on the store quickly, use CS5 I gues

Re: [Flashcoders] as3 to iphone app

2009-10-08 Thread Eric E. Dolecki
that are available, there is no reason to expect that you couldn't build as full featured apps / games / content as you could with any other solution (such as Objective-C or Unity3D). mike chambers m...@adobe.com On Oct 8, 2009, at 5:13 PM, Eric E. Dolecki wrote: Yes, it is an assumption

[Flashcoders] Printing HTML in AIR HTML control?

2009-10-09 Thread Eric E. Dolecki
I have an HTML component in an AIR app. I load a page into it, but how can I print the contents of that page? I've tried this which works, but my page is cropped strangely (I get the top left corner of the page - clipping contents to the right and I don't come close to getting the whole page):

Re: [Flashcoders] Compare two date ( how many days left )

2009-10-13 Thread Eric E. Dolecki
public static function getDaysBetweenDates(date1:Date,date2:Date):int { var one_day:Number = 1000 * 60 * 60 * 24 var date1_ms:Number = date1.getTime(); var date2_ms:Number = date2.getTime(); var difference_ms:Number = Math.abs(date1_ms - date2_ms) return Math.round(difference_ms/one_day); } On

[Flashcoders] Flex - accessing dom

2009-10-16 Thread Eric E. Dolecki
In an HTML Browser control, upon loading, I am trying to get the title out of the DOM. var s:Object = browser.htmlLoader.window.document.getElementsByTagName( title); testLabel.text = s.length + , + s[0]; However, how can I get at the string for that title tag? -- http://ericd.net

Re: [Flashcoders] Flex - accessing dom

2009-10-16 Thread Eric E. Dolecki
I got to it by usingbrowser.htmlLoader.window.document.title It's a String. thanks for that link :) On Fri, Oct 16, 2009 at 10:34 AM, Glen Pike g...@engineeredarts.co.ukwrote: Eric E. Dolecki wrote: In an HTML Browser control, upon loading, I am trying to get the title out of the DOM

Re: [Flashcoders] add properties to Event object

2009-10-27 Thread Eric E. Dolecki
Just to add - I do this all the time and it becomes fun after a while ;) On Tue, Oct 27, 2009 at 12:13 PM, Merrill, Jason jason.merr...@bankofamerica.com wrote: You need to create a custom event by extending the Event class - then add whatever properties you want to that. Jason Merrill

Re: [Flashcoders] Website in an application

2009-10-27 Thread Eric E. Dolecki
Just use AIR and an HTML Browser component. Easy-peasy. On Tue, Oct 27, 2009 at 5:12 PM, John R. Sweeney Jr jr.swee...@comcast.netwrote: Thanks, I'll check it out. John on 10/27/09 4:03 PM, Latcho at spamtha...@gmail.com wrote: Google for kiosk browser never tested, just found:

Re: [Flashcoders] Website in an application

2009-10-28 Thread Eric E. Dolecki
them ? Ciao, Latcho Eric E. Dolecki wrote: Just use AIR and an HTML Browser component. Easy-peasy. On Tue, Oct 27, 2009 at 5:12 PM, John R. Sweeney Jr jr.swee...@comcast.netwrote: Thanks, I'll check it out. John on 10/27/09 4:03 PM, Latcho at spamtha...@gmail.com wrote: Google

Re: [Flashcoders] re: alpha for dynamic text without embedding font

2009-10-28 Thread Eric E. Dolecki
You could use bitmapData and do it without embedding the font. Otherwise, just embed it. On Wed, Oct 28, 2009 at 4:10 PM, Kevin McFarland ke...@teracent.com wrote: (or at least that's what I think the subject was) Replying late (I'm in digest mode), but somebody asked about this. A few

[Flashcoders] Printing a page in Safari with SWF(s) Problem

2009-10-28 Thread Eric E. Dolecki
I've seen pages where printing the HTML page in Safari produces the SWF rendered, and I've seen (ie. Adobe.com homepage) where printing = empty SWFs. Is there some kind of trick in the embedding or some other trick to get a page to print that renders the SWF in the printout for Safari (Mac)? I

Re: [Flashcoders] Printing a page in Safari with SWF(s) Problem

2009-10-28 Thread Eric E. Dolecki
that depends on how the flash is embedded in the HTML. Karl Sent from losPhone On Oct 28, 2009, at 8:42 PM, Eric E. Dolecki edole...@gmail.com wrote: I've seen pages where printing the HTML page in Safari produces the SWF rendered, and I've seen (ie. Adobe.com homepage) where printing = empty

Re: [Flashcoders] Printing a page in Safari with SWF(s) Problem

2009-10-29 Thread Eric E. Dolecki
-script browser, the flash is blank. The print dialog may be acting the same as a non-script browser. This may be what your running into. HTH Karl On Oct 28, 2009, at 9:13 PM, Eric E. Dolecki wrote: Okay - what's the trick then? ;) I am almost at the point where I'll need to take my XML data

Re: [Flashcoders] getting text from textfile.txt into a dynamic text field

2009-11-23 Thread Eric E. Dolecki
var loader:URLLoader = new URLLoader(); loader.addEventListener(Event.COMPLETE, onLoaded); loader.load(new URLRequest(textfile1.txt)); function onLoaded(e:Event):void { someField_txt.text = e.target.data; } On Mon, Nov 23, 2009 at 4:51 PM, Alan Neilsen aneil...@gotafe.vic.edu.auwrote: In

Re: [Flashcoders] Still Infinitely Looping

2009-11-24 Thread Eric E. Dolecki
http://www.adobe.com/devnet/actionscript/getting_started.html http://help.adobe.com/en_US/ActionScript/3.0_ProgrammingAS3/WS5b3ccc516d4fbf351e63e3d118a9b90204-7fca.html - Eric ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com

[Flashcoders] AIR: Application opened by someone else?

2009-12-02 Thread Eric E. Dolecki
I was wondering if there is a framework for determining if an AIR application has been opened by more than one person on a network? I have a data file that the AIR application opens and allows editing for. Works great, however instances of the application all open the same data file. The chances

Re: [Flashcoders] AIR: Application opened by someone else?

2009-12-02 Thread Eric E. Dolecki
that the user with the lock is no longer working on the file. Peace C On Wed, Dec 2, 2009 at 7:43 AM, Eric E. Dolecki edole...@gmail.com wrote: I was wondering if there is a framework for determining if an AIR application has been opened by more than one person on a network? I have

[Flashcoders] AIR: application quit via update mech

2009-12-02 Thread Eric E. Dolecki
I am supplying cleanup for my application when a user quits the application view close button and control-q. Works great. However if there is an update triggered for the application, the updater quits my app and seems to bypass my cleanup mechanism (is there a special event to listen for) - or is

Re: [Flashcoders] Flash Socket Class Does Not Wait For Flush

2009-12-08 Thread Eric E. Dolecki
So we'd all feel better activating the toilet handle I guess. I always feel better after a flush(). On Tue, Dec 8, 2009 at 4:37 PM, Steven Sacks flash...@stevensacks.netwrote: Henrik Andersson wrote: Then why was it added in the first place? Great question. Ask Adobe.

Re: [Flashcoders] as3 to iphone app

2009-12-11 Thread Eric E. Dolecki
You may find this link of interest to you. http://forums.whirlpool.net.au/forum-replies-archive.cfm/1152244.html On Fri, Dec 11, 2009 at 3:22 AM, David Hunter davehunte...@hotmail.comwrote: pretty sure i heard the same thing, otherwise you need to join up to the iphone developer program and

Re: [Flashcoders] Clearing Cache

2010-01-14 Thread Eric E. Dolecki
You can't clear from Flash or Javascript, but you can prevent the cache from happening. http://www.google.com/search?client=safarirls=enq=flash+prevent+cachingie=UTF-8oe=UTF-8 On Thu, Jan 14, 2010 at 12:20 PM, Lehr, Theodore ted_l...@federal.dell.comwrote: Is there a way to clear the browsers

[Flashcoders] AS3 connecting objects

2010-01-25 Thread Eric E. Dolecki
I'm looking for a class whereby I can visually connect elements (say Sprites) with thin rules... kind of like marching ants but in both directions, dynamically. Animation inside the rules. Has anyone seen anything like that? -- http://ericd.net Interactive design and development

Re: [Flashcoders] AS3 connecting objects

2010-01-25 Thread Eric E. Dolecki
The problem in the previous link.. NO SOURCE :( For me you must search a framework who implements bones in AS. EKA+ :) 2010/1/25 Eric E. Dolecki edole...@gmail.com I'm looking for a class whereby I can visually connect elements (say Sprites) with thin rules... kind of like marching ants

Re: [Flashcoders] AS3 connecting objects

2010-01-25 Thread Eric E. Dolecki
I posted the link: http://www.quasimondo.com/archives/000571.php Eric E. Dolecki wrote: No - I am after an AS3 implementation of marching path I think. Like marching ants selection (in photoshop), but in rules at any angle. On Mon, Jan 25, 2010 at 9:33 AM, ekameleon ekamel...@gmail.com

Re: [Flashcoders] Sprite alpha

2010-01-25 Thread Eric E. Dolecki
You mean at 0.5 it's fully on? Or are you doing alpha = 50 expecting 50% alpha? On Mon, Jan 25, 2010 at 6:22 PM, Paul Andrews p...@ipauland.com wrote: I have a bit of an oddity with a sprite alpha. At alpha=0.0 - invisible At any other alpha it's full on. Anyone else seen this? Things

Re: [Flashcoders] Sprite alpha

2010-01-25 Thread Eric E. Dolecki
? A coloured rectangle - it's not a problem with non-embedded text. On Mon, Jan 25, 2010 at 6:33 PM, Eric E. Dolecki edole...@gmail.com wrote: You mean at 0.5 it's fully on? Or are you doing alpha = 50 expecting 50% alpha? On Mon, Jan 25, 2010 at 6:22 PM, Paul Andrews p...@ipauland.com wrote

Re: [Flashcoders] Has everyone seen this yet?

2010-02-16 Thread Eric E. Dolecki
It's how printed media might be transformed if people warm up to the whole concept. It doesn't really matter what platform or device it runs on. We saw some AIR and some Cocoa-touch. Looks pretty juicy but also a little confusing and non-standardized (yet). On Tue, Feb 16, 2010 at 8:45 PM, Jon

[Flashcoders] Multiple AIR apps using localConnection?

2010-02-17 Thread Eric E. Dolecki
I have 2 swfs that when run outside of AIR communicate just fine. In standalone. I am using CS4 to create the AIR files (not using FB, etc.) So when I create AIR files and install and run the 2 apps, they don't seem to talk to one another any more on the same machine. Do I need to do anything

[Flashcoders] Flash app talking to iPhone app over wifi

2010-02-23 Thread Eric E. Dolecki
I'm curious - has anyone seen a tutorial online or seen source for allowing a Flash app to talk back and forth with an iPhone app running on wifi? Sending simple strings. Eric -- http://ericd.net Interactive design and development ___ Flashcoders

Re: [Flashcoders] Flash app talking to iPhone app over wifi

2010-02-23 Thread Eric E. Dolecki
could find some how to do the same. Karl On Feb 23, 2010, at 7:11 AM, Eric E. Dolecki wrote: I'm curious - has anyone seen a tutorial online or seen source for allowing a Flash app to talk back and forth with an iPhone app running on wifi? Sending simple strings. Eric -- http

Re: [Flashcoders] Flash app talking to iPhone app over wifi

2010-02-23 Thread Eric E. Dolecki
may need a jailbroken iPhone as well to fish for the app files. I did something similar with the katra weather lock screen. But I talked one on one with the developer to get tips and he was cool with it. Karl Sent from losPhone On Feb 23, 2010, at 3:38 PM, Eric E. Dolecki edole

[Flashcoders] Question in regards to NetStream

2010-02-25 Thread Eric E. Dolecki
1. Since there doesn't seem to be an playing event for a NetStream, is it best practice to run an interval and check the time property? Begin on the Play.Start and stop it on the Play.Stop? What about a pause - handle that internally? 2. After seeking, the time property seems wonky (inaccurate) -

Re: [Flashcoders] Question in regards to NetStream

2010-02-25 Thread Eric E. Dolecki
I wish NetStream had more events then :) I have to run a timer to update a time placement UI. That's too bad. How is YouTube able to provide such accurate seeking? I'm transferring video from one SWF to another - mainly by transferring the URL to the video to stream and trying to match as closely

[Flashcoders] Netstream time after seek...

2010-02-25 Thread Eric E. Dolecki
I am doing a seek - to the same spot in a streaming video stream.seek( 10 ); trace( stream.time ); I get numbers like this each time it's run: 3.57 15.778 15.882 15.386 16.013 13.923 14.132 14.681 14.576 14.08 ... ?!?!? How can it be off that much? This is a YouTube video. --

Re: [Flashcoders] web video

2010-03-02 Thread Eric E. Dolecki
Use cuePoints... Google that. Each triggers an event. Thanks, Eric On Mar 2, 2010, at 7:40 PM, Gustavo Duenas gdue...@leftandrightsolutions.com wrote: Hi coders I know that I can control a flv from as3, but there is a way to do the opposite? I mean I have a video (flv) in one movie clip,

Re: [Flashcoders] how to reduce CPU usage

2010-03-03 Thread Eric E. Dolecki
You could remove from the display tree or do the visible = false thing to help out. On Wed, Mar 3, 2010 at 4:09 PM, Keith Reinfeld keithreinf...@comcast.netwrote: What's odd to me is that all of this CPU is getting used even though these movie clips are completely invisible. Invisible

Re: [Flashcoders] AS3 - Objective-C

2010-03-11 Thread Eric E. Dolecki
I'll weigh in here - going for AS3 to Obj-C took me about a month to feel comfortable with, and I'm learning new things all the time. There are so many frameworks and methods, you feel overwhelmed when trying to do something and you don't know the proper framework to do it quite yet. I have grown

[Flashcoders] AS3 LipSync Engine?

2010-03-15 Thread Eric E. Dolecki
Hey all, I'd like to produce lip syncing for dynamic audio that I have. I could try and roll my own (based on computeSpectrum results) but saw AS3 LipSync mentioned on Google. But I have yet to find it anywhere. Does anyone have a working link I could check out? Or do you have a bit of code I

<    1   2   3   4   5   >