Re: [Flashcoders] xml and e4x searching question

2009-02-19 Thread Taka Kojima
When you trace out: trace(staff.*.(POSITION == "Designer")); You will see that it returns the parent element... So, even if your code were to work, all it would do would be to return the root node, which probably wouldn't help you. If you compare the two examples, you will see that there is on

[Flashcoders] xml and e4x searching question

2009-02-19 Thread Ferd Berfel
hello, newbie here... I'm trying to understand searching xml with e4x why does this work: var staff:XML = Marco Crawley James Crawley Designer var results:XMLList= staff.*.(POSITION == "Designer") and this does not? var staff2:X

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

2009-02-19 Thread Muzak
Not sure if this has the answer you're looking for (haven't read the article), but it came up in a google search: http://www.adobe.com/devnet/flash/articles/creating_as3_components.html regards, Muzak - Original Message - From: "Gregory N" To: "Flash Coders List" Sent: Thursday, Feb

[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 AS2,

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

2009-02-19 Thread Gregory N
Well... Let consider an example. - I have 10 Inspectable parameters which user can modify in Component inspector - I need all of them to start the component - There are default values for each, of course. So, with use of commitProperties(), I have to create - 10 conditions in my commitProperties(

[Flashcoders] [JOB] Flex (UI/UX) Developer, Palo Alto, CA

2009-02-19 Thread Beau Gould (OSS)
My Palo Alto, CA client is a privately held, stealth software company developing an innovative database management application. Their founders, executives, and directors are responsible for developing products and companies that have made a significant impact on the IT industry and have resulted in

[Flashcoders] Stop emailing me

2009-02-19 Thread bernice guerrero
___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Re: [Flashcoders] Stop emailing me

2009-02-19 Thread Dave Watts
Unsubscribe yourself using the link at the bottom of each email message. If you can't unsubscribe yourself, you'll have to wait until this evening. On Thu, Feb 19, 2009 at 2:14 PM, bernice guerrero wrote: > > ___ > Flashcoders mailing list > Flashcoders

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

2009-02-19 Thread Muzak
- Original Message - From: "Gregory N" To: "Flash Coders List" Sent: Thursday, February 19, 2009 7:17 PM Subject: Re: [Flashcoders] component def doesn't pass params to constructor? After some consideration... If I have, say dozen of Inspectable parameters AND a method that need s

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

2009-02-19 Thread Muzak
- Original Message - From: "Gregory N" To: "Flash Coders List" Sent: Thursday, February 19, 2009 6:12 PM Subject: Re: [Flashcoders] component def doesn't pass params to constructor? Muzak, Nice addition, thanks for pointing to it. Frankly, I'd prefer to avoid calling commitPropert

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

2009-02-19 Thread Taka Kojima
Gregory, A lot of times, I do something like... private var propsSet:Array = new Array(); public function set ballType(_value:String):void{ _ballType= _value; propsSet.push("ballType"); checkProps(); }

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

2009-02-19 Thread Taka Kojima
As Weyert was getting at, just use default argument values, which would only be applied if you didn't specify an argument... i.e. public function Ball(which:String = "soccerball"){ gotoAndStop(which); } this way you can do: var b:Ball = new B

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

2009-02-19 Thread Gregory N
After some consideration... If I have, say dozen of Inspectable parameters AND a method that need several of them to work properly, then I'll have to call this method after a delay - to be sure that all necessary setters were called before it.. Thus, turning back to enter_frame trick :-( Or am I m

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

2009-02-19 Thread Gregory N
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, the problem " none of the setters are called if no inspectable params were changed" still re

Re: [Flashcoders] Fullscreen Mode with TWO projectors

2009-02-19 Thread Tamara
Hi, Try to build it on AIR. You would work with just one application which connect two screens via NativeWindow class. It opens two fullscreens simultaneously and you don't have to use localConnection. Tamara On Thu, Feb 19, 2009 at 4:33 PM, Merrill, Jason < jason.merr...@bankofamerica.com> w

RE: [Flashcoders] Fullscreen Mode with TWO projectors

2009-02-19 Thread Merrill, Jason
>> Stop the email please thank you What I think are funny about these posts are when the person replies without changing the subject line, so you can see what message finally pushed them over the top. Another funny thing is, you wonder what they thought they were signing up for when they subscrib

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

2009-02-19 Thread Muzak
This workflow is more or less what the Flex components follow: package { import flash.display.MovieClip; public class Rectangle extends MovieClip { private var _prop:String = "Hello"; private var propChanged:Boolean = false; public function Rectangle():void { trace("Rectangle ::: CON

Re: [Flashcoders] Javascript Flash resizing

2009-02-19 Thread Ashim D'Silva
Hey Cor, I'm just putting this back on the list because I actually don't really know javascript. I write basic stuff because it resembles actionscript (ECMA). Specific stuff I'd look up. I'd imagine you'll need to launch a new window for that but maybe somebody else will know. You could also go fu

Re: [Flashcoders] Fullscreen Mode with TWO projectors

2009-02-19 Thread Glen Pike
Hi, Have you tried with just the SWF versions of your apps? Hi, I tried this with 2 normal SWF's this morning on my Windows XP dual monitor setup and I can get both Flash apps to go full screen. One starts fullscreen anyway with fscommand, the other I can use CTRL+F to go fullscr

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 AS2,

[Flashcoders] Javascript Flash resizing ...

2009-02-19 Thread SJF
Try this - http://code.google.com/p/resizetoolkit/downloads/detail?name=ResizeToolkit_v.95.zip&can=2&q = Haven't used it myself yet, but it looks like a robust technique/set of classes. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http: