[Flashcoders] Test
Please disregard. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ___ 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] Good Math script for sheet movement when draged on table
Hi, List? Anyone seen subj? Something real-life and natural motion? 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] Good Math script for sheet movement when draged on table
Hi, List? Anyone seen subj? Something real-life and natural motion? 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] Counter in function assigned inside a for loop
You could also set a var on the button that tracks it's own content. function buttonBehavior():Void { for (var i=1; i 8; i++) { //do tmpMC = _root[mb_+i]; just once per loop //to save processing var tmpMC:MovieClip = _root[mb_+i]; // add a var to the mc that tracks it's content tmpMC.href = section_+i+.swf; tmpMC.onRollOver = function() { this.gotoAndPlay(over); } tmpMC.onRollOut = function() { this.gotoAndPlay(out); } tmpMC.onRelease = function() { this.gotoAndPlay(display_frame); loadMovie(this.href, load_target); } } } buttonBehavior(); -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Keith Reinfeld Sent: Thursday, March 30, 2006 5:11 PM To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] Counter in function assigned inside a for loop Try this Alex, function buttonBehavior():Void { for (var i=1; i 8; i++) { //do tmpMC = _root[mb_+i]; just once per loop //to save processing var tmpMC:MovieClip = _root[mb_+i]; tmpMC.onRollOver = function() { this.gotoAndPlay(over); } tmpMC.onRollOut = function() { this.gotoAndPlay(out); } tmpMC.onRelease = function() { this.gotoAndPlay(display_frame); //replace i with this._name.substr(3,4) //to get the right value from the current button var loadMe:String = section_+this._name.substr(3,4)+.swf; loadMovie(loadMe, load_target); } } } buttonBehavior(); -Keith -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Alejandro Diaz Sent: Thursday, March 30, 2006 9:22 AM To: Flashcoders mailing list Subject: [Flashcoders] Counter in function assigned inside a for loop Heya guys, I am assigning the button behaviors to a set of movieclips through a for loop, however, I am coming up against something where I know what is happening, but don't know how to fix it. Basically, inside that for loop I assign each of the button behaviors as a function but I don't know how to evaluate the counter in the function, rather than having it just literally written into it. instead of section_+ _root.i being section_1, section_2, etc...it is literally written in each of the buttons as section_+_root.i and so each button has exactly the same code and all go to the last section (last value of i) when clicked. How can I have it so that each function has the proper code it in? is this even the proper way to go about this? Is there a way to 'force' the evaluation of that counter in that function when it is being assigned to the MC? code: function buttonBehavior ():Void { for (_root.i=1;_root.i8;_root.i++) { _root[mb_+_root.i].onRollOver = function() { this.gotoAndPlay(over); } _root[mb_+_root.i].onRollOut = function() { this.gotoAndPlay(out); } _root[mb_+_root.i].onRelease = function() { _root.gotoAndPlay(display_frame); loadMovie(section_+_root.i+.swf, load_target); } } } (btw, I added the _root. to each of the i's so that the function could 'see' it. thanks in advance! -Alex ___ 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] cellEdit not persistent
I'm using the dataBinding code that Hank posted here a few monthshttp://chattyfig.figleaf.com/pipermail/flashcoders/2005-July/144233.htmlago and am having a problem getting the cellEdit to be bound to the dataset. When I change the contents of my dataGrid as soon as a cell loses focus the contents return to their original value. Any advice on how to repair this? Mani ___ 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] allowing users to call custom method in a component
I have a component that has a collection property that holds some events. My goal is for the user to be able to fill out the panel with two params for each event: eventTime and method to call. I've gotten to that part but what I'm trying to do now is convert these user entered stings into functions to be called by my component. for example - the user could add a value of 1000:squeakinto the params dialog and at 1000 I would call the squeak method. Here's what I have tried so far- to no avail. private function checkForEvents(){ trace(checking); var itr:Iterator=videoEvents.getIterator(); while(itr.hasNext()){ var videoEvent=itr.next(); var method:Function=Function(videoEvent.methodTocall); method.call(); trace(videoEvent.methodToCall); } } If anybody could help me with this it would be greatly appreciated. Mani ___ 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] testing
testing... coming through? ___ 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] createEmptyMovieClip for flash player 7
no,createEmptyMovieClip has always returned a reference to the newly created clip. createTextField didn't, and it confused a lot of people, maybe thats where you are getting caught up? On 3/30/06, Peter O'Brien [EMAIL PROTECTED] wrote: createEmptyMovieClip shouldn't return a mc for Flash Player 7, correct? I ask because my flash ide is telling me in a roundabout way it does, in my class: mcExample=stage.createEmptyMovieClip('mcExample',10); // in a separate method: trace(mcExample);// Output: level0.mcExample In flash IDE in publish settings, Flash Player 7 check. Is my IDE incorrectly using an advanced flash player in test movie? I don't need to understand this, but it would be nice to understand it. Peviously in flash7 i used to always attachMovie with an empty mc in the library, which i'll continue to do, it's just i'd like to understand the above, if anyone in the know has a minute. Thanks in advance. ___ 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] Re: allowing users to call custom method in a component
I actually just figured out a possible solution. Jsut thoguht I'd share it . By having the component just dispatch events with the entered names then I don't have to worry about all the converting to functions etc just use: private function checkForEvents(){ trace(checking); var itr:Iterator=videoEvents.getIterator(); while(itr.hasNext()){ var videoEvent=itr.next(); var method=videoEvent.methodToCall; dispatchEvent({type:method}); trace(videoEvent.methodToCall); } } and then : import mx.data.binding.ObjectDumper; trace(ObjectDumper.toString(red.videoEvents)); red.addEventListener(testing2, testListener); function testListener(){ trace(testlistcaught); } red.addEventListener(testing,test1Listener); function test1Listener(){ trace(testing one is caught); } On 3/31/06, Manuel Saint-Victor [EMAIL PROTECTED] wrote: I have a component that has a collection property that holds some events. My goal is for the user to be able to fill out the panel with two params for each event: eventTime and method to call. I've gotten to that part but what I'm trying to do now is convert these user entered stings into functions to be called by my component. for example - the user could add a value of 1000:squeakinto the params dialog and at 1000 I would call the squeak method. Here's what I have tried so far- to no avail. private function checkForEvents(){ trace(checking); var itr:Iterator=videoEvents.getIterator(); while(itr.hasNext()){ var videoEvent=itr.next(); var method:Function=Function(videoEvent.methodTocall ); method.call(); trace(videoEvent.methodToCall); } } If anybody could help me with this it would be greatly appreciated. Mani ___ 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] converting/printing swf to eps
Without know exactly what you want to do, you might be able to rig something up using a swf wrapper of some sort (like zinc) which will load the swf, then trigger a print, then use one of the many free printer drivers which output .ps files -David R On 3/30/06, Ron Wheeler [EMAIL PROTECTED] wrote: What exactly do you want to do? Ron Gabriel wrote: Hi everybody... anybody knows a solution to convert/print from the server side a swf to eps?. ___ 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] Test
Out of curiosity Dave, do you know why the list(s) seems to go down so often? Seems like every 2-3 months now. Not complaining, just curious if you could fill us in. Thanks. The server is reaching its end of life. I plan to purchase a new server by the end of Q2. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ___ 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] createEmptyMovieClip for flash player 7
createEmptyMovieClip returns a reference to the movieclip it created, yes, just like attachMovie does. It did this in Flash 6, too. - Original Message - From: Peter O'Brien [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Thursday, March 30, 2006 10:34 AM Subject: [Flashcoders] createEmptyMovieClip for flash player 7 createEmptyMovieClip shouldn't return a mc for Flash Player 7, correct? I ask because my flash ide is telling me in a roundabout way it does, in my class: mcExample=stage.createEmptyMovieClip('mcExample',10); // in a separate method: trace(mcExample);// Output: level0.mcExample In flash IDE in publish settings, Flash Player 7 check. Is my IDE incorrectly using an advanced flash player in test movie? I don't need to understand this, but it would be nice to understand it. Peviously in flash7 i used to always attachMovie with an empty mc in the library, which i'll continue to do, it's just i'd like to understand the above, if anyone in the know has a minute. Thanks in advance. ___ 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] looking for some .NET to Flash tools
What do you mean by a .NET database ? .NET can use a number of databases, but probably the most common is MS SQL Server. If you are using SQL Server, you can request XML directly from the database... http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnanchor/html/anch_sqlxml.asp What exactly is your database guy trying to achieve? What does he not like about your current solution? -- I'm working on a project that involves a .NET backend database. So far, we've successfully used XPath/XML to interface with the DB, but the database guy wants to eliminate the XML output. He's not willing to invest in ColdFusion, so I was wondering if anybody knows of a component that might make it easy (read: brain-dead simple) to interface with a .NET database. 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] MovieClip.loadMovie(), accessing assets in another Library.
In Flash Player 8 and below, you cannot attach assets from one SWF to another. The documentation about _lockroot is referring to the scope in which _root calls. For example, ComboBox when clicked creates a List control via PopUpManager. This basically goes _root.attachMovie(List, etc). However, if you load that SWF into another SWF that does not have the ComboBox control, the ComboBox doesn't work because the true _root is the SWF doing the loading, and he has no List in his library. Using _lockroot ensures that existing code in the old SWF works and it looks to it's own timeline to attach things to. To say it another way, a SWF can only attach assets to it's timeline that are in it's library. It cannot use other libraries (runtime shared libraires non-withstanding). - Original Message - From: [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Sent: Thursday, March 30, 2006 10:17 AM Subject: [Flashcoders] MovieClip.loadMovie(),accessing assets in another Library. Now, I always thought this couldn't be done. In the past I've designed Flash systems that dynamically load in hundreds of swf asset files, and the controlling container swf has instructed loaded-in swfs to attachMovie assets in their own Library.. eg, the controller has told a loaded movie to attach and play a Sound asset in its own Library. The attachMovie is happening within that loaded-in movie's clip level. However, as most Flash developers know, and the Flash documentation explains, you cannot attach an asset in a dynamically loaded Flash movie's Library into a clip in another Flash movie (other than the clip to which the loaded-in swf is attached). Sorry if that's as clear as mud. eg, in the attachMovie doc, http://livedocs.macromedia.com/flash/mx2004/main_7_2/wwhelp/wwhimpl/common/html/wwhelp.htm?context=Flash_MX_2004file=1487.html someone has stuck a comment :- You CANNOT attachMovie with assets from a dynamically loaded library to any other timeline than where the library was loaded. IE: Load your swf into _level0.mc1.mc12 you CAN attach to these locations: _level0.mc1.mc12 _level0.mc1.mc12.mc123 _level0.mc1.mc12.mc124 _level0.mc1.mc12.mc125 you CANNOT attach from this loaded library to these locations: _level0 _level0.mc1 _level0.mc2 _level0.mc2.mc21 and so on BUT! I've heard on the grapevine that a developer who knows a developer who knows a developer knows how to attach assets in a dynamically loaded swf's Library into clips in the containg movie. My client has caught wind of this and now wants me to do it... I would just dismiss it as nonsense, but there's a sentence in Macromedia's documentation that makes me wonder (actually talking about lockroot, which AFAIK only has the purpose of making _root references in loaded content continue referring to that timeline.. http://livedocs.macromedia.com/flash/mx2004/main_7_2/wwhelp/wwhimpl/common/html/wwhelp.htm?context=Flash_MX_2004file=1519.html When calling loadMovie(), set the MovieClip._lockroot property to true in the loader movie, as shown in the following code. If you don't set _lockroot to true in the loader movie, the loader has access only to its own library, but not the library in the loaded movie: Could this be a mistake in the documentation? If not, then HOW do you attach stuff from one movie's Library into another movie?? ___ Join Excite! - http://www.excite.com The most personalized portal on the Web! ___ 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] FLV and DRM
My VLC 0.84a played FLVs. Not sure about newly encoded one with F8, I didn't try. The ones done with F7 played, I tried twice, I couldn't believe my eyes too. On 30/03/06, erixtekila [EMAIL PROTECTED] wrote: Now that I've discovered the VLC player plays FLVs very well they don't seem so hard to handle anymore. I What version of VLC reads flv ? I use 0.84 and it doesn't. Tell us more please. This would be a great news… Thanks. --- erixtekila http://blog.v-i-a.net/ ___ 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 -- Yotam Laufer | Flash Developer | mobile +44 (0) 79 205 17 212 | skype: ubermutt ___ 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] Counter in function assigned inside a for loop
Hi Alex, here is an example that could help you and illustrate how to accomplish what you want var totalMovieClips:Number = 3; for ( var i = 0; i totalMovieClips; i ++ ) { _root['mc' + i].indexPos = i; _root[ 'mc' + i ].onRelease = function() { trace( 'mc' + this.indexPos + ' onRelease' ); } _root[ 'mc' + i ].onRollOver = function() { trace( 'mc' + this.indexPos + ' onRollOver' ); } _root[ 'mc' + i ].onRollOut = function() { trace( 'mc' + this.indexPos + ' onRollOut' ); } } On 3/30/06, Alejandro Diaz [EMAIL PROTECTED] wrote: Heya guys, I am assigning the button behaviors to a set of movieclips through a for loop, however, I am coming up against something where I know what is happening, but don't know how to fix it. Basically, inside that for loop I assign each of the button behaviors as a function but I don't know how to evaluate the counter in the function, rather than having it just literally written into it. instead of section_+ _root.i being section_1, section_2, etc...it is literally written in each of the buttons as section_+_root.i and so each button has exactly the same code and all go to the last section (last value of i) when clicked. How can I have it so that each function has the proper code it in? is this even the proper way to go about this? Is there a way to 'force' the evaluation of that counter in that function when it is being assigned to the MC? code: function buttonBehavior ():Void { for (_root.i=1;_root.i8;_root.i++) { _root[mb_+_root.i].onRollOver = function() { this.gotoAndPlay(over); } _root[mb_+_root.i].onRollOut = function() { this.gotoAndPlay(out); } _root[mb_+_root.i].onRelease = function() { _root.gotoAndPlay(display_frame); loadMovie(section_+_root.i+.swf, load_target); } } } (btw, I added the _root. to each of the i's so that the function could 'see' it. thanks in advance! -Alex ___ 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] looking for some .NET to Flash tools
For the record, WebOrb Standard is free. On 3/30/06, Lee McColl-Sylvester [EMAIL PROTECTED] wrote: That's expensive though... Use Fluorine... It really kicks the lama's ass (to put it the way WinAmp does). Plus, it works for .NET web apps and desktop apps with direct assembly access WITH sessions. Something Macromedia's remoting doesn't even do. Try it Lee -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Peter Hall Sent: 30 March 2006 16:38 To: Flashcoders mailing list Subject: Re: [Flashcoders] looking for some .NET to Flash tools http://www.themidnightcoders.com/weborb/aboutWeborb.htm On 3/30/06, eric dolecki [EMAIL PROTECTED] wrote: remoting :) On 3/30/06, Brad Kozak [EMAIL PROTECTED] wrote: I'm working on a project that involves a .NET backend database. So far, we've successfully used XPath/XML to interface with the DB, but the database guy wants to eliminate the XML output. He's not willing to invest in ColdFusion, so I was wondering if anybody knows of a component that might make it easy (read: brain-dead simple) to interface with a .NET database. Thanks! -- Brad Kozak | Novel Idea, LLP www.Novel Idea | 806.584.5689 ___ 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] Counter in function assigned inside a for loop
Ryan, Absolutely. That's how I've handled things on my homepage. The answer I suggested to Alex was an effort to stay on point with regard to his question. I would also recommend that he set up named functions outside his buttonBehavior function. It may not be necessary for his current project, but cleaner, and would make sufficiently generic functions available for other elements. function btnROver(){ this.gotoAndPlay(over); } function btnROut(){ this.gotoAndPlay(out); } function btnRelease(){ this.gotoAndPlay(display_frame); loadMovie(this.href, load_target); } function buttonBehavior():Void { for (var i = 1; i 8; i++) { //do tmpMC = _root[mb_+i]; just once per loop //to save processing var tmpMC:MovieClip = _root[mb_+i]; // add a var to the mc that tracks it's content tmpMC.href = section_+i+.swf; //assign button behavior functions tmpMC.onRollOver = btnROver; tmpMC.onRollOut = btnROut; tmpMC.onRelease = btnRelease; } } buttonBehavior(); -Keith http://home.mn.rr.com/keithreinfeld ___ 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] createEmptyMovieClip for flash player 7
by the way: Peviously in flash7 i used to always attachMovie with an empty mc in the library, which i'll continue to do, thats the same exact result as creating an empty movie clip on stage with createEmptyMovieClipexcpet with attach movie you have to make sure that you have the symbol in the library, assign it a linkage name, and pass an extra parameter to the method call when you want your blank mc (createEmptyMovieClip(name,depth) vs. attachMovie(myblankClip, name , depth)). On 3/31/06, JesterXL [EMAIL PROTECTED] wrote: createEmptyMovieClip returns a reference to the movieclip it created, yes, just like attachMovie does. It did this in Flash 6, too. - Original Message - From: Peter O'Brien [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Thursday, March 30, 2006 10:34 AM Subject: [Flashcoders] createEmptyMovieClip for flash player 7 createEmptyMovieClip shouldn't return a mc for Flash Player 7, correct? I ask because my flash ide is telling me in a roundabout way it does, in my class: mcExample=stage.createEmptyMovieClip('mcExample',10); // in a separate method: trace(mcExample);// Output: level0.mcExample In flash IDE in publish settings, Flash Player 7 check. Is my IDE incorrectly using an advanced flash player in test movie? I don't need to understand this, but it would be nice to understand it. Peviously in flash7 i used to always attachMovie with an empty mc in the library, which i'll continue to do, it's just i'd like to understand the above, if anyone in the know has a minute. Thanks in advance. ___ 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] MTASC and spaces in classpath
Le 30 mars 06, à 16:26, Sam Thorne a écrit : I'm getting the error Class not found Support.Macromedia.Flash when my classpath is /Users/sam/Library/Application Support/Macromedia/Flash 8/en/Configuration/Classes Seems Mtasc doesn't like classpaths which have spaces in them on OS X, it tries to interpret the a directory name (such as Application Support, where the core classes are) as separate classes. Escape it : /Users/sam/Library/Application\ Support/Macromedia/Flash\ 8/en/Configuration/Classes erixtekila http://blog.v-i-a.net/ ___ 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] looking for some .NET to Flash tools
I don't think I would trust a product that says Flash AJAX client on its webpage. I saw that too and was wondering what they could possibly mean by that since it sounded like a direct oxymoron. Jason Merrill | E-Learning Solutions | icfconsulting.com -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of jim Sent: Thursday, March 30, 2006 12:24 PM To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] looking for some .NET to Flash tools I don't think I would trust a product that says Flash AJAX client on its webpage. Jim -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Peter Hall Sent: 30 March 2006 16:38 To: Flashcoders mailing list Subject: Re: [Flashcoders] looking for some .NET to Flash tools http://www.themidnightcoders.com/weborb/aboutWeborb.htm On 3/30/06, eric dolecki [EMAIL PROTECTED] wrote: remoting :) On 3/30/06, Brad Kozak [EMAIL PROTECTED] wrote: I'm working on a project that involves a .NET backend database. So far, we've successfully used XPath/XML to interface with the DB, but the database guy wants to eliminate the XML output. He's not willing to invest in ColdFusion, so I was wondering if anybody knows of a component that might make it easy (read: brain-dead simple) to interface with a .NET database. Thanks! -- Brad Kozak | Novel Idea, LLP www.Novel Idea | 806.584.5689 ___ 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 NOTICE: This message is for the designated recipient only and may contain privileged or confidential information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of this e-mail by you is prohibited. ___ 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 to excel?
You can use flash to collect your data into a CSV string, then you can pass this (in a web scenario) to a server side script to write it, or if you are using a projector like SWF Studio you can use its FileSys plugin. On 3/31/06, Flash guru [EMAIL PROTECTED] wrote: Is it possible for a flash projector file to write to an excel file? Maybe someone wrote a class for this? or maybe this isn't possible, who knows? ___ 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] converting/printing swf to eps
I save a swf to the server, and I need to retrieve an eps from it...any idea? Ron Wheeler wrote: What exactly do you want to do? Ron Gabriel wrote: Hi everybody... anybody knows a solution to convert/print from the server side a swf to eps?. cheers, GaB ___ 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] Flash to excel?
I do this with Director all the time - you should be able to do it with a Flash Projector and something like Zinc to write the file. I create a tab delimited file with an xls extension - on Windows this will show up in the OS as an excel file. Double clicking it will launch Excel. I've also done formulas in the cells as well, and this works. Just use the =SUM() (or whatever) format that you would manually type into the excel spreadsheet when creating the formula. August On 3/31/06, Flash guru [EMAIL PROTECTED] wrote: Is it possible for a flash projector file to write to an excel file? Maybe someone wrote a class for this? or maybe this isn't possible, who knows? ___ 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 -- - August Gresens Technical Director Black Hammer Productions, NYC [EMAIL PROTECTED] - ___ 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] MTASC and spaces in classpath
Erixtekila is right. you need to escape those spaces. A quick way to get your paths written correctly is to open up the directory that you are targeting in the Finder, then open Terminal. Next drag the folder in the Finder into the Terminal window and you will see how the path should be written there. You can then copy it from the terminal if you wish. It might be overkill, but it's nice to know that you got it right. especially with really long paths. I hope that helps. -Chris On 3/30/06, erixtekila [EMAIL PROTECTED] wrote: Le 30 mars 06, à 16:26, Sam Thorne a écrit : I'm getting the error Class not found Support.Macromedia.Flash when my classpath is /Users/sam/Library/Application Support/Macromedia/Flash 8/en/Configuration/Classes Seems Mtasc doesn't like classpaths which have spaces in them on OS X, it tries to interpret the a directory name (such as Application Support, where the core classes are) as separate classes. Escape it : /Users/sam/Library/Application\ Support/Macromedia/Flash\ 8/en/Configuration/Classes erixtekila http://blog.v-i-a.net/ ___ 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] Help with Flash Environment / Processes
2. Is there a build tool I can use to setup a centralized, automated build process? Java has JAnt, .NET has NAnt, etc. Is there one for Flash? Per the e-mail below it looks like there is. yes, you can use ant, it works very well with mtasc as a compiler. look at these tools for more information: http://osflash.org/AMES Interesting stuff, no question, and I've thought about fully making the jump into Eclipse for some time. But just wondering, are there any tutorials/articles that comprehensively walk one through the process of using all of these tools together on a project? I see that each tool has varying quantities of help info available, but am just trying to reduce the possible floundering about that might result from trying to integrate all of the tools together... Much thanks if anyone has a link or two... Kevin ___ 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] BitmapData, threshold and copyChannel bug (black pixels)! Help?
I'm applying a threshold() to a BitmapData instance and then using copyChannel() to copy it's red channel to the alpha channel of a different BitmapData instance. This is part of a technique I'm using to animate simulated brush strokes without any kind of tweens (just gradations). Much easier on the processor. Anyway, I whipped together a simple FLA file that isolates the problem (no brush strokes, sorry). Download the FLA at: http://www.greensock.com/threshold_bug.zip Publish the file and you'll see it work. But that's only because I implemented a hack on line 31 (copying pixels back in from a stored copy). Remove line 31 and you'll see the problem immediately. All of the pretty red/green/blue pixels that have ever been made transparent during the course of the animation (using the threshold()/copyChannel() technique) turn black and stay that way! No idea why. Am I doomed to a life of hacks? Is my code somehow flawed? Help? This project has to be finished in a matter of hours, so I'd appreciate your prompt responses. I'd be happy to share the final brush stroke effect with anyone who is interested once I get it working (I'm close). Jack ___ 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] TextField._yscale bug?
Hi, I have 2 textfields at the same _x position under each other. Both have the font embedded. Now I load the same text in both textfields. Then I change the the _yscale of the bottom one to -100, to create a mirror effect. The problem: the text is not anymore aligned. copy_txt.text = something; copyMirror_txt.text = something; copyMirror_txt._yscale = -100; Does anyone know a solution for this? Thanks, Pieter ___ 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] looking for some .NET to Flash tools
I can't speak for their diagram. But, when it was just FlashOrb, it was so far ahead of Macromedia Remoting it wasn't even funny. You asked for easy, and we really found that it was. We tried Macromedia Remoting for a while, and found that all of our problems went away when we switched. I've heard that OpenAmf is pretty easy too, but WebOrb seems to offer a lot more features, and has been around for a bit longer (as FlashOrb). Peter On 3/31/06, Merrill, Jason [EMAIL PROTECTED] wrote: I don't think I would trust a product that says Flash AJAX client on its webpage. I saw that too and was wondering what they could possibly mean by that since it sounded like a direct oxymoron. Jason Merrill | E-Learning Solutions | icfconsulting.com -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of jim Sent: Thursday, March 30, 2006 12:24 PM To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] looking for some .NET to Flash tools I don't think I would trust a product that says Flash AJAX client on its webpage. Jim -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Peter Hall Sent: 30 March 2006 16:38 To: Flashcoders mailing list Subject: Re: [Flashcoders] looking for some .NET to Flash tools http://www.themidnightcoders.com/weborb/aboutWeborb.htm On 3/30/06, eric dolecki [EMAIL PROTECTED] wrote: remoting :) On 3/30/06, Brad Kozak [EMAIL PROTECTED] wrote: I'm working on a project that involves a .NET backend database. So far, we've successfully used XPath/XML to interface with the DB, but the database guy wants to eliminate the XML output. He's not willing to invest in ColdFusion, so I was wondering if anybody knows of a component that might make it easy (read: brain-dead simple) to interface with a .NET database. Thanks! -- Brad Kozak | Novel Idea, LLP www.Novel Idea | 806.584.5689 ___ 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 NOTICE: This message is for the designated recipient only and may contain privileged or confidential information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of this e-mail by you is prohibited. ___ 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] Unresponsive buttons
Hi all! This may sound like a newbie problem, but i'm an experienced actionscript programmer! As you know, every once in a while, you get bit by the little things. i've built an app, and the buttons act strangely. When i click them, they don't respond reliably. When i roll over them, i see the finger icon. When i click them, *randomly* the button will either act properly OR my cursor on press will appear as the regular arrow and the button will not work. The button looks like the finger again when i release. It's very twitchy. Most of the buttons in question are back/next arrows made to cycle through multiple pages of content, so they need to stand up to many many clicks. Here's how i make them do what they do: 1. function on frame 1 called funcSetupBtns() 2. on frame 5, a few levels deep, a movie clip goes to a certain frame where the buttons appear, and funcSetupBtns is called 3. funcSetupBtns throws button actions to some the button clips from the main timeline i.e. clip1.clip2.clip3.thBtn.onRollOver = function():Void { trace(click); }; Here's what i've tried: 1. There was a theory that the buttons were too deeply nested to behave properly, but moving them up to the main timeline did not solve the problem 2. The buttons don't exist on the frame that declares (not calls - DECLARES) the function - it was suggested that i put the buttons on frame 1. But this did not solve the problem. 3. i have tried using standard movie clips as my buttons, and using transparent button clips (y'know - the blue things that have only hit states and nothing else) over top of my visible button clips. Movieclips/buttons - doesn't matter. The problem persists. Here's a bit of evidence: The buttons only REALLY start acting up when i introduce to the stage a puppet character. It's a clip with two nested clips for a profile and front view of the character. Each of these nests all of the character parts - arms, legs, etc. Each body piece houses x different costumed pieces. It seems to really slow down the fla ... could it be that just having one of these guys on the stage is tiring my flash file and the buttons are starting to give out? If that's the case, does anyone have any solutions to rebuilding this puppet character? The idea is that the user can mix n' match costume pieces. i have timeline animation where i animate the character, and i just tell the arms and legs etc to go to the frame the user chose. Is there a much better way to do this kind of thing? THANKS EVERYONE! Sorry for the long email. _ Take advantage of powerful junk e-mail filters built on patented Microsoft® SmartScreen Technology. http://join.msn.com/?pgmarket=en-capage=byoa/premxAPID=1994DI=1034SU=http://hotmail.com/encaHL=Market_MSNIS_Taglines Start enjoying all the benefits of MSN® Premium right now and get the first two months FREE*. ___ 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 to excel?
Ive seen it done... Look into the System class and using the clipboard. --- On Fri 03/31, Flash guru [EMAIL PROTECTED] wrote: From: Flash guru [mailto: [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Date: Fri, 31 Mar 2006 10:40:01 -0500 Subject: [Flashcoders] Flash to excel? Is it possible for a flash projector file to write to an excel file?Maybe someone wrote a class for this? or maybe this isn't possible, [EMAIL PROTECTED] change your subscription options or search the archive:http://chattyfig.figleaf.com/mailman/listinfo/flashcodersBrought to you by Fig Leaf SoftwarePremier Authorized Adobe Consulting and Traininghttp://www.figleaf.comhttp://training.figleaf.com ___ Join Excite! - http://www.excite.com The most personalized portal on the Web! ___ 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] Recommendation on good AS 2.0 framework code?
there are a few extensions to arp that make it a little easier, my favortie being Grant Davies system controller/command controller extension: http://theresidentalien.typepad.com/ginormous/2005/10/extending_arp.html also you would probably want to search the archives for 'ModelLocator', which adds a model to arp. there On 3/29/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: i'm getting into arp, but I would highly recommend looking up on jesse's site for his rendition of it, much more flexible. Its good if you are doing application based work, if not.. its too much. ARP: http://www.osflash.org/arp Cairngorn: http://www.macromedia.com/devnet/flex/articles/cairngorm_pt1_02.html William Gibson: http://en.wikipedia.org/wiki/William_Gibson_%28novelist%29 - respect! Mike ___ 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 and input type=file....
Hi, is it possible show in a flash (Flash 2004 MX) a input type file form in order to catch user file selection? Basically, I need to show an html form inside a flash movie. Is there any flash component to show that? I know Flash 8 has upload files capabilities but Flash Mx 2004 is requiered in my project. Thanks and regards ___ 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] Recommendation on good AS 2.0 framework code?
Rich, Thanks for the link. It's timely. Stay well, Honeyghan On 3/30/06, Rich Rodecker [EMAIL PROTECTED] wrote: there are a few extensions to arp that make it a little easier, my favortie being Grant Davies system controller/command controller extension: http://theresidentalien.typepad.com/ginormous/2005/10/extending_arp.html also you would probably want to search the archives for 'ModelLocator', which adds a model to arp. there On 3/29/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: i'm getting into arp, but I would highly recommend looking up on jesse's site for his rendition of it, much more flexible. Its good if you are doing application based work, if not.. its too much. ARP: http://www.osflash.org/arp Cairngorn: http://www.macromedia.com/devnet/flex/articles/cairngorm_pt1_02.html William Gibson: http://en.wikipedia.org/wiki/William_Gibson_%28novelist%29 - respect! Mike ___ 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] Counter in function assigned inside a for loop
Thanks guys! I was cracking my head over this one (lack of sleep didn't help much), and of course, figures that right around the time I send this question I stop receiving all emails from Flashcoders (did it break for anyone else?). Anyways, great help and pointers and I will experiment with these tonight. Thank you all! -Alex ___ 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] Recommendation on good AS 2.0 framework code?
no problem...also, i had previously uploaded to my site cristophe's ModelLocator samples, so here is a link to those as well: http://www.visible-form.com/arp_extensions.zip On 3/31/06, Honeyghan [EMAIL PROTECTED] wrote: Rich, Thanks for the link. It's timely. Stay well, Honeyghan On 3/30/06, Rich Rodecker [EMAIL PROTECTED] wrote: there are a few extensions to arp that make it a little easier, my favortie being Grant Davies system controller/command controller extension: http://theresidentalien.typepad.com/ginormous/2005/10/extending_arp.html also you would probably want to search the archives for 'ModelLocator', which adds a model to arp. there On 3/29/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: i'm getting into arp, but I would highly recommend looking up on jesse's site for his rendition of it, much more flexible. Its good if you are doing application based work, if not.. its too much. ARP: http://www.osflash.org/arp Cairngorn: http://www.macromedia.com/devnet/flex/articles/cairngorm_pt1_02.html William Gibson: http://en.wikipedia.org/wiki/William_Gibson_%28novelist%29 - respect! Mike ___ 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] Counter in function assigned inside a for loop
oops I missed paste it complete... var totalMovieClips:Number = 3; for ( var i = 0; i totalMovieClips; i ++ ) { _root['mc' + i].indexPos = i; _root[ 'mc' + i ].onRelease = function() { trace( 'mc' + this.indexPos + ' onRelease' ); } _root[ 'mc' + i ].onRollOver = function() { trace( 'mc' + this.indexPos + ' onRollOver' ); } _root[ 'mc' + i ].onRollOut = function() { trace( 'mc' + this.indexPos + ' onRollOut' ); } } On 3/30/06, Ing. Mario Falomir [EMAIL PROTECTED] wrote: Hi Alex, here is an example that could help you and illustrate how to accomplish what you want var totalMovieClips:Number = 3; for ( var i = 0; i totalMovieClips; i ++ ) { _root['mc' + i].indexPos = i; _root[ 'mc' + i ].onRelease = function() { trace( 'mc' + this.indexPos + ' onRelease' ); } _root[ 'mc' + i ].onRollOver = function() { trace( 'mc' + this.indexPos + ' onRollOver' ); } _root[ 'mc' + i ].onRollOut = function() { trace( 'mc' + this.indexPos + ' onRollOut' ); } } On 3/30/06, Alejandro Diaz [EMAIL PROTECTED] wrote: Heya guys, I am assigning the button behaviors to a set of movieclips through a for loop, however, I am coming up against something where I know what is happening, but don't know how to fix it. Basically, inside that for loop I assign each of the button behaviors as a function but I don't know how to evaluate the counter in the function, rather than having it just literally written into it. instead of section_+ _root.i being section_1, section_2, etc...it is literally written in each of the buttons as section_+_root.i and so each button has exactly the same code and all go to the last section (last value of i) when clicked. How can I have it so that each function has the proper code it in? is this even the proper way to go about this? Is there a way to 'force' the evaluation of that counter in that function when it is being assigned to the MC? code: function buttonBehavior ():Void { for (_root.i=1;_root.i8;_root.i++) { _root[mb_+_root.i].onRollOver = function() { this.gotoAndPlay(over); } _root[mb_+_root.i].onRollOut = function() { this.gotoAndPlay(out); } _root[mb_+_root.i].onRelease = function() { _root.gotoAndPlay(display_frame); loadMovie(section_+_root.i+.swf, load_target); } } } (btw, I added the _root. to each of the i's so that the function could 'see' it. thanks in advance! -Alex ___ 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] converting/printing swf to eps
How are the swf's generated in the first place? Instead of doing something-swf-eps you can do: something-swf something-eps -David R On 3/30/06, Gabriel [EMAIL PROTECTED] wrote: I save a swf to the server, and I need to retrieve an eps from it...any idea? Ron Wheeler wrote: What exactly do you want to do? Ron Gabriel wrote: Hi everybody... anybody knows a solution to convert/print from the server side a swf to eps?. cheers, GaB ___ 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] Convert swf to exe
On 3/31/06, Lieven Cardoen [EMAIL PROTECTED] wrote: When I compile with flash, the swf has different behaviour than compiled with mtasc. But I need the exe so... You should report this to the author of mtasc, he tries to make his compiler as compatible as possible. Anything that compiles in mtasc, should be able to compile in MMC with the same results. -David R ___ 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] Convert swf to exe
If you open the SWF in the Flash Player (version on your computer, not browser), just go File Create Projector from the menu in the player. I'm not familiar with MTASC to know what it will effect. On 4/1/06, David Rorex [EMAIL PROTECTED] wrote: On 3/31/06, Lieven Cardoen [EMAIL PROTECTED] wrote: When I compile with flash, the swf has different behaviour than compiled with mtasc. But I need the exe so... You should report this to the author of mtasc, he tries to make his compiler as compatible as possible. Anything that compiles in mtasc, should be able to compile in MMC with the same results. -David R ___ 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] Help with try..catch and extending Error
Hi, I created an interface named Exception and an AbstractException class that extends Error and implements Exception. AbstractException has a few private properties that I want to use to determine if the exception was fatal and add a trace stack, debug option, etc. If I import an Exception class that extends AbstractException (example MyCustomException) into a new fla, I can trace the properties when the error is caught. If I use the class within another class, only the message is output. Using a trace in the finally block results in the code from finally being output prior to the error message. I suspect that the error is not being caught. Any help or insight would be greatly appreciated. This is new ground for me, so I'm at a loss... Thanks, Paul Marcotte Fancy Bread Multimedia email: [EMAIL PROTECTED] ___ 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