[Flashcoders] [AS3] FileReference.download()

2008-03-13 Thread ntasky
Hi. simply trying to download files such as .zip or .pdf. The dialog box which tells me wher i want to download the file appears, i click OK, the dialog box closes and nothing is downloaded. files are on the same server. Did someone has a similar issue ? thx, N. here is my code: package {

Re: [Flashcoders] [AS3] FileReference.download()

2008-03-13 Thread ntasky
(MouseEvent.CLICK, _onDownload); }; -- From: "Bob Leisle" <[EMAIL PROTECTED]> Sent: Thursday, March 13, 2008 4:16 PM To: "Flash Coders List" Subject: Re: [Flashcoders] [AS3] FileReference.download() Hi Ntasky, I'm not su

[Flashcoders] customizable HTML/javascript editor for Flash

2008-07-03 Thread ntasky
Hi everyone, I've got a text editor in html/javascript and would like to have a nice way to get it formatted for flash. Actually the code produced by the text editor is not good for flash. tryed to parsed it in flash but it's way to difficult. I was thinking of a very simple editor in HTML very

Re: [Flashcoders] customizable HTML/javascript editor for Flash

2008-07-03 Thread ntasky
lue of the text field when your form gets submitted, and save that to the database. This way you ensure your text displays the same way as it will in Flash in the end. Piers On 3 Jul 2008, at 15:49, ntasky wrote: Hi everyone, I've got a text editor in html/javascript and would lik

Re: [Flashcoders] BUG: Channel.position returns out of range positionson looping Sounds

2008-08-08 Thread ntasky
Hi, It really depends on the computer. got the same issue, but for me soundChannel.position never reached the sound.length (which is actually higher than it should be : my sound is a perfect 8.0s and the length is 8.054). try this: when you start a sound and a timer at the very first frame, th

[Flashcoders] control the scroll of a scrollPane component V2

2007-01-07 Thread ntasky
Hi, How can I can control the scroll of a scroll pane content ? In V1 version i could use : myScrollPane.vPosition = myScrollPane.maxVPosition; but i found nothing on V2 version. Plus because my content is dynamic, is there an event that allows me to know when the scrollBar appears in the scrollP

Re: [Flashcoders] control the scroll of a scrollPane component V2

2007-01-07 Thread ntasky
) but it might help you. Look into the documentation for the events supported by the scrollpane. greetz JC On 1/7/07, ntasky <[EMAIL PROTECTED]> wrote: Hi, How can I can control the scroll of a scroll pane content ? In V1 version i could use : myScrollPane.vPosition = myScrollPane.maxV

Re: [Flashcoders] >> combobox

2007-01-17 Thread ntasky
Hi, Had the same problem, solved it by bringing an instance of the combo component in the main movie even if th emain movie doesn't use it. Also, in other cases i had to uses the _lockroot property (http://livedocs.macromedia.com/flash/mx2004/main_7_2/wwhelp/wwhimpl/common/html/wwhelp.htm?conte

[Flashcoders] math simple operation

2007-01-27 Thread ntasky
Hi, I'm kind of disapointed : trace (1.3-1) // traces:0.3 but : trace (9.3-9) // traces: 0.301 trace (100.3-100) //traces: 0.297 ... is there a way that it can traces always 0.3 has it should be normal ? thx N. -- Nicolas TASKY conseil, analyse et développement multiméd

Re: [Flashcoders] math simple operation

2007-01-27 Thread ntasky
TED]> To: "Flashcoders mailing list" Sent: Saturday, January 27, 2007 8:22 AM Subject: Re: [Flashcoders] math simple operation Hi, multiply everything with 1000 before, and divide by 1000 after?:) greetz JC On 1/27/07, ntasky <[EMAIL PROTECTED]> wrote: Hi, I'm kind o

Re: [Flashcoders] math simple operation

2007-01-27 Thread ntasky
util.NumberUtil ; var result = Number(NumberUtil.toFixed(9.3 - 9, 1)) ; trace(result) ; // 0.3 var result = Number(NumberUtil.toFixed(100.3-100, 1)) ; trace(result) ; // 0.3 EKA+ :) 2007/1/27, ntasky <[EMAIL PROTECTED]>: Hi, I'm kind of disapointed : trace (1.3-1) //

Re: [Flashcoders] math simple operation

2007-01-27 Thread ntasky
the wrong answer isn't an option. I have worked on some systems where the front end gave one figure, but the back end reporting function gave another because this wasn't properly addressed.. As a financial application developer, it's surprising you weren't already aware of th

[Flashcoders] access movieclip trough a class

2007-01-29 Thread ntasky
i have a movieClip "holder" that contains other child movieClips (mc1, mc2, mc3...) created in the flash interface. From the librairie i linked themovieClip "holder" to this Class. class Holder extends MovieClip{ //constructor function Holder(){ mc1._x=50 } } But it says mc1 is undefined.Well

[Flashcoders] Cache issues on CS3

2007-07-06 Thread ntasky
Hi :) don't know if it has been discussed earlier, couldn'T make any search. Anyway i've just installed CS3 on Vista and flashdevelop (FD3 beta2) , and i've got cache issues that i never got with flash 8. I'm working locally and even the ASO clear cache command doesn't work. When i do changes o

Re: [Flashcoders] Scroll to maximum vPosition?

2007-08-22 Thread ntasky
Hi, remember had the same problem, and i had to did this: hope that helps // manage the position of the scrollbar private function manageScrollBar(scrollMax:Boolean):Void{ // :KLUDGE: this line is needed to force the scroll mcScrollPane.vScrollPolicy = "auto"; mcScrollPane.invalidate(); if (