Re: [Flashcoders] component def doesn't pass params to constructor?

2009-02-19 Thread Gregory N
Michael, Haven't you read my reply to one of your prev. questions? Well, let me quote it here again: === Subject: Re: [Flashcoders] my component not instancing properly on timeline It seems your problem is similar to one I had with my components. The matter is that, unlike their behavior in

Re: [Flashcoders] component def doesn't pass params to constructor?

2009-02-19 Thread Gregory N
(); } } } } regards, Muzak - Original Message - From: Gregory N greg.gousa...@gmail.com To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Thursday, February 19, 2009 10:25 AM Subject: Re: [Flashcoders] component def doesn't pass params to constructor? Michael, Haven't you

Re: [Flashcoders] component def doesn't pass params to constructor?

2009-02-19 Thread Gregory N
missing something trivial? On 2/19/09, Gregory N greg.gousa...@gmail.com wrote: Muzak, Nice addition, thanks for pointing to it. Frankly, I'd prefer to avoid calling commitProperties() after *each* of the setters... Anyway, this way looks better than my enter_frame trick :-) However

Re: [Flashcoders] component def doesn't pass params to constructor?

2009-02-19 Thread Gregory N
, Muzak p.ginnebe...@telenet.be wrote: - Original Message - From: Gregory N greg.gousa...@gmail.com To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Thursday, February 19, 2009 7:17 PM Subject: Re: [Flashcoders] component def doesn't pass params to constructor? After some

[Flashcoders] this._livePreviewMask - what is analog in AS3?

2009-02-19 Thread Gregory N
I have a component which is built based on user parameters. And I'm trying to make a Live Preview for it. The problem is that too many things, including the visual size, are determined at runtime and/or in component inspector. So, sometimes part of the picture (in Live Preview) is cropped. In

Re: [Flashcoders] my component not instancing properly on timeline

2009-02-13 Thread Gregory N
Michael, It seems your problem is similar to one I had with my components. The matter is that, unlike their behavior in AS2, in AS3 (CS3) components setters of [Inspectable] parameters are called lo-o-ong AFTER constructor As described here http://www.bit-101.com/blog/?p=1181 So, even if I set

Re: [Flashcoders] instancing my own components (still new to AS3)

2009-01-28 Thread Gregory N
Yes, as allandt suggests, you should provide a default value for constructor param Unfortunately, it's not the only problem with components (at least in CS3) For me, the worst one is about [Inspectable] parameters (and their setters). As described here http://www.bit-101.com/blog/?p=1181 setters

Re: [Flashcoders] instancing my own components (still new to AS3)

2009-01-28 Thread Gregory N
, Gregory N greg.gousa...@gmail.com wrote: Yes, as allandt suggests, you should provide a default value for constructor param Unfortunately, it's not the only problem with components (at least in CS3) For me, the worst one is about [Inspectable] parameters (and their setters

[Flashcoders] Re: select non-default microphone in as3+FP9

2008-08-08 Thread Gregory N
called Microphone.getMicrophone(0). So far the only solution I can think of is to select LAST mic in the Microphone.names array... Of course, I can make even a custom drop-down to select microphone... but shouldn't security panel do this? On 8/8/08, Gregory N [EMAIL PROTECTED] wrote: Hi all, I

[Flashcoders] Re: select non-default microphone in as3+FP9

2008-08-08 Thread Gregory N
Oops, it's already reported in Adobe Bugs: http://bugs.adobe.com/jira/browse/SDK-13318 Well, this means I'll have to write custom select microphone :-) On 8/8/08, Gregory N [EMAIL PROTECTED] wrote: Actually, as far as I understand, if the system has two mics, a built-in one and one

[Flashcoders] select non-default microphone in as3+FP9

2008-08-07 Thread Gregory N
Hi all, I have an app where a stream (video+sound) is recorded on user machine and send to FMS. Previously this ap was written in AS1 for Flash Player 6, And my is AS3 for Flash Player 9. Everything works ok,,, until they want to use DV camera instead of webcam :-). So: If they use webcam, they

[Flashcoders] AS3 and FMS 2 - connect.rejected on local machine

2008-07-14 Thread Gregory N
Hi all, Posted this to Flashcomm several hours ago, but got nothing except some spam server reply I'm developing a FMS 2 + AS3 application with local FMS installation. The SWF is MXML based, compiled with FlashDevelop. The problem is that any attempt to connect to rtmp:/... is refused

[Flashcoders] scrollbar for pure AS3 project

2008-07-01 Thread Gregory N
Hello all, I'm wokring on a project in FlashDevelop 3 ans Flex 2 SDK, with pure AS3 project type. And when it came to a scrollbar, I've got a problem :-) The matter is - Flex component requires SWF to be mxml-based - Flash CS3 component requires component instance in the library - and I don't

Re: [Flashcoders] scrollbar for pure AS3 project

