For what I do phpStorm looks perfect - it supports JS/jQuery and SASS, and it
has FTP/SVN client. I'll try it out. Thanks guys.
Kenneth Kawamoto
http://www.materiaprima.co.uk/
On 23 May 2013, at 23:35, Rick Hassen wrote:
> if you really like Webstorm, some understand it to be a strip
Webstorm doesn't support PHP :(
Kenneth Kawamoto
http://www.materiaprima.co.uk/
On 23 May 2013, at 17:35, Jon Bradley wrote:
There are many better alternatives for professional coding that
include automated building, unit testing, support for SCSS and LESS,
grunt, etc. I wou
Thanks for suggestions gentlemen. I don't think Sublime does jQuery? Jetbrains
editors look good. Dreamweaver doesn't do SASS well so that's something I will
definitely like in these editors :)
Kenneth Kawamoto
http://www.materiaprima.co.uk/
On 23 May 2013, at 17:39, Marco
there are alternative with above equipped. I don't like
to be laughed at. But I know none.
Kenneth Kawamoto
http://www.materiaprima.co.uk/
On 23 May 2013, at 16:17, James Merrill wrote:
> I've been moving to StackOverflow for questions, and Reddit's coding
> subreddits for
if(row.@id != row.@parent){
xml..row.(@id == row.@parent).appendChild(row.copy());
delete xml.row.(@id == row.@id)[0];
}
}
trace(xml);
// trace
Kenneth Kawamoto
t;d"];
for each (var s:String in ids){
xml.row.(@id == s).children = xml.row.(@parent == s && @id != s);
while(xml.row.(@parent == s && @id != s).length()) delete
xml.row.(@parent == s && @id != s)[0];
}
trace(xml);
// trace
"a"));
trace(xml);
// trace
Kenneth Kawamoto
http://www.materiaprima.co.uk/
On 11/10/2011 14:53, Paul Andrews wrote:
What's the best way to turn
this:
myXMLNode =
< row id="a" />
< row id="b" />
< row id="c" />
;
into:
< r
+ 30;
}
trace(new [1, 2, 3, 4, 5].map(vectorMapper));
// traces undefined
Vector.map() does, well, f-all. I can use forEach() to get what I want
but this doesn't look right.
Thanks for testing MM!
Kenneth Kawamoto
http://www.materiaprima.co.uk/
On 19/08/2011 13:36, Mendelsohn, Michael
What do you get for h?
Kenneth Kawamoto
http://www.materiaprima.co.uk/
On 18/08/2011 21:08, Mendelsohn, Michael wrote:
Hi Kenneth...
This is working for me:
var g:Vector. = Vector.([1,2,3,4,5]);
var h:Vector. = g.map(mapper);
function mapper(item:uint,ind:uint,g:Vector.):void
Dear coders,
Vector.map() is supposed to return a new Vector but it appears to return
nothing (undefined). Is this working for you?
Regards,
Kenneth
--
Kenneth Kawamoto
http://www.materiaprima.co.uk/
___
Flashcoders mailing list
Flashcoders
That's not valid XML
Kenneth Kawamoto
http://www.materiaprima.co.uk/
On 22/07/2011 19:06, Mendelsohn, Michael wrote:
Hi list...
The second line returns an XMLList only if the first line (bug) isn't commented
out. If the first line is commented out, the second line returns null.
FP10.3 SWC
http://download.macromedia.com/pub/labs/flashplatformruntimes/flashplayer10-3/flashplayer10-3_playerglobal_052011.swc
Kenneth Kawamoto
http://www.materiaprima.co.uk/
On 17/06/2011 00:06, John R. Sweeney Jr wrote:
Well Mister Winkie :) what is the proper name?
Thanks,
John
.
Kenneth Kawamoto
http://www.materiaprima.co.uk/
On 17/06/2011 00:06, John R. Sweeney Jr wrote:
Well Mister Winkie :) what is the proper name?
Thanks,
John
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com
That's not the correct name! ;)
Kenneth Kawamoto
http://www.materiaprima.co.uk/
On 16/06/2011 18:05, John R. Sweeney Jr wrote:
I currently have CS3, CS4 and CS5 on my system and a global search for
playerglobals.swc comes up with nothing. If that is the correct name, it is
not anywhere
This may be slightly more elegant than using toXMLString():
trace(xml.pets.pet.(contains()).parent().@group);
// B
Kenneth Kawamoto
http://www.materiaprima.co.uk/
On 05/05/2011 17:06, Mendelsohn, Michael wrote:
Thanks everyone.
I don't want to find the node by using just @name. I ne
trace(xml.pets.pet.(toXMLString() == 'name="Sugar"/>').parent().@group);
// B
--
Kenneth Kawamoto
http://www.materiaprima.co.uk/
On 05/05/2011 17:06, Mendelsohn, Michael wrote:
Thanks everyone.
I don't want to find the node by using just @name. I need to match
var xml:XML =
;
trace(xml.pets.pet.(@name == "Sugar").parent().@group);
// B
Perhaps you don't want to call your XML "pets" as it's a node name as well.
Kenneth Kawamoto
http://www.materiaprima.co.uk/
On 05/05/2011 16:32, Mendelsohn, Michael wrote:
instead of deleting not qualifying nodes:
var xml2:XML = ;
xml2.appendChild(xml.dog.(attribute("id") == "2"));
Kenneth Kawamoto
http://www.materiaprima.co.uk/
On 01/12/2010 05:33, Mendelsohn, Michael wrote:
Sorry list! I didn't properly title that post! :-(
- MM
H
What?!
I don't know which Kenneth Kawamoto you're referring to, Kerry, but I do
not work for Adobe and I'm definitely not an ECMA Script Committee
member either!
May be you got mixed up with someone else from my Director-list days?
Anyway it's good to be confused with s
> Some testers had reported that
> they were unable to enter a '@' symbol because when the tried to they
> got an '"' (double quote).
This is usually caused by wmode set to transparent.
Kenneth Kawamoto
http://www.materiaprima.co.uk/
On 24/09/2010 15:36, Pau
If you "cancel" the TextFormat you should be able to apply textColor, i.e.
_label.setStyle("textFormat", new TextFormat(null, null, null));
_label.textField.textColor = 0xff;
But then you may as well just do:
_label.setStyle("textFormat", new TextFormat(null,
I meant attribute() - attribute() and attributes() are quite different
things ;)
Kenneth Kawamoto
http://www.materiaprima.co.uk/
On 26/08/2010 11:41, Kenneth Kawamoto wrote:
You can use "elements()" (and "attributes()") to avoid getting the
error, i.e.
trace("F
You can use "elements()" (and "attributes()") to avoid getting the
error, i.e.
trace("Full games: " + games.game.(elements("user").length() ==
3).length());
Kenneth Kawamoto
http://www.materiaprima.co.uk/
On 26/08/2010 11:00, Alexander Farber wrot
May be this is what you after?
trace("Full games: " + games.game.(user.length() == 3).length());
trace("Vacant games: " + games.game.(user.length() < 3).length());
// Trace
Full games: 1
Vacant games: 2
Kenneth Kawamoto
http://www.materiaprima.co.uk/
Alexander Farber wr
SWF here
But I strongly recommend you to have a look at SWFAddress, which is
absolutely indispensable framework if you are creating a site driven by
dynamic data ;)
Kenneth Kawamoto
http://www.materiaprima.co.uk/
John Singleton wrote:
- Original Message
From: "kennethkawam...@g
NetStream.Buffer.Full/Empty/Flush - which *may* give
you more accurate info.
Kenneth Kawamoto
http://www.materiaprima.co.uk/
patrick [insert last name here] wrote:
Hey, thanks for your response. I didn't set a playheadupdate listener
yet so i'm not sure if it fires once the video star
If you set up a listener for playheadUpdate when bufferingStateEntered
occurs, do you receive playheadUpdate event when the video starts
playing again?
Kenneth Kawamoto
http://www.materiaprima.co.uk/
patrick [insert last name here] wrote:
Ok, so I've spent a lot of time trying to figure
multiline & wordWrap ?
Kenneth Kawamoto
http://www.materiaprima.co.uk/
John Singleton wrote:
Hi;
I have this code:
function Text()
{
parent_container5 = new Sprite();
addChild(parent_container5);
//parent_container5.width = stage.stageW
You can also do:
var myNode:String = "background";
var myAttr:String = "url";
var foo:XMLList = customxml.config[mynod...@[myattr];
You almost got it ;)
Kenneth Kawamoto
http://www.materiaprima.co.uk/
Steven Loe wrote:
In E4X we use dot notation to access a node
pload the user image to the
server - just do everything at the client ;)
Kenneth Kawamoto
http://www.materiaprima.co.uk/
Anthony Pace wrote:
For the first sentence I meant to say that applying an overlay at the
client is fine, if you are not concerned with your stream being ripped
without bra
L(e.currentTarget.getChildAt(0).htmlText)@href);
Or you can use RegExp to extract the string without using XML.
But this is crazy, really ;)
You should not need to use getChildByName/getChildAt at all for this.
Just extend Sprite and create public property, so that you can for
example just do
Loader is used to load SWF or images.
loader3.load(new URLRequest("index.py"));
Is your Python script meant to return SWF/image? If you want to load a
data, use URLLoader instead.
But I think what you want is to go to another page, if so use
navigateToURL().
Kenneth Kaw
When you view your 404 page as non existing page
www.mysite.com/bla.html, relative URLs in your 404 HTML are treated as
relative to bla.html
Kenneth Kawamoto
http://www.materiaprima.co.uk/
Cor wrote:
Thanks for replying!
No, I solved it with the help of Henrik by using BASE in my head
Is your embedding URL to your SWF in your 404.html specified as
site-root relative? i.e. /errorPages/your.swf
Kenneth Kawamoto
http://www.materiaprima.co.uk/
Cor wrote:
Hi List,
I don't know if this is cross-posting, if so I apologize.
I have this in my .htaccess:
ErrorDocumen
Or you could just use indexOf().
Kenneth Kawamoto
http://www.materiaprima.co.uk/
strk wrote:
On Wed, Sep 23, 2009 at 12:40:55PM +0100, thomas horner wrote:
what i need to know if how to say is ; if(event.validBranch ==
"index/nav/his" + "anything else that might follow
...so instead this should be used:
trace(_conf.(attribute("instance") == "boo"));
Kenneth Kawamoto
http://www.materiaprima.co.uk/
Steven Sacks wrote:
You will get runtime errors when attempting to access an attribute that
isn't there. The proper way to check
XMLList, and you can check its length().
Kenneth Kawamoto
http://www.materiaprima.co.uk/
Glen Pike wrote:
Hi,
I am having problems parsing some XML config files and testing for
empty attributes. There is an example xml below.
Problem is that I am asking for the following:
_co
No, it won't work on Macs ;)
Kenneth Kawamoto
http://www.materiaprima.co.uk/
Sidney de Koning wrote:
Yeah it is, they call it copy-pasting ;-) The key command is CTRL-C to
copy and CTRL-V to paste... Think it even works on a mac too...
One extra key command, but still incredibly us
SWFAddress?
Kenneth Kawamoto
http://www.materiaprima.co.uk/
Andrew Sinning wrote:
How could I let the user bookmark the current state of a dynamic flash
page? I know how to save the current state of the movie and then just
load that as the default, but what if the user should be able to
You may want to try:
projectsXML.project.(tags.tag.contains("Website"))
Kenneth Kawamoto
http://www.materiaprima.co.uk/
Mark Burvill wrote:
Hello flashcoders,
I'm trying to work out how to filter the below XML (loaded into a var
called "projectsXML") by the content
have Intel but I also have dual G5, so this makes me sad... :)
Kenneth Kawamoto
http://www.materiaprima.co.uk/
Gustavo Duenas wrote:
Is adobe dropping the making of programs for the mac g5 ppc machines?
I'm asking this because I've just downloaded the coldfusion builder beta
and th
trace(("Flash").replace(/(.{2}).(.*)/, "$1e$2"));
// Flesh
Perhaps not the answer, I know ;)
Kenneth Kawamoto
http://www.materiaprima.co.uk/
Paul Steven wrote:
Probably something really simple but can't for the life of me recall the syntax
to change a particular ch
ght Adobe's stance is the same, but if you want to play safe you
can use Adobe fonts :)
http://www.adobe.com/type/browser/legal/embeddingeula.html
Kenneth Kawamoto
http://www.materiaprima.co.uk/
Sumeet Kumar wrote:
Hi All,
I am developing a desktop application in AS 2.0, in which user can
I may be wrong but that could be BOM? If you use writeUTF() and open the resulting file in a Unicode
editor do you still see it?
Kenneth Kawamoto
http://www.materiaprima.co.uk/
Cheetham, Marcus wrote:
I'm using fileStream to save a text file. This works OK, but introduces
some st
It should work if you create a MovieClip in the Library and place your PNG inside, then use the
MovieClip Class name as icon.
Kenneth Kawamoto
http://www.materiaprima.co.uk/
Roman Blöth wrote:
Hello folks,
since hours now I'm trying to put an image into my List...
I have built some
cuePoint event object has "info" property, which is an object contains properties such as "name",
"time", and "type". In your situation you would just fire some actions depending on the name of the
cue point.
Kenneth Kawamoto
http://www.materiaprima.c
You should not create your "NewWindow" in the "newClick" function. Do so on SWFAddressEvent.CHANGE
event instead.
Kenneth Kawamoto
http://www.materiaprima.co.uk/
Gustavo Duenas LRS wrote:
Hi Friends.
I have seen the tutorial for the swfaddress in gotoandlearn.com, but I
You should be able to set the text of a TextFieldType.INPUT type TextField using "text" property as
you are doing.
Kenneth Kawamoto
http://www.materiaprima.co.uk/
Carl Welch wrote:
Hi,
I need to place some text into a input text field - the user needs to be
able to edit some te
Yes you are right, Dave.
"Lerdorf initially created these Personal Home Page Tools [in C] to
replace a small set of Perl scripts he had been using to maintain his
personal homepage." - Wikipedia
Kenneth Kawamoto
http://www.materiaprima.co.uk/
Dave Watts wrote:
(PHP was origina
I always thought "$" stands for "scaler", which is basically a variable
in PERL, which PHP inherited (PHP was originally a PERL module ?)
Kenneth Kawamoto
http://www.materiaprima.co.uk/
Muzak wrote:
What does the dollar symbol do?
It shows that the developer broke the u
I thought about this last night - I use PC as well, you see :)
Leopard's Font Book is great that you can verify fonts. On PC I'd do the
usual: remove half the fonts, restart, test, then remove another half,
restart, test, etc, etc.
Get a Mac :P
Kenneth Kawamoto
http://www.materiap
"Font Suitcase" as in ".suit" (FFIL) like "AGaramond-Semibold.suit". I
am not referring to Extensis product.
Kenneth Kawamoto
http://www.materiaprima.co.uk/
Karl DeSaulniers wrote:
You had trouble with SUITCASE!
The program or just a "Font" Suitcase
issues with my fonts ever.
Kenneth Kawamoto
http://www.materiaprima.co.uk/
Karl DeSaulniers wrote:
Are they True Type fonts?
Karl DeSaulniers
Design Drumm
http://designdrumm.com
On May 5, 2009, at 5:21 PM, Kenneth Kawamoto wrote:
Cheers for the heads up Steve. I got to the bottom of this CS4
to play before the crash) but noticed my
FLA didn't compile in CS3 because of ColorMatrix etc not available in
CS3. Not a workaround there.
Funny thing is the same set of fonts have no issues on my Quad Intel Mac.
Kenneth
Kenneth Kawamoto
http://www.materiaprima.co.uk/
Stephen Matthews
Quad Intel.
Needless to say, "needless" because these things only happens on
deadlines, I have this deadline so any insights are appreciated!
TIA,
Kenneth
--
Kenneth Kawamoto
http://www.materiaprima.co.uk/
___
Flashcoders mailing l
.
TIA,
Kenneth
--
Kenneth Kawamoto
http://www.materiaprima.co.uk/
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Shorter:
for each(var item:XML in myXML.book.title){
arr.push(item.toString());
}
Kenneth Kawamoto
http://www.materiaprima.co.uk/
ACE Flash wrote:
I was using this script, is there any short way to push them into an array?
Thank you.
var myXML:XML
This is shorter:
for(var i:uint = 0, len:uint = myXML.book.title.length(); i < len; i++){
arr.push(myXML.book.title[i]);
}
Kenneth Kawamoto
http://www.materiaprima.co.uk/
ACE Flash wrote:
I was using this script, is there any short way to push them into an array?
Thank you.
var myXML:
If you want to find the EMPLOYEE node you can do something like:
trace(staff2.EMPLOYEE.(text()[0] == "leroy").toXMLString());
trace(staff2.EMPLOYEE.(child(0) == "leroy").toXMLString());
trace(staff2.EMPLOYEE.(toString() == "leroy").toXMLString());
Kenneth Kawamoto
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:
var myLoader:URLLoader = new URLLoader(); myLoader.addEventListener(
Event.COMPLETE, onLoadXML
You can extract it like this as well:
var ns:Namespace = myXML.namespace();
--
Kenneth Kawamoto
http://www.materiaprima.co.uk/
Eric E. Dolecki wrote:
I ended up with this
1. function onLoadXML( e:Event ):void
2. {
3. var ns:Namespace = new Namespace("http://www.xignit
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 done 8 billions times before and now things are acting up. Code
c
There are no "Linkage ID"s in AS3. Class names you are talking about? :)
May be you can do something like:
private function playSound(className:String):void {
var ClassRef:Class = getDefinitionByName(className) as Class;
var snd:Object = new ClassRef();
snd.play();
}
Kennet
var snd:LinkedSound = new LinkedSound();
snd.play();
Kenneth Kawamoto
http://www.materiaprima.co.uk/
Mendelsohn, Michael wrote:
Hi list...
Silly AS3 question: how do you play a sound with a linkage identifier?
public function playSound(linkageID:String):void{
// these don't
You can accept them as an Array, e.g.:
public function passingArgs(argsB:Array):void {
trace("#args_B:",argsB.length);
for(var i:int=0;ihttp://www.materiaprima.co.uk/
Latcho wrote:
Hi List,
How can I pass a variable amount off function arguments to a next
function ?
Below the way I
I don't think so.
If the sound was "Stream" you could control the sound's playtime by
sending the playhead to the desired frame.
Kenneth Kawamoto
http://www.materiaprima.co.uk/
karim beyrouti wrote:
This worked - thanks - however - my sound is triggered on the timeline (
Shouldn't it be more like:
var stfm:SoundTransform = theMC.soundTransform;
stfm.volume = 0;
theMC.soundTransform = stfm;
Kenneth Kawamoto
http://www.materiaprima.co.uk/
Karim Beyrouti wrote:
Hi !
Another simple AS3 question - well at least I hope so.
I am trying to set the volume
{
rearrenged.appendChild(id={node.target}>{node.data});
}
}
return rearrenged;
}
Kenneth Kawamoto
http://www.materiaprima.co.uk/
Glen Pike wrote:
Hi,
I have a load of data loaded from a server as XML which is
essentially a flat list. Nodes in the list have a child n
uniform
colour.
Do you have any good ideas?
Kenneth
--
Kenneth Kawamoto
http://www.materiaprima.co.uk/
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
You ARE the Movie Star, John.
Kenneth Kawamoto
http://www.materiaprima.co.uk/
John R. Sweeney Jr wrote:
I've done 4 projects, using tons of H.264 videos and they work great and
look beautiful. ;)
on 11/4/08 11:33 AM, Kenneth Kawamoto at [EMAIL PROTECTED] wrote:
H.264 playback capab
H.264 playback capability was added in Flash Player 9 Update 3, Version
9.0.115.0 - a.k.a. MovieStar
Kenneth Kawamoto
http://www.materiaprima.co.uk/
Karim Beyrouti wrote:
Hello ! - just wondering what is the lowest version of flash that plays
MP4?...
Kind regards
Karim
Embed fonts.
Or if you set the blendMode of the TextInput and fade the TextInput
itself instead of container MovieClip, you shouldn't get those side effects.
Kenneth Kawamoto
http://www.materiaprima.co.uk/
Preston Parris wrote:
I have a MovieClip with a text input component on top
You could use fscommand exec to run a BAT file/Apple Script (in
"fscommand" subdirectory) which opens the file (...in theory. I haven't
done this for many years :)
Kenneth Kawamoto
http://www.materiaprima.co.uk/
Bassam M wrote:
Hi guy
Is there anyway that I can open word-e
The other thing caught my eye is this bit:
mobileNumber.text != NaN
mobileNumber.text != undefined
"text" property is ALWAYS String, therefore it cannot be a Number or
undefined. The code should not compile.
Kenneth Kawamoto
http://www.materiaprima.co.uk/
- Original Message
Thanks Muzak. I didn't know about this "mp4:file" source string - it's
not documented by Adobe is it...? How strange ;)
Will ask my colleague to test again on Monday.
Kind regards,
Kenneth Kawamoto
http://www.materiaprima.co.uk/
Muzak wrote:
Works fine here.
Make sure
OK I change the question: has anyone managed to play RTMP H.264 through
FLVPlayback???
Kenneth
--
Kenneth Kawamoto
http://www.materiaprima.co.uk/
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman
Has anyone successfully played RTMP H.264 from RubyIzumi on FLVPlayback?
I can play the video through NetStream but I get "VideoError: 1004:
Invalid source" when I assign the source for the FLVPlayback...
Kenneth
--
Kenneth Kawamoto
http://www.materiap
Have you done: import flash.system.fscommand; ?
Kenneth Kawamoto
http://www.materiaprima.co.uk/
BOYD SPEER wrote:
I often use the fscommand feature to help debug but when I use this in AS 3 I get an error message --1061: Call to a possibly undefined method fscommand through a reference with
If you post your XML as well that'll help, but this:
cue_points[cue].splice(1,1,cueIn);
...looks dodgy to me. "cue" needs to be an uint for this to work but
it's an XML, also you set "cueIn = cue" ???
Kenneth Kawamoto
http://www.materiaprima.co.uk/
noentourage
Shouldn't it be "trace(child.title);" instead?
Kenneth Kawamoto
http://www.materiaprima.co.uk/
Vayu Robins wrote:
Hi.
I am trying to build a dynamic menu system with unlimited submenus.
I have this from Colin Moock's book (Essential AS3) and it work
Isn't that always the case no matter how you construct the date object?
Kenneth Kawamoto
http://www.materiaprima.co.uk/
Cor wrote:
Yes, but still it is depending of the localtime.
Trace(targetDate); gives me in the Netherlands: Tue Aug 26 12:00:00 GMT+0200
2008
-Original Me
If so I'd ask my PHP coder to generate formatted string so that I need
to code less ;)
e.g.
var xml:XML =
var targetDate:Date = new Date([EMAIL PROTECTED]());
...a lot less code than yours!
Kenneth Kawamoto
http://www.materiaprima.co.uk/
Cor wrote:
In PHP you can do whatever you want
By the way your HTML closing tags are wrong.
Kenneth Kawamoto
http://www.materiaprima.co.uk/
http://venturawave.com/fs/fullscreen.html
This site crashed on my client's Mac. The problem was likely that I
didn't
include or nest the the embed tags within the object tags in my html
No, I mean when you trace it from the button.
Kenneth Kawamoto
http://www.materiaprima.co.uk/
SJM - Flash wrote:
Kenneth i get... [object Loader] when tracing parent
SJM
- Original Message -
*From:* Kenneth Kawamoto <mailto:[EMAIL PROTECTED]>
*To:* Flash Coder
What do you get if you do "trace(parent);"?
Kenneth Kawamoto
http://www.materiaprima.co.uk/
SJM - Flash wrote:
Again another solution i tried but this too does not work!
Thanks
SJM
- Original Message -
*From:* Kenneth Kawamoto <mailto:[EMAIL PROTECTED]>
You should be able to do access the parent by using, "parent".
Kenneth Kawamoto
http://www.materiaprima.co.uk/
SJM - Flash wrote:
Hi guys, im having some trouble accessing a function from another class and I
would like to know how its done.
In my project i have 2 FLAs 'g
This post from Tinic Uro sounds promising:
http://www.craftymind.com/guimark/#comment-1032
Kenneth Kawamoto
http://www.materiaprima.co.uk/
Matt S. wrote:
Mac has always been inferior to PC when it comes to Flash performance
(and I say that as a dedicated Mac user). It's improved alot
One way is: trace(foo.descendants("P-E").toXMLString());
Kenneth Kawamoto
http://www.materiaprima.co.uk/
eric e. dolecki wrote:
I am getting XML from a WSDL and one of the nodes is like so:
26.95
now, how can I address this node?
trace( foo..P-E );
won't work, how can I use
I could be wrong but that (user input validation) should be done prior
to RegExp construction.
Kenneth Kawamoto
http://www.materiaprima.co.uk/
Merrill, Jason wrote:
That was it, it works now, thanks. Funny, I didn't notice that, I had
it in my code before, but somewhere along the li
If you output stageWidth/stageHeight to a TextField I think you can
verify they are not zero.
Kenneth Kawamoto
http://www.materiaprima.co.uk/
Helmut Granda wrote:
Yeah, that is the first setting in my Document's class constructor,
specially since i need that info through out the applic
It works fine for me every time. What is your code look like?
Kenneth Kawamoto
http://www.materiaprima.co.uk/
Helmut Granda wrote:
Hello all,
I have a small dilema, my application is working properly and I am relying
on Stage width and height to position some elements. FOr some odd reason
n "@", moreover "(re as RegExp).test()" is
slower than "re["test"]()" - well they are all logical too, you may say :)
Kenneth Kawamoto
http://www.materiaprima.co.uk/
Merrill, Jason wrote:
OK good to know, thanks!
Jason Merrill
Bank of America
Enterprise Te
de Of The World - true
0 - The Quick Brown Fox Jumped Over The Lazy Dog - true
0 - Violet Hill - false
With global flag RegExp will not find "the" in "The Quick Brown Fox
Jumped Over The Lazy Dog" because it looks for "the" from the character
41 onwards, namel
I don't think you need "g" (Global flag) for this.
Kenneth Kawamoto
http://www.materiaprima.co.uk/
Merrill, Jason wrote:
Wait, think I got it:
var re:RegExp = new RegExp(searchInput.text, "g,i");
var xmlListSearch:XMLList = testXML..*.( re["test"](
a
Yes that's that :)
Anyway in your case you know the incoming XML schema so you shouldn't
use wildcard "*" - I think wildcards have serious performance hits.
i.e. "theXML.topics.topic." should be used rather than "theXML..*."
Kenneth Kawamoto
http:/
quot;*")) ||
re["test"](child("*")));
Kenneth Kawamoto
http://www.materiaprima.co.uk/
Merrill, Jason wrote:
Thanks. However, I have been told using @title is not good in most
situations because it will return an error if a node doesn't have the
attribute, whe
I get the correct node (although I also get Warning 3594). If you are
tracing, you must do trace(xmlListSearch.toXMLString());
Also this is shorter:
var xmlListSearch:XMLList = test..topic.(re.test(@title));
Kenneth Kawamoto
http://www.materiaprima.co.uk/
Wagner Amaral wrote:
I was doing
I probably misunderstood your question, but since you are loading
MyFileGoesHere.SWF you must know the path to it...?
Kenneth Kawamoto
http://www.materiaprima.co.uk/
Helmut Granda wrote:
hello all,
I just wanted to re-write my question in case I didnt make sense.
So what I want to know is
It's attribute("name"), not attribute(@name)
Kenneth Kawamoto
http://www.materiaprima.co.uk/
Romuald Quantin wrote:
I've tried it yet.
But I guess you might need to write it like that?
_officesXML..*.(attribute(@name) == "NJ Agency")
Romu
www.soundstep.com
-
Yes, I can verify that. Thanks.
_officesXML..*.(attribute("name") == "NJ Agency")
Kenneth Kawamoto
http://www.materiaprima.co.uk/
Romuald Quantin wrote:
Also, Grant Skinner explained that you can avoid:
hasOwnProperty("@name")
By using :
(attribute(name) == &q
1 - 100 of 223 matches
Mail list logo