Re: [Flashcoders] gProject
All of the class templates are stored in the flash configuration folder for each version of flash. In windows, the config folder is C:\Documents and Settings\username\Local Settings\Application Data\Macromedia\flash version\en\Configuration\ The class files are located in the gskinner\templates\classes\ directory You can also specify a template file to use in the panel preferences. There are details in the bundled documentation on setting up custom templates. Regards, Lanny McNie // gskinner.com On 11/27/06, Charles Parcell [EMAIL PROTECTED] wrote: There is a file you can edit, thus allowing you to customize the template for class files. This was one of my big issues too. I will have to find it again tomorrow at work and I will reply with the answer. Charles P. On 11/27/06, Rich Rodecker [EMAIL PROTECTED] wrote: yeah i bought it, i like it. Sometimes I actually forget to use it. my main gripe is all the clutter it adds with extra comments to the classes when it auto-generates them...but that's a small gripe. On 11/27/06, Charles Parcell [EMAIL PROTECTED] wrote: Yeah it is a winner. That fact that you can publish multiple fla files with one button is worth it as well. Charles P. On 11/27/06, Derek Vadneau [EMAIL PROTECTED] wrote: Buy it. I don't have a lot of large projects, but I do have a lot of them and gProject has been a huge time saver. It helps organize your projects. I think some of the (seemingly) simple pieces are worth the dough. Things like exploring the directory where your project is when you need to move and manage file assets. The folder locations feature is also a time saver. I use it to include common directories for all projects so you can quickly get to frequently-used files. For OOP projects, they say it should have been part of flash. Forget OOP, just about any project can use it. Check out what others have said: http://weblogs.macromedia.com/md/archives/2006/02/gproject_a_fant.cfm http://www.flashguru.co.uk/gproject-panel-review/ http://www.feed-squirrel.com/index.cfm?evt=viewItemID=23853 http://labs.blitzagency.com/?p=7 Those are just some of the links I found through Google. Derek Vadneau -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Weyert de Boer Sent: Monday, November 27, 2006 10:21 PM To: Flashcoders mailing list Subject: SPAM-LOW: [Flashcoders] gProject Does anyone use gProject and if so what do you think of it? I might be planning to buy it, only I am not sure if it's any good. You can't get a limited demo either. Yours, Weyert de Boer ___ 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] replacing the Library palette?
The library panel is not written in JSFL. JSFL has access to most of the properties of the library and its symbols, but not the symbol preview. There are some helper tools, such as ALF which can make your life easier. On 7/2/06, keitai guy [EMAIL PROTECTED] wrote: Is the FlashIDE library palette actually written in JSFL? ie, would it be possible to replace this? its the kludgiest part of the flash UI... btw is there a way to search for a named symbol and goto it? (much like eclipse allows you to filter to go to a named resource wtihout navigating the directory tree..) /dc ___ 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 -- - Lanny McNie ___ 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] replacing the Library palette?
Alf can be found at http://osflash.org/alf On 7/4/06, Lanny McNie [EMAIL PROTECTED] wrote: The library panel is not written in JSFL. JSFL has access to most of the properties of the library and its symbols, but not the symbol preview. There are some helper tools, such as ALF which can make your life easier. On 7/2/06, keitai guy [EMAIL PROTECTED] wrote: Is the FlashIDE library palette actually written in JSFL? ie, would it be possible to replace this? its the kludgiest part of the flash UI... btw is there a way to search for a named symbol and goto it? (much like eclipse allows you to filter to go to a named resource wtihout navigating the directory tree..) /dc ___ 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 -- - Lanny McNie -- - Lanny McNie ___ 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] changing the width of a dynamic text field
You don't necessarily need to create it with Actionscript, just remove the transform on it in the IDE. Text fields that are scaled in the IDE (stretched) will measure their width adjusted with their scale. So if you have a 100px wide text field (not stretched), and stretch it to 200px in the IDE (with the transform tool or numerically), the _width of the field is 100px*2. If you then set the _width with AS to 200px, the result will be 400px (200px*2). It seems to me that this is an odd way for flash to handle text field scaling, but if you understand whats happening, its easy to circumvent. As a developer who frequently receives scaled assets from designers, CTRL-SHIFT-Z (remove transform) is my best friend :) On 6/8/06, Phil Glatz [EMAIL PROTECTED] wrote: At 04:14 AM 6/8/2006, João wrote: I think is something related to the name of your textField, if it was created in the designing or programming mode I got this sample from the ActionScript manual, tested it and it works fine this.createTextField (my_txt, this.getNextHighestDepth (), 10, 40, 160, 120); ... Yes; I created it in design mode, rather than from actionscript. Your suggestion works perfectly, so I will use actionscript to create the field. Why wouldn't it work either way? I have a feeling these is something I must do in actionscript before changing the width. thanks for your suggetsion, Phil ___ 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 -- - Lanny McNie ___ 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] changing the width of a dynamic text field
Additionally, you can replicate this by setting the _xscale in Actionscript. So setting to 100% before applying the _width would resolve it as well. On 6/8/06, Lanny McNie [EMAIL PROTECTED] wrote: You don't necessarily need to create it with Actionscript, just remove the transform on it in the IDE. Text fields that are scaled in the IDE (stretched) will measure their width adjusted with their scale. So if you have a 100px wide text field (not stretched), and stretch it to 200px in the IDE (with the transform tool or numerically), the _width of the field is 100px*2. If you then set the _width with AS to 200px, the result will be 400px (200px*2). It seems to me that this is an odd way for flash to handle text field scaling, but if you understand whats happening, its easy to circumvent. As a developer who frequently receives scaled assets from designers, CTRL-SHIFT-Z (remove transform) is my best friend :) On 6/8/06, Phil Glatz [EMAIL PROTECTED] wrote: At 04:14 AM 6/8/2006, João wrote: I think is something related to the name of your textField, if it was created in the designing or programming mode I got this sample from the ActionScript manual, tested it and it works fine this.createTextField (my_txt, this.getNextHighestDepth (), 10, 40, 160, 120); ... Yes; I created it in design mode, rather than from actionscript. Your suggestion works perfectly, so I will use actionscript to create the field. Why wouldn't it work either way? I have a feeling these is something I must do in actionscript before changing the width. thanks for your suggetsion, Phil ___ 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 -- - Lanny McNie -- - Lanny McNie ___ 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] SharedObject always undefined
try SharedObject instead of ShareObject (note the 'd') On 4/6/06, Jeff Mastropietro [EMAIL PROTECTED] wrote: I'm trying to use a SharedObject to save and restore the state of my flash movie. However, everytime I try to create a SharedObject, it returns undefined. Does anyone have any experience using SharedObjects? Have any ideas what could be causing getLocal to return undefined? var player_so:SharedObject= ShareObject.getLocal(player, /); trace(player_so); The trace prints undefined I'm publishing my movie for Flash 6, and I have Optimize for Flash Player 6 r65 enabled. I've tried publishing in Flash 7, and I have the same trouble. Thanks, Jeff ___ 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 -- - Lanny McNie ___ 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] Can You Extend a Swc Component?
A SWC is only a zipped up component. Once you put it in your movie, it becomes a compiled clip, or component. From my tests, you CAN extend a component, as long as the component you are extending is in your library. Additionally, it looks like any assets inside the component can also be used. I didn't try extending a class that the component itself extended (for example extending UIComponent, instead of Button) The example I used was a simple component I created a while ago which I knew the classes would not be available for (eg: not the V2 components, which has class files in the classes folder) -- I created an empty movieclip, and attached a class which extended the component's class. I added a trace in the constructor (and called super()), and added some timeline code calling methods in the super class. It worked fine. If you would like an example I can send it to you. Just email me off list. On 4/6/06, Shaw, Matt (MTVN) [EMAIL PROTECTED] wrote: Not one comment? I know someone else has tried this also. Mike Chambers, what's the official word? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Shaw, Matt (MTVN) Sent: Wednesday, April 05, 2006 10:48 AM To: Flashcoders mailing list Subject: [Flashcoders] Can You Extend a Swc Component? I'm trying to use a component's intrinsic class as a super class. I have a component installed. I unzipped the .swc files and stole the intrinsic classes so I could get proper code checking in Eclipse. This works fine. Then I attempted to extend one of the intrinsic classes. Flash compiles with no complaints but an instance of my subclass doesn't actually seem to inherit anything from the super class. If I delete the intrinsic classes, Flash will compile, with no complaints, and then inheritance works! It seems that the compiled aso intrinsic class satisfies the compiler. If I then delete my aso cache, then the Flash compiler complains it can't find the super class. I tried all sorts of weird things in-between each of these steps to make the compiler happy but maybe I'm not supposed to be doing this in the first place. And no, I'm not going to touch prototype. 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 -- - Lanny McNie ___ 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] getting the actual width of a scaled child clip
good point On 2/22/06, Grant Cox [EMAIL PROTECTED] wrote: Except you would have to iterate through every _parent level until you hit the _root anyway, in case any ancestor clip is scaled... I've done that before for visibility ( parent was _visible=false, grandchild was _visible=true but of course not seen). Lanny McNie wrote: Also, you could just multiply the width/height by the scale.. var w = subClip._width * subClip._parent._xscale / 100; var h = subClip._height * subClip._parent._yscale / 100; Sorry for the psuedo code. On 2/22/06, Rich Rodecker [EMAIL PROTECTED] wrote: ah, nice one. On 2/22/06, Grant Cox [EMAIL PROTECTED] wrote: If you use localToGlobal you can find the dimensions in root coordinates. /// var topleft = {x: inner._x, y: inner._y}; var bottomright = {x: inner._x + inner._width, y: inner._y + inner._height}; inner._parent.localToGlobal(topleft); inner._parent.localToGlobal(bottomright); trace(inner from: + topleft.x + , + topleft.y + to: + bottomright.x + , + bottomright.y ); /// Rich Rodecker wrote: wierd that i've never hit this before, but I'm running into an issue with getting the width of a clip's children after the parent clip has been scaled down. So, I say parent clip name holder_mc. I create 4 movieclips inside holder_mc and load movie into them. Each of the loaded clips are 600 x600. If i scale holder_mc down 50%, each of the loaded clips still reports their size as 600x600. Somebody's HAD to have dealt with this one already...any suggestions? ___ 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 -- - Lanny McNie ___ 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 -- - Lanny McNie ___ 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] getting the actual width of a scaled child clip
Also, you could just multiply the width/height by the scale.. var w = subClip._width * subClip._parent._xscale / 100; var h = subClip._height * subClip._parent._yscale / 100; Sorry for the psuedo code. On 2/22/06, Rich Rodecker [EMAIL PROTECTED] wrote: ah, nice one. On 2/22/06, Grant Cox [EMAIL PROTECTED] wrote: If you use localToGlobal you can find the dimensions in root coordinates. /// var topleft = {x: inner._x, y: inner._y}; var bottomright = {x: inner._x + inner._width, y: inner._y + inner._height}; inner._parent.localToGlobal(topleft); inner._parent.localToGlobal(bottomright); trace(inner from: + topleft.x + , + topleft.y + to: + bottomright.x + , + bottomright.y ); /// Rich Rodecker wrote: wierd that i've never hit this before, but I'm running into an issue with getting the width of a clip's children after the parent clip has been scaled down. So, I say parent clip name holder_mc. I create 4 movieclips inside holder_mc and load movie into them. Each of the loaded clips are 600 x600. If i scale holder_mc down 50%, each of the loaded clips still reports their size as 600x600. Somebody's HAD to have dealt with this one already...any suggestions? ___ 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 -- - Lanny McNie ___ 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] Stage.width not working in IE
I have had instances where it took 2 frames to initialize. And to critique your code, you should delete the onEnterFrame BEFORE calling init, in case the init function creates an onEnterFrame of its own, it would be deleted immediately. On 2/12/06, Stan Vassilev [EMAIL PROTECTED] wrote: if all it needs is one frame then: onEnterFrame = function () { init(); // init code here that calls Stage.width delete onEnterFrame; } ___ 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 -- - Lanny McNie ___ 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] Stage.width not working in IE
yeah, something like onEnterFrame = function() { if (Stage.width 0) { doSomething(); } } On 2/12/06, Johannes Nel [EMAIL PROTECTED] wrote: even in a single frame movie onEnterframe is called repeatedly, thus allowing you to do as lanny suggests. look for a function called doLater On 2/12/06, John Giotta [EMAIL PROTECTED] wrote: Perhaps Lanny's suggestion will work, but may not work with a single frame SWF. The problem resides in how the Flash Player is initiatated on first render. Basically the ActionScript is being interpreted faster than the visuals are rendered (which includes the scene). I've gotten to understand this and I have adopted a way of initializing all the Stage parameters first then initializing the elements. And lastly, I actually call the onResize method for good measure because in some instances first render does not trigger a resize event. ___ 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 -- j:pn ___ 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 -- - Lanny McNie ___ 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] Stage.width not working in IE
IE has issues seeing the Stage.height and Stage.width on the first frame of the movie. Delay the checking until the 2nd or 3rd frame, and see if it makes a difference. On 2/11/06, GregoryN [EMAIL PROTECTED] wrote: While trying to make a sample, the problem has changed: now it works in Opera and IE, but in Firefox and Mozilla can't see Stage.height... Demo: http://gousable.com/flash/temp/resize_in_ie1.html Files (fmx2004): http://gousable.com/flash/temp/ie_resize.zip Any help / ideas appreciated. -- Best regards, GregoryN http://GOusable.com Flash components development. Usability services. Adrian wrote: Not sure about the differences across broswers, but can we see some code. It might be something else you're doing? ___ 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 -- - Lanny McNie ___ 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] photoshop-like filters
Grant Skinner has a good sharpen filter class: http://www.gskinner.com/blog/archives/2005/12/source_code_sha_1.html On 2/1/06, Tom Versweyveld [EMAIL PROTECTED] wrote: Does anyone know where I can find (or buy) source as-code for photoshop-like filters (for use in fp8). I'm especially looking for a good sharpen filter, and some artistic filters (like watercolor, dry brush, etc...) Grtz, Tom ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- - Lanny McNie ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] addEventListener - MovieClip wants to pass event to containing class
Thats not how EventDispatcher works. Firstly, you need a movieclip whose class has EventDispatcher tied into it (like the v2 components do). Once that's working, the correct syntax is: mc.addEventListener(click, this); function click() { // do stuff } On 1/19/06, Steve Warren [EMAIL PROTECTED] wrote: Hey folks, I'm having a little trouble getting addEventListener to work. I've tried a bunch of combinations, but have yet to find the right one. I'm trying to assign onRelease functions to a bunch of buttons in my LanguageChooser class. All I want to do is call a function inside LanguageChooser, telling it which button was clicked. Can I do it simply like this, or do I need to create a separate class for the button MovieClips? //THIS IS THE PART THAT'S NOT WORKING english.onRelease = french.onRelease = german.onRelease = spanish.onRelease = addEventListener(this, languageClicked); Thanks in advance for any help! -steve import mx.utils.Delegate; import mx.events.EventDispatcher; import com.mosesSupposes.fuse.Fuse; import com.mosesSupposes.fuse.ZigoEngine; import com.myClient.Element; import com.myClient.Language; class LanguageChooser extends Element { //movieclip children private var english:MovieClip; private var french:MovieClip; private var german:MovieClip; private var spanish:MovieClip; public var addEventListener:Function; public var removeEventListener:Function; public var dispatchEvent:Function public function LanguageChooser() { super(); position(); setup(); transitionIn(); } private function setup(Void) : Void { //THIS IS THE PART THAT'S NOT WORKING english.onRelease = french.onRelease = german.onRelease = spanish.onRelease = addEventListener(this, languageClicked); english.onRollOver = french.onRollOver = german.onRollOver = spanish.onRollOver = function() {ZigoEngine.removeTween(this); ZigoEngine.doTween (this, _y, -4, 0.08, linear);}; english.onRollOut = french.onRollOut = german.onRollOut = spanish.onRollOut = english.onReleaseOutside = french.onReleaseOutside = german.onReleaseOutside = spanish.onReleaseOutside = function() {ZigoEngine.removeTween(this); ZigoEngine.doTween (this, _y, 0, 0.5, easeOutCubic);}; } private function languageClicked(eventObj:Object){ trace(eventObj.target + : + eventObj.type); Language.setLanguage(eventObj._name); } ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- - Lanny McNie ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] clearInterval question
The function will not run again. On 1/18/06, Jason Lutes [EMAIL PROTECTED] wrote: If I hit clearInterval() while it's waiting, does it hit that function one more time or stop it immediately? I'm having some kind of ghosted thing happening over here... The following is about all you can do. In my experience it works immediately, every time. clearInterval(intervalVariable); intervalVariable = null; You can put a trace statement inside of the function called by setInterval to verify that the interval really does cancel as expected (it stops tracing). - pixelTwiddler, a.k.a. Jason ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- - Lanny McNie ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Using getURL twice in a function
This is due to Flash's IE limitation where it will only send 1 getURL request per frame. Space out your requests over a frame or 2, and it should work. On 1/10/06, eric dolecki [EMAIL PROTECTED] wrote: In the past I have relied on javascript. Call up the new page with your getURL in that HTML page's onLoad call a javascript to pop the form window. Its hackish but works. edolecki On 1/10/06, Chad Mefferd [EMAIL PROTECTED] wrote: Hi list, I'm using getURL twice in a function I've written for a button. First to direct the browser to a new page. Second to use javascript to create a pop-up for a registration form. This is working fine and dandy in all browsers I've tested on (both PC and Mac) except for IE on. IE will only perform 1 getURL. Depending on which getURL is first in order. Any ideas why? Any suggestions for a work around? Thanks, Chad Mefferd ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- - Lanny McNie ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Display same value in 3 fields
What about putting the same variable on each field (in the prop inspector)? -- You could have them all reference a _parent, _root or _global value if they all exists in differerent scopes... On 12/8/05, Pranav Negandhi [EMAIL PROTECTED] wrote: Thanks Johan. Regards, Pranav Negandhi Fractal | ink O: 91 22 5660 3682 M: 91 98211 73656 www.fractalink.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Johan Lopes Sent: Thursday, December 08, 2005 11:47 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] Display same value in 3 fields http://www.actionscript.nl/ Goto Flash MX 2004 category in red Strings Panel. HTH, /Johan ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- - Lanny McNie ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Distance: mouse to MC's edge (not regpoint)
look into getBounds() On 11/30/05, Mendelsohn, Michael [EMAIL PROTECTED] wrote: Hi list... I have an odd shaped MC on the stage. I'd like to find the distance between the mouse and the MC, simple enough -- but not to the MC's registration point, but to the *edge* of the MC. And to boot, it's an odd-shaped MC. Can you determine the MC's closest point on its edge to the mouse? //something like... Math.sqrt(Math.pow((_root._xmouse - closestMCedge_x),2)+Math.pow((_root._ymouse - closestMCedge_y),2)); Thanks, - Michael M. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- - Lanny McNie ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Toronto Flash Coders?
Grant's in Edmonton. Only in TO for conferences... On 11/29/05, Simon Lord [EMAIL PROTECTED] wrote: well, off the top of my head, grant skinner, colin moock and brian lesser are all in the TO area. Of the three, grant is the most likely to sell you a component, colin and brian will sell you books. ;) On Nov 29, 2005, at 12:13 PM, Wade Arnold wrote: I am heading to Toronto for the next three days to meet with a client. Because of flight schedules I will spending an extra day wondering the city. I was wondering if their are any design or programming companies in the toronto area that I could come and visit with. We are always looking for components to purchase, applications to outsource, and good companies to partner with. Coffee or a beer is always good! wade . . . T8DESIGN Wade Arnold Chief Technology Officer 1009 Technology Parkway Cedar Falls, IA 50613 P 877.T8IDEAS F 888.290.4675 www.t8design.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- - Lanny McNie ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] comboBox not working after upgrading to 8
I believe they made some code updates to the components shipped with Flash 8 for compatibility. Try swapping the one in your library with the one in the Flash 8 components panel... On 11/17/05, Mendelsohn, Michael [EMAIL PROTECTED] wrote: Hi list... Has the comboBox component changed in Studio 8? My MX2004 fla file comboBox isn't working once I upgraded. What's changed? There seems not to be a changeHandler parameter, and so far, the code below isn't working for me. Any hints are appreciated. Thanks, - Michael M. // all on frame 1 theDropDownMenu.addEventListener(change, dropObj); var dropObj:Object = new Object(); dropObj.change = function(eventObject:Object) { trace(X); } ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- - Lanny McNie ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] New way to resize TextField in IDE ?
You have never been able to numerically resize text in Flash. Flash 7 had the same behaviour. Many had hoped Flash 8 would *resolve* this issue, but it didn't happen. It certainly isn't a new issue. On 10/27/05, erixtekila [EMAIL PROTECTED] wrote: Hi all, I hope I do a big mistake. Tell me. With Flash 2004 and before, one just have to put a textfield on the stage and give it values with the property inspector. It was fast and easy. With Flash 8 IDE, if I do the same, the font inside are resized ? Whatever tool I use : Arrow, Free transform or Text, the behavior is the same. Should I say that on a mac ? Is it an osx only (how could I say) **new** feature ? Is there any way to give values to a textfield on stage. (Don't answer by script please) Thanks. --- erixtekila http://blog.v-i-a.net/ ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- - Lanny McNie ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders