Re: [Flashcoders] Problem understanding Class heirarchy issue

2009-08-31 Thread Sajid Saiyed
Ok, Here is a bit more information.

ClassA (works pefrectly fine):
---
package com.folder.subfolder
{
import flash.display.*;
import flash.events.*;
import flash.filters.*;
import flash.utils.Timer;
import com.folder.subfolder.*;

public class ClassA extends ClassC
{
public var myMenu: ClassB;

public function ClassA (){
 addEventListener(ClassC.moveUP, someFunction);
}
public function someFunction(){
 myMenu = new ClassB();
 myMenu.name = "mymenu";
 this.addChild(myMenu);
}

}
}

ClassB
---
package com.folder.subfolder
{
import flash.display.*;
import flash.events.*;
import flash.filters.*;
import flash.utils.Timer;
import com.folder.subfolder.*;

public class ClassB extends ClassC
{
public function ClassB (){
 // This is not getting called.
}
}
}


Does this explanation help a bit??
Am I looking at the right place for the problem or the problem could
be somewhere else?

Thanks
Sajid





On Mon, Aug 31, 2009 at 10:46 PM, jonathan howe wrote:
> Are you defining a subclass constructor and then failing to explicitly call
> the super() (superclass's constructor)?
>
> On Mon, Aug 31, 2009 at 8:37 AM, Sajid Saiyed  wrote:
>
>> I am already importing all the classes in the package.
>>
>> Still cant seem to get my head around this.
>> Maybe later today I will post excerpts of my classes here.
>>
>> That might help.
>>
>> Regards
>> Sajid
>>
>> On Mon, Aug 31, 2009 at 6:14 PM, Cor wrote:
>> > Not knowing what you are trying to do, you have to import ClassB to
>> > instantiate it in ClassA.
>> >
>> > HTH
>> > Cor
>> >
>> > -Original Message-
>> > From: flashcoders-boun...@chattyfig.figleaf.com
>> > [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Sajid
>> Saiyed
>> > Sent: maandag 31 augustus 2009 12:06
>> > To: flashcoders@chattyfig.figleaf.com
>> > Subject: [Flashcoders] Problem understanding Class heirarchy issue
>> >
>> > Hi,
>> > I have following Class structure:
>> >
>> > ClassA extends ClassC
>> >
>> > ClassB extends ClassC
>> >
>> > ClassC extends ClassD
>> >
>> > ClassD extends MovieClip
>> >
>> > Now,
>> > If I instantiate ClassB from ClassA, the constructor does not execute.
>> > note: Inside ClassB, I am instantiating another ClassE which extends
>> > MovieClip
>> >
>> > Is there something I am doing wrong?
>> > ___
>> > Flashcoders mailing list
>> > Flashcoders@chattyfig.figleaf.com
>> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>> >
>> > ___
>> > Flashcoders mailing list
>> > Flashcoders@chattyfig.figleaf.com
>> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>> >
>> ___
>> Flashcoders mailing list
>> Flashcoders@chattyfig.figleaf.com
>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>>
>
>
>
> --
> -jonathan howe
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] Error when trying to embed a font

2009-08-31 Thread Andrew Murphy
Hi again, Ian. :)

I have tried a few different variations on the font name, but I hadn't tried
using Font.enumerateFonts() to list the system's names for the fonts.  Thank
you for that suggestion. :)  I gave it a try, listing out the fontName and
fontStyle props and ended up with this:

name: Akzidenz Grotesk BE   style: regular
name: Akzidenz Grotesk BE Bold   style: regular
name: Akzidenz Grotesk BE BoldEx   style: regular
name: Akzidenz Grotesk BE Ex   style: regular
name: Akzidenz Grotesk BE Light   style: regular
name: Akzidenz Grotesk BE LightEx   style: regular
name: Akzidenz Grotesk BE LightOsF   style: regular
name: Akzidenz Grotesk BE LightSC   style: regular
name: Akzidenz Grotesk BE MdEx   style: regular
name: Akzidenz Grotesk BE Super   style: regular


I'd already tried "Akzidenz Grotesk BE" but just in case I gave it another
try, like this:

[Embed(
 systemFont="Akzidenz Grotesk BE",
 fontName="AkzidenzOTF",
 mimeType="application/x-font",
 unicodeRange="U+0021-U+00FF"
)]
var akzidenz_otf:Class;
Font.registerFont(akzidenz_otf);


