Re: lingo-l baOpenFile, a level up

2004-09-03 Thread Alex da Franca
At 10:38 Uhr +1200 03.09.2004, Sean Wilson wrote: you can't use the @ identifier for the moviepath with xtras. With version 3.6 (Windows), Buddy API added support for the @ operator. I stand corrected, somehow I missed that. -- ||| a¿ex -- [To remove yourself from this list, or to change to

Re: lingo-l Getting separate parts of a number

2004-09-03 Thread Carl West
Carl West wrote: ... splitList = [[integer(pVal+[.5,-.5][1+(pVal0)]),pVal-integer(pVal+[.5,-.5][1+(pVal0)])],[0,0]][1+(pVal=0)] Oh never mind, Colin's answer can be made into one line and it beats the pants off us: splitList = [bitor(pVal,0),pVal- bitor(pVal,0)] 4x faster than mine which was

RE: lingo-l Getting separate parts of a number

2004-09-03 Thread Pedja
I agree:) What's next? I have so much work to do I need something else to keep my mind off it. BTW...nice code Carl -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Carl West Sent: 03 September 2004 07:43 To: [EMAIL PROTECTED] Subject: Re: lingo-l

lingo-l baOpenFile, a level up

2004-09-03 Thread Baker, Geoff
Alex, Thanks much. Code worked great! Sean, With version 3.6 (Windows), Buddy API added support for the @ operator. Yet it does not seem to work going up a level, just down.? (Director MX, Buddy API Xtra 3.51) GSB ___ Geoffrey S. Baker Programmer Accelera

Re: lingo-l baOpenFile, a level up

2004-09-03 Thread Alex da Franca
At 9:27 Uhr -0400 03.09.2004, Baker, Geoff wrote: Alex, Thanks much. Code worked great! Sean, With version 3.6 (Windows), Buddy API added support for the @ operator. Yet it does not seem to work going up a level, just down.? (Director MX, Buddy API Xtra 3.51) maybe that's because 3.6 is

lingo-l sending windows filepaths from flash to director problem

2004-09-03 Thread Julian Weaver
Hi, When sending windows filepaths e.g. C:\somedirectory\somefile.txt from flash to director the paramters lose the character after the delimiter. e.g. applications\fe\fe32.exe instead of applications\pfe\pfe32.exe What should the \ be replaced in flash with to get the full string or

lingo-l baOpenFile, a level up

2004-09-03 Thread Baker, Geoff
maybe that's because 3.6 is greater than 3.51 Ahem, yes if I could read I would have noticed that. However, I just upgraded to 3.7 which is greater than 3.51 and no go. Still can't do baopenfile(@::M1T2_03_210a.pdf,) or baopenfile(@//M1T2_03_210a.pdf,) Perhaps I'll write Gary and ask him.

Re: lingo-l sending windows filepaths from flash to director problem

2004-09-03 Thread Jeff Gomes
Your problem might be that for assigning string values in javascript and its ilk, the \ is used as an escape character for special codes such as \t (tab), \n (newline), etc. To get the literal character \ rather than having the parser looking for something special in the following character,

Re: lingo-l baOpenFile, a level up

2004-09-03 Thread Troy Rollins
On Sep 3, 2004, at 12:15 PM, Baker, Geoff wrote: Ahem, yes if I could read I would have noticed that. However, I just upgraded to 3.7 which is greater than 3.51 and no go. Still can't do baopenfile(@::M1T2_03_210a.pdf,) or baopenfile(@//M1T2_03_210a.pdf,) Perhaps I'll write Gary and ask him.

Re: lingo-l Getting separate parts of a number

2004-09-03 Thread Tab Julius
A more traditional way, just using abs and some math, gives you: intPart =integer(abs(myFloat) - 0.5) * (-1 + (((myFloat + abs(myFloat)) / (myFloat * 2))*2)) floatPart =abs(myFloat) - abs(intPart) It's the same as my original posting, but abs'ing everything to get the numbers, and that

RE: lingo-l sending windows filepaths from flash to director problem

2004-09-03 Thread Julian Weaver
thanks Jeff! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jeff Gomes Sent: 03 September 2004 17:28 To: [EMAIL PROTECTED] Subject: Re: lingo-l sending windows filepaths

lingo-l MUS Peer-to-peer

2004-09-03 Thread Timothy Lynn
Hi there, I'm currently working on a polling application. The controller shows a question, and 5 other clients present users with different answers for the question. I had prototyped this previously using the free NetXtra, but thought it could be done a little more gracefully using the MUS or

Re: lingo-l MUS Peer-to-peer

2004-09-03 Thread Sean Wilson
I guess my question is what's the best way to handle these disconnects? Firstly, be sure to read these technotes: http://www.macromedia.com/support/director/ts/documents/muxtra_callbacks.htm http://www.macromedia.com/support/director/ts/documents/multiuser_disconnection_det.htm Cheers, -Sean.