Re: [Flashcoders] limits to AS2 levels of OOP class inheritance?

2007-02-18 Thread Dani Bacon
hey Steven thanks for you help. well right now the problem happened only once more. This time it broke the inheritance connection between [Country] and [BoundedMarker]. I went through the same bizzar process of moving the [BoundedMarker] class out of its package .. compiling with MMC, then MTASC

[Flashcoders] Passing a Function as Parameter and call function later

2007-02-18 Thread Felipe Hefler
Hi everyone! I'm having trouble with this issue: function rew(m:MovieClip, f:Function) { m.onEnterFrame = function() { var cf:Number = m._currentframe; var tf:Number = m._totalframes; if (cf=tf cf1) { m.gotoAndStop(--cf); } else if (cf==1) {

Re: [Flashcoders] Passing a Function as Parameter and call function later

2007-02-18 Thread dr.ache
Hi. i guess you have a scope problem. for me, your code worked fine, here my adjustments to test it (i got one MC with a 180 frame MotionTween starting at 120 when loaded, on the stage, called fred. i simulated the function call with an interval, so the animation starts and after 2 seconds, your

Re: [Flashcoders] Passing a Function as Parameter and call function later

2007-02-18 Thread Felipe Hefler
Thank you dr.ache. Wasn't that the problem. Anyway your answer helped me a lot. See what solution I came up: function rew(m:MovieClip, f:Function) { m.onEnterFrame = function() { var cf:Number = m._currentframe; var tf:Number = m._totalframes; if (cf=tf cf1) {

Re: [Flashcoders] problem with fl9 beta

2007-02-18 Thread JOR
AS3 is completely different than AS2. You don't add code to the timeline. Instead you create a document class and add code to that. Typically, I like to use a class named Main but you can name it something more to your liking. Here is a very simple example of what you might be trying to do.

Re: [Flashcoders] problem with fl9 beta

2007-02-18 Thread John Grden
just a clarification: You *can* add code to the timeline as with previous versions of flash. On 2/18/07, JOR [EMAIL PROTECTED] wrote: AS3 is completely different than AS2. You don't add code to the timeline. Instead you create a document class and add code to that. Typically, I like to use

[Flashcoders] Re: Action Script editor

2007-02-18 Thread pedr browne
Hi, Thanks to everyone for the replies. Unfortunately Flash Develop is pc only. Guess I'm going to have to get a copy of parallels, then I can use Sepy. Thanks a lot ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search

Re: [Flashcoders] Passing a Function as Parameter and call function later

2007-02-18 Thread Wagner Amaral
I'm not testing, but you could use: f.call(); as long as f is a reference to a Function object On 2/18/07, Felipe Hefler [EMAIL PROTECTED] wrote: Thank you dr.ache. Wasn't that the problem. Anyway your answer helped me a lot. See what solution I came up: function rew(m:MovieClip,

Re: [Flashcoders] Re: Action Script editor

2007-02-18 Thread John Axel Eriksson
Are you on Mac? Then you should get TextMate www.macromates.com, it is the best editor on ANY platform IMO. And not just for ActionScript. It may seem like very bare bones when you first run it, but the amount of functionality in there is amazing. You really should try it out. I use it for

Re: [Flashcoders] Selective display with XMLConnector, DataSet and DataGrid

2007-02-18 Thread Muzak
There's a few ways you can do this, but here is one, using Bindings through the Component Inspector. First set the columns for the datagrid. Add the following code to the first frame (where the button code is) this.menu_dg.columnNames = [name, price, calories]; Add a TextArea component for the

Re: [Flashcoders] Looking for Freelancer for Flash Development

2007-02-18 Thread Al Roxin
Phil: I'd be interested. Depending on the size of what you are looking for. I am currently in the middle of a contract building an interactive product simulator for a company but am looking some small jobs. You can email me at [EMAIL PROTECTED] Sincerely Al Roxin - Original Message

Re: [Flashcoders] Passing a Function as Parameter and call function later

2007-02-18 Thread Felipe Hefler
I've tried it, and didn't work. Can you say how this reference should be? On 18/02/07, Wagner Amaral [EMAIL PROTECTED] wrote: I'm not testing, but you could use: f.call(); as long as f is a reference to a Function object On 2/18/07, Felipe Hefler [EMAIL PROTECTED] wrote: Thank you

Re: [Flashcoders] Re: Action Script editor

2007-02-18 Thread Chris Mitchell
Sorry, I thought FD was mac also. Sepy is also great. I used it for quite sometime. FD is just so easy to set up. I run multiple instances one for AS2 and another for AS3 that uses the Flex SDK and mxmlc to compile man its great.TextMate sounds good also! -chris John Axel Eriksson

Re: [Flashcoders] TabNavigator customized; weird button(tab) refresh glitch

2007-02-18 Thread Guillaume Malartre
Well it seems I'm in a alone in this thread but I'll post the solution I've found so far... The real problem was that when you extend the class Tab in order to a custom TabNavigator you have to add a TAB_CREATED event to work around the glitch. Once the TAB.TAB_CREATED(refer to the button in the

[Flashcoders] FLVPlayback Controls Not Visible When Played Off Server

2007-02-18 Thread Chris RM
Watch this be something really silly. I have a single frame FLA that has a FLVPlayback component on stage. The contentPath is hardcoded to an FLV on a web server with its full address. Running the SWF locally and on the server plays the video fine. The only exception is that the playback

Re: [Flashcoders] FLVPlayback Controls Not Visible When Played Off Server

2007-02-18 Thread Ricky Bacon
Chris RM wrote: Watch this be something really silly. I have a single frame FLA that has a FLVPlayback component on stage. The contentPath is hardcoded to an FLV on a web server with its full address. Running the SWF locally and on the server plays the video fine. The only exception is that

RE: [Flashcoders] Passing a Function as Parameter and call functionlater

2007-02-18 Thread Jesse Graupmann
Felipe - call (Function.call method) uses comma separated values; currentScope.func.call ( alternateScope, arg1, arg2, arg3 ) apply (Function.apply method) uses an array of elements; var args = [arg1, arg2, arg3]; currentScope.func.apply (alternateScope, args );

Re: [Flashcoders] Action Script editor (OT)

2007-02-18 Thread Alain Rousseau
We would need the source code of FlashDevelop to compile with DarWINE on a Mac, it's not an emulator ! Toby wrote: Im not sure how good darwine http://darwine.opendarwin.org/ is getting but that's something I would look at on the mac most definitely. -Original Message- From: [EMAIL

Re: [Flashcoders] problem with fl9 beta

2007-02-18 Thread Omar Fouad
I downloaded the source code but the Main.as file keeps giving me errors, even with flash 9. Why?? On 2/18/07, John Grden [EMAIL PROTECTED] wrote: just a clarification: You *can* add code to the timeline as with previous versions of flash. On 2/18/07, JOR [EMAIL PROTECTED] wrote: AS3 is

[Flashcoders] add-in for Flash

2007-02-18 Thread marsellus
Hi all, i want to create an add-in for flash. But i don't know if it is possible. There are many add-in tools for software as, for example, PowerPoint. Have you any ideas about how to add menu or options to Flash IDE? where should i work? Cheers, Daniele

[Flashcoders] calling argument function

2007-02-18 Thread Pete Thomas
I didn’t see this answered in digest so see below function callFunction(f:Function):Void { f(); } function sayHello():Void { trace(hello) } callFunction(sayHello) Pete -- No virus found in this outgoing message. Checked by AVG Free

Re: [Flashcoders] problem with fl9 beta

2007-02-18 Thread JOR
It would help if you posted what the error message was. James O'Reilly — Consultant Adobe Certified Flash Expert http://www.jamesor.com Design • Code • Train Omar Fouad wrote: I downloaded the source code but the Main.as file keeps giving me errors, even with flash 9. Why?? On 2/18/07,

Re: [Flashcoders] add-in for Flash

2007-02-18 Thread Zeh Fernando
i want to create an add-in for flash. But i don't know if it is possible. There are many add-in tools for software as, for example, PowerPoint. Have you any ideas about how to add menu or options to Flash IDE? where should i work? Yes, there are, through javascript 'macros', and menu and dialog

Re: [Flashcoders] problem with fl9 beta

2007-02-18 Thread Cay Garrido H.
The error is weird, 'cause it says line 5 and you showed only 4 lines of code check that... About the code, it's not AS3... you need to use something like this: miButton.addEventListener ( rollOver, miFunction); function miFunction (event) { miButton.rotation--; } See that the event

[Flashcoders] Test Mail

2007-02-18 Thread Ravi Marella
RaviKiran Marella ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and