2008-07-01 Thread Gregory N
Allandt and Jason, thanks for replies. This thread at Kirupa forum looks promising, I'll try it :-) It has a bit more features that my temp. placeholder bar As to flex components, yes, they are *expected* to do the job, but they require the project to be based on mxml file, not as3 only. I've

[Flashcoders] bitmap icons embedded with AS3 become blurry

2008-06-03 Thread Gregory N
Hi all, Here's my problem. I'm using some stuff (icons drawn by designer) from flash 8 swf in my AS3 project. Embed tags work great, except the following: if an icon is a gif/png image enclosed in mc (in original flash 8 file), it becomes blurry when embedded in my AS3 file. But if I create an

Re: [Flashcoders] bitmap icons embedded with AS3 become blurry

2008-06-03 Thread Gregory N
:41 PM, Gregory N [EMAIL PROTECTED] wrote: Hi all, Here's my problem. I'm using some stuff (icons drawn by designer) from flash 8 swf in my AS3 project. Embed tags work great, except the following: if an icon is a gif/png image enclosed in mc (in original flash 8 file), it becomes

Re: [Flashcoders] pure AS3 app to use mx.* stuff

2008-02-15 Thread Gregory N
Thanks a lot, Cory, this helps, but only partially. //code in main class extending Application var triangle:FlexSprite = new FlexSprite( ); //draw triangle rawChildren.addChild(triangle); shows a triangle in SWF, but also shows an error: (output) [Fault] exception, information=ArgumentError:

Re: [Flashcoders] pure AS3 app to use mx.* stuff

2008-02-14 Thread Gregory N
Glen, ...you can have your class in the app folder called SystemCore.as this looks like it extends a display object Not exactly :-) If It extends Sprite, the result is grey-gradient standard flex bg, w/o any traces of my objects. Trace commands are executed nice, however. If I make the main

[Flashcoders] pure AS3 app to use mx.* stuff

2008-02-13 Thread Gregory N
Hi all, As far as I know, so called pure AS3 project typically uses flash classes, intristics and others that come along with Flash IDE. From the other side, Flex2 project can be built with Flex2 SDK , but *based on .mxml file*. Frankly, I'd prefer to use flash-like class structure, instead of

Re: [Flashcoders] pure AS3 app to use mx.* stuff

2008-02-13 Thread Gregory N
Glen, thanks for your reply. Previously with AS2, I have used the Linkage / AS2 class file method, so this is a similar thing. Look at Keith Peter's post here for some direction: http://www.bit-101.com/blog/?p=853 I'd like to mention one thing here about embedding symbols

Re: [Flashcoders] is there a way of detecting whether or not the mouse is in a movie at all?

2008-02-10 Thread Gregory N
Don't know if it's applicable in your case of expandable banner, but you can consider: 1) creating special mouse detector SWF in AS3 2) using it with your AS2 project via LocalConnection This can be a way to handle users' MOUSE_LEAVE event if they have Flash Player 9+ colin moock wrote:

Re: [Flashcoders] multiple TextFormats in one TextField

2008-02-06 Thread Gregory N
Hi Michael, While I don't know the details of your application, I would consider applying TextFormat only once, when all strings are added. This means: 1) in a loop (or in any other way), you create the resulting text with default formatting. 2) at the same time, you record (in arrays) -

Re: [Flashcoders] using graphics from flash 8 with flex 2 sdk

2008-01-19 Thread Gregory N
Thanks, Jan and Glen :-) Even embedding each symbol separately is great. Yesterday I've just (mistakenly) supposed to access internal clips by their names, as we did in AS2... Obviously it's not possible. Just out of curiosity: if we access them via getChildAt() , do you think there's some

Re: [Flashcoders] using graphics from flash 8 with flex 2 sdk

2008-01-18 Thread Gregory N
Thanks again, Glen, your addition is very interesting. -- -- Best regards, GregoryN http://GOusable.com Flash components development. Usability services. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com

Re: [Flashcoders] using graphics from flash 8 with flex 2 sdk

2008-01-18 Thread Gregory N
Thanks, Jan. This leads me to another question. I think I'd try it myself before asking, but just have no dev machine at hand right now. So, when I embed *symbols* from flash 8 library like this: [Embed(source=flash8.swf, symbol=SymbolALinkageID] private var symbolAClass:Class; can this

Re: [Flashcoders] using graphics from flash 8 with flex 2 sdk

2008-01-16 Thread Gregory N
Thanks a lot to all who replied, and especially to Glen. This article at bit-101.com is great! Among other things, I'm trying to find new way to collaborate with designers who create graphics in Flash IDE (8 or 9). And so far it seems I've found it. -- -- Best regards, GregoryN

[Flashcoders] using graphics from flash 8 with flex 2 sdk

2008-01-15 Thread Gregory N
Hi all, I have an application made a while ago in as1 (flash 6). Now I need to make new version of it in AS3. Fortunately, there's no code in clips, only in frame 1 on _root :-). But all graphics currently is in FLA. And I haven't upgraded to Flash CS3 yet (hope not to do it at all). I've seen

Re: [Flashcoders] Property check works differently in CS3? seems SOLVED

