Hi Davide,
I assume the asterisks are just for our benefit. And I think the path
you are looking for is "root/ancestor/someElement/@someAttribute".
You need the / before the @.
Peter
On Fri, Jun 26, 2009 at 6:17 PM, Dave Watts wrote:
>> I'm parsing a huge xml file, and i'm using xpath (as3 ver
ROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Peter Hall
> Sent: 12 November 2008 13:01
> To: Flash Coders List
> Subject: Re: [Flashcoders] ComboBox + Custom Cursor , AS3
>
> Are you using CursorManager or adding the cursor in some other way?
>
> Peter
>
>
> O
Are you using CursorManager or adding the cursor in some other way?
Peter
On Wed, Nov 12, 2008 at 12:42 PM, Karim Beyrouti <[EMAIL PROTECTED]> wrote:
> Hello All -
>
> I am a little stumped by this one.
>
> I am using a custom cursor ( added to the stage ),
> one of my loaded SWF's has a drop do
The code on my old blog works for content published with Flash
authoring. However, it works because Flash inserts the export tags in
the swf automatically. If you have a swf that has a working
attachMovie, but no export tags, then it must be attaching the symbol
from another swf. An RSL perhaps?
P
XFactorStudio for this
> site, so all I do is learn a small bad habit, which I will remember for
> future stuff anyway :)
>
>
>
> Peter Hall wrote:
>
> > On Tue, Apr 29, 2008 at 7:11 PM, Peter Hall <[EMAIL PROTECTED]>
> wrote:
> >
> >
> > > In
On Tue, Apr 29, 2008 at 7:11 PM, Peter Hall <[EMAIL PROTECTED]> wrote:
> In XPath 1.0, an attribute is an axis, not a node, and so cannot be
> used as a context node. (ie the self axis that you are attempting to
> access with "." does not exist). I could be wrong on th
In XPath 1.0, an attribute is an axis, not a node, and so cannot be
used as a context node. (ie the self axis that you are attempting to
access with "." does not exist). I could be wrong on this, but I
implemented my own xpath library for AS3 from the w3c spec, without
referencing the xfactorstudio
I was about to reply the same thing. But I don't think it is being
developed any more, so it might be a matter of fixing it yourself...
Peter
On Tue, Apr 29, 2008 at 4:52 PM, Pete Hotchkiss
<[EMAIL PROTECTED]> wrote:
> Bugs - interesting I've used this extensively for some time now and
> never
When porting from AS2, you might find it more direct to use
XMLDocument instead of XML. This behaves exactly like the AS2 XML
object.
Having said that, I tried your code and it seemed to work (I assumed
where you put node.childIndex() it was a typo and you meant to write
_currentPage.childIndex())
Unless it's an AIR app, you'll need to write a custom parser. HTML4 is
not necessarily even well-formed XML, so you'll be starting at the
basics...
If it's a browser-based application, you might be able to have the
HTML rendered in a hidden browser frame, and then use FABridge to
communicate with
Try a much lower strength. Note that the default strength is 1, so try
values nearer to that.
Peter
On 8/24/07, Alan MacDougall <[EMAIL PROTECTED]> wrote:
> After I create a clip with attachMovieClip, I attempt to write a
> DropShadowFilter to it using the following code:
>
> var shadow:DropShad
Well you could
But, while for..each does not guarantee any particular order, it does
not guarantee to be random either :-)
i.e. It might turn out that, in the next version of the flash player,
they find that they can have a more optimised implementation by
running the loop in array order.
Per
The xpath library included with Flash 8 is really quite basic, as it
is the bare minimum for generated paths for databinding purposes. It
only permits abbreviated syntax (though this is fine and preferable
most of the time), doesn't support any axes other than "child" (e.g.
you can't do a//b or a/
Skitch is a drawing app for use under MacOSX (at the moment)
It sounds like an STD
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought
I think those links are dead now. I lost some files a couple of years
back, during an ill-planned move. They are possibly lurking somewhere
on an old backup. But I think all the AS files ship with ASV anyway,
or else are available somewhere on buraks.com. It's worth asking Burak
for them.
Peter
(static functions recurse faster).
Really??
Peter
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier
On 4/13/07, Josh Santangelo <[EMAIL PROTECTED]> wrote:
I wanted the same thing at once time, and asked the xfactorstudio
gent about it. He said that he'd looked into it at once point but
found that it was very difficult to implement XSLT in AS2 at any
reasonable level of performance.
AS3 + E4X w
I assume this is AS3 in Flash AS3 preview?
I tried your example code and it worked as expected, even when I
instantiated Subclass by a variable reference to the class. I have a
feeling you have made some mistake in your code... if not, could you
send a complete example, that we can just paste int
This trick came from my blog post a couple of years ago:
http://www.peterjoel.com/blog/?archive=2004_01_01_archive.xml
It is stable in the future because it relies on the Flash Authoring
compiler, and not on anything in the player. AS2 compiling won't be
changing ever - and even if it does, you c
Is there any difference at all between deleting a variable and setting
it to undefined?
There is a difference. But you won't find many occasions where the
difference is apparent. (one example is a for..in loop will iterate
over a variable whose value has been set to undefined - and that might
be
public function destroy():Void {
// Perform clean-up.
delete this;
}
This code is garbage. The delete operator operates on variables and
not on values. So "delete this" will just delete a variable called
"this" within the scope of that function. To remove an object from
memory,
Hank
On 9/10/06, Peter Hall <[EMAIL PROTECTED]> wrote:
> Do you have subclipse installed?
>
> Peter
>
>
> On 9/7/06, hank williams <[EMAIL PROTECTED]> wrote:
> > I havent figured it out yet, but I had to stop subversion with flex
> > because it just acted wier
Do you have subclipse installed?
Peter
On 9/7/06, hank williams <[EMAIL PROTECTED]> wrote:
I havent figured it out yet, but I had to stop subversion with flex
because it just acted wierd and kept screwing up and preventing me
from updating. But I didnt work hard enough to figure out exactly wh
> Does anyone have any solid information about the performance of SWFs
> published as Flash 7 when playing in Flash Player 9?
Peter Hall did.
My comments were "informed speculation" :-)
A Flash Player engineer would be able to answer this more co
In general, swf7 content should be the same or faster in FP8/9 than in
FP7. AVM2 is completely separate from AVM1, but some aspects are
shared. For example the incremental garbage collector, which was
introduced in FP8. It's *possible* that certain apps on certain
systems might appear to run slowe
lt;[EMAIL PROTECTED]> wrote:
>
> On 8/23/06, Peter Hall <[EMAIL PROTECTED]> wrote:
> > Perhaps you have a class associated with the symbol, which does not
> > extend MovieClip?
> >
> Well the instance of MovieClip, or whatever it is in this case, is a
> part of a
Perhaps you have a class associated with the symbol, which does not
extend MovieClip?
Peter
On 8/23/06, Johannes Nel <[EMAIL PROTECTED]> wrote:
thats quite a hack. a normal cast then returns null i assume?
On 8/23/06, John Grden <[EMAIL PROTECTED]> wrote:
>
> this is the only thing that seems
I really hope I'm missing something...
Yes, you are missing the fact that this is just a technology preview.
You should expect things to work unexpectedly, and you should report
issues to Adobe, instead of ranting on a mailing list.
If you need a production-ready AS3 editor, use FlexBuilder2.
The optimal way is probably to use copyPixels() for each puzzle piece,
setting the alphaBitmapData argument to an image that contains just
the puzzle piece shape. That will effectively mask out the shape of
the piece, but will perform a lot better than using a vector mask, as
it will have modified
escape() is for url encoding, which is not the same as xml encoding. Though
it would work ok, since all the relevent XML special chars would be also
escaped there.
Flash's XML object does not support . When you load XML
containing CDATA, it simply XML-encodes the contents.
If XML-encoding is eno
There is no "default". If you need to restore the state, then you have to
first find out what that state is. There are some methods on that page,
which describe how to do that (though it's fairly clumsy).
For example, if you need to find out the dontEnum value, then you do a
for..in loop and see
If you are using DisplacementMapFilter, it usually looks smooth, provided
that your scaleX and scaleY parameters aren't too high and that your
diplacement map bitmap is itself smooth.
The effect that you would achieve with convolution would be pretty much the
same as a blur, but I'd guess that bl
I think the bare fact of rendering the ads in Flash is not a legal concern
(though I am no lawyer either). But, it might depend more on exactly what
you mean by "end up on other sites". That's the part where I'd be most
concerned about breaking their agreement (though I don't use google ads, and
h
quite ready for production deployments at the moment. With
that said, it is working, and you may be able to start working on your
solution right away.
For more info on Red5 take a look here: http://osflash.org/red5
-Chris
On 5/7/06, Peter Hall <[EMAIL PROTECTED]> wrote:
> And FWIW, you wi
).
Peter
On 5/7/06, Peter Hall <[EMAIL PROTECTED]> wrote:
No, not really.
If you can wait until Flash Player 9, the AS3 Socket object handles binary
data natively.
Peter
On 5/7/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> Binary Data
No, not really.
If you can wait until Flash Player 9, the AS3 Socket object handles binary
data natively.
Peter
On 5/7/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Binary Data through XMLSocket :
---
How we can send binary data through XMLSocket.I have been a
oking for some .NET to Flash tools
> >>
> >>I don't think I would trust a product that says "Flash AJAX client" on
> its
> >>webpage.
> >>
> >>Jim
> >>
> >>-Original Message-
> >>From: [EMAIL PRO
with direct assembly access WITH sessions. Something
> Macromedia's remoting doesn't even do.
>
> Try it
>
> Lee
>
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Peter
> Hall
> Sent: 30 March 2006 16:
http://www.themidnightcoders.com/weborb/aboutWeborb.htm
On 3/30/06, eric dolecki <[EMAIL PROTECTED]> wrote:
>
> remoting :)
>
> On 3/30/06, Brad Kozak <[EMAIL PROTECTED]> wrote:
> >
> > I'm working on a project that involves a .NET backend database. So far,
> > we've successfully used XPath/XML t
39 matches
Mail list logo