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

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: Akzi

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 yo

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

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 hav

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

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

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

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 throttlin

[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: [Em

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 Cl

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

[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

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: fl