2007-09-14 Thread Gregory N
, Gregory N [EMAIL PROTECTED] wrote: Hi all, I have a component (AS2) that extends MovieClip (as usual). It shows user's text placed along the curve: http://gousable.com/flash/text2curve.html A couple of days ago I've added the options to format the text as bold/italic. The getter/setter

[Flashcoders] Property check works differently in CS3?

2007-09-12 Thread Gregory N
Hi all, I have a component (AS2) that extends MovieClip (as usual). It shows user's text placed along the curve: http://gousable.com/flash/text2curve.html A couple of days ago I've added the options to format the text as bold/italic. The getter/setter names are, respectively, bold and italic. It

[Flashcoders] Flash CS3: Full, Lite, Portable. Differences?

2007-08-16 Thread Gregory N
Hi all, I've started exploring what ways exist for upgrading to CS3. Can someone clarify what's the differences between Full, Lite and Portable versions? I've already read a lot of horror stories about full version here, but (strange) nothing about, say, Lite. Or am I missing something? -- --

Re: [Flashcoders] XMLSocket connection in flash 8 /AS2.0

2007-05-02 Thread Gregory N
Hi Tom, From XMLSocket docs: * Each XML message is a complete XML document, terminated by a zero (0) byte. ... * Each document is terminated with a zero (0) byte. When Flash Player receives the zero byte, it parses all the XML received since the previous zero byte or since the connection was

Re: [Flashcoders] printJob, orientation and rotation or scaling issues

2007-05-02 Thread Gregory N
Hi David, I'd try to use PrintJob.pageWidth and/or PrintJob.pageHeight instead of .orientation . Also, why not determine needed scale at runtime: postcardClip._xscale = 100 * myPrintJob.pageWidth/postcardClip._width; postcardClip._yscale = postcardClip._xscale; -- -- Best regards, GregoryN

[Flashcoders] MXP installation in Flash CS3

2007-04-20 Thread Gregory N
Hi all, A client of mine has recently reported that he has problems installing MXP package in Flash CS3. I haven't upgraded to CS3 yet, so I'd appreciate if someone can confirm or deny: 1) mxp still can work for CS3 (with Extension manager, of course) 2) content goes as it used in Flash 8:

Re: [Flashcoders] MXP installation in Flash CS3

2007-04-20 Thread Gregory N
Message - From: Gregory N [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Sent: Friday, April 20, 2007 8:25 AM Subject: [Flashcoders] MXP installation in Flash CS3 Hi all, A client of mine has recently reported that he has problems installing MXP package in Flash CS3. I haven't

Re: [Flashcoders] Flash player and pop-up blockers

2007-03-15 Thread Gregory N
So far the only reliable way I've found is to avoid pop-ups in favor of hidden DIVs containing IFRAME. Then, instead of opening a pop-up, you just change the *display* property by Javascript. On 3/14/07, John Dowdell [EMAIL PROTECTED] wrote: Perdue, Blake wrote: We've gotten a lot of

[Flashcoders] com.gousable.SWF_Protector class

2007-03-08 Thread Gregory N
Hi all, I have just released a com.gousable.SWF_Protector class written for one of latest projects: http://gousable.com/flash/classes/swf_protector_v1.0.zip DESCRIPTION: Provides several ways to protect SWF files that can be used in any combination 1) Good old checking the _url

Re: [Flashcoders] Trace: level of details?

2007-02-12 Thread Gregory N
errors though. Hope that helps! -Dan -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gregory N Sent: Sunday, February 11, 2007 7:42 AM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] Trace: level of details? Hi all, I'm curious

[Flashcoders] Trace: level of details?

2007-02-11 Thread Gregory N
Hi all, I'm curious, is there a way to set level of details for trace()? In the project I'm working on, there's a lot of images loading. Some of them are missing, so I'm getting a 4-line message: Error opening URL file:///.long_url_of_jpg I'd like to get rid of this trash in output to be

Re: [Flashcoders] create drop caps text ...

2007-01-05 Thread Gregory N
Well, I can't find any existing code for this... So the possible way to go is: 1) create new textfield above the existing one 2) Fill it with one big initial letter 3) Strip the first letter from the main text 4) Place some IMG tag below the cap OR use indents... 5) fix all issues and enjoy ;-)

Re: [Flashcoders] Pretty cool flash8 video app!

2006-12-20 Thread Gregory N
I've noticed quite funny thing: when I took the SWF from browser cache, undefined appears near tattoo on girl's shoulder and boy's back It looks great with this undefined, try yourself! As I can guess, they probably can have some other (dynamic) texts there, but haven't embedded fonts, so we

[Flashcoders] using flash mxp components in Flex2

2006-12-16 Thread Gregory N
Hi all, Does someone have any experience using flash components (mxp, downloaded from Adobe Exchange) in Flex 2? Or is there any (other) way to utilize them? I have a strong feeling that there's no problem ( as all goes as SWF), but just curious... -- Best regards, GregoryN