Michael,
It seems your problem is similar to one I had with my components.
The matter is that, unlike their behavior in AS2, in AS3 (CS3)
components setters of [Inspectable] parameters are called lo-o-ong
AFTER constructor
As described here
http://www.bit-101.com/blog/?p=1181
So, even if I set
Element awareness remind me of what I read in the Keith Peter's book
Advanced AS3 Animation.
I would go to use a Vector2D class he has recreated from other
programming language (there's also a Vector3D class built-in in flash).
He's talking about the Craig Reynolds' demo (which are element
Hi,
I am trying to debug a problem with streaming an FLV using ffmpeg +
ffserver and have run into something bizarre...
Running from the IDE, I am playing an FLV from the server with the
URL: http://192.168.0.55:8090/test2.flv
The server is not running - I can try to load the
Hmmm,
Restarting the IDE seemed to sort this out - g, crappy IDE.
Glen
Glen Pike wrote:
Hi,
I am trying to debug a problem with streaming an FLV using ffmpeg +
ffserver and have run into something bizarre...
Running from the IDE, I am playing an FLV from the server with
http://www.f-nunes.com
--
Fernando Nunes
Cel.: +55 51 8100.6045
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
funny...
On Fri, Feb 13, 2009 at 1:49 PM, Fernando Nunes fernando.nu...@gmail.comwrote:
http://www.f-nunes.com
--
Fernando Nunes
Cel.: +55 51 8100.6045
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
Hi,
Does anyone know of any test URL's which serve up FLV streams over HTTP.
I am trying to track down a bug and want to eliminate problems with
my streaming setup...
Thanks
Glen
___
Flashcoders mailing list
Hi,
Found a random stream now thanks.
Glen
Glen Pike wrote:
Hi,
Does anyone know of any test URL's which serve up FLV streams over
HTTP.
I am trying to track down a bug and want to eliminate problems with
my streaming setup...
Thanks
Glen
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
var snd:Sound = new Sound(linkageID);
var snd:* = new Class(linkageID);
snd.play();
}
Thanks!
- MM
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
Thanks for responding Ken, but I'm passing a String (linkage id). My
question is really how to create a new instance of the sound when I only
have the linkage identifier as a string? I can't seem to cast it to a
Class.
- MM
-Original Message-
From:
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
Exactly. Or, if you know the name and you don't need it to be a dynamic
reference, just do...
var snd:MySoundName = new MySoundName();
snd.play();
Where MySoundName is the name given to it in the library.
Zeh
On Fri, Feb 13, 2009 at 12:35 PM, Kenneth Kawamoto
kennethkawam...@gmail.com 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 simple.
var myLoader:URLLoader = new URLLoader();
myLoader.addEventListener( Event.COMPLETE, onLoadXML );
myLoader.load( new
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
There is a default namespace, namely: http://www.xignite.com/services/
The following should work:
var myLoader:URLLoader = new URLLoader();
myLoader.addEventListener( Event.COMPLETE, onLoadXML );
myLoader.load( new
URLRequest(http://www.xignite.com/xquotes.asmx/GetQuote?Symbol=AAPL; ));
Stop the messeges
On Feb 13, 2009 8:24 AM, Kenneth Kawamoto kennethkawam...@gmail.com
wrote:
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 l...
I ended up with this
1. function onLoadXML( e:Event ):void
2. {
3. var ns:Namespace = new Namespace(http://www.xignite.com/services/;
);
4. var myXML:XML = new XML( e.target.data );
5.
6. trace( Name + myXML.ns::Name );
7. trace( Last + myXML.ns::Quote.ns::Last );
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
hi,
Using percentages of the parent container height and width triggered by any
box the cursor is over will let you adjust the various scales after it's built.
Say there are elements A,B,C,D,E F. in the first row and G,H,I,J,K,L in the
second and M,N,O,P,Q,R, in the third row...
When
pass the string to getDefinitionByName()
var myClass:Object = getDefinitionByName(linkageID);
var snd:myClass = new myClass();
snd.play();
On Fri, Feb 13, 2009 at 5:11 PM, bernice guerrero bernic...@gmail.comwrote:
Stop the messeges
On Feb 13, 2009 8:24 AM, Kenneth Kawamoto
Thanks for all of this!! So this should work:
var myLoader:URLLoader = new URLLoader(); myLoader.addEventListener(
Event.COMPLETE, onLoadXML ); myLoader.load( new URLRequest(
http://www.xignite.com/xquotes.asmx/GetQuote?Symbol=AAPL; ));
myLoader.dataFormat = XML; //var ns:Namespace = new
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 );
rockin'
On Fri, Feb 13, 2009 at 6:53 PM, Kenneth Kawamoto kennethkawam...@gmail.com
wrote:
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:
Only if you're sure that there will be a namespace defined, if not
myXML.namespace() will return null (and probably throw an error).
Might not be a big deal in this case, but just mentioning it for archive
purposes :)
regards,
Muzak
- Original Message -
From: Kenneth Kawamoto
25 matches
Mail list logo