Re: [Flashcoders] Uncover the Flash Files

2007-06-08 Thread Hans Wichman
Hi, cool site, nice to have all those 'misconceptions' and other helpful info combined. It does fall off the screen, (just as it would with a wrong css sheet). keep it up JC On 6/9/07, Snepo - Arse <[EMAIL PROTECTED]> wrote: I also missed content because of the window size. The Flash Times

Re: [Flashcoders] AS2: EventDispatcher.initialize() andsuper()conflict?

2007-06-08 Thread Muzak
As Jesse said, use the static way instead of initializing it in the constructor. This serves 2 purposes: - mixin only occurs once (rather than which each instance created) - mixin occurs before the constructor is run With that said, any reason why you're not decorating the super class with EventD

Re: [Flashcoders] Having MovieClip behaviors in a class..

2007-06-08 Thread O. Fouad
Thanks Jesse this was what i really wanted to know... :) On 6/9/07, Jesse Graupmann <[EMAIL PROTECTED]> wrote: I'm not saying you have to create a new instance but was just getting as close to your example as I could, which looks like a new instance to me; "var myBox:DrawBox("boxname"); myBox.

RE: [Flashcoders] Having MovieClip behaviors in a class..

2007-06-08 Thread Jesse Graupmann
I'm not saying you have to create a new instance but was just getting as close to your example as I could, which looks like a new instance to me; "var myBox:DrawBox("boxname"); myBox._y = 100; myBox._alpha = 50;" " this is just an example.. u know i wanted to apply some custom effect to a movieCl

Re: [Flashcoders] Having MovieClip behaviours in a class..

