Here's another reason why I found using that setting to be troublesome. I
haven't confirmed it but I believe it interferes with inheritance.
For example, let's say I make a symbolA and link it to class SuperClass.
Inside symbolA I have a TextField called _txt
Then I make a symbolB based on symbolA,
Beginners should not be coding AS3. It's really that simple. AS3
requires a whole new level of strict coding practices and is not for
beginners. Null pointer exceptions are extremely important to catch
because they can cause a Flash app to crash, and the foresight to know
where and how those
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 an
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 c
quot;Flash Coders List"
> Sent: Sunday, March 23, 2008 11:03 PM
> Subject: Re: [Flashcoders] Custom MovieClip Classes
>
>
> > The issue is that in Flash you are using the terrible awful
> > why-did-Adobe-put-it-in-there publish option of "Automatically Declare
> &g
y agree, most annoying feature ever.
- Original Message -
From: "Steven Sacks" <[EMAIL PROTECTED]>
To: "Flash Coders List"
Sent: Sunday, March 23, 2008 11:03 PM
Subject: Re: [Flashcoders] Custom MovieClip Classes
The issue is that in Flash you are using the te
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
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
-Oorspronkelijk bericht-
> > Van: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] Namens Omar Fouad
> > Verzonden: zaterdag 22 maart 2008 16:16
> > Aan: Flash Coders List
> > Onderwerp: Re: [Flashcoders] Custom MovieClip Classes
> >
> > Note:
, Cor <[EMAIL PROTECTED]> wrote:
> 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
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
ok at the shortcut
> possibilities.
>
>
> -Oorspronkelijk bericht-
> Van: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Namens Omar Fouad
> Verzonden: zaterdag 22 maart 2008 16:16
> Aan: Flash Coders List
> Onderwerp: Re: [Flashcoders] Custom MovieClip Classes
>
> Note:
.
-Oorspronkelijk bericht-
Van: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Namens Omar Fouad
Verzonden: zaterdag 22 maart 2008 16:16
Aan: Flash Coders List
Onderwerp: Re: [Flashcoders] Custom MovieClip Classes
Note: I am working with Flash and Document Class. Classes are written in
Flex (Actionscript
PROTECTED] Namens Omar Fouad
Verzonden: zaterdag 22 maart 2008 16:15
Aan: Flash Coders List
Onderwerp: Re: [Flashcoders] Custom MovieClip Classes
Nope. Just Restarted Flash.
On Sat, Mar 22, 2008 at 4:13 PM, Cor <[EMAIL PROTECTED]> wrote:
> Cleared the cash??
>
> -Oorspro
> Aan: Flash Coders List
> Onderwerp: Re: [Flashcoders] Custom MovieClip Classes
>
> Hey!!! It worked Now I can Extend the APanel Class.. But how come? I
> changed Nothing(??)
>
> On Sat, Mar 22, 2008 at 12:52 PM, jonathan howe <[EMAIL PROTECTED]>
> wrote:
>
&
t;[EMAIL PROTECTED]> wrote:
>
> > Cleared the cash??
> >
> > -Oorspronkelijk bericht-
> > Van: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] Namens Omar Fouad
> > Verzonden: zaterdag 22 maart 2008 14:56
> > Aan: Flash Coders List
> >
Cleared the cash??
-Oorspronkelijk bericht-
Van: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Namens Omar Fouad
Verzonden: zaterdag 22 maart 2008 14:56
Aan: Flash Coders List
Onderwerp: Re: [Flashcoders] Custom MovieClip Classes
Hey!!! It worked Now I can Extend the APanel Class
ot;RegistrationPanel" in library:
> >
> > class: amlak.ui.RegistrationPanel
> > base class: flash.display.MovieClip
> >
> > regards,
> > Muzak
> >
> > - Original Message -
> > From: "Omar Fouad" <[EMAIL PROTECTED]>
egards,
> Muzak
>
> ----- Original Message -
> From: "Omar Fouad" <[EMAIL PROTECTED]>
> To: "Flash Coders List"
> Sent: Saturday, March 22, 2008 2:09 AM
> Subject: Re: [Flashcoders] Custom MovieClip Classes
>
>
>
nal Message -
From: "Omar Fouad" <[EMAIL PROTECTED]>
To: "Flash Coders List"
Sent: Saturday, March 22, 2008 2:09 AM
Subject: Re: [Flashcoders] Custom MovieClip Classes
Nope look at this.
package amlak.ui
{
import flash.text.*;
import flash.display.Movi
Nope look at this.
package amlak.ui
{
import flash.text.*;
import flash.display.MovieClip;
public class RegistrationPanel extends APanel {
public function RegistrationPanel(){
}
}
}
5000: The class 'amlak.ui.RegistrationPanel' must subclass '
flash.display.
Do you want to inherit some or all?
If you want to inherit all, have RegistrationPanel extend APanel.
If you want to inherit some, have RegistrationPanel instantiate APanel
and have proxy methods to just the ones you want.
-Steven
Omar Fouad wrote:
List,
I have a MovieClip in my Flash Lib
> Now I would the like to let RegistrationPanel inherit some behaviours from
> APanel. But it allready extends MovieClip... How can I do this ?
You can have RegistrationPanel extend APanel.
You need to inherit from MovieClip, but you don't have to do it
directly. APanel extends MovieClip, so wh
I would maybe use Composition to do this.
Have RegistrationPanel contain an instance of APanel and call on it:
http://www.moock.org/eas2/compositionVSinheritance.html
HTH
Glen
Omar Fouad wrote:
List,
I have a MovieClip in my Flash Library with Class Name APanel.
The class obviously exten
24 matches
Mail list logo