[Flashcoders] AS3 InteractiveObject.focusRect property.
How do I use the InteractiveObject.focusRect property? The documentation is sketchy. I can see that I assign (or get) an Object from it. Setting it to null defaults to the Stage.stageFocusRect setting. But how else can I use focusRect? Send instant messages to your online friends http://au.messenger.yahoo.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] scale 9?
Hi Steven - I'm using a vector - a simple rectangle. Paul - thanks for the insight. I've tried a few things now and nothing I do gets the clip to be at the proper size. I'm giving up on it and may use Patrick's suggestion of the Bevel filter. Patrick - I did originally try using bevel, but it never gives me a really clean line even with Blur at 0 and quality at High. But, I think it may be good enough. FWIW - I also had a embosser class I wrote, to extend MC. But then I had issues with my drawn lines appearing over things since I couldn't draw into the clip itself - as it was scaled. I think Bevel is going to be the least hassle, even though it's not exactly what I wanted. Thanks! Dave - Head Developer www.blurredistinction.com Adobe Community Expert http://www.adobe.com/communities/experts/ ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] scale 9?
PS - Bevel works fine actually, it was my clip not being located at an integer pixel value that made the bevel look off. Sometimes... Dave - Head Developer www.blurredistinction.com Adobe Community Expert http://www.adobe.com/communities/experts/ ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Delegate Class Scoping self instantiated
I understand that when instantiating a class you can set the scope where the instance is going to run, but how about when we dont actually instantiate the class on the timeline but we just link the class directly to the items on the stage, how is the scope treated in this case? I assume the class has to be instantiated on itself or do we need a separate class to keep track of this item? TIA ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] Delegate Class Scoping self instantiated
Classes don't know their own scope, they are oblivious to anything outside of them, (unless of course you import some other class - then they know what the other class does, but still don't have any scope reference). What are you trying to do? Jason Merrill Bank of America GTO Learning Leadership Development eTools Multimedia Team -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Helmut Granda Sent: Tuesday, April 03, 2007 9:05 AM To: Flashcoders mailing list Subject: [Flashcoders] Delegate Class Scoping self instantiated I understand that when instantiating a class you can set the scope where the instance is going to run, but how about when we dont actually instantiate the class on the timeline but we just link the class directly to the items on the stage, how is the scope treated in this case? I assume the class has to be instantiated on itself or do we need a separate class to keep track of this item? TIA ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Delegate Class Scoping self instantiated
Hey Jason, All Im trying to do is run some animation inside a movieclip but without instantiating the class. So what I do instead is just add a MovieClip on stage that has a link to a class and it knows exactly what to do rather than having to instantiate it manually. BTW, I read your previous post that talks about classes talking to each other, it is something I am trying to acomplish as well. -h On 4/3/07, Merrill, Jason [EMAIL PROTECTED] wrote: Classes don't know their own scope, they are oblivious to anything outside of them, (unless of course you import some other class - then they know what the other class does, but still don't have any scope reference). What are you trying to do? Jason Merrill Bank of America GTO Learning Leadership Development eTools Multimedia Team -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Helmut Granda Sent: Tuesday, April 03, 2007 9:05 AM To: Flashcoders mailing list Subject: [Flashcoders] Delegate Class Scoping self instantiated I understand that when instantiating a class you can set the scope where the instance is going to run, but how about when we dont actually instantiate the class on the timeline but we just link the class directly to the items on the stage, how is the scope treated in this case? I assume the class has to be instantiated on itself or do we need a separate class to keep track of this item? TIA ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Delegate Class Scoping self instantiated
Oh, and I forgot an important point, the reson why I want to find the scope of the class is because inside the class there are variables that talk to each other and I can have them talk back and forth like this _level0.instance1.myVariable = blah; but this of course wont work when the movie is loaded into a new movie because the reference will be lost and changes to _level0.movieHolder.instance1.myVariable = blah; and of course it breaks the app. Thanks again, -h On 4/3/07, Merrill, Jason [EMAIL PROTECTED] wrote: Classes don't know their own scope, they are oblivious to anything outside of them, (unless of course you import some other class - then they know what the other class does, but still don't have any scope reference). What are you trying to do? Jason Merrill Bank of America GTO Learning Leadership Development eTools Multimedia Team -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Helmut Granda Sent: Tuesday, April 03, 2007 9:05 AM To: Flashcoders mailing list Subject: [Flashcoders] Delegate Class Scoping self instantiated I understand that when instantiating a class you can set the scope where the instance is going to run, but how about when we dont actually instantiate the class on the timeline but we just link the class directly to the items on the stage, how is the scope treated in this case? I assume the class has to be instantiated on itself or do we need a separate class to keep track of this item? TIA ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Delegate Class Scoping self instantiated
So I figured it out or at least I think I did, private var target: myClass; function myClass(){ target = this; } now I can reference to properties within a class without breaking the app. So in the same lines, is there anyway to code the classe so that we don't have to reference to the properties and methods within the class without having to say target.objectA._x = 130; but just have objectA._x = 130; Thanks -h On 4/3/07, Helmut Granda [EMAIL PROTECTED] wrote: Oh, and I forgot an important point, the reson why I want to find the scope of the class is because inside the class there are variables that talk to each other and I can have them talk back and forth like this _level0.instance1.myVariable = blah; but this of course wont work when the movie is loaded into a new movie because the reference will be lost and changes to _level0.movieHolder.instance1.myVariable = blah; and of course it breaks the app. Thanks again, -h On 4/3/07, Merrill, Jason [EMAIL PROTECTED] wrote: Classes don't know their own scope, they are oblivious to anything outside of them, (unless of course you import some other class - then they know what the other class does, but still don't have any scope reference). What are you trying to do? Jason Merrill Bank of America GTO Learning Leadership Development eTools Multimedia Team -Original Message- From: [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED] On Behalf Of Helmut Granda Sent: Tuesday, April 03, 2007 9:05 AM To: Flashcoders mailing list Subject: [Flashcoders] Delegate Class Scoping self instantiated I understand that when instantiating a class you can set the scope where the instance is going to run, but how about when we dont actually instantiate the class on the timeline but we just link the class directly to the items on the stage, how is the scope treated in this case? I assume the class has to be instantiated on itself or do we need a separate class to keep track of this item? TIA ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] Delegate Class Scoping self instantiated
If class has it's own variables, just use them inside the class- but if you want to Extend movieClip and expect it to know about variables outside it's scope, well, that's breaking OOP AFAIK, classes only know about themselves. Instead, you will want to use a central composition class and refer to movie clip instances instead of subclassing movieClip. At least as I see it - others may have some different ideas. To make a movie clip animate itself, using myClass extends MovieClip, you can just use this which is an instance of the movieClip. i.e. this._x += 10; Jason Merrill Bank of America GTO Learning Leadership Development eTools Multimedia Team -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Helmut Granda Sent: Tuesday, April 03, 2007 9:30 AM To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] Delegate Class Scoping self instantiated Oh, and I forgot an important point, the reson why I want to find the scope of the class is because inside the class there are variables that talk to each other and I can have them talk back and forth like this _level0.instance1.myVariable = blah; but this of course wont work when the movie is loaded into a new movie because the reference will be lost and changes to _level0.movieHolder.instance1.myVariable = blah; and of course it breaks the app. Thanks again, -h On 4/3/07, Merrill, Jason [EMAIL PROTECTED] wrote: Classes don't know their own scope, they are oblivious to anything outside of them, (unless of course you import some other class - then they know what the other class does, but still don't have any scope reference). What are you trying to do? Jason Merrill Bank of America GTO Learning Leadership Development eTools Multimedia Team -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Helmut Granda Sent: Tuesday, April 03, 2007 9:05 AM To: Flashcoders mailing list Subject: [Flashcoders] Delegate Class Scoping self instantiated I understand that when instantiating a class you can set the scope where the instance is going to run, but how about when we dont actually instantiate the class on the timeline but we just link the class directly to the items on the stage, how is the scope treated in this case? I assume the class has to be instantiated on itself or do we need a separate class to keep track of this item? TIA ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Delegate Class Scoping self instantiated
You are correct, and it all seems clear now and working as expected, the only guy that I cant understand is the Tween class and the way i can pass a refrence of the main class inside it. I have learend that this works myTween.onMotionFinished = Delegate.create(this, myNextFunction); but I am triggering other functions in the middle of the Tween //code sample var playOnce:Boolean = true; myTween.onMotionChanged = function() { if ( (myTween.time .2) playOnce == true) { Delegate.create(scope, resetWin3); playOnce = false; } } //end of sample Which of course doesnt want to cooperate, I have tried to pass a reference of the class into the Tween but still it wants to use itself as a reference rather than the refence passed into it. Any Ideas? I will keep googling in the mean time... On 4/3/07, Merrill, Jason [EMAIL PROTECTED] wrote: If class has it's own variables, just use them inside the class- but if you want to Extend movieClip and expect it to know about variables outside it's scope, well, that's breaking OOP AFAIK, classes only know about themselves. Instead, you will want to use a central composition class and refer to movie clip instances instead of subclassing movieClip. At least as I see it - others may have some different ideas. To make a movie clip animate itself, using myClass extends MovieClip, you can just use this which is an instance of the movieClip. i.e. this._x += 10; Jason Merrill Bank of America GTO Learning Leadership Development eTools Multimedia Team -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Helmut Granda Sent: Tuesday, April 03, 2007 9:30 AM To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] Delegate Class Scoping self instantiated Oh, and I forgot an important point, the reson why I want to find the scope of the class is because inside the class there are variables that talk to each other and I can have them talk back and forth like this _level0.instance1.myVariable = blah; but this of course wont work when the movie is loaded into a new movie because the reference will be lost and changes to _level0.movieHolder.instance1.myVariable = blah; and of course it breaks the app. Thanks again, -h On 4/3/07, Merrill, Jason [EMAIL PROTECTED] wrote: Classes don't know their own scope, they are oblivious to anything outside of them, (unless of course you import some other class - then they know what the other class does, but still don't have any scope reference). What are you trying to do? Jason Merrill Bank of America GTO Learning Leadership Development eTools Multimedia Team -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Helmut Granda Sent: Tuesday, April 03, 2007 9:05 AM To: Flashcoders mailing list Subject: [Flashcoders] Delegate Class Scoping self instantiated I understand that when instantiating a class you can set the scope where the instance is going to run, but how about when we dont actually instantiate the class on the timeline but we just link the class directly to the items on the stage, how is the scope treated in this case? I assume the class has to be instantiated on itself or do we need a separate class to keep track of this item? TIA ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe
Re: [Flashcoders] Delegate Class Scoping self instantiated
Correction in my sample code //code sample var playOnce:Boolean = true; myTween.onMotionChanged = function() { if ( (myTween.time .2) playOnce == true) { //correction Delegate.create(this, nextFunction); playOnce = false; } } //end of sample On 4/3/07, Helmut Granda [EMAIL PROTECTED] wrote: You are correct, and it all seems clear now and working as expected, the only guy that I cant understand is the Tween class and the way i can pass a refrence of the main class inside it. I have learend that this works myTween.onMotionFinished = Delegate.create(this, myNextFunction); but I am triggering other functions in the middle of the Tween //code sample var playOnce:Boolean = true; myTween.onMotionChanged = function() { if ( (myTween.time .2) playOnce == true) { Delegate.create(scope, resetWin3); playOnce = false; } } //end of sample Which of course doesnt want to cooperate, I have tried to pass a reference of the class into the Tween but still it wants to use itself as a reference rather than the refence passed into it. Any Ideas? I will keep googling in the mean time... On 4/3/07, Merrill, Jason [EMAIL PROTECTED] wrote: If class has it's own variables, just use them inside the class- but if you want to Extend movieClip and expect it to know about variables outside it's scope, well, that's breaking OOP AFAIK, classes only know about themselves. Instead, you will want to use a central composition class and refer to movie clip instances instead of subclassing movieClip. At least as I see it - others may have some different ideas. To make a movie clip animate itself, using myClass extends MovieClip, you can just use this which is an instance of the movieClip. i.e. this._x += 10; Jason Merrill Bank of America GTO Learning Leadership Development eTools Multimedia Team -Original Message- From: [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED] On Behalf Of Helmut Granda Sent: Tuesday, April 03, 2007 9:30 AM To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] Delegate Class Scoping self instantiated Oh, and I forgot an important point, the reson why I want to find the scope of the class is because inside the class there are variables that talk to each other and I can have them talk back and forth like this _level0.instance1.myVariable = blah; but this of course wont work when the movie is loaded into a new movie because the reference will be lost and changes to _level0.movieHolder.instance1.myVariable = blah; and of course it breaks the app. Thanks again, -h On 4/3/07, Merrill, Jason [EMAIL PROTECTED] wrote: Classes don't know their own scope, they are oblivious to anything outside of them, (unless of course you import some other class - then they know what the other class does, but still don't have any scope reference). What are you trying to do? Jason Merrill Bank of America GTO Learning Leadership Development eTools Multimedia Team -Original Message- From: [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED] On Behalf Of Helmut Granda Sent: Tuesday, April 03, 2007 9:05 AM To: Flashcoders mailing list Subject: [Flashcoders] Delegate Class Scoping self instantiated I understand that when instantiating a class you can set the scope where the instance is going to run, but how about when we dont actually instantiate the class on the timeline but we just link the class directly to the items on the stage, how is the scope treated in this case? I assume the class has to be instantiated on itself or do we need a separate class to keep track of this item? TIA ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options
RE: [Flashcoders] Delegate Class Scoping self instantiated
myTween.onMotionChanged = function() { if ( (myTween.time .2) playOnce == true) { Delegate.create(scope, resetWin3); Because that's not how delegate works exactly :) - there is no scope address to resetWin3 inside of the tween.onMotionChanged event. Instead you should do it like this: myTween.onMotionChanged = Delegate.create(scope, resetWin3) If you want to pass an argument to the function then that's easy enough: var myDel:Object = myTween.onMotionChanged = Delegate.create(scope, resetWin3) myDel.myArgument = hello then in the resetWin3 function: function resetWin3():Void { myVar = arguments.caller.myArgument } Jason Merrill Bank of America GTO Learning Leadership Development eTools Multimedia Team -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Helmut Granda Sent: Tuesday, April 03, 2007 10:07 AM To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] Delegate Class Scoping self instantiated You are correct, and it all seems clear now and working as expected, the only guy that I cant understand is the Tween class and the way i can pass a refrence of the main class inside it. I have learend that this works myTween.onMotionFinished = Delegate.create(this, myNextFunction); but I am triggering other functions in the middle of the Tween //code sample var playOnce:Boolean = true; myTween.onMotionChanged = function() { if ( (myTween.time .2) playOnce == true) { Delegate.create(scope, resetWin3); playOnce = false; } } //end of sample Which of course doesnt want to cooperate, I have tried to pass a reference of the class into the Tween but still it wants to use itself as a reference rather than the refence passed into it. Any Ideas? I will keep googling in the mean time... On 4/3/07, Merrill, Jason [EMAIL PROTECTED] wrote: If class has it's own variables, just use them inside the class- but if you want to Extend movieClip and expect it to know about variables outside it's scope, well, that's breaking OOP AFAIK, classes only know about themselves. Instead, you will want to use a central composition class and refer to movie clip instances instead of subclassing movieClip. At least as I see it - others may have some different ideas. To make a movie clip animate itself, using myClass extends MovieClip, you can just use this which is an instance of the movieClip. i.e. this._x += 10; Jason Merrill Bank of America GTO Learning Leadership Development eTools Multimedia Team -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Helmut Granda Sent: Tuesday, April 03, 2007 9:30 AM To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] Delegate Class Scoping self instantiated Oh, and I forgot an important point, the reson why I want to find the scope of the class is because inside the class there are variables that talk to each other and I can have them talk back and forth like this _level0.instance1.myVariable = blah; but this of course wont work when the movie is loaded into a new movie because the reference will be lost and changes to _level0.movieHolder.instance1.myVariable = blah; and of course it breaks the app. Thanks again, -h On 4/3/07, Merrill, Jason [EMAIL PROTECTED] wrote: Classes don't know their own scope, they are oblivious to anything outside of them, (unless of course you import some other class - then they know what the other class does, but still don't have any scope reference). What are you trying to do? Jason Merrill Bank of America GTO Learning Leadership Development eTools Multimedia Team -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Helmut Granda Sent: Tuesday, April 03, 2007 9:05 AM To: Flashcoders mailing list Subject: [Flashcoders] Delegate Class Scoping self instantiated I understand that when instantiating a class you can set the scope where the instance is going to run, but how about when we dont actually instantiate the class on the timeline but we just link the class directly to the items on the stage, how is the scope treated in this case? I assume the class has to be instantiated on itself or do we need a separate class to keep track of this item? TIA ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:
Re: Re: [Flashcoders] Delegate Class Scoping self instantiated
This looks like a lot of very strange stuff is going on in the design of this code. I think you should explain what you want to do at a very high level so we can see if there is a better and simpler way to accomplish it. (I can't figure out where the Delegate mentioned in the subject line is coming from, either.) From: Helmut Granda [EMAIL PROTECTED] Date: 2007/04/03 Tue AM 08:38:08 CDT To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] Delegate Class Scoping self instantiated So I figured it out or at least I think I did, private var target: myClass; function myClass(){ target = this; } now I can reference to properties within a class without breaking the app. So in the same lines, is there anyway to code the classe so that we don't have to reference to the properties and methods within the class without having to say target.objectA._x = 130; but just have objectA._x = 130; Thanks -h On 4/3/07, Helmut Granda [EMAIL PROTECTED] wrote: Oh, and I forgot an important point, the reson why I want to find the scope of the class is because inside the class there are variables that talk to each other and I can have them talk back and forth like this _level0.instance1.myVariable = blah; but this of course wont work when the movie is loaded into a new movie because the reference will be lost and changes to _level0.movieHolder.instance1.myVariable = blah; and of course it breaks the app. Thanks again, -h On 4/3/07, Merrill, Jason [EMAIL PROTECTED] wrote: Classes don't know their own scope, they are oblivious to anything outside of them, (unless of course you import some other class - then they know what the other class does, but still don't have any scope reference). What are you trying to do? Jason Merrill Bank of America GTO Learning Leadership Development eTools Multimedia Team -Original Message- From: [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED] On Behalf Of Helmut Granda Sent: Tuesday, April 03, 2007 9:05 AM To: Flashcoders mailing list Subject: [Flashcoders] Delegate Class Scoping self instantiated I understand that when instantiating a class you can set the scope where the instance is going to run, but how about when we dont actually instantiate the class on the timeline but we just link the class directly to the items on the stage, how is the scope treated in this case? I assume the class has to be instantiated on itself or do we need a separate class to keep track of this item? TIA ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- John Mark Hawley The Nilbog Group 773.968.4980 (cell) ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: Re: [Flashcoders] Delegate Class Scoping self instantiated
In the piece of code that I just sent basically what is happening is this: Start Tween = Tween length 1 sec If it has elapsed .2 seconds then trigger a function And my problem was that once the .2 seconds have happened the function wasnt called since it was inside an If statement inside the onMotionChanged function inside the Tween class //Sample myTween.onMotionChanged = function() { if ( (myTween.time .2) playOnce == true) { // FunctionCallHappens here playOnce = false; } } //end of sample But as Jason explained making an object and then referencing to it seems to work great. So the final question is, Did I explain my situation correctly and would this be a good approach or should I think it over? Thanks On 4/3/07, John Mark Hawley [EMAIL PROTECTED] wrote: This looks like a lot of very strange stuff is going on in the design of this code. I think you should explain what you want to do at a very high level so we can see if there is a better and simpler way to accomplish it. (I can't figure out where the Delegate mentioned in the subject line is coming from, either.) From: Helmut Granda [EMAIL PROTECTED] Date: 2007/04/03 Tue AM 08:38:08 CDT To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] Delegate Class Scoping self instantiated So I figured it out or at least I think I did, private var target: myClass; function myClass(){ target = this; } now I can reference to properties within a class without breaking the app. So in the same lines, is there anyway to code the classe so that we don't have to reference to the properties and methods within the class without having to say target.objectA._x = 130; but just have objectA._x = 130; Thanks -h On 4/3/07, Helmut Granda [EMAIL PROTECTED] wrote: Oh, and I forgot an important point, the reson why I want to find the scope of the class is because inside the class there are variables that talk to each other and I can have them talk back and forth like this _level0.instance1.myVariable = blah; but this of course wont work when the movie is loaded into a new movie because the reference will be lost and changes to _level0.movieHolder.instance1.myVariable = blah; and of course it breaks the app. Thanks again, -h On 4/3/07, Merrill, Jason [EMAIL PROTECTED] wrote: Classes don't know their own scope, they are oblivious to anything outside of them, (unless of course you import some other class - then they know what the other class does, but still don't have any scope reference). What are you trying to do? Jason Merrill Bank of America GTO Learning Leadership Development eTools Multimedia Team -Original Message- From: [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED] On Behalf Of Helmut Granda Sent: Tuesday, April 03, 2007 9:05 AM To: Flashcoders mailing list Subject: [Flashcoders] Delegate Class Scoping self instantiated I understand that when instantiating a class you can set the scope where the instance is going to run, but how about when we dont actually instantiate the class on the timeline but we just link the class directly to the items on the stage, how is the scope treated in this case? I assume the class has to be instantiated on itself or do we need a separate class to keep track of this item? TIA ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- John Mark Hawley The Nilbog Group 773.968.4980 (cell) ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___
Re: Re: [Flashcoders] Delegate Class Scoping self instantiated
Anyone know how to feed what a visitor is viewing in an iframe into a dynamic list, the iframe will have a search engine built into it? Thanks in advance, Eric Walton 9 / Edub9 To view more about The Artwork of Eric Walton 9 / Edub9 please visit the following: www.hollywoodfineart.com www.myspace.com/ericwalton9_edub9 Providentia Marketing LLC 754-246-7620 Cel On 4/3/07, Helmut Granda [EMAIL PROTECTED] wrote: In the piece of code that I just sent basically what is happening is this: Start Tween = Tween length 1 sec If it has elapsed .2 seconds then trigger a function And my problem was that once the .2 seconds have happened the function wasnt called since it was inside an If statement inside the onMotionChanged function inside the Tween class //Sample myTween.onMotionChanged = function() { if ( (myTween.time .2) playOnce == true) { // FunctionCallHappens here playOnce = false; } } //end of sample But as Jason explained making an object and then referencing to it seems to work great. So the final question is, Did I explain my situation correctly and would this be a good approach or should I think it over? Thanks On 4/3/07, John Mark Hawley [EMAIL PROTECTED] wrote: This looks like a lot of very strange stuff is going on in the design of this code. I think you should explain what you want to do at a very high level so we can see if there is a better and simpler way to accomplish it. (I can't figure out where the Delegate mentioned in the subject line is coming from, either.) From: Helmut Granda [EMAIL PROTECTED] Date: 2007/04/03 Tue AM 08:38:08 CDT To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] Delegate Class Scoping self instantiated So I figured it out or at least I think I did, private var target: myClass; function myClass(){ target = this; } now I can reference to properties within a class without breaking the app. So in the same lines, is there anyway to code the classe so that we don't have to reference to the properties and methods within the class without having to say target.objectA._x = 130; but just have objectA._x = 130; Thanks -h On 4/3/07, Helmut Granda [EMAIL PROTECTED] wrote: Oh, and I forgot an important point, the reson why I want to find the scope of the class is because inside the class there are variables that talk to each other and I can have them talk back and forth like this _level0.instance1.myVariable = blah; but this of course wont work when the movie is loaded into a new movie because the reference will be lost and changes to _level0.movieHolder.instance1.myVariable = blah; and of course it breaks the app. Thanks again, -h On 4/3/07, Merrill, Jason [EMAIL PROTECTED] wrote: Classes don't know their own scope, they are oblivious to anything outside of them, (unless of course you import some other class - then they know what the other class does, but still don't have any scope reference). What are you trying to do? Jason Merrill Bank of America GTO Learning Leadership Development eTools Multimedia Team -Original Message- From: [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED] On Behalf Of Helmut Granda Sent: Tuesday, April 03, 2007 9:05 AM To: Flashcoders mailing list Subject: [Flashcoders] Delegate Class Scoping self instantiated I understand that when instantiating a class you can set the scope where the instance is going to run, but how about when we dont actually instantiate the class on the timeline but we just link the class directly to the items on the stage, how is the scope treated in this case? I assume the class has to be instantiated on itself or do we need a separate class to keep track of this item? TIA ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier
[Flashcoders] Date.getTime rounded in PocketPC player
Hi there, I'm building a simple benchmark application and I'm using the getTime() method of the Date object to calculate the time elapsed. No problems so far in the PC, but when I test it in the PDA (Pocket PC 7 player) I'm finding that the last 3 digits are ALWAYS 000. It seems pretty obvious to me that they're doing this on purpose. Needless to say that I haven't found any official document about this. Anyone with the same problem? Is this reasonable? Cheers, Juan -- Juan Delgado - Zárate http://zarate.tv http://dandolachapa.com http://loqueyosede.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: Re: [Flashcoders] Delegate Class Scoping self instantiated
Anyone know how to feed what a visitor is viewing in an iframe into a dynamic list, the iframe will have a search engine built into it? Wrong thread, but seems you could use External Interface with Javscript communication. Will require some coding both on the HTML page and the flash file. Jason Merrill Bank of America GTO Learning Leadership Development eTools Multimedia Team ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] locking folders in the library of your .fla
I was just wondering Is there a way to lock folders inside a library of your .fla file? I know this is just minor but sometimes when you copy and paste movie clips from different files, and yes you are supposed to make sure you paste it outside any folders not to overwrite anything which would be the solution to this question, but I was wondering if you can actually lock folders too? Guillermo Valdivia e-Learning Developer _ Need personalized email and website? Look no further. It's easy with Doteasy $0 Web Hosting! Learn more at www.doteasy.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Date.getTime rounded in PocketPC player
I don't have any suggestions regarding the less accurate timing mechanism on the PDA, but I'd suggest this: Instead of timing how long it takes to do something - maybe you can do something x times in say 10 seconds. So instead of the speed via time, you get the speed via number of loop iterations. Can you do it that way? Dave - Head Developer www.blurredistinction.com Adobe Community Expert http://www.adobe.com/communities/experts/ ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] eolas fix for IE7
hi. i've tried implementing the eolas fix using the flashobject.js method and swfobject.js method and they both work for IE6 but not for IE7. is there a different fix needed for IE7? thanks. -- matt. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Events for custom classes?
On 4/3/07, Helmut Granda [EMAIL PROTECTED] wrote: Jason, Were you able to figure this out exactly the way you wanted it? -h On 2/16/07, Merrill, Jason [EMAIL PROTECTED] wrote: Ah - nevermind - figured out I had removed the scope to my webservice and forgot to put it back in. Delegate works fine for me now, sorry about the noise, and thanks so much everyone for the help!! Jason Merrill Bank of America Learning Organizational Effectiveness ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] eolas fix for IE7
I'm using it and it works. Got any code to have a look at. Maybe you're using it differently. Adrian -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Matthew Ganz Sent: 03 April 2007 17:20 To: Flashcoders mailing list Subject: [Flashcoders] eolas fix for IE7 hi. i've tried implementing the eolas fix using the flashobject.js method and swfobject.js method and they both work for IE6 but not for IE7. is there a different fix needed for IE7? thanks. -- matt. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] eolas fix for IE7
Hello :) you use the last version of SWFObject ? (1.5) http://blog.deconcept.com/swfobject/ EKA+ :) 2007/4/3, Adrian Lynch [EMAIL PROTECTED]: I'm using it and it works. Got any code to have a look at. Maybe you're using it differently. Adrian -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Matthew Ganz Sent: 03 April 2007 17:20 To: Flashcoders mailing list Subject: [Flashcoders] eolas fix for IE7 hi. i've tried implementing the eolas fix using the flashobject.js method and swfobject.js method and they both work for IE6 but not for IE7. is there a different fix needed for IE7? thanks. -- matt. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] eolas fix for IE7
I noticed that too Matt, works in FF but not IE locally, try putting it on the webserver and testing it again, should work. On 4/3/07, Matthew Ganz [EMAIL PROTECTED] wrote: hi. i've tried implementing the eolas fix using the flashobject.js method and swfobject.js method and they both work for IE6 but not for IE7. is there a different fix needed for IE7? thanks. -- matt. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] eolas fix for IE7
my foolish mistake. i only had the swfobject.js file and i didn't put the swfobject_source.js file into the 'source' directory as well as all the other expressInstall files that are included in the fix. it's working now. thanks. matt. - Original Message - From: Adrian Lynch [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Sent: Tuesday, April 03, 2007 12:34 PM Subject: RE: [Flashcoders] eolas fix for IE7 I'm using it and it works. Got any code to have a look at. Maybe you're using it differently. Adrian -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Matthew Ganz Sent: 03 April 2007 17:20 To: Flashcoders mailing list Subject: [Flashcoders] eolas fix for IE7 hi. i've tried implementing the eolas fix using the flashobject.js method and swfobject.js method and they both work for IE6 but not for IE7. is there a different fix needed for IE7? thanks. -- matt. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] Events for custom classes?
Actually, I had been meaning to post again because I had lost my code for getting EventDispatcher working between two classes. Someone posted a response here and I lost it, as well as my code that was working. if anyone can post again on how to get one class to dispatch a CUSTOM event and get another CUSTOM class to listen to that event, please post! Helmut and I would like to see an example. The help docs on EventDispatcher are really awful, and I haven't seen a lot of stuff online. Jason Merrill Bank of America GTO Learning Leadership Development eTools Multimedia Team -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Helmut Granda Sent: Tuesday, April 03, 2007 12:35 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] Events for custom classes? On 4/3/07, Helmut Granda [EMAIL PROTECTED] wrote: Jason, Were you able to figure this out exactly the way you wanted it? -h On 2/16/07, Merrill, Jason [EMAIL PROTECTED] wrote: Ah - nevermind - figured out I had removed the scope to my webservice and forgot to put it back in. Delegate works fine for me now, sorry about the noise, and thanks so much everyone for the help!! Jason Merrill Bank of America Learning Organizational Effectiveness ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Date.getTime rounded in PocketPC player
Yep, that might be another way of doing it, but i'd like to know why, apparently, the PocketPC player doesn't do what's supposed to do as described in the docs. Unless I am doing something wrong, I think this is a bug that should be fixed. While doing so the docs should be updated to warn developers. Don't you think? Thanks, Juan On 4/3/07, Dave Mennenoh [EMAIL PROTECTED] wrote: I don't have any suggestions regarding the less accurate timing mechanism on the PDA, but I'd suggest this: Instead of timing how long it takes to do something - maybe you can do something x times in say 10 seconds. So instead of the speed via time, you get the speed via number of loop iterations. Can you do it that way? Dave - Head Developer www.blurredistinction.com Adobe Community Expert http://www.adobe.com/communities/experts/ ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- Juan Delgado - Zárate http://zarate.tv http://dandolachapa.com http://loqueyosede.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] eolas fix for IE7
even older versions should work fine (i think we were testing it in ie7 all the way back to 1.3 or so) - but using the very latest is always a good idea. On Apr 3, 2007, at 12:44 PM, eka wrote: Hello :) you use the last version of SWFObject ? (1.5) http://blog.deconcept.com/swfobject/ EKA+ :) 2007/4/3, Adrian Lynch [EMAIL PROTECTED]: I'm using it and it works. Got any code to have a look at. Maybe you're using it differently. Adrian -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Matthew Ganz Sent: 03 April 2007 17:20 To: Flashcoders mailing list Subject: [Flashcoders] eolas fix for IE7 hi. i've tried implementing the eolas fix using the flashobject.js method and swfobject.js method and they both work for IE6 but not for IE7. is there a different fix needed for IE7? thanks. -- matt. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] eolas fix for IE7
actually, all of a sudden it's not working again. here's the code i have on my html page: html xmlns=http://www.w3.org/1999/xhtml; xml:lang=en lang=en head meta http-equiv=Content-Type content=text/html; charset=iso-8859-1 / titlehome/title script type=text/javascript src=javascript/swfobject.js/script /head body bgcolor=#ff div id=flashcontent This text is replaced by the Flash movie. /div script type=text/javascript var so = new SWFObject(home.swf, mymovie, 100%, 100%, 8, #FF); so.addParam(scale, NOSCALE); so.write(flashcontent); /script /body /html - Original Message - From: Geoff Stearns [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Sent: Tuesday, April 03, 2007 12:59 PM Subject: Re: [Flashcoders] eolas fix for IE7 even older versions should work fine (i think we were testing it in ie7 all the way back to 1.3 or so) - but using the very latest is always a good idea. On Apr 3, 2007, at 12:44 PM, eka wrote: Hello :) you use the last version of SWFObject ? (1.5) http://blog.deconcept.com/swfobject/ EKA+ :) 2007/4/3, Adrian Lynch [EMAIL PROTECTED]: I'm using it and it works. Got any code to have a look at. Maybe you're using it differently. Adrian -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Matthew Ganz Sent: 03 April 2007 17:20 To: Flashcoders mailing list Subject: [Flashcoders] eolas fix for IE7 hi. i've tried implementing the eolas fix using the flashobject.js method and swfobject.js method and they both work for IE6 but not for IE7. is there a different fix needed for IE7? thanks. -- matt. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] Events for custom classes?
You'll need a reference of the dispatching class in your listener class to receive events: // broadcasting class import mx.events.EventDispatcher; class EventClass { // EventDispatcher methods public var addEventListener:Function; public var removeEventListener:Function; private var dispatchEvent:Function; public function EventClass() { } public function onInit():Void { trace('onInit fired!'); dispatchEvent({type: onInit, target: this}); } } // listener class import mx.utils.Delegate; class ListenerClass { public function ListenerClass(eventClass:MyEventClass) { eventClass.addEventListener(onInit, Delegate.create(this, onInitHandler)); } private function onInitHandler(event:Object):Void { trace('onInitHandler invoked'); } } // implementation var eventClass:EventClass = new EventClass(); var listenerClass:ListenerClass = new ListenerClass(eventClass); eventClass.onInit(); -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Merrill, Jason Sent: Tuesday, April 03, 2007 9:47 AM To: flashcoders@chattyfig.figleaf.com Subject: RE: [Flashcoders] Events for custom classes? Actually, I had been meaning to post again because I had lost my code for getting EventDispatcher working between two classes. Someone posted a response here and I lost it, as well as my code that was working. if anyone can post again on how to get one class to dispatch a CUSTOM event and get another CUSTOM class to listen to that event, please post! Helmut and I would like to see an example. The help docs on EventDispatcher are really awful, and I haven't seen a lot of stuff online. Jason Merrill Bank of America GTO Learning Leadership Development eTools Multimedia Team -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Helmut Granda Sent: Tuesday, April 03, 2007 12:35 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] Events for custom classes? On 4/3/07, Helmut Granda [EMAIL PROTECTED] wrote: Jason, Were you able to figure this out exactly the way you wanted it? -h On 2/16/07, Merrill, Jason [EMAIL PROTECTED] wrote: Ah - nevermind - figured out I had removed the scope to my webservice and forgot to put it back in. Delegate works fine for me now, sorry about the noise, and thanks so much everyone for the help!! Jason Merrill Bank of America Learning Organizational Effectiveness ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] eolas fix for IE7
you don't need anything in the /source folder - it's just there so you can see the code in an uncompressed way, or if you want to modify the expressinstall.swf files. you only need swfobject.js and (optionally) expressinstall.swf On Apr 3, 2007, at 12:48 PM, Matthew Ganz wrote: my foolish mistake. i only had the swfobject.js file and i didn't put the swfobject_source.js file into the 'source' directory as well as all the other expressInstall files that are included in the fix. it's working now. thanks. matt. - Original Message - From: Adrian Lynch [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Sent: Tuesday, April 03, 2007 12:34 PM Subject: RE: [Flashcoders] eolas fix for IE7 I'm using it and it works. Got any code to have a look at. Maybe you're using it differently. Adrian -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Matthew Ganz Sent: 03 April 2007 17:20 To: Flashcoders mailing list Subject: [Flashcoders] eolas fix for IE7 hi. i've tried implementing the eolas fix using the flashobject.js method and swfobject.js method and they both work for IE6 but not for IE7. is there a different fix needed for IE7? thanks. -- matt. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Events for custom classes?
Is this what you're looking for? http://www.adobe.com/devnet/flash/articles/creating_events.html john On Apr 3, 2007, at 12:46 PM, Merrill, Jason wrote: Actually, I had been meaning to post again because I had lost my code for getting EventDispatcher working between two classes. Someone posted a response here and I lost it, as well as my code that was working. if anyone can post again on how to get one class to dispatch a CUSTOM event and get another CUSTOM class to listen to that event, please post! Helmut and I would like to see an example. The help docs on EventDispatcher are really awful, and I haven't seen a lot of stuff online. Jason Merrill Bank of America GTO Learning Leadership Development eTools Multimedia Team ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] eolas fix for IE7
that code looks fine to me, are you testing this on a web server? IE has different security restrictions for local files vs. internet based files, so it's always best to test it on a web server. On Apr 3, 2007, at 1:37 PM, Matthew Ganz wrote: actually, all of a sudden it's not working again. here's the code i have on my html page: html xmlns=http://www.w3.org/1999/xhtml; xml:lang=en lang=en head meta http-equiv=Content-Type content=text/html; charset=iso-8859-1 / titlehome/title script type=text/javascript src=javascript/swfobject.js/script /head body bgcolor=#ff div id=flashcontent This text is replaced by the Flash movie. /div script type=text/javascript var so = new SWFObject(home.swf, mymovie, 100%, 100%, 8, #FF); so.addParam(scale, NOSCALE); so.write(flashcontent); /script /body /html - Original Message - From: Geoff Stearns [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Sent: Tuesday, April 03, 2007 12:59 PM Subject: Re: [Flashcoders] eolas fix for IE7 even older versions should work fine (i think we were testing it in ie7 all the way back to 1.3 or so) - but using the very latest is always a good idea. On Apr 3, 2007, at 12:44 PM, eka wrote: Hello :) you use the last version of SWFObject ? (1.5) http://blog.deconcept.com/swfobject/ EKA+ :) 2007/4/3, Adrian Lynch [EMAIL PROTECTED]: I'm using it and it works. Got any code to have a look at. Maybe you're using it differently. Adrian -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Matthew Ganz Sent: 03 April 2007 17:20 To: Flashcoders mailing list Subject: [Flashcoders] eolas fix for IE7 hi. i've tried implementing the eolas fix using the flashobject.js method and swfobject.js method and they both work for IE6 but not for IE7. is there a different fix needed for IE7? thanks. -- matt. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] eolas fix for IE7
Matthew Ganz wrote: actually, all of a sudden it's not working again. It seems your Flash Player install in IE7 is corrupt. See this blog post for details: http://tinyurl.com/y9lvas I had the same problem a while back, and uninstalling/reinstalling the Flash Player did the trick. Cheers, Claus. -- claus wahlers côdeazur brasil http://codeazur.com.br/ http://wahlers.com.br/claus/blog/ ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Changing keyframe interval in a FLV
Hi, I need to have a smaller keyframe interval on my FLV files. Does anyone know a tool to update a FLV keyframe interval without re-encoding it ? Thanks ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] Events for custom classes?
Excellent, thanks David Jason Merrill Bank of America GTO Learning Leadership Development eTools Multimedia Team -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of David Ngo Sent: Tuesday, April 03, 2007 1:46 PM To: flashcoders@chattyfig.figleaf.com Subject: RE: [Flashcoders] Events for custom classes? You'll need a reference of the dispatching class in your listener class to receive events: // broadcasting class import mx.events.EventDispatcher; class EventClass { // EventDispatcher methods public var addEventListener:Function; public var removeEventListener:Function; private var dispatchEvent:Function; public function EventClass() { } public function onInit():Void { trace('onInit fired!'); dispatchEvent({type: onInit, target: this}); } } // listener class import mx.utils.Delegate; class ListenerClass { public function ListenerClass(eventClass:MyEventClass) { eventClass.addEventListener(onInit, Delegate.create(this, onInitHandler)); } private function onInitHandler(event:Object):Void { trace('onInitHandler invoked'); } } // implementation var eventClass:EventClass = new EventClass(); var listenerClass:ListenerClass = new ListenerClass(eventClass); eventClass.onInit(); -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Merrill, Jason Sent: Tuesday, April 03, 2007 9:47 AM To: flashcoders@chattyfig.figleaf.com Subject: RE: [Flashcoders] Events for custom classes? Actually, I had been meaning to post again because I had lost my code for getting EventDispatcher working between two classes. Someone posted a response here and I lost it, as well as my code that was working. if anyone can post again on how to get one class to dispatch a CUSTOM event and get another CUSTOM class to listen to that event, please post! Helmut and I would like to see an example. The help docs on EventDispatcher are really awful, and I haven't seen a lot of stuff online. Jason Merrill Bank of America GTO Learning Leadership Development eTools Multimedia Team -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Helmut Granda Sent: Tuesday, April 03, 2007 12:35 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] Events for custom classes? On 4/3/07, Helmut Granda [EMAIL PROTECTED] wrote: Jason, Were you able to figure this out exactly the way you wanted it? -h On 2/16/07, Merrill, Jason [EMAIL PROTECTED] wrote: Ah - nevermind - figured out I had removed the scope to my webservice and forgot to put it back in. Delegate works fine for me now, sorry about the noise, and thanks so much everyone for the help!! Jason Merrill Bank of America Learning Organizational Effectiveness ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Events for custom classes?
Here's a stripped down version (i just left in the methods that dispatch en event) of my Form base class that uses EventDispatcher. This class is usually extended by other classes (in an ARP-type framework). import mx.events.EventDispatcher; class com.muzakdeezign.core.Form extends MovieClip { static var symbolName:String = Form; static var symbolOwner = Object(com.muzakdeezign.core.Form); var className:String = Form; // allow class to broadcast events private static var dispatcherInit = EventDispatcher.initialize(Object(com.muzakdeezign.core.Form.prototype)); // mix-in from EventDispatcher var addEventListener:Function; var removeEventListener:Function; var dispatchEvent:Function; var dispatchQueue:Function; // // CONSTRUCTOR // function Form() { // trace(Form ::: CONSTRUCTOR); } // // PRIVATE METHODS // private function size():Void { // should be overridden by sub class this.dispatchEvent({type:size}); } // // PUBLIC METHODS // public function move(x:Number, y:Number, noEvent:Boolean):Void { // trace(Form ::: move); // code removed... if (noEvent != true) { dispatchEvent({type:move, oldX:oldX, oldY:oldY}); } } public function show():Void { // trace(Form ::: show) this._visible = true; this.dispatchEvent({type:reveal}); } public function hide():Void { // trace(FORM ::: hide) this._visible = false; this.dispatchEvent({type:hide}); } } So assume you then have 2 classes, Application and Login both extending the Form class and Login is a movieclip inside Application (Login is a child of Application). The Application could then listen to events dispatched by the Login. import com.muzakdeezign.core.Form; import mx.utils.Delegate; class Application extends Form { private var login_frm:Login; private function onLoad() { login_frm.addEventListener(show, Delegate.create(this, this.loginShowHandler)); login_frm.addEventListener(hide, Delegate.create(this, this.loginHideHandler)); } private function loginShowHandler(evt:Object):Void { // login is visible } private function loginHideHandler(evt:Object):Void { // login is hidden } } Note that the Login doesn't listen for events dispatched by the Application because: - children don't listen to parents ;-) If Application had 2 child forms (Login, SomeView), those children wouldn't communicate with eachother directly, but through the parent (Application) by dispatching events. For instance when a user logs in, the Login form could dispatch a loggedIn event to inform the Application that a login was successful. The Application would then respond to that by hiding the Login form and showing the SomeView form. import com.muzakdeezign.core.Form; import mx.utils.Delegate; class Application extends Form { private var login_frm:Login; private var view_frm:SomeView; private function onLoad() { view_frm.hide(); login_frm.addEventListener(loggedIn, Delegate.create(this, this.loginLoggedInHandler)); } private function loginLoggedInHandler(evt:Object):Void { // login was successful // hide login and show other form login_frm.hide(); view_frm.show(); } } Does this help? regards, Muzak - Original Message - From: Merrill, Jason [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Sent: Tuesday, April 03, 2007 6:46 PM Subject: RE: [Flashcoders] Events for custom classes? Actually, I had been meaning to post again because I had lost my code for getting EventDispatcher working between two classes. Someone posted a response here and I lost it, as well as my code that was working. if anyone can post again on how to get one class to dispatch a CUSTOM event and get another CUSTOM class to listen to that event, please post! Helmut and I would like to see an example. The help docs on EventDispatcher are really awful, and I haven't seen a lot of stuff online. Jason Merrill Bank of America GTO Learning Leadership Development eTools Multimedia Team ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] eolas fix for IE7
Where's the css for the flashcontent div? - Original Message - From: Matthew Ganz [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Sent: Tuesday, April 03, 2007 7:37 PM Subject: Re: [Flashcoders] eolas fix for IE7 actually, all of a sudden it's not working again. here's the code i have on my html page: html xmlns=http://www.w3.org/1999/xhtml; xml:lang=en lang=en head meta http-equiv=Content-Type content=text/html; charset=iso-8859-1 / titlehome/title script type=text/javascript src=javascript/swfobject.js/script /head body bgcolor=#ff div id=flashcontent This text is replaced by the Flash movie. /div script type=text/javascript var so = new SWFObject(home.swf, mymovie, 100%, 100%, 8, #FF); so.addParam(scale, NOSCALE); so.write(flashcontent); /script /body /html ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] Events for custom classes?
Ick. I totally forgot to initialize EventDispatcher. Constructor for EventClass should be: public function EventClass() { EventDispatcher.initialize(this); } -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of David Ngo Sent: Tuesday, April 03, 2007 10:46 AM To: flashcoders@chattyfig.figleaf.com Subject: RE: [Flashcoders] Events for custom classes? You'll need a reference of the dispatching class in your listener class to receive events: // broadcasting class import mx.events.EventDispatcher; class EventClass { // EventDispatcher methods public var addEventListener:Function; public var removeEventListener:Function; private var dispatchEvent:Function; public function EventClass() { } public function onInit():Void { trace('onInit fired!'); dispatchEvent({type: onInit, target: this}); } } // listener class import mx.utils.Delegate; class ListenerClass { public function ListenerClass(eventClass:MyEventClass) { eventClass.addEventListener(onInit, Delegate.create(this, onInitHandler)); } private function onInitHandler(event:Object):Void { trace('onInitHandler invoked'); } } // implementation var eventClass:EventClass = new EventClass(); var listenerClass:ListenerClass = new ListenerClass(eventClass); eventClass.onInit(); -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Merrill, Jason Sent: Tuesday, April 03, 2007 9:47 AM To: flashcoders@chattyfig.figleaf.com Subject: RE: [Flashcoders] Events for custom classes? Actually, I had been meaning to post again because I had lost my code for getting EventDispatcher working between two classes. Someone posted a response here and I lost it, as well as my code that was working. if anyone can post again on how to get one class to dispatch a CUSTOM event and get another CUSTOM class to listen to that event, please post! Helmut and I would like to see an example. The help docs on EventDispatcher are really awful, and I haven't seen a lot of stuff online. Jason Merrill Bank of America GTO Learning Leadership Development eTools Multimedia Team -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Helmut Granda Sent: Tuesday, April 03, 2007 12:35 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] Events for custom classes? On 4/3/07, Helmut Granda [EMAIL PROTECTED] wrote: Jason, Were you able to figure this out exactly the way you wanted it? -h On 2/16/07, Merrill, Jason [EMAIL PROTECTED] wrote: Ah - nevermind - figured out I had removed the scope to my webservice and forgot to put it back in. Delegate works fine for me now, sorry about the noise, and thanks so much everyone for the help!! Jason Merrill Bank of America Learning Organizational Effectiveness ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] eolas fix for IE7
Just in case you were unaware, there's a forum on SWFObject site where you can research these issues (I'm sure somebody had the same issue you're having at some time) and you can post questions. I think you'll have better luck there troubleshooting your issues. :) ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] Events for custom classes?
great - thanks. Jason Merrill Bank of America GTO Learning Leadership Development eTools Multimedia Team -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of john robinson Sent: Tuesday, April 03, 2007 1:48 PM To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] Events for custom classes? Is this what you're looking for? http://www.adobe.com/devnet/flash/articles/creating_events.html john On Apr 3, 2007, at 12:46 PM, Merrill, Jason wrote: Actually, I had been meaning to post again because I had lost my code for getting EventDispatcher working between two classes. Someone posted a response here and I lost it, as well as my code that was working. if anyone can post again on how to get one class to dispatch a CUSTOM event and get another CUSTOM class to listen to that event, please post! Helmut and I would like to see an example. The help docs on EventDispatcher are really awful, and I haven't seen a lot of stuff online. Jason Merrill Bank of America GTO Learning Leadership Development eTools Multimedia Team ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Flash CS3 Announced
To be fair, it is your opinion that it is not right, unless you have a source that states otherwise. I vividly recall hearing one of the Adobe folks make the statement during a presentation online. I will add that this was a good 6 months ago (thus in beta) and could be a feature extent which didn't come to full bloom. I will see if I can dig up a more credible source for you. Charles P. On 4/2/07, Muzak [EMAIL PROTECTED] wrote: My understanding is that the big reason for this feature is to be able to bring complex animations into Flex. Can you site where you heard that? I have never heard of that before. Well, that's because it's not correct ;-) Flex doesn't have a class that transforms xml into animation, which Flash CS3 does have. That doesn't mean an animator class can't/won't be written for Flex though. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Events for custom classes?
Hello :) if you want test an AS2 EventDispatcher implementation based on the W3C event model DOM 2/3 (the AS3 event model is based on the same dom) you can use my personal event model in my framework VEGAS : - http://vegas.riaforge.org/ - http://osflash.org/vegas Install my framework in Flash with the classpath AS2/trunk/src in the project directory all examples in the AS2/trunk/bin/test/vegas/events directory of the project : http://svn.riaforge.org/vegas/AS2/trunk/bin/test/vegas/events/ My vegas.events.* package use 3 interfaces ( EventTarget, EventListener and Event ) -- Exemple 1 (Use vegas.events.Delegate class) : import vegas.events.BasicEvent ; import vegas.events.Delegate ; import vegas.events.Event ; import vegas.events.EventDispatcher ; import vegas.events.EventListener ; var debug = function(ev:Event) { trace(debug :: + this + : + ev.getType()) ; } var dispatcher:EventDispatcher = new EventDispatcher() ; dispatcher.addEventListener(onTest, new Delegate(this, debug)) ; dspatcher.dispatchEvent( new BasicEvent(onTest, this, Hello World) ) ; -- Exemple 2 : Use your customs Events and EventListener : # The EventListener import vegas.events.Event ; import vegas.events.EventListener; class test.events.DebugHandler implements EventListener { /** * Creates a new DebugHandler instance. */ public function DebugHandler(name) { _name = name || noName ; } public function getName():String { return _name ; } /** * Handles the events. * @see EventListener implementation ! */ public function handleEvent(e:Event) { trace( DebugHandler : Event has been triggered.); trace(Event type : + e.getType()) ; trace(Event target : + e.getTarget()) ; trace(Event context : + e.getContext()) ; trace(Event in queue : + e.isQueued()) ; } public function toString():String { return DebugHandler + _name + /DebugHandler ; } private var _name:String ; } # The test in Flash : import vegas.events.BasicEvent ; import vegas.events.DynamicEvent ; import vegas.events.Event ; import vegas.events.EventDispatcher ; import vegas.events.EventListener ; import test.events.DebugHandler ; var listener:EventListener = new DebugHandler(); var d:EventDispatcher = EventDispatcher.getInstance(myDispatcher) ; d.addEventListener(onTest, listener) ; // register the EventListener d.dispatchEvent( new DynamicEvent(onTest, myTarget, myContext) ) ; // Dispatch an Event -- Exemple 3 : Use a 'Priority with your addEventListener method import vegas.events.Event ; import vegas.events.EventDispatcher ; import vegas.events.EventListener ; import vegas.events.Delegate ; function debug( ev:Event, msg:String ):Void { trace () ; trace (message - + (msg || empty)) ; trace (type : + ev.getType()) ; trace (target : + ev.getTarget()) ; trace (context : + ev.getContext()) ; trace (this : + this) ; } var listener1:EventListener = new Delegate(this, debug, listener1) ; var listener2:EventListener = new Delegate(this, debug, listener2) ; var listener3:EventListener = new Delegate(this, debug, listener3) ; var listener4:EventListener = new Delegate(this, debug, listener4) ; var dispatcher:EventDispatcher = new EventDispatcher() ; dispatcher.addEventListener(onTest, listener1, false, 3) ; dispatcher.addEventListener(onTest, listener2, false, 1) ; dispatcher.addEventListener(onTest, listener3, false, 2) ; dispatcher.addEventListener(onTest, listener4, false, 0) ; var time:Number ; var loop:Number = 1 ; Key.addListener(this) ; onKeyDown = function() { time = getTimer() ; for (var i:Number = 0 ; iloop ; i++) { dispatcher.dispatchEvent( { type : onTest, target : this } ) ; } time = getTimer() - time ; trace (test : + time + ms) ; } -- Exemple 4- : AutoRemove your EventListener after the first handle of the event ! import vegas.events.BasicEvent ; import vegas.events.Event ; import vegas.events.EventDispatcher ; import vegas.events.EventListener ; import test.events.DebugHandler ; var debug:EventListener = new DebugHandler(); // use the class in the example 2 ! var dispatcher:EventDispatcher = new EventDispatcher() ; var myEvent:Event = new BasicEvent(onTest, this, context) ; dispatcher.addEventListener(onTest, debug, false, null, true) ; // autoRemove = true dispatcher.dispatchEvent( myEvent ) ; dispatcher.dispatchEvent( myEvent ) ; // autoRemove the listener you can't handles the event now... etc... you can use bubbling and capturing event with my EventDispatcher class ... Use a global EventDispatcher singleton with the static getInstance() method... use the global propagation of the events with the addGlobalEventListener method etc. etc... You can use to finish the FrontController class of my framework to centralize all your events with a global propagation of the events :
[Flashcoders] simple code- should work but is not.
Hi all, this is my first post on flashcoders. i think this is a simple fix and everything is basic, so i can't figure out why it isn't working. my code on the root timeline in the actions layer (frame 21) is simply: ** stop(); wine_mc.wineback_btn.onPress = function() { trace(hello); } might anyone know why my wineback_btn is not registering the onPress? i know for sure that my playhead reaches frame 21 where the code is. instance names are specified. any help would be much appreciated. thanks in advance. i've uploaded the .fla in case you want to take a closer look. http://download.yousendit.com/73F37C700CEE66C5 ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] Events for custom classes?
Yes - thanks Muzak - I can't speak for Helmut, but I've got enough to go on now. Thanks, Jason Merrill Bank of America GTO Learning Leadership Development eTools Multimedia Team -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Muzak Sent: Tuesday, April 03, 2007 2:09 PM To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] Events for custom classes? Here's a stripped down version (i just left in the methods that dispatch en event) of my Form base class that uses EventDispatcher. This class is usually extended by other classes (in an ARP-type framework). import mx.events.EventDispatcher; class com.muzakdeezign.core.Form extends MovieClip { static var symbolName:String = Form; static var symbolOwner = Object(com.muzakdeezign.core.Form); var className:String = Form; // allow class to broadcast events private static var dispatcherInit = EventDispatcher.initialize(Object(com.muzakdeezign.core.Form.p rototype)); // mix-in from EventDispatcher var addEventListener:Function; var removeEventListener:Function; var dispatchEvent:Function; var dispatchQueue:Function; // // // // CONSTRUCTOR // // // function Form() { // trace(Form ::: CONSTRUCTOR); } // // // // PRIVATE METHODS // // // private function size():Void { // should be overridden by sub class this.dispatchEvent({type:size}); } // // // // PUBLIC METHODS // // // public function move(x:Number, y:Number, noEvent:Boolean):Void { // trace(Form ::: move); // code removed... if (noEvent != true) { dispatchEvent({type:move, oldX:oldX, oldY:oldY}); } } public function show():Void { // trace(Form ::: show) this._visible = true; this.dispatchEvent({type:reveal}); } public function hide():Void { // trace(FORM ::: hide) this._visible = false; this.dispatchEvent({type:hide}); } } So assume you then have 2 classes, Application and Login both extending the Form class and Login is a movieclip inside Application (Login is a child of Application). The Application could then listen to events dispatched by the Login. import com.muzakdeezign.core.Form; import mx.utils.Delegate; class Application extends Form { private var login_frm:Login; private function onLoad() { login_frm.addEventListener(show, Delegate.create(this, this.loginShowHandler)); login_frm.addEventListener(hide, Delegate.create(this, this.loginHideHandler)); } private function loginShowHandler(evt:Object):Void { // login is visible } private function loginHideHandler(evt:Object):Void { // login is hidden } } Note that the Login doesn't listen for events dispatched by the Application because: - children don't listen to parents ;-) If Application had 2 child forms (Login, SomeView), those children wouldn't communicate with eachother directly, but through the parent (Application) by dispatching events. For instance when a user logs in, the Login form could dispatch a loggedIn event to inform the Application that a login was successful. The Application would then respond to that by hiding the Login form and showing the SomeView form. import com.muzakdeezign.core.Form; import mx.utils.Delegate; class Application extends Form { private var login_frm:Login; private var view_frm:SomeView; private function onLoad() { view_frm.hide(); login_frm.addEventListener(loggedIn, Delegate.create(this, this.loginLoggedInHandler)); } private function loginLoggedInHandler(evt:Object):Void { // login was successful // hide login and show other form login_frm.hide(); view_frm.show(); } } Does this help? regards, Muzak - Original Message - From: Merrill, Jason [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Sent: Tuesday, April 03, 2007 6:46 PM Subject: RE: [Flashcoders] Events for custom classes? Actually, I had been meaning to post again because I had lost my code for getting EventDispatcher working between two classes. Someone posted a response here and I lost it, as well as my code that was working. if anyone can post again on how to get one class to dispatch a CUSTOM event and get another CUSTOM class to listen to that event, please post! Helmut and I would like to see an example. The help docs on EventDispatcher are really awful, and I haven't seen a lot of stuff online. Jason Merrill Bank of America GTO Learning Leadership Development eTools Multimedia Team ___ Flashcoders@chattyfig.figleaf.com
Re: [Flashcoders] Events for custom classes?
Thanks for this sample David, Just a small correction: public function ListenerClass(eventClass:MyEventClass) should be public function ListenerClass(eventClass:EventClass); Correct? -h On 4/3/07, David Ngo [EMAIL PROTECTED] wrote: You'll need a reference of the dispatching class in your listener class to receive events: // broadcasting class import mx.events.EventDispatcher; class EventClass { // EventDispatcher methods public var addEventListener:Function; public var removeEventListener:Function; private var dispatchEvent:Function; public function EventClass() { } public function onInit():Void { trace('onInit fired!'); dispatchEvent({type: onInit, target: this}); } } // listener class import mx.utils.Delegate; class ListenerClass { public function ListenerClass(eventClass:MyEventClass) { eventClass.addEventListener(onInit, Delegate.create (this, onInitHandler)); } private function onInitHandler(event:Object):Void { trace('onInitHandler invoked'); } } // implementation var eventClass:EventClass = new EventClass(); var listenerClass:ListenerClass = new ListenerClass(eventClass); eventClass.onInit(); -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Merrill, Jason Sent: Tuesday, April 03, 2007 9:47 AM To: flashcoders@chattyfig.figleaf.com Subject: RE: [Flashcoders] Events for custom classes? Actually, I had been meaning to post again because I had lost my code for getting EventDispatcher working between two classes. Someone posted a response here and I lost it, as well as my code that was working. if anyone can post again on how to get one class to dispatch a CUSTOM event and get another CUSTOM class to listen to that event, please post! Helmut and I would like to see an example. The help docs on EventDispatcher are really awful, and I haven't seen a lot of stuff online. Jason Merrill Bank of America GTO Learning Leadership Development eTools Multimedia Team -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Helmut Granda Sent: Tuesday, April 03, 2007 12:35 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] Events for custom classes? On 4/3/07, Helmut Granda [EMAIL PROTECTED] wrote: Jason, Were you able to figure this out exactly the way you wanted it? -h On 2/16/07, Merrill, Jason [EMAIL PROTECTED] wrote: Ah - nevermind - figured out I had removed the scope to my webservice and forgot to put it back in. Delegate works fine for me now, sorry about the noise, and thanks so much everyone for the help!! Jason Merrill Bank of America Learning Organizational Effectiveness ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Flash 9 CS3 - Key questions
Does anyone know if flash 9 cs3 will support scale 9 for actual bitmaps, as opposed to just vector objects. Similar to how flex builder can do this except its precompiled at runtime. Also, is there support for mxml in flash 9 cs3? What is the integration between flex builder and flash 9 cs3? Is it tight? I know the compiler will use the flex builder compiler which is awesome. Can you reference components from flex builder in a flash 9 movie and directly access the objects? If anyone has any info on this, this would be great. Best, Austin ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] eolas fix for IE7
it worked after i uninstalled/reinstalled until i cleared the cache and then it stopped working again. steven - i'll check that forum, thanks. muzak - the css for the flashcontent div? all i have is what is there. thanks. -- matt. - Original Message - From: Claus Wahlers [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Sent: Tuesday, April 03, 2007 1:47 PM Subject: Re: [Flashcoders] eolas fix for IE7 Matthew Ganz wrote: actually, all of a sudden it's not working again. It seems your Flash Player install in IE7 is corrupt. See this blog post for details: http://tinyurl.com/y9lvas I had the same problem a while back, and uninstalling/reinstalling the Flash Player did the trick. Cheers, Claus. -- claus wahlers côdeazur brasil http://codeazur.com.br/ http://wahlers.com.br/claus/blog/ ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] If statements combined into one
insted of : bigFunction() { once1 = true; if (once1 == true) { dothisonce(); once1 = false; } once2 = true; if (once2 == true) { dothisonce(); once2 = false; } once3 = true; if (once3 == true) { dothisonce(); once3 = false; } } What I am trying to do is take the if statements out into its own function like bigFunction() { test(one); test(two); test(three); test(var1 ) { once = true; if (once == true) { apply.var1(this); once = false; } } The tricky part is that this functions are being triggered constantly so each function has to fire only once each time is called... Any good ideas? ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] simple code- should work but is not.
I would move this to the Flashnewbies list, but your problem is in the wine_mc there is no wineback_btn in the first frame, thus Flash can't find it to assign the onPress. In fact, I don't see wineback_btn anywhere in wine_mc - only in the library. Jason Merrill Bank of America GTO Learning Leadership Development eTools Multimedia Team -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Thomas Collins Sent: Tuesday, April 03, 2007 2:35 PM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] simple code- should work but is not. Hi all, this is my first post on flashcoders. i think this is a simple fix and everything is basic, so i can't figure out why it isn't working. my code on the root timeline in the actions layer (frame 21) is simply: ** stop(); wine_mc.wineback_btn.onPress = function() { trace(hello); } might anyone know why my wineback_btn is not registering the onPress? i know for sure that my playhead reaches frame 21 where the code is. instance names are specified. any help would be much appreciated. thanks in advance. i've uploaded the .fla in case you want to take a closer look. http://download.yousendit.com/73F37C700CEE66C5 ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Question: FMS 2 and CMS managed FLV files
I've got a bit of a question that I'm trying to wrap my head around. Can Flash Media Server 2 take dynamic paths to FLV content? We're working within the constraints of a pretty high end post production solution that will end up storing many hours of video content, probably in MXF format in a high-res storage environment. There will be FLV files generated from this original content and stored in alternate locations. Right now as I understand it, FMS requires you to determine virtual directory paths. Unfortunately, these paths will need to be entirely dynamic (edge-type system) and may include both network and local system paths. The web front end will read file information from the CMS and pass a dynamically generated location path to FMS for it to grab the FLV file to stream (the file will not have an flv extension either). Has anyone done anything like this or knows if this is even possible? I can't seem to find any resources that goes into this depth. Bunch of bright people here so I figured I would ask. cheers, Jon ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] simple code- should work but is not.
On Apr 3, 2007, at 2:34 PM, Thomas Collins wrote: might anyone know why my wineback_btn is not registering the onPress? i know for sure that my playhead reaches frame 21 where the code is. instance names are specified Are you disabling trace during publishing? That's what I'd check first ... check out your publish settings first. - jon ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Events for custom classes?
Yeah, same here, trying to digest everything now that I have my mouth full :). Thanks again everyone! On 4/3/07, Merrill, Jason [EMAIL PROTECTED] wrote: Yes - thanks Muzak - I can't speak for Helmut, but I've got enough to go on now. Thanks, Jason Merrill Bank of America GTO Learning Leadership Development eTools Multimedia Team -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Muzak Sent: Tuesday, April 03, 2007 2:09 PM To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] Events for custom classes? Here's a stripped down version (i just left in the methods that dispatch en event) of my Form base class that uses EventDispatcher. This class is usually extended by other classes (in an ARP-type framework). import mx.events.EventDispatcher; class com.muzakdeezign.core.Form extends MovieClip { static var symbolName:String = Form; static var symbolOwner = Object(com.muzakdeezign.core.Form); var className:String = Form; // allow class to broadcast events private static var dispatcherInit = EventDispatcher.initialize(Object(com.muzakdeezign.core.Form.p rototype)); // mix-in from EventDispatcher var addEventListener:Function; var removeEventListener:Function; var dispatchEvent:Function; var dispatchQueue:Function; // // // // CONSTRUCTOR // // // function Form() { // trace(Form ::: CONSTRUCTOR); } // // // // PRIVATE METHODS // // // private function size():Void { // should be overridden by sub class this.dispatchEvent({type:size}); } // // // // PUBLIC METHODS // // // public function move(x:Number, y:Number, noEvent:Boolean):Void { // trace(Form ::: move); // code removed... if (noEvent != true) { dispatchEvent({type:move, oldX:oldX, oldY:oldY}); } } public function show():Void { // trace(Form ::: show) this._visible = true; this.dispatchEvent({type:reveal}); } public function hide():Void { // trace(FORM ::: hide) this._visible = false; this.dispatchEvent({type:hide}); } } So assume you then have 2 classes, Application and Login both extending the Form class and Login is a movieclip inside Application (Login is a child of Application). The Application could then listen to events dispatched by the Login. import com.muzakdeezign.core.Form; import mx.utils.Delegate; class Application extends Form { private var login_frm:Login; private function onLoad() { login_frm.addEventListener(show, Delegate.create(this, this.loginShowHandler)); login_frm.addEventListener(hide, Delegate.create(this, this.loginHideHandler)); } private function loginShowHandler(evt:Object):Void { // login is visible } private function loginHideHandler(evt:Object):Void { // login is hidden } } Note that the Login doesn't listen for events dispatched by the Application because: - children don't listen to parents ;-) If Application had 2 child forms (Login, SomeView), those children wouldn't communicate with eachother directly, but through the parent (Application) by dispatching events. For instance when a user logs in, the Login form could dispatch a loggedIn event to inform the Application that a login was successful. The Application would then respond to that by hiding the Login form and showing the SomeView form. import com.muzakdeezign.core.Form; import mx.utils.Delegate; class Application extends Form { private var login_frm:Login; private var view_frm:SomeView; private function onLoad() { view_frm.hide(); login_frm.addEventListener(loggedIn, Delegate.create(this, this.loginLoggedInHandler)); } private function loginLoggedInHandler(evt:Object):Void { // login was successful // hide login and show other form login_frm.hide(); view_frm.show(); } } Does this help? regards, Muzak - Original Message - From: Merrill, Jason [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Sent: Tuesday, April 03, 2007 6:46 PM Subject: RE: [Flashcoders] Events for custom classes? Actually, I had been meaning to post again because I had lost my code for getting EventDispatcher working between two classes. Someone posted a response here and I lost it, as well as my code that was working. if anyone can post again on how to get one class to dispatch a CUSTOM event and get another CUSTOM class to listen to that event, please post! Helmut and I would like to see an example. The help docs on EventDispatcher are really awful, and I haven't seen a lot of stuff online. Jason Merrill Bank of America GTO Learning
Re: [Flashcoders] simple code- should work but is not.
On frame 21, trace(wine back btn:+wine_mc.wineback_btn); This will tell you 1) If the playhead actually DOES reach frame 21 2) If the button in question is actually where you think it is. Frequently simple problems like this are because you've forgotten to put a symbol where you thought you put it, or because you have the wrong scope. --- Thomas Collins [EMAIL PROTECTED] wrote: Hi all, this is my first post on flashcoders. i think this is a simple fix and everything is basic, so i can't figure out why it isn't working. my code on the root timeline in the actions layer (frame 21) is simply: ** stop(); wine_mc.wineback_btn.onPress = function() { trace(hello); } might anyone know why my wineback_btn is not registering the onPress? i know for sure that my playhead reaches frame 21 where the code is. instance names are specified. any help would be much appreciated. thanks in advance. i've uploaded the .fla in case you want to take a closer look. http://download.yousendit.com/73F37C700CEE66C5 ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com TV dinner still cooling? Check out Tonight's Picks on Yahoo! TV. http://tv.yahoo.com/ ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] Events for custom classes?
Yes, that would be correct. I initially named them MyEvent/ListenerClass but changed it halfway through writing the email. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Helmut Granda Sent: Tuesday, April 03, 2007 11:54 AM To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] Events for custom classes? Thanks for this sample David, Just a small correction: public function ListenerClass(eventClass:MyEventClass) should be public function ListenerClass(eventClass:EventClass); Correct? -h On 4/3/07, David Ngo [EMAIL PROTECTED] wrote: You'll need a reference of the dispatching class in your listener class to receive events: // broadcasting class import mx.events.EventDispatcher; class EventClass { // EventDispatcher methods public var addEventListener:Function; public var removeEventListener:Function; private var dispatchEvent:Function; public function EventClass() { } public function onInit():Void { trace('onInit fired!'); dispatchEvent({type: onInit, target: this}); } } // listener class import mx.utils.Delegate; class ListenerClass { public function ListenerClass(eventClass:MyEventClass) { eventClass.addEventListener(onInit, Delegate.create (this, onInitHandler)); } private function onInitHandler(event:Object):Void { trace('onInitHandler invoked'); } } // implementation var eventClass:EventClass = new EventClass(); var listenerClass:ListenerClass = new ListenerClass(eventClass); eventClass.onInit(); -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Merrill, Jason Sent: Tuesday, April 03, 2007 9:47 AM To: flashcoders@chattyfig.figleaf.com Subject: RE: [Flashcoders] Events for custom classes? Actually, I had been meaning to post again because I had lost my code for getting EventDispatcher working between two classes. Someone posted a response here and I lost it, as well as my code that was working. if anyone can post again on how to get one class to dispatch a CUSTOM event and get another CUSTOM class to listen to that event, please post! Helmut and I would like to see an example. The help docs on EventDispatcher are really awful, and I haven't seen a lot of stuff online. Jason Merrill Bank of America GTO Learning Leadership Development eTools Multimedia Team -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Helmut Granda Sent: Tuesday, April 03, 2007 12:35 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] Events for custom classes? On 4/3/07, Helmut Granda [EMAIL PROTECTED] wrote: Jason, Were you able to figure this out exactly the way you wanted it? -h On 2/16/07, Merrill, Jason [EMAIL PROTECTED] wrote: Ah - nevermind - figured out I had removed the scope to my webservice and forgot to put it back in. Delegate works fine for me now, sorry about the noise, and thanks so much everyone for the help!! Jason Merrill Bank of America Learning Organizational Effectiveness ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com
RE: [Flashcoders] Changing keyframe interval in a FLV
Even if there is a tool, I don't think it would make a difference. My guess is that FLV video is handled like any other video with regards to keyframes. That is, the tween frames only contain content that has changed, everything else is transparent. A keyframe, contains all of the information. If you already have an encoded video then the tween frames are not complete frames. Turning one into a keyframe would simply create a flattened frame based on the information available. This is just my armchair assessment. If there are any FLV video guru's out there, please correct me if I'm wrong. ...Rob -Original Message- From: leolea [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 03, 2007 2:02 PM To: Flashcoders mailing list Subject: [Flashcoders] Changing keyframe interval in a FLV Hi, I need to have a smaller keyframe interval on my FLV files. Does anyone know a tool to update a FLV keyframe interval without re-encoding it ? Thanks ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Preloading FLV with NetStream
Hi, Is it possible, using the NetStream object, to preload a FLV. I have multiple FLV videos that I need to play back-to-back smoothly. I want all of them to be preloaded so that when I start playback it doesn't buffer or lag in any way. I can't seem to find a way so my next alternative would be to use SWF with MovieClipLoader. I'd like to avoid that. Thanks ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Flash 9 CS3 - Key questions
Does anyone know if flash 9 cs3 will support scale 9 for actual bitmaps, as opposed to just vector objects. Similar to how flex builder can do this except its precompiled at runtime. Just as a quick note, you *can* use bitmaps with scale9, most of the time (that is, as long as it's static). It's a bit clumsy, but you have to break the image inside the movieclip, then create lines on the same place that the guides are located, group the individual grid blocks, then remove the lines. This breaks the movieclip into pieces that match the same position of the scale9 rulers and ultimately makes it work. It's the same as creating vector boxes with a bitmap fill of that particular image and aligning/moving the fill in a way that makes the boundaries match. Again, it's clumsy, but at least it doesn't force you to create new movieclips and resize them with code... you just have to break it and group it. Zeh ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Job post: Flash-based Learning Management System project
I'm an instructional designer, based the Los Angeles area, developing a Learning Management System (LMS), Course Authoring Management Tool (CMS), and web portal for a prominent niche university. This project specifically entails building a state-of-the-art streaming GUI, a Student Records and CMS User database, a streaming Personal Curriculum Server, and a back-end Flash video database and server. The project is in its early planning stage and is scheduled to start May 1, 2007. The delivered product will look cool and function flawlessly. Simply put, it will be the finest application of its kind on the web. I have very detailed project and component specifications, as well as a working C++ prototype. I now seek a very experienced, expert-level Flash / AS2 programmer to determine all project milestones and deliverables and optimize the development plan. Once milestones are mutually agreed-to and the time needed to build them estimated, it will be the programmer's responsibility to deliver them on-time, as well as report on their progress daily during their development. This is a full-time position that is estimated to last from 6 to 9 months. Compensation is entirely dependent on qualifications and entirely negotiable I welcome all inquiries and look forward to hearing from you: Jon Rosen (818) 703-1957 [EMAIL PROTECTED] (if emailing, please include GAO Programmer in the subject line.) ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Flash 9 CS3 - Key questions
Dear Zeh, Yea, and I've done it before. The way of doing it in flex is a lot more elegant and extremely useful. I just want to make sure that if someone wants to do bitmaps instead of vector they can. for flash 9. Sometimes its just such a pain especially when you have major gradiented designs. I want to make sure of the other points however: - Scale 9 with images - Calling components from a flex to flash movie such as a button or a datagrid -- like they can be used together. I have this really bad feeling that they are totally separate class structures and it will not integrate with the flex framework. I dont know the full data on this though. - And compiler speed, is it now lighting fast - MXML support integration. It would be nice if adobe would shed some light on the above... Best, Austin Zeh Fernando wrote: Does anyone know if flash 9 cs3 will support scale 9 for actual bitmaps, as opposed to just vector objects. Similar to how flex builder can do this except its precompiled at runtime. Just as a quick note, you *can* use bitmaps with scale9, most of the time (that is, as long as it's static). It's a bit clumsy, but you have to break the image inside the movieclip, then create lines on the same place that the guides are located, group the individual grid blocks, then remove the lines. This breaks the movieclip into pieces that match the same position of the scale9 rulers and ultimately makes it work. It's the same as creating vector boxes with a bitmap fill of that particular image and aligning/moving the fill in a way that makes the boundaries match. Again, it's clumsy, but at least it doesn't force you to create new movieclips and resize them with code... you just have to break it and group it. Zeh ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Hyperlinks in HTML Enabled Text Field: Accessible?
I think I've coded myself into a corner on this, but I'm hoping someone's either found a solution or knows first hand that I'm out of luck. The project I'm working on requires that the user/developer of the swf be able to supply a blurb of text with a list of 1 to n links (text and url). My swf needs to suck in this information from a text/xml file and display it all pretty like and be accessible using keyboard only navigation (this is a tiny part of a larger app). I thought the obvious way to do this would be with an HTML enabled TextField. The user's could type up a simple text file with HTML text and hyperlinks -- HTML is accessible right? I'm hoping I'm missing something stupid here that needs to be done to allow me to move focus to the hyperlink in the TextField to allow the user to follow the link. Am I hopelessly out of luck? Jer ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Strong Flash Developer needed for Role at salesforce.com in SF Bay Area
I am looking for an experienced Flash developer who is fluent in AS 2.0/3.0 to assist in the delivery of video and the flash experience overall on our site. I have been lately moving in more of a motion design direction and need someone with the right skills and experience to fill out the team. This isn't a staid corporate job. We plan on doing A LOT of things with video in the near-term. If you're smart, experienced, and self-motivated, I think you'd be a great fit here. What we decide to do is up to us and our creativity - so there's a lot of potential for fun projects. Salesforce.com is the second-fastest growing company in the tech world behind Google and an exciting place to work. Please send me resumes and portfolios if you are interested. Thanks, Bryan Ebzery Manager • Flash Design and Development salesforce.com The Landmark @ One Market, Spear Tower, Floor 8 • San Francisco, CA 94105 415.536-6178 ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] Hyperlinks in HTML Enabled Text Field: Accessible?
HTML text-fields are not natively accessible. You'll need to create a proxy movieclip for each link to receive keyboard events. An example in AS2 using CSS and XPath: http://proto.layer51.com/d.aspx?f=1430 In AS1 using prototype methods: http://proto.layer51.com/d.aspx?f=1209 In Flex http://www.majordan.net/test/inlinelinksapp/ -- majordan -Original Message- From: Jer Brand [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 03, 2007 5:15 PM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] Hyperlinks in HTML Enabled Text Field: Accessible? I think I've coded myself into a corner on this, but I'm hoping someone's either found a solution or knows first hand that I'm out of luck. The project I'm working on requires that the user/developer of the swf be able to supply a blurb of text with a list of 1 to n links (text and url). My swf needs to suck in this information from a text/xml file and display it all pretty like and be accessible using keyboard only navigation (this is a tiny part of a larger app). I thought the obvious way to do this would be with an HTML enabled TextField. The user's could type up a simple text file with HTML text and hyperlinks -- HTML is accessible right? I'm hoping I'm missing something stupid here that needs to be done to allow me to move focus to the hyperlink in the TextField to allow the user to follow the link. Am I hopelessly out of luck? Jer ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] eolas fix for IE7
Matthew, You'll need some css to properly display the swf at 100% width and height. Check the source of this page: http://blog.deconcept.com/swfobject/fullpage.html And check out the other samples: http://blog.deconcept.com/swfobject/#examples regards, Muzak - Original Message - From: Matthew Ganz [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Sent: Tuesday, April 03, 2007 9:21 PM Subject: Re: [Flashcoders] eolas fix for IE7 it worked after i uninstalled/reinstalled until i cleared the cache and then it stopped working again. steven - i'll check that forum, thanks. muzak - the css for the flashcontent div? all i have is what is there. thanks. -- matt. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] Preloading FLV with NetStream
Yep, you can preload FLVs with the NetStream. Check out the PreloadAssetManager class which will handle it all for you: http://www.greensock.com/ActionScript/PreloadAssetManager Jack -Original Message- Date: Tue, 03 Apr 2007 16:04:35 -0400 From: leolea [EMAIL PROTECTED] Subject: [Flashcoders] Preloading FLV with NetStream To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=US-ASCII Hi, Is it possible, using the NetStream object, to preload a FLV. I have multiple FLV videos that I need to play back-to-back smoothly. I want all of them to be preloaded so that when I start playback it doesn't buffer or lag in any way. I can't seem to find a way so my next alternative would be to use SWF with MovieClipLoader. I'd like to avoid that. Thanks ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Flash CS3 Announced
- Original Message - From: Charles Parcell [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Sent: Tuesday, April 03, 2007 8:21 PM Subject: Re: [Flashcoders] Flash CS3 Announced To be fair, it is your opinion that it is not right, unless you have a source that states otherwise. Well, that's an easy one: look through the Flex docs and point me to the class that does that ;-) As I said: Flex doesn't have a class that transforms xml into animation, which Flash CS3 does have. That doesn't mean an animator class can't/won't be written for Flex though. Add to that that when Flash CS3 is released Adobe *might* release a Flex update for tighter integration with new Flash CS3 features. But so far I haven't seen any indication that this will happen (which doesn't mean it won't).. regards, Muzak ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Flash and video optimisation ....
Is there any point using a third-party application to optimize video for Flash.Or is it best just to use the video import feature of the Flash IDE.The delivery technique I'm using is external progressive download.Do I need (do you recommend) any apps other than Flash itself to prepare/optimise video.Thanks.___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] Flash and video optimisation ....
Hi, in my opinion, its better to compress the (avi or mov) video on the third party software like Soreson order to reduce the file size but keep the quality, and then convert info flv inside flash. I couldnt find any software directly converts avi to flv better then flash. I am open for other ideas : ) Kerem. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Stephen Ford Sent: Wednesday, April 04, 2007 2:53 AM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] Flash and video optimisation Is there any point using a third-party application to optimize video for Flash.Or is it best just to use the video import feature of the Flash IDE.The delivery technique I'm using is external progressive download.Do I need (do you recommend) any apps other than Flash itself to prepare/optimise video.Thanks.___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Preloading FLV with NetStream
Sweet! Looks exactly like the thing I need. Gonna give it a try. Thank you very much. On 4/3/07 6:42 PM, Jack Doyle [EMAIL PROTECTED] wrote: Yep, you can preload FLVs with the NetStream. Check out the PreloadAssetManager class which will handle it all for you: http://www.greensock.com/ActionScript/PreloadAssetManager Jack -Original Message- Date: Tue, 03 Apr 2007 16:04:35 -0400 From: leolea [EMAIL PROTECTED] Subject: [Flashcoders] Preloading FLV with NetStream To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=US-ASCII Hi, Is it possible, using the NetStream object, to preload a FLV. I have multiple FLV videos that I need to play back-to-back smoothly. I want all of them to be preloaded so that when I start playback it doesn't buffer or lag in any way. I can't seem to find a way so my next alternative would be to use SWF with MovieClipLoader. I'd like to avoid that. Thanks ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Flash and video optimisation ....
3rd-party softare, such as Sorenson Squeeze, offer VBR - variable bitrate - which means the bitrate will be higher only if required (high motion, fast movements). You can also adjust parameters such as brightness/contrast and de-interlace the source video, which produces better looking results. You'll end up with a FLV that has a better quality-to-space ratio. It's something the Flash IDE or the Flash Video Encoder don't provide. But for simple and fast compression I use the Flash 8 Video Encoder. It does a great job. On 4/3/07 8:12 PM, Kerem İşeri [EMAIL PROTECTED] wrote: Hi, in my opinion, its better to compress the (avi or mov) video on the third party software like Soreson order to reduce the file size but keep the quality, and then convert info flv inside flash. I couldnt find any software directly converts avi to flv better then flash. I am open for other ideas : ) Kerem. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Stephen Ford Sent: Wednesday, April 04, 2007 2:53 AM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] Flash and video optimisation Is there any point using a third-party application to optimize video for Flash.Or is it best just to use the video import feature of the Flash IDE.The delivery technique I'm using is external progressive download.Do I need (do you recommend) any apps other than Flash itself to prepare/optimise video.Thanks.___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Question: FMS 2 and CMS managed FLV files
On Apr 3, 2007, at 3:41 PM, Jon Bradley wrote: I've got a bit of a question that I'm trying to wrap my head around. Can Flash Media Server 2 take dynamic paths to FLV content? As long as the path exists, then yeah it should be fine. I'm not sure if I understand your question correctly though. Are you saying you'll get a path like below from the CMS? someserver.com/flash/videos/somefolder/somevideo If that path exists on the FMS, then it shouldn't be a problem at all. john ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Video delivery process ...
Hi,How do I preload video when the target player is 7?.The delivery technique I'm using is progressive download.Should I be using a proxy SWF to load an external FLV (because the Video class in Flash doesn't have anyway of polling the size of an external FLV, or how much of that FLV is loaded - unless I'm missing something).Thanks.___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com