2007-06-08 Thread O. Fouad
continued... just the same way when in actionsript 1 i write: MovieClip.prototype.myEffect = function () { //some code here } myMC.myEffect(); ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http:

Re: [Flashcoders] Uncover the Flash Files

2007-06-08 Thread Snepo - Arse
I also missed content because of the window size. The Flash Times link, for example, cannot be scrolled to if the window is to small. Fonts are hard to read, no preloader, mystery meat navigation etc Why don't you just offer the information in a usable and clear fashion... no wonder there is

Re: [Flashcoders] Having MovieClip behaviours in a class..

2007-06-08 Thread O. Fouad
thanks :D but why should i use static methods I am trying to create some color effect shortcuti wont need to create new instances. If i have a movieClip on my stage i wouldlike to have it myMC.someEffect(par); ___ Flashcoders@chattyfig.figleaf.c

RE: [Flashcoders] AS2: EventDispatcher.initialize() and super()conflict?

2007-06-08 Thread Jesse Graupmann
I never use super() so I have no idea, but see what happens when you throw the initialize in a static variable like; class myClass extends otherClass { private static var EventDispatcherDependancy = mx.events.EventDispatcher.initialize ( myClass.prototype ); public var addEventLi

RE: [Flashcoders] Having MovieClip behaviours in a class..

2007-06-08 Thread Jesse Graupmann
Or try static methods... // // IN FLA // var myBox:DrawBox = DrawBox.newBox ( "boxname", _root ); myBox._y = 100; myBox._alpha = 50; // // IN DrawBox.as // class DrawBox extends MovieClip { public function DrawBox ( ) { } public static function n

[Flashcoders] AS2: EventDispatcher.initialize() and super() conflict?

2007-06-08 Thread Merrill, Jason
I have a class that has to call it's superclass in the constructor. However, it also needs to initialize EventDispatcher to listen to dispatch events that another class is listening to. It seems, and I could be wrong, that EventDispatcher does not work if it's not the first thing in the constructo

Re: [Flashcoders] Having MovieClip behaviours in a class..

2007-06-08 Thread O. Fouad
this is just an example.. u know i wanted to apply some custom effect to a movieClip and using mc.applyFX(bla bla) instead of applyFX(mc, bla bla); Just like mc_tween's mc.alphaTo() for example... -- O.Fouad - Digital Emotions ___ Flashcoders@chattyfig

Re: [Flashcoders] Uncover the Flash Files

2007-06-08 Thread Glen Pike
Hi, Looks nice, except I only have a 1024 x 768 monitor - you are not really establishing a good case for flash being used to create usable sites because the bottom part of the page is cut off in my browser... Make it work before making it look good - then Jakob will shut up. Glen

Re: [Flashcoders] Having MovieClip behaviours in a class..

2007-06-08 Thread Glen Pike
Hi, If you are extending a movie-clip, why can't you just draw in there?? e.g. class DrawBox extends MovieClip { public function drawBox() { beginFill(0xFF,100); moveTo(0,0); lineTo(100,0); lineTo(100,100); lineTo(0,100); lineTo(0,0);

[Flashcoders] Having MovieClip behaviours in a class..

2007-06-08 Thread O. Fouad
Ok, this is just frustrating me... somebody help me please :( i've got this class DrawBox that as it says, draws a box on the stage.. class DrawBox extends MovieClip { var myMC:MovieClip; public function DrawBox(boxName:String) { this.myMC = _root.createEmptyMovieClip(boxName,_root

[Flashcoders] FLVplayback IE loading progress problem

2007-06-08 Thread Felipe Hefler
Hi Folks! I'm using FLVplayback component. I'm having some trouble when playing a FLV file on IE (6 or 7). The download progress bar just doesn't work. On firefox, safari it works perfectly. Does anyone know about this issue? thanks! ___ Flashcoders@ch

Re: [Flashcoders] Composition access

2007-06-08 Thread Helmut Granda
Yeah, i thought of using inheritance but in this case Composition allows me to instantiate the classes in a way that it would be easier to hand down the items to other people and they don't have to mess with the code. At the moment I'm only overwriting one method, and maybe I will have to overwri

Re: [Flashcoders] Composition access

2007-06-08 Thread Helmut Granda
Ok, figured out Main -method1 (calls method2) -method2 (calls method3) -method3 Copy method2 = this.method2 -method2 = calls main.method3; so you can make them talk to each other, I just was confused how to put it into code. Thanks -h On 6/8/07, Helmut Granda <[EMAIL PROTECTED]> wrote: One

RE: [Flashcoders] Composition access

2007-06-08 Thread David Ngo
No. You would have to create wrappers for all three methods. It sounds like you should be using Inheritance instead of Composition if you're overriding that many methods... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Helmut Granda Sent: Friday, June

Re: [Flashcoders] Using Vista, Flash doesn't reload in FF or IE

2007-06-08 Thread Odie Bracy
Just this morning I was having problems on a new HP with Vista loading any Flash from any website. I Googled and found that a large number of people are having problems with slow internet with Vista. Most people talked about removing McAfee to solve the problem. I had Norton rather than McA

RE: [Flashcoders] suppressing the Context Menu Class

2007-06-08 Thread Hershell Bryant
AFAIK, the only way to use a right mouse button for anything but Flash's context menu (you can suppress and add individual items, but it still looks like Flash's context menu) is to have your swf sit on a layer below an invisible layer on a web page, and use javascript to respond to right mouse eve

[Flashcoders] suppressing the Context Menu Class

2007-06-08 Thread Matthew Ganz
Hi.. I know that you can trap right clicks in Flash, but will that always invoke the Context Menu Class or can I suppress it and do something else? Thanks. Matt. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the

Re: [Flashcoders] Using Vista, Flash doesn't reload in FF or IE

2007-06-08 Thread Ian Thomas
For the record, SWFObject works fine on Vista - so it's not that. Ian On 6/8/07, James Marsden <[EMAIL PROTECTED]> wrote: Hallo, We've got a presentation to give with some Flash using a Vista laptop, and reloading the page with the Flash on it causes the Flash to stall on the first frame (no c

Re: [Flashcoders] Using Vista, Flash doesn't reload in FF or IE

2007-06-08 Thread gareth gwyther
sorry just reread that. My reckoning is vista makes the flash player work harder becasue microsft wants to sell more of its dodgey net frame work adobe has a new script with cs3 for flash embedding thats pretty good try that ___ Flashcoders@chattyfig.fig

Re: [Flashcoders] Using Vista, Flash doesn't reload in FF or IE

2007-06-08 Thread gareth gwyther
Why are you using swf for a presentation. Go into your publishing setting and make a projector ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Bro

Re: [Flashcoders] Using Vista, Flash doesn't reload in FF or IE

2007-06-08 Thread Ian Thomas
I'm using Vista for development every day, and have never seen that error. Are you sure the Flash plugin is installed correctly? Does the Flash movie work in the Flash Player? Is there anything odd going on with regards to loading? Can your browser read the resources directly without errors? (i

[Flashcoders] Using Vista, Flash doesn't reload in FF or IE

2007-06-08 Thread James Marsden
Hallo, We've got a presentation to give with some Flash using a Vista laptop, and reloading the page with the Flash on it causes the Flash to stall on the first frame (no code executed either). We're using SWFObject to embed, and it works fine on XP with IE 6, 7 and FF, and on OSX with both S

Re: [Flashcoders] Composition access

2007-06-08 Thread Helmut Granda
One more question while in Composition mode lets say I have my main class Main -method1 (calls method2) -method2 (calls method3) -method3 With Inheritance I could do Copy -method2 (calls method3 of Main) When instantiating Copy it would know to use method1, and method3 from original while us

Re: [Flashcoders] Composition access

2007-06-08 Thread Helmut Granda
hey David, your suggestion works perfectly, it was my implementation that was breaking the code. Thanks again. -h On 6/8/07, Helmut Granda <[EMAIL PROTECTED]> wrote: Thanks David, For some odd reason if I do in my coopy public function init():Void { trace("init in copy class"); } it wont f

Re: [Flashcoders] Composition access

2007-06-08 Thread Helmut Granda
Thanks David, For some odd reason if I do in my coopy public function init():Void { trace("init in copy class"); } it wont fire but it will fire the init method from the Original Class (which by the way seem very similar to inheritance :) ) any ideas why this could be happening? Thanks aga

Re: [Flashcoders] Flash video graphic

2007-06-08 Thread Muzak
erhmmm.. try here: http://chattyfig.figleaf.com/mailman/listinfo/flashnewbie - Original Message - From: "Karl Schneider" <[EMAIL PROTECTED]> To: Sent: Friday, June 08, 2007 4:31 PM Subject: [Flashcoders] Flash video graphic >I want to add a static graphic to my Flash movie. When a vi

RE: [Flashcoders] Composition access

2007-06-08 Thread David Ngo
You'd basically create a 'wrapper' method: class CopyClass { private var original:OriginalClass; private var mc:MovieClip; public function CopyClass(mc:MovieClip) { this.mc = mc; original = new OriginalClass(mc); }

Re: [Flashcoders] Flash video graphic

2007-06-08 Thread Helmut Granda
I dont know if there a specific name for doing this but I would load the image on top of the player and add a listener so when the user clicks on the play button you can unload/hide/delete the image ...helmut On 6/8/07, Karl Schneider <[EMAIL PROTECTED]> wrote: I want to add a static graph

[Flashcoders] Flash video graphic

2007-06-08 Thread Karl Schneider
I want to add a static graphic to my Flash movie. When a visitor visits the Web page with the embedded flash video the visitor would see the graphic in the Flash video player and not the black video player screen. I have seen this done on the CNET and other Websites. What is this treatment called?

[Flashcoders] Composition access

2007-06-08 Thread Helmut Granda
I am slowly moving from inheritance to composition for a specific project, one way to "extend" my classes is by creating a copy of them into the new created classes... class OriginalClass { var mc:MovieClip; function original(mc:MovieClip) { this.mc = mc; init(); }; function init() { trace(