Re: [Flashcoders] Can I display slanted quotes in a textField?

2009-09-01 Thread Karl DeSaulniers
Sorry that "e; was ISO-8859-1 translation, but something to that effect. Best, Karl On Sep 2, 2009, at 12:00 AM, Karl DeSaulniers wrote: Just a thought. Make your textBox display as HTML and use the urlencoding for those quotes somehow. Eg: "e; If your loading the text dynamically, you s

Re: [Flashcoders] Can I display slanted quotes in a textField?

2009-09-01 Thread Karl DeSaulniers
A good resource. http://www.w3schools.com/TAGS/ref_entities.asp Karl On Sep 2, 2009, at 12:00 AM, Karl DeSaulniers wrote: Just a thought. Make your textBox display as HTML and use the urlencoding for those quotes somehow. Eg: "e; If your loading the text dynamically, you should be using t

Re: [Flashcoders] Problem understanding Class heirarchy issue

2009-09-01 Thread Sajid Saiyed
Hi, In ClassA, the someFunction definition is: public function someFunction(){ trace(this, "Some function called"); objectB = new ClassB(); objectB.name = "myobjectB"; this.addChild(objectB); trace(this, "This is not getting called"); } Regards Sajid On We

Re: [Flashcoders] Can I display slanted quotes in a textField?

2009-09-01 Thread Karl DeSaulniers
Just a thought. Make your textBox display as HTML and use the urlencoding for those quotes somehow. Eg: "e; If your loading the text dynamically, you should be using them anyways. IMO. Urlencodings that is. Karl Sent from losPhone On Sep 1, 2009, at 11:36 PM, "Paul Freedman" wrote: y

Re: [Flashcoders] Can I display slanted quotes in a textField?

2009-09-01 Thread Paul Freedman
you have to embed them specifically by copying and pasting them into the embed characters field on the TextField in Flash ... I'm creating my textFields at runtime. Of course, that entails code such as: this.createTextField("lorem_txt", 20, 0, 20, Stage.width, 0); lorem_txt.embedFonts = true;

Re: [Flashcoders] Problem understanding Class heirarchy issue

2009-09-01 Thread Sajid Saiyed
Hi, Thanks all of you for adding your valuable inputs, I am reviewing all suggestions. Meanwhile, I would like to say that, I am not writing anything in my FLA. (I guess thats the best practice, is it correct?) So, ONlything I do in the FLA is declare ClassA as my document root class. Could that

Re: [Flashcoders] Problem understanding Class heirarchy issue

2009-09-01 Thread Muzak
Works fine here: ClassA extends ClassC ClassB extends ClassC ClassC extends ClassD ClassD extends MovieClip // ClassA package { import flash.events.Event; public class ClassA extends ClassC { public var b:ClassB; public function ClassA():void { trace("ClassA ::: CONSTRUCTOR"); addEventList

Re: [Flashcoders] Problem understanding Class heirarchy issue

2009-09-01 Thread Muzak
AKAIK, a constructor is always invoked when an instance is created and there's no way around that. So if you have some trace() actions in the contstructor of ClassB and you don't see the output, no instance is created. Which in this case probably means that someFunction() is not being invoked.

Re: [Flashcoders] Problem understanding Class heirarchy issue

2009-09-01 Thread Muzak
Are you talking about something like this?? package { public class ClassA { public function ClassA():void { trace("ClassA ::: CONSTRUCTOR"); } } } package { public class ClassB extends ClassA { public function ClassB():void { trace("ClassB ::: CONSTRUCTOR"); } } } // in fla var b:ClassB

Re: [Flashcoders] Can I display slanted quotes in a textField?

2009-09-01 Thread Steven Sacks
I believe you're talking about "curly quotes" and yes you can include them BUT you have to embed them specifically by copying and pasting them into the embed characters field on the TextField in Flash as they're not included in the basic glyph set. Also, you have to make sure the font you're u

Re: [Flashcoders] Problem understanding Class heirarchy issue

2009-09-01 Thread Steven Sacks
In AS2, super() was called automatically (so to speak), so calling it was a matter of proper form more than anything else. In AS3, you have to call it yourself or it doesn't get called. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com ht

[Flashcoders] activeX swfobject flash install broken?

2009-09-01 Thread Hudson Ansley
One thing that IE had over other browsers wrt flash was to install the plugin without restarting or having the user run an installer. Recently, sites I have using swfobject no longer seem to auto-install flash on IE. Anybody else notice this? I'm currently using IE 7, but I think the same goes for

Re: [Flashcoders] Problem understanding Class heirarchy issue

2009-09-01 Thread Matt Gitchell
super(arg:AnyApplicableArgument) calls the constructor of the parent class, in this case all the stuff that happens in function ClassB(){...} On Tue, Sep 1, 2009 at 8:23 AM, Sajid Saiyed wrote: > yes, someFunction is getting called. > If I change ClassB to: > > public class ClassB extends M

Re: [Flashcoders] Problem understanding Class heirarchy issue

2009-09-01 Thread Sajid Saiyed
yes, someFunction is getting called. If I change ClassB to: public class ClassB extends MovieClip or public class ClassB extends Sprite Then the constructor gets called. I still have to try super() as suggested by Steven (I am at home now so dont have the code with me) So Steven, Do youm

Re: [Flashcoders] Problem understanding Class heirarchy issue

2009-09-01 Thread Jim Lafser
Have you verified that someFunciton is getting called? Is someFunction getting called in the scope that you expect? May need to use:     addEventListener(ClassC.moveUP, Delegate.create(this, someFunction); to get someFunciton to run in the scope that you expect. --- On Tue, 9/1/09, Steven Sacks

Re: [Flashcoders] Problem understanding Class heirarchy issue

2009-09-01 Thread Steven Sacks
You're not calling super() in the ClassA constructor. On Aug 31, 2009, at 11:12 PM, Sajid Saiyed wrote: Ok, Here is a bit more information. ClassA (works pefrectly fine): --- package com.folder.subfolder { import flash.display.*; import flash.events.*; import flash.filters.*;