And it throws the exact same error.



However I have managed to get it working, sort of, by just creating Font
Symbols in my FLA's Library.  It means embedding the whole dern font, rather
than a smaller subset of characters, but at least it works.

I guess this is "solved".  More-or-less.


Thank you for your help. ^_^





Andrew Murphy
Interactive Media Specialist
amur...@delvinia.com

Delvinia
214 King Street West, Suite 214 
Toronto Canada M5H 3S6

P 416.364.1455 ext. 232  F 416.364.9830  W www.delvinia.com

CONFIDENTIALITY NOTICE
This email message may contain privileged or confidential information. If
you are not the intended recipient or received this communication by error,
please notify the sender and delete the message without copying or
disclosing it.

AVIS DE CONFIDENTIALITÉ
Ce message peut contenir de l'information légalement privilégiée ou
confidentielle. Si vous n'êtes pas le destinataire ou croyez avoir reçu par
erreur ce message, nous vous saurions gré d'en aviser l'émetteur et d'en
détruire le contenu sans le communiquer a d'autres ou le reproduire.

 

> -Original Message-
> From: flashcoders-boun...@chattyfig.figleaf.com 
> [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf 
> Of Ian Thomas
> Sent: Monday, August 31, 2009 1:31 PM
> To: Flash Coders List
> Subject: Re: [Flashcoders] Error when trying to embed a font
> 
> Sorry! My poor reading!
> 
> The normal reason for such errors is that the name of the 
> font (when using systemFont) does not exactly match the name 
> your system thinks it should be. This can be complicated by 
> font variants - you say you've already tried combinations of 
> fontStyle, fontWeight etc. Have you tried those variants 
> within the name? Could it be something like the name should 
> be "Berthold Akzidenz Grotesk Bold" and you should have 
> fontWeight set to bold?
> 
> Have you tried Font.enumerateFonts() to list what fonts your 
> Flash Player thinks is available on your system, and what 
> their names are?
> 
> Ian
> 
> On Mon, Aug 31, 2009 at 6:01 PM, Andrew 
> Murphy wrote:
> > Hi, Ian. :)
> >
> > Thanks, but I tried that already, I mentioned it in my 
> first post.  It 
> > throws the same error.
> >
> >
> > 
> > Andrew Murphy
> > Interactive Media Specialist
> > amur...@delvinia.com
> >
> > Delvinia
> > 214 King Street West, Suite 214
> > Toronto Canada M5H 3S6
> >
> > P 416.364.1455 ext. 232  F 416.364.9830  W www.delvinia.com
> >
> > CONFIDENTIALITY NOTICE
> > This email message may contain privileged or confidential 
> information. 
> > If you are not the intended recipient or received this 
> communication 
> > by error, please notify the sender and delete the message without 
> > copying or disclosing it.
> >
> > AVIS DE CONFIDENTIALITÉ
> > Ce message peut contenir de l'information légalement privilégiée ou 
> > confidentielle. Si vous n'êtes pas le destinataire ou croyez avoir 
> > reçu par erreur ce message, nous vous saurions gré d'en aviser 
> > l'émetteur et d'en détruire le contenu sans le communiquer 
> a d'autres ou le reproduire.
> >
> >
> >
> >> -Original Message-
> >> From: flashcoders-boun...@chattyfig.figleaf.com
> >> [mailto:flashcoders-boun...@chattyfig.figleaf.com] On 
> Behalf Of Ian 
> >> Thomas
> >> Sent: Monday, August 31, 2009 12:35 PM
> >> To: Flash Coders List
> >> Subject: Re: [Flashcoders] Error when trying to embed a font
> >>
> >> You could try directly referencing the TTF or OTF file with the 
> >> 'source' argument instead of using the 'systemFont' argument:
> >>
> >> [Embed(
> >> source="/Path/To/FontFile.TTF",
> >>
> >> HTH,
> >>     Ian
> >>
> >> On Mon, Aug 31, 2009 at 1:31 PM, Andrew 
> Murphy 
> >> wrote:
> >> > Good morning.  (Well.. it's morning here anyway.)
> >> >
> >> > I'm having problems with creating a font .swf file, to use
> >> for sharing
> >> > a font between some F

Re: [Flashcoders] Error when trying to embed a font

2009-08-31 Thread Ian Thomas
Sorry! My poor reading!

The normal reason for such errors is that the name of the font (when
using systemFont) does not exactly match the name your system thinks
it should be. This can be complicated by font variants - you say
you've already tried combinations of fontStyle, fontWeight etc. Have
you tried those variants within the name? Could it be something like
the name should be "Berthold Akzidenz Grotesk Bold" and you should
have fontWeight set to bold?

Have you tried Font.enumerateFonts() to list what fonts your Flash
Player thinks is available on your system, and what their names are?

Ian

On Mon, Aug 31, 2009 at 6:01 PM, Andrew Murphy wrote:
> Hi, Ian. :)
>
> Thanks, but I tried that already, I mentioned it in my first post.  It
> throws the same error.
>
>
> 
> Andrew Murphy
> Interactive Media Specialist
> amur...@delvinia.com
>
> Delvinia
> 214 King Street West, Suite 214
> Toronto Canada M5H 3S6
>
> P 416.364.1455 ext. 232  F 416.364.9830  W www.delvinia.com
>
> CONFIDENTIALITY NOTICE
> This email message may contain privileged or confidential information. If
> you are not the intended recipient or received this communication by error,
> please notify the sender and delete the message without copying or
> disclosing it.
>
> AVIS DE CONFIDENTIALITÉ
> Ce message peut contenir de l'information légalement privilégiée ou
> confidentielle. Si vous n'êtes pas le destinataire ou croyez avoir reçu par
> erreur ce message, nous vous saurions gré d'en aviser l'émetteur et d'en
> détruire le contenu sans le communiquer a d'autres ou le reproduire.
>
>
>
>> -Original Message-
>> From: flashcoders-boun...@chattyfig.figleaf.com
>> [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf
>> Of Ian Thomas
>> Sent: Monday, August 31, 2009 12:35 PM
>> To: Flash Coders List
>> Subject: Re: [Flashcoders] Error when trying to embed a font
>>
>> You could try directly referencing the TTF or OTF file with
>> the 'source' argument instead of using the 'systemFont' argument:
>>
>> [Embed(
>> source="/Path/To/FontFile.TTF",
>>
>> HTH,
>>     Ian
>>
>> On Mon, Aug 31, 2009 at 1:31 PM, Andrew
>> Murphy wrote:
>> > Good morning.  (Well.. it's morning here anyway.)
>> >
>> > I'm having problems with creating a font .swf file, to use
>> for sharing
>> > a font between some Flash movies.  One of the fonts I want
>> to embed is
>> > Berthold Akzidenz Grotesk Medium.
>> >
>> > In the font .swf's FLA file I'm trying to embed it like this:
>> >
>> >
>> > [Embed(
>> >  systemFont="Berthold Akzidenz Grotesk",
>> >  fontName="AkzidenzMedOTF",
>> >  fontStyle="Medium",
>> >  mimeType="application/x-font",
>> >  unicodeRange="U+0021-U+00FF"
>> > )]
>> > var akzidenz_otf:Class;
>> > Font.registerFont(akzidenz_otf);
>> >
>> >
>> > And I keep getting the error:  exception during
>> transcoding: Font for
>> > alias 'AkzidenzOTF' with plain weight and style was not found by
>> > family name 'Berthold Akzidenz Grotesk'
>> >
>> > I'm working in WindowsXP, Flash CS4 and it's a Type1 font.
>> >
>> > I've tried various settings for the fontWeight and fontStyle and
>> > nothing seems to affect this error.
>> >
>> > I've also tried not using "systemFont" and instead setting the
>> > "source" path in the Embed to
>> C:/WINDOWS/Fonts/gfm_.pfm, which is
>> > this font's source file on my machine, and it throws the same error.
>> >
>> > Any ideas on what I'm dong wrong and how to fix it.. if it
>> can be fixed?
>> >
>> > Thank you. :)
>> >
>> >
>> >
>> > 
>> > Andrew Murphy
>> > Interactive Media Specialist
>> >   amur...@delvinia.com
>> >
>> > Delvinia
>> > 214 King Street West, Suite 214
>> > Toronto Canada M5H 3S6
>> >
>> > P 416.364.1455 ext. 232  F 416.364.9830  W www.delvinia.com
>> >
>> > CONFIDENTIALITY NOTICE
>> > This email message may contain privileged or confidential
>> information.
>> > If you are not the intended recipient or received this
>> communication
>> > by error, please notify the sender and delete the message without
>> > copying or disclosing it.
>> >
>> > AVIS DE CONFIDENTIALITÉ
>> > Ce message peut contenir de l'information légalement privilégiée ou
>> > confidentielle. Si vous n'êtes pas le destinataire ou croyez avoir
>> > reçu par erreur ce message, nous vous saurions gré d'en aviser
>> > l'émetteur et d'en détruire le contenu sans le communiquer
>> a d'autres ou le reproduire.
>> >
>> >
>> > ___
>> > Flashcoders mailing list
>> > Flashcoders@chattyfig.figleaf.com
>> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>> >
>>
>> ___
>> Flashcoders mailing list
>> Flashcoders@chattyfig.figleaf.com
>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
>
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/f

RE: [Flashcoders] Error when trying to embed a font

2009-08-31 Thread Andrew Murphy
Hi, Ian. :)

Thanks, but I tried that already, I mentioned it in my first post.  It
throws the same error.



Andrew Murphy
Interactive Media Specialist
amur...@delvinia.com

Delvinia
214 King Street West, Suite 214 
Toronto Canada M5H 3S6

P 416.364.1455 ext. 232  F 416.364.9830  W www.delvinia.com

CONFIDENTIALITY NOTICE
This email message may contain privileged or confidential information. If
you are not the intended recipient or received this communication by error,
please notify the sender and delete the message without copying or
disclosing it.

AVIS DE CONFIDENTIALITÉ
Ce message peut contenir de l'information légalement privilégiée ou
confidentielle. Si vous n'êtes pas le destinataire ou croyez avoir reçu par
erreur ce message, nous vous saurions gré d'en aviser l'émetteur et d'en
détruire le contenu sans le communiquer a d'autres ou le reproduire.

 

> -Original Message-
> From: flashcoders-boun...@chattyfig.figleaf.com 
> [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf 
> Of Ian Thomas
> Sent: Monday, August 31, 2009 12:35 PM
> To: Flash Coders List
> Subject: Re: [Flashcoders] Error when trying to embed a font
> 
> You could try directly referencing the TTF or OTF file with 
> the 'source' argument instead of using the 'systemFont' argument:
> 
> [Embed(
> source="/Path/To/FontFile.TTF",
> 
> HTH,
> Ian
> 
> On Mon, Aug 31, 2009 at 1:31 PM, Andrew 
> Murphy wrote:
> > Good morning.  (Well.. it's morning here anyway.)
> >
> > I'm having problems with creating a font .swf file, to use 
> for sharing 
> > a font between some Flash movies.  One of the fonts I want 
> to embed is 
> > Berthold Akzidenz Grotesk Medium.
> >
> > In the font .swf's FLA file I'm trying to embed it like this:
> >
> >
> > [Embed(
> >  systemFont="Berthold Akzidenz Grotesk",
> >  fontName="AkzidenzMedOTF",
> >  fontStyle="Medium",
> >  mimeType="application/x-font",
> >  unicodeRange="U+0021-U+00FF"
> > )]
> > var akzidenz_otf:Class;
> > Font.registerFont(akzidenz_otf);
> >
> >
> > And I keep getting the error:  exception during 
> transcoding: Font for 
> > alias 'AkzidenzOTF' with plain weight and style was not found by 
> > family name 'Berthold Akzidenz Grotesk'
> >
> > I'm working in WindowsXP, Flash CS4 and it's a Type1 font.
> >
> > I've tried various settings for the fontWeight and fontStyle and 
> > nothing seems to affect this error.
> >
> > I've also tried not using "systemFont" and instead setting the 
> > "source" path in the Embed to 
> C:/WINDOWS/Fonts/gfm_.pfm, which is 
> > this font's source file on my machine, and it throws the same error.
> >
> > Any ideas on what I'm dong wrong and how to fix it.. if it 
> can be fixed?
> >
> > Thank you. :)
> >
> >
> >
> > 
> > Andrew Murphy
> > Interactive Media Specialist
> >   amur...@delvinia.com
> >
> > Delvinia
> > 214 King Street West, Suite 214
> > Toronto Canada M5H 3S6
> >
> > P 416.364.1455 ext. 232  F 416.364.9830  W www.delvinia.com
> >
> > CONFIDENTIALITY NOTICE
> > This email message may contain privileged or confidential 
> information. 
> > If you are not the intended recipient or received this 
> communication 
> > by error, please notify the sender and delete the message without 
> > copying or disclosing it.
> >
> > AVIS DE CONFIDENTIALITÉ
> > Ce message peut contenir de l'information légalement privilégiée ou 
> > confidentielle. Si vous n'êtes pas le destinataire ou croyez avoir 
> > reçu par erreur ce message, nous vous saurions gré d'en aviser 
> > l'émetteur et d'en détruire le contenu sans le communiquer 
> a d'autres ou le reproduire.
> >
> >
> > ___
> > Flashcoders mailing list
> > Flashcoders@chattyfig.figleaf.com
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >
> 
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Error #2044

2009-08-31 Thread Pedro Kostelec
>
>
> Thanks, but it seems to work without it.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Error when trying to embed a font

2009-08-31 Thread Ian Thomas
You could try directly referencing the TTF or OTF file with the
'source' argument instead of using the 'systemFont' argument:

[Embed(
source="/Path/To/FontFile.TTF",

HTH,
Ian

On Mon, Aug 31, 2009 at 1:31 PM, Andrew Murphy wrote:
> Good morning.  (Well.. it's morning here anyway.)
>
> I'm having problems with creating a font .swf file, to use for sharing a
> font between some Flash movies.  One of the fonts I want to embed is
> Berthold Akzidenz Grotesk Medium.
>
> In the font .swf's FLA file I'm trying to embed it like this:
>
>
> [Embed(
>  systemFont="Berthold Akzidenz Grotesk",
>  fontName="AkzidenzMedOTF",
>  fontStyle="Medium",
>  mimeType="application/x-font",
>  unicodeRange="U+0021-U+00FF"
> )]
> var akzidenz_otf:Class;
> Font.registerFont(akzidenz_otf);
>
>
> And I keep getting the error:  exception during transcoding: Font for alias
> 'AkzidenzOTF' with plain weight and style was not found by family name
> 'Berthold Akzidenz Grotesk'
>
> I'm working in WindowsXP, Flash CS4 and it's a Type1 font.
>
> I've tried various settings for the fontWeight and fontStyle and nothing
> seems to affect this error.
>
> I've also tried not using "systemFont" and instead setting the "source" path
> in the Embed to C:/WINDOWS/Fonts/gfm_.pfm, which is this font's source
> file on my machine, and it throws the same error.
>
> Any ideas on what I'm dong wrong and how to fix it.. if it can be fixed?
>
> Thank you. :)
>
>
>
> 
> Andrew Murphy
> Interactive Media Specialist
>   amur...@delvinia.com
>
> Delvinia
> 214 King Street West, Suite 214
> Toronto Canada M5H 3S6
>
> P 416.364.1455 ext. 232  F 416.364.9830  W www.delvinia.com
>
> CONFIDENTIALITY NOTICE
> This email message may contain privileged or confidential information. If
> you are not the intended recipient or received this communication by error,
> please notify the sender and delete the message without copying or
> disclosing it.
>
> AVIS DE CONFIDENTIALITÉ
> Ce message peut contenir de l'information légalement privilégiée ou
> confidentielle. Si vous n'êtes pas le destinataire ou croyez avoir reçu par
> erreur ce message, nous vous saurions gré d'en aviser l'émetteur et d'en
> détruire le contenu sans le communiquer a d'autres ou le reproduire.
>
>
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Error #2044

2009-08-31 Thread Gregory Boland
one addition to this is if you are loading something using a cross domain
policy you might need to tell your loader to check for a cross domain policy
using LoaderContext class..

it would look like this..

_loader = new Loader();
var context:LoaderContext = new LoaderContext();
 // set the check policy flag in the loader context
 context.checkPolicyFile=true;
_loader.load(new URLRequest("image path goes here"), context);


On Mon, Aug 31, 2009 at 12:18 PM, Pedro Kostelec wrote:

> Thanks a lot. Unfortunaltely i can't use relative urls. I am going to try
> the cross domain policy thing.
>
> THanks.
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Error #2044

2009-08-31 Thread Pedro Kostelec
Thanks a lot. Unfortunaltely i can't use relative urls. I am going to try
the cross domain policy thing.

THanks.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Elastic effect doesn't work in Flash

2009-08-31 Thread ktt
Hello,

I have the elastic movement snippet (from Keith Peters), which works fine until
publishing for Flash 7 player. In Flash 7 leafes just scatering out
with no elastic
interaction. Compiler doesn't throw any errors.
I tried Actionscript 2 static strict type variable declarations, but no success.

Any hint would be helpfull.

1 frame
-

this.createEmptyMovieClip("leaf_elastica", 50);

if(!max) max=4;

this.leaf_elastica.balls=new Array();

for(i=0;i700){
   this.leaf_elastica.ball._x=700;
   this.leaf_elastica.ball.vx*=.1;
   }
   if(this.leaf_elastica.ball._x<23){
   this.leaf_elastica.ball._x=23;
   this.leaf_elastica.ball.vx*=.1;
   }
   if(this.leaf_elastica.ball._y>570){
   this.leaf_elastica.ball._y=570;
   this.leaf_elastica.ball.vy*=.1;
   }
   if(this.leaf_elastica.ball._y<23){
   this.leaf_elastica.ball._y=23;
   this.leaf_elastica.ball.vy*=.1;
   }
}

3 frame
-
gotoAndPlay(2);

-
And ball button code:

on(press){
   startDrag(this);
   drag=true;
}
on(release, releaseOutside){
   stopDrag();
   drag=false;
}

---

Thank you in advance.

Ktt


  
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Problem understanding Class heirarchy issue

2009-08-31 Thread jonathan howe
Are you defining a subclass constructor and then failing to explicitly call
the super() (superclass's constructor)?

On Mon, Aug 31, 2009 at 8:37 AM, Sajid Saiyed  wrote:

> I am already importing all the classes in the package.
>
> Still cant seem to get my head around this.
> Maybe later today I will post excerpts of my classes here.
>
> That might help.
>
> Regards
> Sajid
>
> On Mon, Aug 31, 2009 at 6:14 PM, Cor wrote:
> > Not knowing what you are trying to do, you have to import ClassB to
> > instantiate it in ClassA.
> >
> > HTH
> > Cor
> >
> > -Original Message-
> > From: flashcoders-boun...@chattyfig.figleaf.com
> > [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Sajid
> Saiyed
> > Sent: maandag 31 augustus 2009 12:06
> > To: flashcoders@chattyfig.figleaf.com
> > Subject: [Flashcoders] Problem understanding Class heirarchy issue
> >
> > Hi,
> > I have following Class structure:
> >
> > ClassA extends ClassC
> >
> > ClassB extends ClassC
> >
> > ClassC extends ClassD
> >
> > ClassD extends MovieClip
> >
> > Now,
> > If I instantiate ClassB from ClassA, the constructor does not execute.
> > note: Inside ClassB, I am instantiating another ClassE which extends
> > MovieClip
> >
> > Is there something I am doing wrong?
> > ___
> > Flashcoders mailing list
> > Flashcoders@chattyfig.figleaf.com
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >
> > ___
> > Flashcoders mailing list
> > Flashcoders@chattyfig.figleaf.com
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>



-- 
-jonathan howe
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] DSL - "Standard Consumer" K / Sec?

2009-08-31 Thread Ron Wheeler


www.dslreports.com would be a good place to start to look for statistics.


jared stanley wrote:

Hey all,

Looking for stats on connection speeds; looking for a 'minimum system
requirements' spec for connection...what would be an 'average' DSL
connection?

I have Charles proxy open and throttling the connection to test this
flash site, wondering what is the lowest common denominator to test
with?

Any suggestions?
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

  


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Error when trying to embed a font

2009-08-31 Thread Andrew Murphy
Good morning.  (Well.. it's morning here anyway.)
 
I'm having problems with creating a font .swf file, to use for sharing a
font between some Flash movies.  One of the fonts I want to embed is
Berthold Akzidenz Grotesk Medium.
 
In the font .swf's FLA file I'm trying to embed it like this:
 
 
[Embed(
 systemFont="Berthold Akzidenz Grotesk",
 fontName="AkzidenzMedOTF",
 fontStyle="Medium",
 mimeType="application/x-font",
 unicodeRange="U+0021-U+00FF"
)]
var akzidenz_otf:Class;
Font.registerFont(akzidenz_otf);
 
 
And I keep getting the error:  exception during transcoding: Font for alias
'AkzidenzOTF' with plain weight and style was not found by family name
'Berthold Akzidenz Grotesk'
 
I'm working in WindowsXP, Flash CS4 and it's a Type1 font.
 
I've tried various settings for the fontWeight and fontStyle and nothing
seems to affect this error.
 
I've also tried not using "systemFont" and instead setting the "source" path
in the Embed to C:/WINDOWS/Fonts/gfm_.pfm, which is this font's source
file on my machine, and it throws the same error.
 
Any ideas on what I'm dong wrong and how to fix it.. if it can be fixed?
 
Thank you. :)
 
 


Andrew Murphy
Interactive Media Specialist
  amur...@delvinia.com

Delvinia
214 King Street West, Suite 214 
Toronto Canada M5H 3S6

P 416.364.1455 ext. 232  F 416.364.9830  W www.delvinia.com

CONFIDENTIALITY NOTICE
This email message may contain privileged or confidential information. If
you are not the intended recipient or received this communication by error,
please notify the sender and delete the message without copying or
disclosing it.

AVIS DE CONFIDENTIALITÉ
Ce message peut contenir de l'information légalement privilégiée ou
confidentielle. Si vous n'êtes pas le destinataire ou croyez avoir reçu par
erreur ce message, nous vous saurions gré d'en aviser l'émetteur et d'en
détruire le contenu sans le communiquer a d'autres ou le reproduire.

 
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Problem understanding Class heirarchy issue

2009-08-31 Thread Sajid Saiyed
I am already importing all the classes in the package.

Still cant seem to get my head around this.
Maybe later today I will post excerpts of my classes here.

That might help.

Regards
Sajid

On Mon, Aug 31, 2009 at 6:14 PM, Cor wrote:
> Not knowing what you are trying to do, you have to import ClassB to
> instantiate it in ClassA.
>
> HTH
> Cor
>
> -Original Message-
> From: flashcoders-boun...@chattyfig.figleaf.com
> [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Sajid Saiyed
> Sent: maandag 31 augustus 2009 12:06
> To: flashcoders@chattyfig.figleaf.com
> Subject: [Flashcoders] Problem understanding Class heirarchy issue
>
> Hi,
> I have following Class structure:
>
> ClassA extends ClassC
>
> ClassB extends ClassC
>
> ClassC extends ClassD
>
> ClassD extends MovieClip
>
> Now,
> If I instantiate ClassB from ClassA, the constructor does not execute.
> note: Inside ClassB, I am instantiating another ClassE which extends
> MovieClip
>
> Is there something I am doing wrong?
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] Problem understanding Class heirarchy issue

2009-08-31 Thread Cor
When you do ClassA extends ClassC
you should read this as ClassA "is a" ClassC and in him you extend its
functionality


-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Sajid Saiyed
Sent: maandag 31 augustus 2009 12:06
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] Problem understanding Class heirarchy issue

Hi,
I have following Class structure:

ClassA extends ClassC

ClassB extends ClassC

ClassC extends ClassD

ClassD extends MovieClip

Now,
If I instantiate ClassB from ClassA, the constructor does not execute.
note: Inside ClassB, I am instantiating another ClassE which extends
MovieClip

Is there something I am doing wrong?
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Problem understanding Class heirarchy issue

2009-08-31 Thread Sajid Saiyed
Hi,
I have following Class structure:

ClassA extends ClassC

ClassB extends ClassC

ClassC extends ClassD

ClassD extends MovieClip

Now,
If I instantiate ClassB from ClassA, the constructor does not execute.
note: Inside ClassB, I am instantiating another ClassE which extends MovieClip

Is there something I am doing wrong?
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] Problem understanding Class heirarchy issue

2009-08-31 Thread Cor
Not knowing what you are trying to do, you have to import ClassB to
instantiate it in ClassA.

HTH
Cor

-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Sajid Saiyed
Sent: maandag 31 augustus 2009 12:06
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] Problem understanding Class heirarchy issue

Hi,
I have following Class structure:

ClassA extends ClassC

ClassB extends ClassC

ClassC extends ClassD

ClassD extends MovieClip

Now,
If I instantiate ClassB from ClassA, the constructor does not execute.
note: Inside ClassB, I am instantiating another ClassE which extends
MovieClip

Is there something I am doing wrong?
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders