RE: [Flashcoders] Flash 8 OSX - Classpath woes
On pc, the X conflicts with the name of another class X appears when you declare and use variable of type A in class B and a variable of type B in class A. (To solve it you have add import A; before class B and import B; before class A, then to click check syntax button 2 or 3 time until the errors stopped appear. Maybe it can give you a hint to your problem on the mac. See details on : http://ericlin2.tripod.com/as2/conflict.html. Nimrod -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steven Sacks Sent: Sunday, May 06, 2007 1:40 AM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] Flash 8 OSX - Classpath woes Calling all OSX Flash users: Does the classpath ./classes Not work on a mac? I'm getting tons of errors and warning when I publish on a Mac. These files compile just fine on Windows. Line 28: The name of this class, 'net.stevensacks.gaia.core.SiteModel', conflicts with the name of another class that was loaded, 'net.stevensacks.gaia.core.SiteModel'. class net.stevensacks.gaia.core.SiteModel That class declaration is line 28, btw. How can a class conflict with itself? -- Steven Sacks Flash Maestro Los Angeles, CA -- blog: http://www.stevensacks.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] Re: getting XML response body when HTTP status is not 200
VK Another thought: AS3 seems to have a generic Socket class. Is there VK anything like this in AS2? Not as generic as in AS3, but there is XMLSocket class in AS2, which handles not only XML formatted data, but any textual content terminated by a zero byte. Thus it is not suitable for directly handling HTTP requests/responses, and needs a special server taking care of this zero ending, but there are a lot of them out there. Attila ___ 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] Re: getting XML response body when HTTP status is not 200
I see 3 possible solutions for your problem: 1. change the webservice to return status 200 on errors, too, and use something else for indicating errors instead of the HTTP status code 2. if the above one is not possible, then create a proxy which forwards your requests to the webservice and sends back its response with a modified status code 3. a socket server, which does almost the same as the proxy, but I think it is far less efficient as the previous ones in this case (it needs not only a server-side addition, but also some changes in the client-side script) Attila ___ 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] Survey about web applications
Just a little non-scientific survey about web applications. Please, be so kind a fill in this survery when you find the time. You can find the survey at: http://tinyurl.com/29ydgj Thanks! Weyert ___ 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 XML response body when HTTP status is not 200
Where do you actually get your XML? I noticed some time ago, that it makes a difference, if I use the onLoad in my listener object and then use the XML object itself. Instead you could use onData(src:String) whenever you have a response of type 400 and parse your XML manually in this case. See (http://livedocs.adobe.com/flash/8/main/2874.html) for onData. It says: This handler is invoked before the XML is parsed, and you can use it to call a custom parsing routine instead of using the Flash XML parser. So perhaps FlashPlayer is receiving your XML body, but fails parsing when using onLoad(). hth *without warranty*, Matthias 2007/4/28, Vishal Kapur [EMAIL PROTECTED]: I am loading an XML response from a web service using XML.load(). The web service is defined such that when a request is made with parameters that are not in the bounds of the application, it will return an XML response with an error code/message. This response will have an HTTP header status of 400 (Bad Request). When I use XML.load(), however, I find that the XML in the body of the error response does not get loaded into the XML object. It looks like whenever the HTTP response comes back with a status that indicates an error, the body of the response is thrown away. I would like to be able to get the body of the response in all cases. Does anyone know of a way around this? Or is there another class that is more appropriate for what I am trying to do? Thanks, Vishal ___ 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] Survey about web applications
On 5/7/07, Weyert de Boer [EMAIL PROTECTED] wrote: Just a little non-scientific survey about web applications. Please, be so kind a fill in this survery when you find the time. I think question #1 should be more specific -- is /watching/ videos on YouTube using it, or would I have to upload videos myself? Also, will you share the results? Mark ___ 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] specific filter
Hi, Is there any filter that can change only the specific color in the given movieclip. Any help is greatly appreciated. Thax regards, Xian. ___ 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 8 OSX - Classpath woes
The problem was that the class was conflicting with itself, not another class. X conflicts with the name of the same class as itself X. Don't know what it was or how it was possible. Clearing the ASO on both machines fixed it. Nimrod Huberman wrote: On pc, the X conflicts with the name of another class X appears when you declare and use variable of type A in class B and a variable of type B in class A. (To solve it you have add import A; before class B and import B; before class A, then to click check syntax button 2 or 3 time until the errors stopped appear. Maybe it can give you a hint to your problem on the mac. See details on : http://ericlin2.tripod.com/as2/conflict.html. Nimrod -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steven Sacks Sent: Sunday, May 06, 2007 1:40 AM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] Flash 8 OSX - Classpath woes Calling all OSX Flash users: Does the classpath ./classes Not work on a mac? I'm getting tons of errors and warning when I publish on a Mac. These files compile just fine on Windows. Line 28: The name of this class, 'net.stevensacks.gaia.core.SiteModel', conflicts with the name of another class that was loaded, 'net.stevensacks.gaia.core.SiteModel'. class net.stevensacks.gaia.core.SiteModel That class declaration is line 28, btw. How can a class conflict with itself? -- Steven Sacks Flash Maestro Los Angeles, CA -- blog: http://www.stevensacks.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] OT: Spiderman 3 === Worst movie ever
Spiderman 3: So bad, I have to post OT on Flashcoders to warn my colleagues to avoid it at all costs. Never see Spiderman 3. Ever. Go your whole life without seeing it. It might be the worst movie ever made. Seriously. It was unbelievable how bad it was. Of the people who did not walk out, a huge amount booed at the end (myself included). Many people walked out. I felt I should have, too, and I have never walked out of a movie. The theater was packed at the beginning and maybe 2/3 full at the end. There were more scenes than I can count where you could hear the whole audience groaning at how ridiculously stupid it was. ___ 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] Reference problem
Hi, I have put my main code for the fla in a class that I call Main. The class loads fine, but I can't get a reference to it! It's undefined. This is the code on the first layer of the fla: var main:Object = new Main(); ..and this is the class' code: import mx.utils.Delegate; import gs.dataTransfer.XMLParser; class Main { private var myCSS:TextField.StyleSheet; private var cssURL:String = main.css; private var xml:XML; private var xmlURL:String; private var tournaments:Object; private var updates:Object; public function Main() { tournaments = new Object(); updates = new Object(); _root.flap1_mc.activate(); loadCSS(); } private function loadCSS():Void { myCSS = new TextField.StyleSheet(); myCSS.load(cssURL); myCSS.onLoad = Delegate.create(this, onLoadCSS); } private function onLoadCSS(success:Boolean):Void { if (success) { var txt:String = 'h2joha/h2'+ 'h3zona pellicia accinctis /h3'+ 'phaec at illi a href=http://www.google.com;dixerunt/a /p'; _root.report_txt.styleSheet = myCSS; _root.foldOut_mc.menu_txt.styleSheet = myCSS; _root.report_txt.htmlText = txt; //_root.foldOut_mc.menu_txt.htmlText = txt; XMLParser.load(tournaments.xml, Delegate.create(this, onLoadTournamentsXML), tournaments); XMLParser.load(updates.xml, Delegate.create(this, onLoadUpdatesXML), updates); } } private function onLoadTournamentsXML(success:Boolean, results_obj:Object, xml:XML):Void { if (success) { var menu:TextField = _root.foldOut_mc.menu_txt; menu.htmlText = ''; for(var i:Number=0; i tournaments.liveTournament.length; i++) { var node:Array = tournaments.liveTournament[i]; menu.htmlText += 'h4a href=asfunction:_root.loadEvent,'+ node.id +''+ node.name[0].value +'/a/h4'+ 'p'+ node.startDate[0].value +'/p\n\np/p'; } } else { trace(XML Problem + success); } } public function loadEvent2(_arg:String):Void { trace(hej); } private function onLoadUpdatesXML(success:Boolean, results_obj:Object, xml:XML):Void { if (success) { //trace(updates.liveUpdate[1].title[0].value); } else { trace(XML Problem + success); } } } -- Johan Nyberg Web Guide Partner Sergels Torg 12, 8 tr 111 57 Stockholm 070 - 407 83 00 ___ 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] OT: Spiderman 3 === Worst movie ever
Completely disagree. The packed out cinema I watched it in laughed, hissed (at an appropriate moment) and gave a round of applause at the end. It's different, not bad. Spiderman 3: So bad, I have to post OT on Flashcoders to warn my colleagues to avoid it at all costs. Never see Spiderman 3. Ever. Go your whole life without seeing it. It might be the worst movie ever made. Seriously. It was unbelievable how bad it was. Of the people who did not walk out, a huge amount booed at the end (myself included). Many people walked out. I felt I should have, too, and I have never walked out of a movie. The theater was packed at the beginning and maybe 2/3 full at the end. There were more scenes than I can count where you could hear the whole audience groaning at how ridiculously stupid it was. ___ 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] OT: Spiderman 3 === Worst movie ever
I couldn't agree more. On 5/7/07, Steven Sacks [EMAIL PROTECTED] wrote: Spiderman 3: So bad, I have to post OT on Flashcoders to warn my colleagues to avoid it at all costs. Never see Spiderman 3. Ever. Go your whole life without seeing it. It might be the worst movie ever made. Seriously. It was unbelievable how bad it was. Of the people who did not walk out, a huge amount booed at the end (myself included). Many people walked out. I felt I should have, too, and I have never walked out of a movie. The theater was packed at the beginning and maybe 2/3 full at the end. There were more scenes than I can count where you could hear the whole audience groaning at how ridiculously stupid it was. ___ 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 -- Pieter Michels ___ 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 playback from DVD
Hi Rich, Going a bit off topic, but have you ever had a kind of hick up every time an flv starts playback. I am having my Zinc created exe start with playing a intro video clip and it always starts with a little stutter or hick up. I guess this is some loading issue, but don't know what to do to solve it... Thanks, NIk On 5/4/07, Lists [EMAIL PROTECTED] wrote: Do you mean you want to switch from DVD to net-based delivery? You can't stream from a DVD. If you had a kiosk situation, I guess you could setup a local server and point to the DVD as your asset repository, but you can't do that if you're distributing the DVD. There are a few other things you can do to check for the end of the DVD. You can check for current time and compare it against the duration parsed from the metadata (assuming your encoder has added it and it is reliable). You can let the FLVPlayback component handle the event for you (which has other issues which have been discussed here, namely seeking). If you think the playback will be very reliable because the files are local, you can check for NetStream.Buffer.Empty (The only trouble there is, the buffer can empty and refill if the playback data transfer is choppy. I had that happen from my boot drive a day or two ago, because it was chugging on something else, so it could probably happen with DVD playback.) There are further options, but I'm drawing a blank at the moment. Rich Shupe ___ 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 -- Nik C ___ 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] Reference problem
How are you instantantiating it? I just went... import Main; var main:Main = new Main; Seems to load fine... As expected I do get a problem with the XMLParser as I dont have it... More info? Shaun. On 07/05/2007, at 7:58 PM, Johan Nyberg wrote: import mx.utils.Delegate; import gs.dataTransfer.XMLParser; class Main { private var myCSS:TextField.StyleSheet; private var cssURL:String = main.css; private var xml:XML; private var xmlURL:String; private var tournaments:Object; private var updates:Object; public function Main() { tournaments = new Object(); updates = new Object(); _root.flap1_mc.activate(); loadCSS(); } private function loadCSS():Void { myCSS = new TextField.StyleSheet(); myCSS.load(cssURL); myCSS.onLoad = Delegate.create(this, onLoadCSS); } private function onLoadCSS(success:Boolean):Void { if (success) { var txt:String = 'h2joha/h2'+ 'h3zona pellicia accinctis /h3'+ 'phaec at illi a href=http:// www.google.comdixerunt/a /p'; _root.report_txt.styleSheet = myCSS; _root.foldOut_mc.menu_txt.styleSheet = myCSS; _root.report_txt.htmlText = txt; //_root.foldOut_mc.menu_txt.htmlText = txt; XMLParser.load(tournaments.xml, Delegate.create(this, onLoadTournamentsXML), tournaments); XMLParser.load(updates.xml, Delegate.create(this, onLoadUpdatesXML), updates); } } private function onLoadTournamentsXML(success:Boolean, results_obj:Object, xml:XML):Void { if (success) { var menu:TextField = _root.foldOut_mc.menu_txt; menu.htmlText = ''; for(var i:Number=0; i tournaments.liveTournament.length; i++) { var node:Array = tournaments.liveTournament[i]; menu.htmlText += 'h4a href=asfunction:_root.loadEvent,'+ node.id +''+ node.name [0].value +'/a/h4'+ 'p'+ node.startDate[0].value +'/p\n\np/p'; } } else { trace(XML Problem + success); } } public function loadEvent2(_arg:String):Void { trace(hej); } private function onLoadUpdatesXML(success:Boolean, results_obj:Object, xml:XML):Void { if (success) { //trace(updates.liveUpdate[1].title[0].value); } else { trace(XML Problem + success); } } } -- Shaun O'Connor | +61 430 303 363 | [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] getting XML response body when HTTP status is not 200
On Sat, Apr 28, 2007 at 10:41:02AM -0700, Vishal Kapur wrote: I am loading an XML response from a web service using XML.load(). The web service is defined such that when a request is made with parameters that are not in the bounds of the application, it will return an XML response with an error code/message. This response will have an HTTP header status of 400 (Bad Request). When I use XML.load(), however, I find that the XML in the body of the error response does not get loaded into the XML object. It looks like whenever the HTTP response comes back with a status that indicates an error, the body of the response is thrown away. I would like to be able to get the body of the response in all cases. General issue with the handling of HTTP errors, I think, http://www.adobe.com/go/3c6784bc ta, dave -- http://david.holroyd.me.uk/ ___ 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] OT: Spiderman 3 === Worst movie ever
Before we get flamed for being OT, I just want to get this in. I think the movie was excellent, and I am, to put it mildly, an incredibly picky movie eater. But specifically. Two things stand out. 1. The evil spiderman is one of the funniest characters I have seen in a long time. e.g. To silly girl next door: Yeah go make me some cookies with nuts in them, and go get me some milk, and the white guy dorky guy who thinks he's cool and kinda is but *reeely* isnt. Absolutely hilarious. Tobey Maguire is an excellent actor. 2. The sandman is one of the most amazing special effects on the big screen... ever. I think its the kind of thing that makes pixar look lame. (and I dont think pixar is lame). I was in awe. Hank On 5/7/07, Steven Sacks [EMAIL PROTECTED] wrote: Spiderman 3: So bad, I have to post OT on Flashcoders to warn my colleagues to avoid it at all costs. Never see Spiderman 3. Ever. Go your whole life without seeing it. It might be the worst movie ever made. Seriously. It was unbelievable how bad it was. Of the people who did not walk out, a huge amount booed at the end (myself included). Many people walked out. I felt I should have, too, and I have never walked out of a movie. The theater was packed at the beginning and maybe 2/3 full at the end. There were more scenes than I can count where you could hear the whole audience groaning at how ridiculously stupid it was. ___ 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] OT: Spiderman 3 === Worst movie ever
Nice story action line up together. I like Spiderman:3 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steven Sacks Sent: Monday, May 07, 2007 2:38 PM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] OT: Spiderman 3 === Worst movie ever Spiderman 3: So bad, I have to post OT on Flashcoders to warn my colleagues to avoid it at all costs. Never see Spiderman 3. Ever. Go your whole life without seeing it. It might be the worst movie ever made. Seriously. It was unbelievable how bad it was. Of the people who did not walk out, a huge amount booed at the end (myself included). Many people walked out. I felt I should have, too, and I have never walked out of a movie. The theater was packed at the beginning and maybe 2/3 full at the end. There were more scenes than I can count where you could hear the whole audience groaning at how ridiculously stupid it was. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Question on removeEventListener and Delegate callback
I was wondering if I am doing something correctly when adding listeners to objects. My question is, if I remove the listener is the code below then the right way. Do I use the Proxy class (or mx.utils.Delegate) also when I remove the listener?? //adding a listener this.currentDisplayObject.addEventListener('onContentCleared' , utils.Proxy.create(this , onBlockContentDestoyed , 'text ' , url)) //removing it this.currentDisplayObject.removeEventListener('onContentCleared' , utils.Proxy.create(this , onBlockContentDestoyed)) Thank you Jiri John Trentini wrote: Hi guys, I want to create as many text fields (which eventually I would like to turn into buttons) as the length of an array. I also want to use the content of the array to populate the text of the fields created dynamically. I have tried everything I know but all I seem to get is one filed with the lasat item in the array, sheesh! I've gone absolutely mad on this one (newish to actionScript, I am!) but can anyone tell me what I am doing wrong here? I could do with a helping hand or seven =:-) var myTxt:Array = new Array(branding, news, about us, print, marks, contact); var myX = 430; var menuArray:Array = new Array(); var ySpacing:Number = 90; // /*create textFields**/ // // for(i=0; imyTxt.length; i++) { _root.createTextField(mytext+[i], 1, myX, 0, 100, 30); myId = _root[mytext+[i]]; myId._y = ySpacing; ySpacing += 40; // trace(myTxt[i]);//the trace works, it list all tyhe lements in the array but myId.text = myTxt[i]; // this one in not producing the appropriate results // myId.border = false; myformat = new TextFormat(); myformat.font = Verdana; myformat.size = 14; myformat.bold = true; myformat.color = 0x55; myformat.align = right; // myId.selectable = false; myId.setTextFormat(myformat); //myId.text = myTxt[i]; //tried putting it at the end but no dah! // } ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Question on removeEventListener and Delegate callback
I don't know what does your utils.Proxy.create() method do exactly, but mx.utils.Delegate.create() always returns a new Function instance, thus it cannot be used directly in removeEventListener() calls. Store the function reference passed to addEventListener and use it in removeEventListener(), too: myEventHandler = mx.utils.Delegate.create(this, onMyEvent); foo.addEventListener('myEvent', myEventHandler); ... foo.removeEventListener('myEvent', myEventHandler); If your Proxy class takes care about always returning the same Function instance for the same arguments (I doubt it), then you can use it as you wrote. Attila JHdo I was wondering if I am doing something correctly when adding listeners JHdo to objects. My question is, if I remove the listener is the code below JHdo then the right way. Do I use the Proxy class (or mx.utils.Delegate) also JHdo when I remove the listener?? JHdo JHdo //adding a listener JHdo this.currentDisplayObject.addEventListener('onContentCleared' , JHdo utils.Proxy.create(this , onBlockContentDestoyed , 'text ' , url)) JHdo JHdo //removing it JHdo this.currentDisplayObject.removeEventListener('onContentCleared' , JHdo utils.Proxy.create(this , onBlockContentDestoyed)) ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Question on removeEventListener and Delegate callback
Hello :) use a variable to register your virtual proxy function : var listener = utils.Proxy.create(this , onBlockContentDestoyed , 'text ' , url) ; this.currentDisplayObject.addEventListener('onContentCleared' , listener ) ; //removing it this.currentDisplayObject.removeEventListener('onContentCleared' , listener ) ; Now you can keep the variable in memory ;) PS : if you want use a better event model, you can try my event model in my opensource framework VEGAS : http://code.google.com/p/vegas Install VEGAS : http://code.google.com/p/vegas/wiki/InstallVEGASwithSVN Read the tutorials about the W3C event model : http://code.google.com/p/vegas/wiki/VegasTutorialsEvents For me .. it's more easy with this implementation. eKA+ :) 2007/5/7, Jiri Heitlager | dadata.org [EMAIL PROTECTED]: I was wondering if I am doing something correctly when adding listeners to objects. My question is, if I remove the listener is the code below then the right way. Do I use the Proxy class (or mx.utils.Delegate) also when I remove the listener?? //adding a listener this.currentDisplayObject.addEventListener('onContentCleared' , utils.Proxy.create(this , onBlockContentDestoyed , 'text ' , url)) //removing it this.currentDisplayObject.removeEventListener('onContentCleared' , utils.Proxy.create(this , onBlockContentDestoyed)) Thank you Jiri John Trentini wrote: Hi guys, I want to create as many text fields (which eventually I would like to turn into buttons) as the length of an array. I also want to use the content of the array to populate the text of the fields created dynamically. I have tried everything I know but all I seem to get is one filed with the lasat item in the array, sheesh! I've gone absolutely mad on this one (newish to actionScript, I am!) but can anyone tell me what I am doing wrong here? I could do with a helping hand or seven =:-) var myTxt:Array = new Array(branding, news, about us, print, marks, contact); var myX = 430; var menuArray:Array = new Array(); var ySpacing:Number = 90; // /*create textFields**/ // // for(i=0; imyTxt.length; i++) { _root.createTextField(mytext+[i], 1, myX, 0, 100, 30); myId = _root[mytext+[i]]; myId._y = ySpacing; ySpacing += 40; // trace(myTxt[i]);//the trace works, it list all tyhe lements in the array but myId.text = myTxt[i]; // this one in not producing the appropriate results // myId.border = false; myformat = new TextFormat(); myformat.font = Verdana; myformat.size = 14; myformat.bold = true; myformat.color = 0x55; myformat.align = right; // myId.selectable = false; myId.setTextFormat(myformat); //myId.text = myTxt[i]; //tried putting it at the end but no dah! // } ___ 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] specific filter
The Color Transform class that became available in Flash 8 might be a good approach for changing at least some components of a move clip (changing color and/or alpha property). -- Bob Hadsell From: Prince Zain [EMAIL PROTECTED] Reply-To: flashcoders@chattyfig.figleaf.com To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] specific filter Date: Mon, 7 May 2007 13:35:38 +0530 Hi, Is there any filter that can change only the specific color in the given movieclip. Any help is greatly appreciated. Thax regards, Xian. ___ 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 _ Exercise your brain! Try Flexicon. http://games.msn.com/en/flexicon/default.htm?icid=flexicon_hmemailtaglineapril07 ___ 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] flv playback, event not firing
Hi, I am having a big problem with an event not firing unless the video is encoded with flix pro (of which i only have the demo) the code is below and i can't seem to find anything wrong with it, or is there? should i use the 'FLVPlayback' component? What woudl teh code be in that case? //playback intro clip //var videoPath = mdm.Application.path+data/intro/intro.flv; var videoPath = data/intro/intro.flv var nc:NetConnection = new NetConnection(); nc.connect(null); var ns:NetStream = new NetStream(nc); IntroClip_video.attachVideo (ns); ns.play (videoPath); ns.onStatus = function(info) { trace(ns.time); if (info.code == NetStream.Play.Stop) { trace(info.code); gotoAndPlay(10); } } Thank you very much! Nik ___ 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] OT -- job opening
Intertech Media in Stamford, CT is looking for intermediate level Flash programmers. Fluency in AS2 and Flash 8 is required. Familiarity w/ AS3 and Flex Builder is a huge plus. We are looking for someone who can work on site in Stamford. If you'd like to send a resume, or have questions, please contact me off-list. Thanks, Lance PS. Yes, this is a legit email address -- I always sign up for lists using my spam address just in case. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Question on removeEventListener and Delegatecallback
Hello :) VEGAS is full open.. with a MPL licence you can do commercial project with VEGAS, no problemo :) The AS3 version of VEGAS is in alpha version for the moment.. i have implements a VEGAS implementation in AS3 but i think do a big refactoring this summer over the AS3 version :) For the moment i finish the final version of the AS2 library. EKA+ :) 2007/5/7, Ken Rogers [EMAIL PROTECTED]: Hi Eka! I have been secretly becoming addicted to VEGAS. I guess It isn't secret anymore :P I wanted to ask you if it was alright to use VEGAS for a commercial project I am starting this week. It is a kids/parent community site (8-12yrs old or tweens). I will also take advantage of this note to say hi to Nicolas, Daniel, Ian ! I have been so busy lately I have not had any time to work with OpenGL / SDL(puke) / Haxe. And big congratulations Nicolas. It sounds as though the good life has scooped you up and started you on a nice trip!I have a 2 and 4 yr old little girls and wouldn't trade it for anything. all starts with getting hitched!(which I thought I would NEVER EVER do) :) Thanks for the awesome work on VEGAS Eka. Also is there something that explains the differences in the AS2 and AS3 versions? Are they only in how the view is handled? Is it not wise to do a project initially in AS2 then move it to the AS3 version? Thanks, Ken Rogers (howdy Hank Williams! you spider man geek :P) -Original Message- From: [EMAIL PROTECTED] on behalf of eka Sent: Mon 5/7/2007 6:00 AM To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] Question on removeEventListener and Delegatecallback Hello :) use a variable to register your virtual proxy function : var listener = utils.Proxy.create(this , onBlockContentDestoyed , 'text ' , url) ; this.currentDisplayObject.addEventListener('onContentCleared' , listener ) ; //removing it this.currentDisplayObject.removeEventListener('onContentCleared' , listener ) ; Now you can keep the variable in memory ;) PS : if you want use a better event model, you can try my event model in my opensource framework VEGAS : http://code.google.com/p/vegas Install VEGAS : http://code.google.com/p/vegas/wiki/InstallVEGASwithSVN Read the tutorials about the W3C event model : http://code.google.com/p/vegas/wiki/VegasTutorialsEvents For me .. it's more easy with this implementation. eKA+ :) 2007/5/7, Jiri Heitlager | dadata.org [EMAIL PROTECTED]: I was wondering if I am doing something correctly when adding listeners to objects. My question is, if I remove the listener is the code below then the right way. Do I use the Proxy class (or mx.utils.Delegate) also when I remove the listener?? //adding a listener this.currentDisplayObject.addEventListener('onContentCleared' , utils.Proxy.create(this , onBlockContentDestoyed , 'text ' , url)) //removing it this.currentDisplayObject.removeEventListener('onContentCleared' , utils.Proxy.create(this , onBlockContentDestoyed)) Thank you Jiri John Trentini wrote: Hi guys, I want to create as many text fields (which eventually I would like to turn into buttons) as the length of an array. I also want to use the content of the array to populate the text of the fields created dynamically. I have tried everything I know but all I seem to get is one filed with the lasat item in the array, sheesh! I've gone absolutely mad on this one (newish to actionScript, I am!) but can anyone tell me what I am doing wrong here? I could do with a helping hand or seven =:-) var myTxt:Array = new Array(branding, news, about us, print, marks, contact); var myX = 430; var menuArray:Array = new Array(); var ySpacing:Number = 90; // /*create textFields**/ // // for(i=0; imyTxt.length; i++) { _root.createTextField(mytext+[i], 1, myX, 0, 100, 30); myId = _root[mytext+[i]]; myId._y = ySpacing; ySpacing += 40; // trace(myTxt[i]);//the trace works, it list all tyhe lements in the array but myId.text = myTxt[i]; // this one in not producing the appropriate results // myId.border = false; myformat = new TextFormat(); myformat.font = Verdana; myformat.size = 14; myformat.bold = true; myformat.color = 0x55; myformat.align = right; // myId.selectable = false; myId.setTextFormat(myformat); //myId.text = myTxt[i]; //tried putting it at the end but no dah! // } ___ 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
RE: [Flashcoders] Question on removeEventListener and Delegatecallback
Thanks for the info. I will keep you posted on my progress via google code so you can show commercial work being done with VEGAS. Also let me know when you would like the AS3 version tested out in any way :) Keep up the super() work, Ken -Original Message- From: [EMAIL PROTECTED] on behalf of eka Sent: Mon 5/7/2007 9:41 AM To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] Question on removeEventListener and Delegatecallback Hello :) VEGAS is full open.. with a MPL licence you can do commercial project with VEGAS, no problemo :) The AS3 version of VEGAS is in alpha version for the moment.. i have implements a VEGAS implementation in AS3 but i think do a big refactoring this summer over the AS3 version :) For the moment i finish the final version of the AS2 library. EKA+ :) 2007/5/7, Ken Rogers [EMAIL PROTECTED]: Hi Eka! I have been secretly becoming addicted to VEGAS. I guess It isn't secret anymore :P I wanted to ask you if it was alright to use VEGAS for a commercial project I am starting this week. It is a kids/parent community site (8-12yrs old or tweens). I will also take advantage of this note to say hi to Nicolas, Daniel, Ian ! I have been so busy lately I have not had any time to work with OpenGL / SDL(puke) / Haxe. And big congratulations Nicolas. It sounds as though the good life has scooped you up and started you on a nice trip!I have a 2 and 4 yr old little girls and wouldn't trade it for anything. all starts with getting hitched!(which I thought I would NEVER EVER do) :) Thanks for the awesome work on VEGAS Eka. Also is there something that explains the differences in the AS2 and AS3 versions? Are they only in how the view is handled? Is it not wise to do a project initially in AS2 then move it to the AS3 version? Thanks, Ken Rogers (howdy Hank Williams! you spider man geek :P) -Original Message- From: [EMAIL PROTECTED] on behalf of eka Sent: Mon 5/7/2007 6:00 AM To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] Question on removeEventListener and Delegatecallback Hello :) use a variable to register your virtual proxy function : var listener = utils.Proxy.create(this , onBlockContentDestoyed , 'text ' , url) ; this.currentDisplayObject.addEventListener('onContentCleared' , listener ) ; //removing it this.currentDisplayObject.removeEventListener('onContentCleared' , listener ) ; Now you can keep the variable in memory ;) PS : if you want use a better event model, you can try my event model in my opensource framework VEGAS : http://code.google.com/p/vegas Install VEGAS : http://code.google.com/p/vegas/wiki/InstallVEGASwithSVN Read the tutorials about the W3C event model : http://code.google.com/p/vegas/wiki/VegasTutorialsEvents For me .. it's more easy with this implementation. eKA+ :) 2007/5/7, Jiri Heitlager | dadata.org [EMAIL PROTECTED]: I was wondering if I am doing something correctly when adding listeners to objects. My question is, if I remove the listener is the code below then the right way. Do I use the Proxy class (or mx.utils.Delegate) also when I remove the listener?? //adding a listener this.currentDisplayObject.addEventListener('onContentCleared' , utils.Proxy.create(this , onBlockContentDestoyed , 'text ' , url)) //removing it this.currentDisplayObject.removeEventListener('onContentCleared' , utils.Proxy.create(this , onBlockContentDestoyed)) Thank you Jiri John Trentini wrote: Hi guys, I want to create as many text fields (which eventually I would like to turn into buttons) as the length of an array. I also want to use the content of the array to populate the text of the fields created dynamically. I have tried everything I know but all I seem to get is one filed with the lasat item in the array, sheesh! I've gone absolutely mad on this one (newish to actionScript, I am!) but can anyone tell me what I am doing wrong here? I could do with a helping hand or seven =:-) var myTxt:Array = new Array(branding, news, about us, print, marks, contact); var myX = 430; var menuArray:Array = new Array(); var ySpacing:Number = 90; // /*create textFields**/ // // for(i=0; imyTxt.length; i++) { _root.createTextField(mytext+[i], 1, myX, 0, 100, 30); myId = _root[mytext+[i]]; myId._y = ySpacing; ySpacing += 40; // trace(myTxt[i]);//the trace works, it list all tyhe lements in the array but myId.text = myTxt[i]; // this one in not producing the appropriate results // myId.border = false; myformat = new TextFormat(); myformat.font = Verdana; myformat.size = 14; myformat.bold = true; myformat.color = 0x55; myformat.align = right; // myId.selectable = false;
[Flashcoders] is the Flash9/CS3 delivered to anyone yet?
hi all, Noticed Flash9/CS3 is offered as a separate download and/or upgrade($199) is on the Adobe site now. Has anyone purchased and received it yet, or is this just a preorder deal? thanks, Dave_Matthews _ Download Messenger. Join the im Initiative. Help make a difference today. http://im.live.com/messenger/im/home/?source=TAGHM_APR07 ___ 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] 遊び足りない女性を 狙え!!
--- 綱子 23歳 東京 暇☆ヒマ☆ひっま〜〜 最近特に暇なんだな(T_T)彼氏欲しいな誰か立候補してください、 期待して待ってます。 http://pittarism.com/KT/ --- 紗良 23歳 東京 シャメ見たら興奮するよ。 前の彼氏にエッチなことを強要されて、 とってもエッチな女の子になってしましました、、。 こんな私を誰か激しく愛してくれませんか? http://pittarism.com/KT/ --- 渚 23歳 東京 今日何もないよぅ… 暇ぁ〜誰かあっそぼぉ〜。とりあえずメール頂戴♪ 会えればエッチしよ http://pittarism.com/KT/ --- ___ 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] OT: Spiderman 3 === Worst movie ever
Spiderman 3 Is just great. I kinda cried at the end :P. I also read that it had a great success all over the world. Than again u can't tell ppl not to watch the movie... :) On 5/7/07, Parvaiz Patel [EMAIL PROTECTED] wrote: Nice story action line up together. I like Spiderman:3 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steven Sacks Sent: Monday, May 07, 2007 2:38 PM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] OT: Spiderman 3 === Worst movie ever Spiderman 3: So bad, I have to post OT on Flashcoders to warn my colleagues to avoid it at all costs. Never see Spiderman 3. Ever. Go your whole life without seeing it. It might be the worst movie ever made. Seriously. It was unbelievable how bad it was. Of the people who did not walk out, a huge amount booed at the end (myself included). Many people walked out. I felt I should have, too, and I have never walked out of a movie. The theater was packed at the beginning and maybe 2/3 full at the end. There were more scenes than I can count where you could hear the whole audience groaning at how ridiculously stupid it was. ___ 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 -- O.Fouad - Digital Emotions ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Question on removeEventListener and Delegatecallback
Hello :) i you want.. you can show the source code of my last opensource project AST'r : http://code.google.com/p/astr/ This project is a laboratory to implements application templates based on VEGAS :) This project can help you to use VEGAS in your commercial project ? :) EKA+ :) 2007/5/7, Ken Rogers [EMAIL PROTECTED]: Thanks for the info. I will keep you posted on my progress via google code so you can show commercial work being done with VEGAS. Also let me know when you would like the AS3 version tested out in any way :) Keep up the super() work, Ken -Original Message- From: [EMAIL PROTECTED] on behalf of eka Sent: Mon 5/7/2007 9:41 AM To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] Question on removeEventListener and Delegatecallback Hello :) VEGAS is full open.. with a MPL licence you can do commercial project with VEGAS, no problemo :) The AS3 version of VEGAS is in alpha version for the moment.. i have implements a VEGAS implementation in AS3 but i think do a big refactoring this summer over the AS3 version :) For the moment i finish the final version of the AS2 library. EKA+ :) 2007/5/7, Ken Rogers [EMAIL PROTECTED]: Hi Eka! I have been secretly becoming addicted to VEGAS. I guess It isn't secret anymore :P I wanted to ask you if it was alright to use VEGAS for a commercial project I am starting this week. It is a kids/parent community site (8-12yrs old or tweens). I will also take advantage of this note to say hi to Nicolas, Daniel, Ian ! I have been so busy lately I have not had any time to work with OpenGL / SDL(puke) / Haxe. And big congratulations Nicolas. It sounds as though the good life has scooped you up and started you on a nice trip!I have a 2 and 4 yr old little girls and wouldn't trade it for anything. all starts with getting hitched!(which I thought I would NEVER EVER do) :) Thanks for the awesome work on VEGAS Eka. Also is there something that explains the differences in the AS2 and AS3 versions? Are they only in how the view is handled? Is it not wise to do a project initially in AS2 then move it to the AS3 version? Thanks, Ken Rogers (howdy Hank Williams! you spider man geek :P) -Original Message- From: [EMAIL PROTECTED] on behalf of eka Sent: Mon 5/7/2007 6:00 AM To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] Question on removeEventListener and Delegatecallback Hello :) use a variable to register your virtual proxy function : var listener = utils.Proxy.create(this , onBlockContentDestoyed , 'text ' , url) ; this.currentDisplayObject.addEventListener('onContentCleared' , listener ) ; //removing it this.currentDisplayObject.removeEventListener('onContentCleared' , listener ) ; Now you can keep the variable in memory ;) PS : if you want use a better event model, you can try my event model in my opensource framework VEGAS : http://code.google.com/p/vegas Install VEGAS : http://code.google.com/p/vegas/wiki/InstallVEGASwithSVN Read the tutorials about the W3C event model : http://code.google.com/p/vegas/wiki/VegasTutorialsEvents For me .. it's more easy with this implementation. eKA+ :) 2007/5/7, Jiri Heitlager | dadata.org [EMAIL PROTECTED]: I was wondering if I am doing something correctly when adding listeners to objects. My question is, if I remove the listener is the code below then the right way. Do I use the Proxy class (or mx.utils.Delegate) also when I remove the listener?? //adding a listener this.currentDisplayObject.addEventListener('onContentCleared' , utils.Proxy.create(this , onBlockContentDestoyed , 'text ' , url)) //removing it this.currentDisplayObject.removeEventListener('onContentCleared' , utils.Proxy.create(this , onBlockContentDestoyed)) Thank you Jiri John Trentini wrote: Hi guys, I want to create as many text fields (which eventually I would like to turn into buttons) as the length of an array. I also want to use the content of the array to populate the text of the fields created dynamically. I have tried everything I know but all I seem to get is one filed with the lasat item in the array, sheesh! I've gone absolutely mad on this one (newish to actionScript, I am!) but can anyone tell me what I am doing wrong here? I could do with a helping hand or seven =:-) var myTxt:Array = new Array(branding, news, about us, print, marks, contact); var myX = 430; var menuArray:Array = new Array(); var ySpacing:Number = 90; // /*create textFields**/ // // for(i=0; imyTxt.length; i++) { _root.createTextField(mytext+[i], 1, myX, 0, 100, 30); myId = _root[mytext+[i]]; myId._y = ySpacing; ySpacing += 40; // trace(myTxt[i]);//the trace works, it list all tyhe lements in the array but myId.text = myTxt[i]; // this
[Flashcoders] ASO files, file times, and classes, oh my
Hi, I have a project I'm working on that contains multiple class files. Every now and then someone is working on these files who is located in a different time zone. They check in their changes, I get them, and all hell breaks loose with Flash. It's always the same error: **Error** C:\Users\Matt\AppData\Local\Macromedia\Flash 8\en\Configuration\Classes\FP8\System\capabilities.as: Line 7: The name of this class, 'System.capabilities', conflicts with the name of another class that was loaded, 'System'. ... where the actual class name in the error depends on what's being compiled at the time. Also, I don't even have to touch anything - go to the main .fla file, select Delete ASO files, and I get that particular error again (the one about System.capabilities). I haven't even modified the System.capabilities class! (but I use system.capabilities in the code in various places) This happens when I try to publish the SWF. Try to publish it again, and it magically works! WTF! I've tried to work around this issue by changing my system date to a few days in the future. This seems to temporarily work, but then sometimes it gets all weird again. For a few classes that are being worked on, it's gotten to the point where I can't even modify the class and see the changes when I reload the browser without deleting the class's ASO file (at which point, I get the conflicts with the name of another class that was loaded error - 2nd publish attempt works fine). Anyone know what's going on? Macrodobe, please fix this in CS3 if it's not already!!! Thanks, -=matt ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] OT: Spiderman 3 === Worst movie ever
Would you consider moving this to Flashlounge or some other list? Thank you. Jason Merrill Bank of America GTO Learning Leadership Development eTools Multimedia Team ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] AST'r templates for Vegas
This is what I am using for my templates, thanks again. -Original Message- From: [EMAIL PROTECTED] on behalf of eka Sent: Mon 5/7/2007 10:54 AM To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] Question on removeEventListener and Delegatecallback Hello :) i you want.. you can show the source code of my last opensource project AST'r : http://code.google.com/p/astr/ This project is a laboratory to implements application templates based on VEGAS :) This project can help you to use VEGAS in your commercial project ? :) EKA+ :) 2007/5/7, Ken Rogers [EMAIL PROTECTED]: Thanks for the info. I will keep you posted on my progress via google code so you can show commercial work being done with VEGAS. Also let me know when you would like the AS3 version tested out in any way :) Keep up the super() work, Ken -Original Message- From: [EMAIL PROTECTED] on behalf of eka Sent: Mon 5/7/2007 9:41 AM To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] Question on removeEventListener and Delegatecallback Hello :) VEGAS is full open.. with a MPL licence you can do commercial project with VEGAS, no problemo :) The AS3 version of VEGAS is in alpha version for the moment.. i have implements a VEGAS implementation in AS3 but i think do a big refactoring this summer over the AS3 version :) For the moment i finish the final version of the AS2 library. EKA+ :) 2007/5/7, Ken Rogers [EMAIL PROTECTED]: Hi Eka! I have been secretly becoming addicted to VEGAS. I guess It isn't secret anymore :P I wanted to ask you if it was alright to use VEGAS for a commercial project I am starting this week. It is a kids/parent community site (8-12yrs old or tweens). I will also take advantage of this note to say hi to Nicolas, Daniel, Ian ! I have been so busy lately I have not had any time to work with OpenGL / SDL(puke) / Haxe. And big congratulations Nicolas. It sounds as though the good life has scooped you up and started you on a nice trip!I have a 2 and 4 yr old little girls and wouldn't trade it for anything. all starts with getting hitched!(which I thought I would NEVER EVER do) :) Thanks for the awesome work on VEGAS Eka. Also is there something that explains the differences in the AS2 and AS3 versions? Are they only in how the view is handled? Is it not wise to do a project initially in AS2 then move it to the AS3 version? Thanks, Ken Rogers (howdy Hank Williams! you spider man geek :P) -Original Message- From: [EMAIL PROTECTED] on behalf of eka Sent: Mon 5/7/2007 6:00 AM To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] Question on removeEventListener and Delegatecallback Hello :) use a variable to register your virtual proxy function : var listener = utils.Proxy.create(this , onBlockContentDestoyed , 'text ' , url) ; this.currentDisplayObject.addEventListener('onContentCleared' , listener ) ; //removing it this.currentDisplayObject.removeEventListener('onContentCleared' , listener ) ; Now you can keep the variable in memory ;) PS : if you want use a better event model, you can try my event model in my opensource framework VEGAS : http://code.google.com/p/vegas Install VEGAS : http://code.google.com/p/vegas/wiki/InstallVEGASwithSVN Read the tutorials about the W3C event model : http://code.google.com/p/vegas/wiki/VegasTutorialsEvents For me .. it's more easy with this implementation. eKA+ :) 2007/5/7, Jiri Heitlager | dadata.org [EMAIL PROTECTED]: I was wondering if I am doing something correctly when adding listeners to objects. My question is, if I remove the listener is the code below then the right way. Do I use the Proxy class (or mx.utils.Delegate) also when I remove the listener?? //adding a listener this.currentDisplayObject.addEventListener('onContentCleared' , utils.Proxy.create(this , onBlockContentDestoyed , 'text ' , url)) //removing it this.currentDisplayObject.removeEventListener('onContentCleared' , utils.Proxy.create(this , onBlockContentDestoyed)) Thank you Jiri John Trentini wrote: Hi guys, I want to create as many text fields (which eventually I would like to turn into buttons) as the length of an array. I also want to use the content of the array to populate the text of the fields created dynamically. I have tried everything I know but all I seem to get is one filed with the lasat item in the array, sheesh! I've gone absolutely mad on this one (newish to actionScript, I am!) but can anyone tell me what I am doing wrong here? I could do with a helping hand or seven =:-) var myTxt:Array = new Array(branding, news, about us, print, marks, contact); var myX = 430; var menuArray:Array = new Array(); var
[Flashcoders] Q: Flashdevelop vs Eclipse vs Flexbuilder for AS3 development
Is there any consensus on the BEST overall tool for AS3 development/ Is there a feature comparison chart somehwere? I'm hesitant to fork out the bucks for Flexbuilder and I am comfortable with Flashdevelop, but I'd like to really get into things like Papervision 3D(AS3) and perhaps even the building of Apollo apps. Any feedback appreciated! Jim Bachalo [e] jbach at bitstream.ca [c] 416.668.0034 [w] www.bitstream.ca ...all improvisation is life in search of a style. - Bruce Mau,'LifeStyle' ___ 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 playback from DVD
Nik, I think this is on topic. I have not personally had this happen to me, and I have created many, many such apps because of the client-specified need to show the FBI warning at the immediate start of the app. Without looking at your app code, to see if there¹s anything obvious (and I doubt there is), the only thing I can think of is environmental. 1. I use mProjector rather than Zinc. Not sure if that has any impact. 2. Based on your explanation, my theory is heavily leaning toward DVD spin-up or access time. Spin-up may not be an issue since the drive has to spin to launch the app and, presumably, is at full speed. Maybe you could map your DVD burn to put the video closer to the file? Probably not responsible, but it's an idea. What about adding a bit of a delay on the user experience side to allow the FLV to preload? Does increasing the buffer time help? Rich On 5/7/07 6:12 AM, nik crosina [EMAIL PROTECTED] wrote: Going a bit off topic, but have you ever had a kind of hick up every time an flv starts playback. I am having my Zinc created exe start with playing a intro video clip and it always starts with a little stutter or hick up. I guess this is some loading issue, but don't know what to do to solve it... ___ 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] ASO files, file times, and classes, oh my
I've seen this before, but can't clearly understand the root cause. Most likely it is the cross-referencing bytecode compile bug that plagues Flash 8. Deleting ASO files does not work in many cases. I solve it by using my devilishly simple Compile class, as pointed out in the recent Flash 8 OSX - Classpath woes thread. Here again is the class, with usage help in the comments: // - /** * Compiler class * * This is a simple class to aid in compiling other self-referential classes that stubbornly refuse to compile. This frequently occurs when a class (A) refers to another class (B) which then refers back to the first class (A), giving the following compile error: The name of this class, 'x', conflicts with the name of another class that was loaded, 'x'. To address this issue, just change the import reference in this class to refer to the problem class, and check syntax on this class. * * The logic behind this fix is explained here: http:// ericlin2.tripod.com/as2/conflict.html * * @author Stephen Downs [EMAIL PROTECTED] * @version 1.0 * @langversion ActionScript 2.0 * @playerversion Flash 8 */ // Change this reference to target the stubborn class. import com.plasticbrain.dir.MyStubbornClass; // class com.plasticbrain.tools.Compiler { } // - On 2007-05-07, at 10:57 AM, Matt Samet wrote: Hi, I have a project I'm working on that contains multiple class files. Every now and then someone is working on these files who is located in a different time zone. They check in their changes, I get them, and all hell breaks loose with Flash. It's always the same error: **Error** C:\Users\Matt\AppData\Local\Macromedia\Flash 8\en\Configuration\Classes\FP8\System\capabilities.as: Line 7: The name of this class, 'System.capabilities', conflicts with the name of another class that was loaded, 'System'. ... where the actual class name in the error depends on what's being compiled at the time. Also, I don't even have to touch anything - go to the main .fla file, select Delete ASO files, and I get that particular error again (the one about System.capabilities). I haven't even modified the System.capabilities class! (but I use system.capabilities in the code in various places) This happens when I try to publish the SWF. Try to publish it again, and it magically works! WTF! I've tried to work around this issue by changing my system date to a few days in the future. This seems to temporarily work, but then sometimes it gets all weird again. For a few classes that are being worked on, it's gotten to the point where I can't even modify the class and see the changes when I reload the browser without deleting the class's ASO file (at which point, I get the conflicts with the name of another class that was loaded error - 2nd publish attempt works fine). Anyone know what's going on? Macrodobe, please fix this in CS3 if it's not already!!! Thanks, -=matt ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Class structure
I'm trying to figure out the best approach for my class structure. I have form valildation class that checks for different items (about 20 items), then I needed some items of the same class for a smaller form (only 4 items). I could extend the first class and use it with my smaller form but there other 16 methods that I dont need to load into the smalle form. What would be a good approach? I know I could create a class for each method and then instiatiate each one as needed, but is that the best method? I was wondering if there was a way to tell flash only to get the methods needed and forget the rest. ___ 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 keeps dropping one of my CSS classes
I am using an internally-defined stylesheet in Flash with three styles and about five classes per style. This was working fine until recently when Flash stopped reading one of the classes and started applying the default class. It has nothing to do with the xml I'm feeding to the textfield, as that hasn't changed. I was able to fix the problem by renaming the class and replacing all the class designations in the xml for that class. In other words, I changed class = 'header3' to class = 'header4' in the xml, then made the appropriate replacements in the internal style definitions. This worked for an hour or so, then Flash started losing the class again. Seems quite bizarre. Anybody see something like this before? Ideas on fixing it? Please don't tell me to define the classes in an external CSS; that's not an option at this point. Thanks, Marc ___ 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] Class structure
Sounds like the second class should be the base class. Extend the larger from the smaller. P. -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Helmut Granda Sent: Monday, May 07, 2007 4:10 PM To: Flashcoders mailing list Subject: [Flashcoders] Class structure I'm trying to figure out the best approach for my class structure. I have form valildation class that checks for different items (about 20 items), then I needed some items of the same class for a smaller form (only 4 items). I could extend the first class and use it with my smaller form but there other 16 methods that I dont need to load into the smalle form. What would be a good approach? I know I could create a class for each method and then instiatiate each one as needed, but is that the best method? I was wondering if there was a way to tell flash only to get the methods needed and forget the rest. ___ 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] is the Flash9/CS3 delivered to anyone yet?
CS3 has been in the wild for couple weeks now. On 5/7/07, dave matthews [EMAIL PROTECTED] wrote: hi all, Noticed Flash9/CS3 is offered as a separate download and/or upgrade($199) is on the Adobe site now. Has anyone purchased and received it yet, or is this just a preorder deal? thanks, Dave_Matthews _ Download Messenger. Join the i'm Initiative. Help make a difference today. http://im.live.com/messenger/im/home/?source=TAGHM_APR07 ___ 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] is the Flash9/CS3 delivered to anyone yet?
Can't speak for the unbundled version, but the CS3 version bundled with the CS3 Suites is out and shipping. I received my Web Premium bundle just over a week ago. ...Rob -Original Message- From: dave matthews [mailto:[EMAIL PROTECTED] Sent: Monday, May 07, 2007 1:15 PM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] is the Flash9/CS3 delivered to anyone yet? hi all, Noticed Flash9/CS3 is offered as a separate download and/or upgrade($199) is on the Adobe site now. Has anyone purchased and received it yet, or is this just a preorder deal? thanks, Dave_Matthews ___ 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] Class structure
That makes sense and was one of my ideas but lets say a few months from now I need 2 methods from class A and 2 methods from class B to make class C. Then I cant go back and restructure all my code to compensate for the update. So I was wondering if in these cases its best to separate each method into a class. Thanks -h On 5/7/07, Pete Miller [EMAIL PROTECTED] wrote: Sounds like the second class should be the base class. Extend the larger from the smaller. P. -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Helmut Granda Sent: Monday, May 07, 2007 4:10 PM To: Flashcoders mailing list Subject: [Flashcoders] Class structure I'm trying to figure out the best approach for my class structure. I have form valildation class that checks for different items (about 20 items), then I needed some items of the same class for a smaller form (only 4 items). I could extend the first class and use it with my smaller form but there other 16 methods that I dont need to load into the smalle form. What would be a good approach? I know I could create a class for each method and then instiatiate each one as needed, but is that the best method? I was wondering if there was a way to tell flash only to get the methods needed and forget the rest. ___ 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] Dynamic buttons not showing
I dyamically create a number of 'labels' for my menu but, using the same procedure, I don't seem to able to generate the buttons. The trace outputs the correct property for the buttons: name, x and y but all I get is one button placed at 0, 0 even though I set its coordinates to match the labels (I want these buttons to be right on top of each label). Obvioulsy I am not implementing the code in the right manner, any tips, please? Also, how can I reference each button for the relevant functions? Here is the code... //___Init variables___ // var myTxt:Array = new Array(branding, news, about us, print, marks, contact); var subMenuArray:Array = new Array(); var myBtnArray:Array = new Array(); var myX = 430; var ySpacing:Number = 190; // //_create a movieClip to hold the vertical label_ // _root.lable_mc.createTextField(myName, this.getNextHighestDepth(), 484, 200, 140, 408); myNformat = new TextFormat(); myNformat.font = Verdana; myNformat.size = 70; myNformat.bold = true; myNformat.color = 0xEE; myNformat.align = center; _root.lable_mc.myName.text = contact; _root.lable_mc.myName.setTextFormat(myNformat); // //create the textFields for the subMenuItems___ // for (i=0; imyTxt.length; i++) { _root.createTextField(mytext+[i], this.getNextHighestDepth(), myX, 0, 100, 30); myId = _root[mytext+[i]]; myId._y = ySpacing; ySpacing += 20; // myId.text = myTxt[i]; // ///Format the text of the subMenuItems/_ // myId.border = false; myformat = new TextFormat(); myformat.font = Verdana; myformat.size = 13; myformat.bold = true; myformat.color = 0x55; myformat.align = right; // myId.selectable = false; myId.setTextFormat(myformat); // //__c/reate an Array with the submenuItems to be used in the buttons control function/__ // subMenuArray.push(myId.text); // ///attach a button (on top of) to each textFields/__ // _root.attachMovie(butt_btn, butt+[i], this.getNextHighestDepth()); btn = [butt+[i]]; btn._x = myX; btn._y = myId._y; // //_/create an array to use later to control the buttons/_ // myBtnArray.push([butt+[i]]); trace(myBtnArray[i]+y is: +btn._y+ and the x is: +btn._x) // } ___ 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] OT: Spiderman 3 === Worst movie ever
The special effects were quite nice. Something things could be better, but that is with most things. Some nice post production glitches in it ;) I think I even spotted some grain issues but for that I would have to rewatch it. Mr. Wannabe SFX guy ;) Weyert ___ 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: flv playback, event not firing
I have noticed this on consistently on the the mac player v9 or higher as described here: http://www.kennybunch.com/blogarchives/62 i usually try the flv metadata injector first to make sure its not just corrupt metadata: http://www.buraks.com/flvmdi/ ___ 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] Q: Flashdevelop vs Eclipse vs Flexbuilder for AS3 development
Your brain is the best tool for AS3 Development. Stop posting best editor stuff. It gets boring after the first 3 times - RTFA. [EMAIL PROTECTED] wrote: Is there any consensus on the BEST overall tool for AS3 development/ Is there a feature comparison chart somehwere? I'm hesitant to fork out the bucks for Flexbuilder and I am comfortable with Flashdevelop, but I'd like to really get into things like Papervision 3D(AS3) and perhaps even the building of Apollo apps. Any feedback appreciated! Jim Bachalo [e] jbach at bitstream.ca [c] 416.668.0034 [w] www.bitstream.ca ...all improvisation is life in search of a style. - Bruce Mau,'LifeStyle' ___ 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] pause an onEnterFrame?
Is there anyway to pause an onEnterFrame event? Right now I delete the onEnterFrame when an onRollOver event occurs, and reinitialize it when an onRollOut event occurs, but that causes all of my motion variables to get re-initiated, and thus makes the motion go through a huge jump. Is there a way to pause, and resume an onEnterFrame? Thanks. -- count_schemula ___ 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] pause an onEnterFrame?
flashcoders,你好 you can set like this: var flag=0; onEnterFrame=function() { if(flag==1) { } else if(flag!=1) { } } I think this can do you want things! [EMAIL PROTECTED] 2007-05-08 - Original Message - From: Count Schemula To: flashcoders list Sent: 2007-05-08, 12:52:24 Subject: [Flashcoders] pause an onEnterFrame? Is there anyway to pause an onEnterFrame event? Right now I delete the onEnterFrame when an onRollOver event occurs, and reinitialize it when an onRollOut event occurs, but that causes all of my motion variables to get re-initiated, and thus makes the motion go through a huge jump. Is there a way to pause, and resume an onEnterFrame? Thanks. -- count_schemula ___ 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] pause an onEnterFrame?
or just onEnterFrame = function() { if(paused) return; } On 08/05/2007, at 3:15 PM, 阿本 wrote: flashcoders,你好 you can set like this: var flag=0; onEnterFrame=function() { if(flag==1) { } else if(flag!=1) { } } I think this can do you want things! [EMAIL PROTECTED] 2007-05-08 - Original Message - From: Count Schemula To: flashcoders list Sent: 2007-05-08, 12:52:24 Subject: [Flashcoders] pause an onEnterFrame? Is there anyway to pause an onEnterFrame event? Right now I delete the onEnterFrame when an onRollOver event occurs, and reinitialize it when an onRollOut event occurs, but that causes all of my motion variables to get re-initiated, and thus makes the motion go through a huge jump. Is there a way to pause, and resume an onEnterFrame? Thanks. -- count_schemula ___ 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