Re: [Flashcoders] Classes and setInterval ...

2006-03-25 Thread Michael Bedar
Your code came in without returns, but i'll make a wild guess and say that using the alternate form of setInterval will work for you- setInterval(object_containing_function,"function_name_as_string", milliseconds [, params]) -where you pass in the function as a parent object, string pair;

Re: [Flashcoders] Classes and setInterval ...

2006-03-25 Thread stacey
when using intervals, claim them as a property of the class so you can reference them. private var intID:Number intID=setInterval(this,"myFunction",100); private function myFunction(){ trace("my function called"); clearInterval(intID); delete intID; } > Hi All - I am new to AS2 and OOP at larg

[Flashcoders] Classes and setInterval ...

2006-03-25 Thread Stephen Ford
Hi All - I am new to AS2 and OOP at large, but getting there (sort-of). Can anyone please advise as to why, in the following code, the trace statement in the function tweenColors in returning 'undefined' ? Why can't the tweenColors function (which is called with setInterval from another funct

Re: [Flashcoders] duplicate movieclip?

2006-03-25 Thread riccardo.roasio
I found the easy way... 1) create BitmapData 2)for every point paint 6 pixel That's all...easier and faster ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/

Re: [Flashcoders] Flex 2 Datagrid/Tabnavigator bug?

2006-03-25 Thread Jason Y. Kwong
No, not a bug. Containers in Flex 2 use differed instantiation by default. That is, children are not created until they need to be shown, which is why your DataGrid doesn't exist until the user clicks on its tab. A simple solution is to set the TabNavigator's creationPolicy="all" to force it to c

[Flashcoders] Making variables from a component available

2006-03-25 Thread Manuel Saint-Victor
I am attempting to have a component that when present on the stage immediately sets some flash variables. The problem that I am coming across is that since the component is instantiated like other MovieClips I'm wondering how soon the variables in the component will be available for use. What's t

Re: [Flashcoders] Using an Interace as a means of Sharing constants

2006-03-25 Thread Manuel Saint-Victor
Okay- Thanks- At least I know I didn't imagine that part On 3/25/06, Johannes Nel <[EMAIL PROTECTED]> wrote: > > yes, for example java. > > On 3/25/06, Manuel Saint-Victor <[EMAIL PROTECTED]> wrote: > > > > ts-The sound of an idea deflated. So does it work > > like > > that

Re: [Flashcoders] duplicate movieclip?

2006-03-25 Thread riccardo.roasio
Ok, i will give more details. I need to plot a big number of points on a graph. The first time i symply created every time a new movievlip ( too slow) Now, afeter RuneImp suggestions i'm using attachmovie and it seems to work. But, returning to the main issue... i need to plot these series of

Re: [Flashcoders] duplicate movieclip?

2006-03-25 Thread Michael Bedar
I think we would need more info to offer real suggestions.. How are you creating the squares now? attachMovie? If so, switching to duplicate is not going to speed anything up. Do these squares need to be clickable/drag-able etc? If not, using the drawing API is much faster than making movieCli

Re: [Flashcoders] Using an Interace as a means of Sharing constants

2006-03-25 Thread Johannes Nel
yes, for example java. On 3/25/06, Manuel Saint-Victor <[EMAIL PROTECTED]> wrote: > > ts-The sound of an idea deflated. So does it work > like > that in other languages? Just curious > > On 3/25/06, Johannes Nel <[EMAIL PROTECTED]> wrote: > > > > no go in actionscript. > > cr

Re: [Flashcoders] Using an Interace as a means of Sharing constants

2006-03-25 Thread Manuel Saint-Victor
ts-The sound of an idea deflated. So does it work like that in other languages? Just curious On 3/25/06, Johannes Nel <[EMAIL PROTECTED]> wrote: > > no go in actionscript. > create a class and give it static variables. > > On 3/25/06, Manuel Saint-Victor <[EMAIL PROTECTED]> w

Re: [Flashcoders] Using an Interace as a means of Sharing constants

2006-03-25 Thread Johannes Nel
no go in actionscript. create a class and give it static variables. On 3/25/06, Manuel Saint-Victor <[EMAIL PROTECTED]> wrote: > > Can someone help me clear my head on this? I read somewhere about using > an > interface as a means of providing a class with access to some > constants. I > can't r

[Flashcoders] Using an Interace as a means of Sharing constants

2006-03-25 Thread Manuel Saint-Victor
Can someone help me clear my head on this? I read somewhere about using an interface as a means of providing a class with access to some constants. I can't remember where I read it but I am trying to locate a good read about using an interface versus having static variables of some class. If I'm

