Re: [Flashcoders] how do i say "string" + anything?

2009-09-23 Thread Steven Sacks
var compareBranch:String = "index/nav/home/whatever/else"; if (compareBranch.indexOf(event.validBranch) > -1) On Sep 23, 2009, at 5:56 AM, Kenneth Kawamoto wrote: Or you could just use indexOf(). Kenneth Kawamoto http://www.materiaprima.co.uk/ strk wrote: On Wed, Sep 23, 2009 at 12:40:55PM

[Flashcoders] RE: swf behaving differently in different domain and other issues loading swf (Isaac Alves)

2009-09-23 Thread Isaac Alves
Hi, both problems solved! The first one was easy, actually there was a conditional that was stopping the animation whenever the swf file was loaded inside an internal page, that is, not the home page. ( I didn´t realize it before cause the code was a bit messy and was made by someone else). The s

Re: [Flashcoders] audio pause/resume problem

2009-09-23 Thread Rodrigo Augusto Guerra
you´re correct, jason. I'll move on to AS3 as soon as I can and the new features it's really a catch to move too. thank you. - Original Message - From: "Merrill, Jason" To: "Rodrigo Augusto Guerra" ; "Flash Coders List" Sent: Wednesday, September 23, 2009 11:11 AM Subject: RE: [

RE: [Flashcoders] RE: swf behaving differently in different domain and other issues loading swf (Isaac Alves)

2009-09-23 Thread Keith Reinfeld
Thanks Hans, I'm not saying a given OP needs to respond to every post in a thread, but this was so blatant. Regards, Keith Reinfeld Home Page: http://keithreinfeld.home.comcast.net -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfi

Re: [Flashcoders] RE: swf behaving differently in different domain and other issues loading swf (Isaac Alves)

2009-09-23 Thread Hans Wichman
I fear this might be the 4th, I feel your pain:) On Wed, Sep 23, 2009 at 8:54 PM, Keith Reinfeld wrote: > That's the third time you've ignored me... > > I'm done. > > > > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chatty

RE: [Flashcoders] RE: swf behaving differently in different domain and other issues loading swf (Isaac Alves)

2009-09-23 Thread Keith Reinfeld
That's the third time you've ignored me... I'm done. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

[Flashcoders] RE: swf behaving differently in different domain and other issues loading swf (Isaac Alves)

2009-09-23 Thread Isaac Alves
update: in the "acoriana" website, the flash-menu is now working perfectly in Firefox, i fixed the problem. but it still remains the mistery of not loading swf in IE6 . cheers! Message: 16 Date: Wed, 23 Sep 2009 11:28:59 -0300 From: Isaac Alves Subject: [Flashcoders] swf behaving differently

RE: [Flashcoders] swf behaving differently in different domain and other issues loading swf

2009-09-23 Thread Keith Reinfeld
Isaac, >> http://clientes.agenciahive.com.br/acoriana/index.php >> the swf gets loaded but the links doesn´t work Check the xml file(s) for proper LINK attribute values. Regards, Keith Reinfeld Home Page: http://keithreinfeld.home.comcast.net _

Re: [Flashcoders] basic mtasc question

2009-09-23 Thread Hans Wichman
Hi, framescripts wont be hurt (if you mean timeline code). regards JC On Wed, Sep 23, 2009 at 5:51 PM, Andrew Sinning wrote: > I'm getting really impatient with the FDE compiler. Probably my fault for > piling on so many classes, but I need to keep moving forward. > > When using mtasc to inject

[Flashcoders] Detecting what port Flash player chooses

2009-09-23 Thread William Chadwick
When you use a RTMP connection string without specifying a port, the Flash Player attempts to make a connection to the Flash media Server specified using port 1935, then if that fails or times out it attempts the connection on 443 and then on port 80 and then attempts to tunnel RTMP through HTTP (R

[Flashcoders] basic mtasc question

2009-09-23 Thread Andrew Sinning
I'm getting really impatient with the FDE compiler. Probably my fault for piling on so many classes, but I need to keep moving forward. When using mtasc to inject code into a swf, does all the AS get replaced, or only the main class? I'd like to leave frame scripts in place. I only want to

[Flashcoders] swf behaving differently in different domain and other issues loading swf

2009-09-23 Thread Isaac Alves
Good morning, I´ve been experiencing some problems with swf files. First one: http://www.swingebalada.com.br/index.php In this website, the logo and menu animations work nice when the home page is loaded (index.php) But in the internal pages (i.e: index.php?cmd=eventos) the animation doesn´t ha

Re: [Flashcoders] audio pause/resume problem

2009-09-23 Thread Rodrigo Augusto Guerra
hi jason I'll search a little more, but know that FP 9 has some audio bugs makes me feel better some way, also if I do it in as3 and the user has FP9 I believe that the bug will persist. thanks, rodrigo. - Original Message - From: "Merrill, Jason" To: "Rodrigo Augusto Guerra" ; "Fl

RE: [Flashcoders] audio pause/resume problem

2009-09-23 Thread Merrill, Jason
>> also if I do it in as3 and the user has FP9 I believe that the bug will persist. You're probably right, but it's getting increasingly difficult for those of us that have moved on to AS3 to speak the language of AS2 and help you troubleshoot. I also think AS3 as a lot of nice programming feature

RE: [Flashcoders] how do i say "string" + anything?

2009-09-23 Thread thomas horner
i ended up using a slice, bit messy but worked. function onAfterGoto(event:GaiaEvent):void { var subString:String; subString=event.validBranch; trace("subslice = "+ subString.slice( 13 ) );

Re: [Flashcoders] audio pause/resume problem

2009-09-23 Thread Rodrigo Augusto Guerra
c'mom guys...no one knows? i'm in a dead end here i can't guarantee that everybody will have FP 10 to avoid this :) - Original Message - From: "Rodrigo Augusto Guerra" To: "Flash Coders List" Sent: Tuesday, September 22, 2009 6:56 PM Subject: [Flashcoders] audio pause/resume

RE: [Flashcoders] audio pause/resume problem

2009-09-23 Thread Merrill, Jason
There were some bad bugs with audio in FP9.x which were fixed in FP10. I don't know if this was one of them, but one of the bugs was that audio would keep playing in a loaded .swf and wouldn't unload even if the .swf was unloaded. I don't know if this is related or not, but thought I would throw i

Re: [Flashcoders] how do i say "string" + anything?

2009-09-23 Thread Kenneth Kawamoto
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 a

Re: [Flashcoders] how do i say "string" + anything?

2009-09-23 Thread strk
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 a substring of event.validBranch, from start to length of "index/nav/his". --strk; Free GIS &

[Flashcoders] how do i say "string" + anything?

2009-09-23 Thread thomas horner
i've built a global nav but now when it comes to detecting the current page and updating the subnav accordingly i've got a little stuck, i think im nearly there, what i need to know if how to say is ; if(event.validBranch == "index/nav/his" + "anything else that might follow"){

[Flashcoders] Shared local file.

2009-09-23 Thread John McCormack
Hi. I have an application that saves user scores remotely, across the web, by sending the data to a php script. That script receives the scores and updates the list in an xml file. The scores are sorted and returned. That works fine. When the user runs the SWF locally, on a school network, I