RE: [Flashcoders] Custom MovieClip Classes

2008-03-23 Thread Cor
Yeah, and than the cash from Flash is flushed. I also had some issues with this and noticed when restarting Flash (or rebooting system for that matter) it worked fine. So now when I experience odd behavior, I restart Flash. -Oorspronkelijk bericht- Van: [EMAIL PROTECTED] [mailto:[EMAIL

RE: [Flashcoders] Custom MovieClip Classes

2008-03-23 Thread Cor
I also use Document Class and use FlashDevelop to write my Actionscript I use Flash for compiling but you also could you the Flex SDK. You should check out FlahDevelop, it has a very nice auto-completion!! Be sure to download the latest version and look at the shortcut possibilities.

RE: [Flashcoders] Tweening Engines for AS3

2008-03-23 Thread Cor
FlashDevelop In combination with Flex SDK to compile All free and very lightweight, and a very nice auto-completion. It will make your workload much more easy -Oorspronkelijk bericht- Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens Jesse Warden Verzonden: zaterdag 22 maart 2008

Re: [Flashcoders] Design pattern for conditional Interfaces ?

2008-03-23 Thread Jeroen Beckers
Hi Thomaz, Wouldn't that be the exact same thing as testing against the interface references that's stored which each analyzer (as I suggested in my post) ? Since there is no compile-time way to check this, i'm going to check all the items with all the analyzers in the analyze() method and give

Re: [Flashcoders] Design pattern for conditional Interfaces ?

2008-03-23 Thread Andrei Thomaz
Oh, yes, I misunderstood you. When I read ugly runtime errors, I understood a runtime action script error, like the ones are reported by flash player debug version. []'s andrei On Sun, Mar 23, 2008 at 7:30 AM, Jeroen Beckers [EMAIL PROTECTED] wrote: Hi Thomaz, Wouldn't that be the exact

Re: [Flashcoders] Custom MovieClip Classes

2008-03-23 Thread Omar Fouad
yeah I know flash Develop. But I feel More Confortable with Flex. I used to use FlashDevelop and I got the Beta 6 version of it. 1 Issue though, In flex, when I use a Class that is associated to a movieClip in the FLA library, and in this movieClip there are some components like text fields and

RE: [Flashcoders] Custom MovieClip Classes

2008-03-23 Thread Cor
Have you installed the Flex SDK? -Oorspronkelijk bericht- Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens Omar Fouad Verzonden: zondag 23 maart 2008 13:28 Aan: Flash Coders List Onderwerp: Re: [Flashcoders] Custom MovieClip Classes yeah I know flash Develop. But I feel More

Re: [Flashcoders] Custom MovieClip Classes

2008-03-23 Thread Omar Fouad
Cor i AM USING Flex 3 Final. And one thing I am trying now a AS3 document class projct with FlasDevelop. I created a FLA new Project in FD and I wrote the Main Document class. But FD is not checking errors. it says error while running AS3 syntax checking... On Sun, Mar 23, 2008 at 2:33 PM, Cor

RE: [Flashcoders] Custom MovieClip Classes

2008-03-23 Thread Cor
If you give me some details I will setup a FD project for you. Or I can create a generic example if you like? Let me know -Oorspronkelijk bericht- Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens Omar Fouad Verzonden: zondag 23 maart 2008 13:45 Aan: Flash Coders List Onderwerp:

RE: [Flashcoders] Custom MovieClip Classes

2008-03-23 Thread Cor
you have to set your class path in FD -Oorspronkelijk bericht- Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens Omar Fouad Verzonden: zondag 23 maart 2008 13:45 Aan: Flash Coders List Onderwerp: Re: [Flashcoders] Custom MovieClip Classes Cor i AM USING Flex 3 Final. And one

[Flashcoders] Calling Event methods and Other Classes methods.

2008-03-23 Thread Omar Fouad
look at this. Main FLA Document Class public class Main extends Sprite { public function Main() { myButton.addEventListener(MouseEvent.CLICK, fun) } public function fun(e:MouseEvent):void { trace(Clicked); } } Now supposed I need to call the function fun by some other

RE: [Flashcoders] Calling Event methods and Other Classes methods.

2008-03-23 Thread Cor
I noticed I didn't answer your question. In another class file you can trigger the button like this: Main.myButton.whatever... -Oorspronkelijk bericht- Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens Omar Fouad Verzonden: zondag 23 maart 2008 14:28 Aan: Flash Coders List

[Flashcoders] Re: Multiple Object Position Logic

2008-03-23 Thread Anthony Cintron
Hi All, I'm trying to come up with an efficient concept of animating dynamic objects stacked upon each other. For example. Let's say I dynamically add an object (That would be Object 1). Then I wanted to add another object, I want object1 to move down one row, and the new object (object 2) to

[Flashcoders] How to expand import * statements?

2008-03-23 Thread Pasha
Hey! I've just found out that MTASC compiles much faster if used classes are imported explicitly. That is import com.togethersoft.util.Time import com.togethersoft.util.Format is much faster than import com.togethersoft.util.*; Provided there are many classes in com.togethersoft.util package.

[Flashcoders] Can Flash (AS2) import .rtf files and display in textbox?

2008-03-23 Thread BOYD SPEER
Can Flash (AS2) import .rtf files and display in textbox so the doc appears like the original?? Where would I look to find the procedure? Thanks, -Boyd ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com

Re: [Flashcoders] Calling Event methods and Other Classes methods.

2008-03-23 Thread Omar Fouad
Even if myButton is not static? and even so, if in main myButton.addEventListener(MouseEvent.CLICK, fun); and in other Class Main.myButton. now what? On Sun, Mar 23, 2008 at 3:52 PM, Cor [EMAIL PROTECTED] wrote: I noticed I didn't answer your question. In another class file you can

Re: [Flashcoders] Custom MovieClip Classes

2008-03-23 Thread Steven Sacks
The issue is that in Flash you are using the terrible awful why-did-Adobe-put-it-in-there publish option of Automatically Declare Stage Instances. It's the worst thing in the world and causes many people headaches. Turn it off. It's the dumbest thing Adobe could have ever made. SHIFT+F12,

Re: [Flashcoders] Custom MovieClip Classes

2008-03-23 Thread Muzak
Just guessing, but I think it's required for the Flex Component Kit, when you create swc's to be used in Flex. Haven't really looked into it in much detail, but so far couldn't get swc's to work if Declare... was disabled. Other than that, I totally agree, most annoying feature ever. -

[Flashcoders] Variable scope within for loops: reusing iterator variables

2008-03-23 Thread jonathan howe
I was hoping someone could explain why I get Warning: 3596: Duplicate variable definition. warnings when I reuse an iterator variable. Example: for (var i:int = 0; i someArray.length; i ++) { // do something cool } for (var i:int = 0; i someOtherArray.length; i ++) { // do

Re: [Flashcoders] Custom MovieClip Classes

2008-03-23 Thread Omar Fouad
Yeah, But WHY I have to Always Declare them By Myself? On Mon, Mar 24, 2008 at 1:31 AM, Muzak [EMAIL PROTECTED] wrote: Just guessing, but I think it's required for the Flex Component Kit, when you create swc's to be used in Flex. Haven't really looked into it in much detail, but so far

RE: [Flashcoders] Variable scope within for loops: reusing iterator variables

2008-03-23 Thread Kerry Thompson
jonathan howe wrote: I was hoping someone could explain why I get Warning: 3596: Duplicate variable definition. warnings when I reuse an iterator variable. Example: for (var i:int = 0; i someArray.length; i ++) { // do something cool } for (var i:int = 0; i

Re: [Flashcoders] Variable scope within for loops: reusing iteratorvariables

2008-03-23 Thread D Neckles
That's easy.only after busting my asss for an hour figuring it out.. ...Variables are only local to the function Jonathan try using j in your second for statementnot the letter i twice Hope that helps... Sent via BlackBerry from T-Mobile -Original Message- From: jonathan howe

Re: [Flashcoders] Custom MovieClip Classes

2008-03-23 Thread Rich Shupe
The other thing is that not everyone is an advanced coder. Steven did say something to the effect of when writing classes, but automatic declaration is a backward-compatible feature that allows beginners to code in the timeline the same way they used to. In AS3, whether you use your own document

Re: [Flashcoders] Custom MovieClip Classes

2008-03-23 Thread Rich Shupe
It's a good idea to declare them yourself because both you--and more importantly the compiler--know what every instance is. This may not be 100% on point, but there is a common problem with upcasting, for example, when Strict Mode is on. Here's a scenario. On the stage, you create a movie clip