On Tue, May 20, 2008 at 1:09 PM, Kenneth Kawamoto
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote:
Not sure if it's related to the crash but your movie generates null
object reference error.
Kenneth Kawamoto
http://www.materiaprima.co.uk/
Andrei Thomaz wrote
Will parseInt be quicker?
Kenneth Kawamoto
http://www.materiaprima.co.uk/
eric e. dolecki wrote:
I am going to be getting key events that sum up a degree of rotation.
ie. 3, 0, 1, ^ = 301 degrees (well, I get keCodes that I need to translate
back into their corresponding numbers)
So I
amp;
Kenneth Kawamoto
http://www.materiaprima.co.uk/
ACE Flash wrote:
hey there,
Is it possible to display in the xml file? I tried to convert it to %26,
but it won't display in the flash
for example:
depFin IT /dep
thanks
___
Flashcoders
Are you sure about that?
var xml:XML = new XML(depFin amp; IT/dep);
var tf:TextField = new TextField();
tf.text = xml;
addChild(tf);
I get Fin IT in the TextField.
Kenneth Kawamoto
http://www.materiaprima.co.uk/
Sidney de Koning wrote:
But you have to say your textfield is HtmlText else
I thought it's standard that the mailing list server rejects duplicate
emails - Dave, does the server of this list have this feature???
Kenneth Kawamoto
http://www.materiaprima.co.uk/
David Christy wrote:
900 Bounced emails and counting
select the text or anything :)
Kenneth Kawamoto
http://www.materiaprima.co.uk/
[EMAIL PROTECTED] wrote:
Hello,
I have a little question that seems obvious but on which I pull my hair off my
head: Does anybody know how to deform a TextField instance?
I tried the basics:
var txt:TextField = new
The max size for BitmapData is 2880 x 2880 px, so if you want scale
something up to x1000 you may run into a problem unless you chop it up
first.
Kenneth Kawamoto
http://www.materiaprima.co.uk/
[EMAIL PROTECTED] wrote:
Yes but...
In my case I can have scaleX 1000, so I loose too much
trace(getDefinitionByName(Test).parse(false));
Output
false
Kenneth Kawamoto
http://www.materiaprima.co.uk/
Patrick Matte | BLITZ wrote:
Does anybody know if it's possible to call a static method of a reference to a
class created with getDefinitionByName without actually creating an instance
One thing worth noting is switch statement uses strict equality (===)
therefore it's not exactly the same as if/else with equality (==).
Kenneth Kawamoto
http://www.materiaprima.co.uk/
Paul Andrews wrote:
Hi guys
quick question that came up in a conversation I had the other day
Use loaderInfo.url as the base and create paths relative to that.
Kenneth Kawamoto
http://www.materiaprima.co.uk/
Allandt Bik-Elliott (Receptacle) wrote:
Hi folks
i have a quick question regarding pathing for a streaming flv.
i have a banner swf that streams an flv which is loaded
var xml:XML = someNode some-attribute=attribute data /;
trace([EMAIL PROTECTED]some-attribute]);
trace(xml[@some-attribute]);
trace(xml.attribute(some-attribute));
Kenneth Kawamoto
http://www.materiaprima.co.uk/
Alias? wrote:
Hi guys,
Quick E4X question.
I have an XML node, with an attribute
You can do something like this as well - you don't need to know the node
name at all:
_officesXML.descendants().(hasOwnProperty(@name) @name == NJ Agency)
Kenneth Kawamoto
http://www.materiaprima.co.uk/
Pavel Kru*šek wrote:
Hi,
Unfortunately this solution is out of action: 1084: Syntax
Slightly shorter:
_officesXML..*.(hasOwnProperty(@name) @name == NJ Agency)
Kenneth Kawamoto
http://www.materiaprima.co.uk/
On Jul 9, 2008, at 4:51 PM, Kenneth Kawamoto wrote:
You can do something like this as well - you don't need to know the
node name at all:
_officesXML.descendants
I don't think that will not work unless every single node in the XML has
the attribute called name.
hasOwnProperty(@name) checks if the node has the attribute.
Kenneth Kawamoto
http://www.materiaprima.co.uk/
Romuald Quantin wrote:
This will search through everything if you need:
_officesXML
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) == NJ)
It won't throw an error
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
-Original Message-
From
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
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
(*)));
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, wheras attribute(title) will not.
Also this is shorter:
var
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://www.materiaprima.co.uk/
Merrill, Jason wrote
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](
attribute(title)));
trace(result
The Lazy Dog because it looks for the from the character
41 onwards, namely Dog, which has no the.
Kenneth Kawamoto
http://www.materiaprima.co.uk/
Merrill, Jason wrote:
OK, I'm like 95% there, but there is still some kind of bug - here is
how to reproduce:
var testXML:XML = data
topics
:)
Kenneth Kawamoto
http://www.materiaprima.co.uk/
Merrill, Jason wrote:
OK good to know, thanks!
Jason Merrill
Bank of America
Enterprise Technology Global Risk LLD
Instructional Technology Media
Join the Bank of America Flash Platform Developer Community
Are you a Bank of America associate
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
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 application
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 line
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:
P-E26.95/P-E
now, how can I address this node?
trace( foo..P-E );
won't work, how can I use E4X
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
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 'gallery.fla
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]
*To:* Flash Coders
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 Coders List
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
page
when
If so I'd ask my PHP coder to generate formatted string so that I need
to code less ;)
e.g.
var xml:XML = data date=Tue Aug 26 12:00:00 GMT 2008 /
var targetDate:Date = new Date([EMAIL PROTECTED]());
...a lot less code than yours!
Kenneth Kawamoto
http://www.materiaprima.co.uk/
Cor wrote
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 Message
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 works fine.
var xml:XML =
course
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 wrote:
Hey flashcoders...
I'm
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
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.materiaprima.co.uk
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
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 to use the following
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 - From
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-excel files from flash
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
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
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 capability
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
)
} else {
rearrenged.appendChild(target
id={node.target}{node.data}/target);
}
}
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
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
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 (
event - loop
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;iargsB.length;i++) { trace(argsB[i]); }
}
Kenneth Kawamoto
http://www.materiaprima.co.uk/
Latcho wrote:
Hi List,
How can I pass a variable amount off
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 work
There are no Linkage IDs 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();
}
Kenneth Kawamoto
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
couldn't be much more
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.xignite.com
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
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:XML
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 =
order
book
.
TIA,
Kenneth
--
Kenneth Kawamoto
http://www.materiaprima.co.uk/
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
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 list
Flashcoders
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 wrote
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
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?
I'm in trouble if its the program then. lol
Karl
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.materiaprima.co.uk
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 underscore key on his
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 originally a PERL
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 text (from
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
want to use
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.co.uk/
Sam Brown wrote:
Hi list,
Quick question
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 small
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 strange
, 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
design(add text, change text font
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 character of a string
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 the flash builder
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 contents of the tag nodes, but can't
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
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 usefull
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
:
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 for existence and length of an
attribute is to use the .attributes
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){
Compare
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:
ErrorDocument 404
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
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 Kawamoto
http
(e.target.href);
Kenneth Kawamoto
http://www.materiaprima.co.uk/
Susan Day wrote:
On Wed, Mar 10, 2010 at 2:20 PM, Susan Day suzieprogram...@gmail.comwrote:
On Wed, Mar 10, 2010 at 1:21 PM, kennethkawam...@gmail.com
kennethkawam...@gmail.com wrote:
If you trace e.currentTarget what do you get
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 branding
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 in an XML:
var foo
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.stageWidth
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
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 starts playing
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...@gmail.com kennethkawam
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 wrote:
Hello,
my server
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 wrote:
Hello fellow flashcoders,
I'm still struggling
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(Full games: + games.game.(elements
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, null, 0xff));
;)
Kenneth
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, Paul Andrews wrote:
On 22/09/2010 20:25
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 someone better than I
not qualifying nodes:
var xml2:XML = pack /;
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
Hi list...
I want loop through to delete certain nodes
var xml:XML = root
pets group=A
pet name=Rover/
pet name=Buffy/
/pets
pets group=B
pet name=Spot/
pet name=Sugar/
/pets
/root;
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
trace(xml.pets.pet.(toXMLString() == 'pet
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 thepet node by using just @name. I need to match a
node in xml.pets
This may be slightly more elegant than using toXMLString():
trace(xml.pets.pet.(contains(pet 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 thepet node by using just
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 on my
101 - 200 of 213 matches
Mail list logo