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
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
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
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,
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(
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 mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
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
- 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
- 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
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();
}
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
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
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
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
>> 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
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
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
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
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,
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:
21 matches
Mail list logo