[Flashcoders] duplicate movieclip?

2006-03-25 Thread riccardo.roasio
I have a big probelm, i need to draw a lot of points in my movie (like 1) . I tryed creating at run time a little square for every point and moving it in a certain position. It works but is very slow. My question is if i can use duplicatemovie clip to duplicate this little square shape

Re: [Flashcoders] comboBox update

2006-03-25 Thread Charles Parcell
Is the comboBox nested in another movieClip? or in a MovieClip that is loaded in? The combobox is the #1 bitch of the MM components. Try setting the ._lockroot property myMC.myComboBox._lockroot = true; Charles P. On 3/25/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Hi, > i have prob

Re: [Flashcoders] > Flash on the Mac...

2006-03-25 Thread CK
Hi, Didn't happen here, is there a preference in Flash 8, or perhaps shed the current plist, and restart Flash 8? CK On Mar 25, 2006, at 1:46 PM, Joshua Buhler wrote: Can't say that I've ever had that one happen to me, and I use Flash 8 on the Mac everyday. - Josh On Mar 25, 2006,

Re: [Flashcoders] > Flash on the Mac...

2006-03-25 Thread Gerry Creighton
I should have been more descriptive... In Flash 8 open the preferences... go to the General prefs pane... in that window at the top it says "On launch:" and to the right is a menu, make the appropriate selection which should be "No document" in your case(s). Gerry

Re: [Flashcoders] > Flash on the Mac...

2006-03-25 Thread Gerry Creighton
Check your preferences in Flash 8. There is a pulldown menu to select what to do when opening Flash. You probably have yours set to open a "new document". Gerry ... http://www.thespikeranch.com Certified Macromedia Fla

Re: [Flashcoders] > Flash on the Mac...

2006-03-25 Thread Brian Mays
I get this everytime as well. Brian Mays On Mar 25, 2006, at 3:56 PM, Weyert de Boer wrote: Can't say that I've ever had that one happen to me, and I use Flash 8 on the Mac everyday. Really? I have it all the time!!! Maybe you have more luck then me :) Yours, ___

Re: [Flashcoders] > Flash on the Mac...

2006-03-25 Thread Weyert de Boer
> Can't say that I've ever had that one happen to me, and I use Flash 8 > on the Mac everyday. Really? I have it all the time!!! Maybe you have more luck then me :) Yours, Weyert de Boer ([EMAIL PROTECTED]) innerfuse* http://www.innerfuse.biz/ ___ Fl

Re: [Flashcoders] > Flash on the Mac...

2006-03-25 Thread Joshua Buhler
Can't say that I've ever had that one happen to me, and I use Flash 8 on the Mac everyday. - Josh On Mar 25, 2006, at 1:59 PM, Weyert de Boer wrote: I happen to have spotted some "wrong" in Flash 8 on the Mac. If you double click on a fla file in the Finder Flash 8 will be opened includin

[Flashcoders] OT: need turkish translation for some expressions

2006-03-25 Thread Martin Weiser
Hello, anybody turkish here? need soem help. urgent. Could you help me this night with several turkich expressions for application i'm working on? first is: "Incomplete input data", or "Incorrect data" slide time total time sound On/Off help needed/used answers results slide start time sli

[Flashcoders] > Flash on the Mac...

2006-03-25 Thread Weyert de Boer
I happen to have spotted some "wrong" in Flash 8 on the Mac. If you double click on a fla file in the Finder Flash 8 will be opened including the file /but also/ a Untitled movie! This Untitled tab will get the focus. Does anyone here happen to have this problem too? It's annoying :/ -- Yours,

[Flashcoders] comboBox update

2006-03-25 Thread riccardo.roasio
Hi, i have problems updating a comboBox in the sense that i use the funcyion addItem but values are not dysplayed in the combo box. I found that if i put the same code in a blank movie it works... In my case thi addItem is in a function and as frame action i have stop(); can be that the stop acti

RE: [Flashcoders] [OT] Sparx Enterprise Architecht generatingActionscript

2006-03-25 Thread matjaž
I make Associative connection in class structural diagram between two classes in the diagram. matjaz -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of David Rorex Sent: Thursday, March 23, 2006 3:29 AM To: Flashcoders mailing list Subject: Re: [Flashcoders]

Re: [Flashcoders] Enourmous data Transfer by Flash.

2006-03-25 Thread Mick G
Sounds like a job for Flex! :) Or if you're not flexible enough yet, you'd have to be confortable with some form or remoting. In my opinion, why use flash? With resume's in particular, lots of people do copying and pasting of text - and for future growth you may want people to upload word docs of