Re: [Flashcoders] RE: retreieving a node that contains a specific attribute from an XML list

2009-09-14 Thread allandt bik-elliott
You can pick nodes by adding a comparison into your XML path Conteudo.(@id == link) will give you the correct node too Sent from my iPhone On 13 Sep 2009, at 22:09, Isaac Alves isaacal...@gmail.com wrote: Hi, thank you all. I've managed to do it like this, based on what Cor wrote me:

RE: [Flashcoders] Re: time based smooth animation w/ GTween. HELP!

2009-09-14 Thread Jack Doyle
Hey Isaac. What exactly are you trying to accomplish with the renderTime(10)? Your example tween was only 1 second long, so where does the 10 come from? If you want to skip to a certain time in a TweenMax tween, make sure you're using the latest v11 (http://blog.greensock.com/v11beta/) and just

Re: [Flashcoders] Loading local files with query strings

2009-09-14 Thread Ian Thomas
Don't use query strings? Seriously - local file names on files systems don't take query strings. You don't have any files called C:\windows\test.exe?id=33, do you? To make a query string work, you need to route the call through an HTTP server. Sounds like you're trying to avoid caching? But I'm

[Flashcoders] Loading local files with query strings

2009-09-14 Thread Álvaro Saraiva
Hi everyone, I have a strange problem loading external assets from local files with Loader() Class in AS3. If i use query string in the file name, the asset don't loads. This code doesnt load the swf file inside a class this.mySWFLoader = new Loader();

Re: [Flashcoders] Loading local files with query strings

2009-09-14 Thread Álvaro Saraiva
___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Re: [Flashcoders] Loading local files with query strings

2009-09-14 Thread Taka Kojima
Appending arguments to the end of a swf file acts the same as setting FlashVars. So, I take it you are trying to pass an id to the loaded in sub swf? Another way to go about it would be to wait until it loads, and then access the contents of the subloaded swf and set variables that way. Or you

Re: [Flashcoders] Loading local files with query strings

2009-09-14 Thread Álvaro Saraiva
___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Re: [Flashcoders] Loading local files with query strings

2009-09-14 Thread Álvaro Saraiva
Hi, But the loaded swf its in AS2, so the swfLoader file cant access the variables in swfLoaded file and vice-versa, right? Álvaro Taka Kojima escreveu: Appending arguments to the end of a swf file acts the same as setting FlashVars. So, I take it you are trying to pass an id to the loaded

Re: [Flashcoders] Loading local files with query strings

2009-09-14 Thread Álvaro Saraiva
Hi Ian, The reason i'm using query strings it's because the same swf must to respond in different manners according the parameters passed. I'm catching the paramenters in loaded swf (its in AS2 :() via _root. But the same approach in flex works, but with flash IDE dont. Is tehre any way to

Re: [Flashcoders] Loading local files with query strings

2009-09-14 Thread Álvaro Saraiva
Hi Ian, The reason i'm using query strings it's because the same swf must to respond in different manners according the parameters passed. I'm catching the paramenters in loaded swf (its in AS2 :() via _root. But the same approach in flex works, but with flash IDE dont. Is tehre any way to

Re: [Flashcoders] Loading local files with query strings

2009-09-14 Thread Álvaro Saraiva
Hi, But the loaded swf its in AS2, so the swfLoader file cant access the variables in swfLoaded file and vice-versa, right? Álvaro Taka Kojima escreveu: Appending arguments to the end of a swf file acts the same as setting FlashVars. So, I take it you are trying to pass an id to the loaded

Re: [Flashcoders] Loading local files with query strings

2009-09-14 Thread Gregory Boland
how about just escaping the ? symbol # 063; On Mon, Sep 14, 2009 at 11:49 AM, Álvaro Saraiva alv...@glups.pt wrote: Hi Ian, The reason i'm using query strings it's because the same swf must to respond in different manners according the parameters passed. I'm catching the paramenters in

[Flashcoders] closures

2009-09-14 Thread Anthony Pace
I was wondering if anyone here uses closures in AS3? I like them a ton; yet, I am wondering if they are ever used in a real world development projects in AS3? Can you see an excuse for using them? I know it does make somethings easier to port to and from JS if coded right.