Re: [Flashcoders] how to get CDATA into an XML object
trace(nodeType :+child.nodeType); trace(nodeValue :+child.nodeValue); should read trace(nodeType :+child.firstChild.nodeType); trace(nodeValue :+child.firstChild.nodeValue); On 6/20/07, Charles Parcell [EMAIL PROTECTED] wrote: I believe the entire thing has to be inside the CDATA. var xmlRecord = new XML(![CDATA[html + some arbitrary string + /html]]); Charles P. On 6/20/07, Andrew Sinning [EMAIL PROTECTED] wrote: How can I load in a schema that has a CDATA node if AS2 doesn't support it? Where do I get the valid schema? In theory, the following is creating an xml object with a CDATA node, but it doesn't appear to work: var xmlRecord = new XML(html![CDATA[ + some arbitrary string + ]]/html); var child = xmlRecord.firstChild; trace(nodeType :+child.nodeType); trace(nodeName :+child.nodeName); trace(nodeValue :+child.nodeValue); /* ouput: nodeType :1 nodeName :html nodeValue :null */ David Ngo wrote: AS2 will not support CDATA nodes. You should load in a schema that has a CDATA node first, then use that schema to write your text nodes to the CDATA node and pass the instance of the schema w/ the CDATA intact. I've had to use this work-around for another project I worked on a year ago. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Asynchronous ExternalInterface Calls From Javascript, possible?
You could make use of ExternalInterface.addCallback. Therefore the JS function you call with ExternalInterface.call starts some process off then returns straight away. When your process is done it calls your registered flash callback. Therefore you end up with asynchronous. All said and done, why not call the webservice straight from flash? On 6/19/07, Seth Green [EMAIL PROTECTED] wrote: I have a web app that uses a flash movie as a proxy to a web service. Therefore, I have javascript calling flash methods that in turn make requests to a web service and then route the response back to javascript. I don't need my javascript functions to wait on this calls, but ExternalInterface is inherently synchronous. And to my surprise I have found that a flash method which does nothing but make a web service request can take 100ms or more. This is unacceptably slow, but especially so since my javascript code has to hang while the flash method does its business. Does anyone have any experience with this issue, or can provide a workaround or hint as to how I might make these calls asynchronous? 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] flv - manipulating their dimensions; playing sections
Hi, Is it possible to 'spring' a video player? I am thinking of an interface with nine TV screens, ready to play back a clip. When the user is clicking on one, the others shrink with a 'springing' movement, the clicked on one enlarges, again, with a 'springing' motion. Has any of you done something before? Question 2: or More a confirmation - it is possibly to have a clip played back from a specific start frame to specific end frame on a certain trigger - say a click somewhere else on stage, isn't? Thanks! 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] BASE url and shared library issue on Firefox
Hi Coders, I got a big issue in which causes headache, I am using Shared Libraries, but there seems to be issues when using BASE-url in Firefox, it works very well in Explorer. The problem is that in Firefox the flash is sending requests every time a textfield is to be rendered. So does anyone know this problem with Shared Library, and BASE in firefox? I cant show the sample as I have up and running, as it is secret due to the clients demands. And I dont have time to make a sample right now, but if anyone knows about the issue already, please answer!! Thanks, Martin ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Problem with play a sound and IE (it's freezes)!!
I have I big problem with playing a audio file in IE. It freezes during 20 seconds!!!. I start playing the audio (the audio starts), and then, the browser doesn't response in 20 seconds ( with 80-90% of cpu usage) and the sound continue playing. After this 20 or 30 seconds, it's goes well. Is only in Internet Explorer, in Firefox goes well. My code: soundObject = new Sound(soundClip); soundObject.onSoundComplete = function() { }; soundObject.loadSound(currentURL,true); soundObject.setVolume(currentVolume); soundObject.start(currentPosition); I need to play the audio in streaming mode, because I want to start after few seconds. Anybody has fixed it? I use IE 7, but in IE6 the problem is the same. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] BASE url and shared library issue on Firefox
Hi Coders, I got a big issue in which causes headache, I am using Shared Libraries, but there seems to be issues when using BASE-url in Firefox, it works very well in Explorer. The problem is that in Firefox the flash is sending requests every time a textfield is to be rendered. So does anyone know this problem with Shared Library, and BASE in firefox? I cant show the sample as I have up and running, as it is secret due to the clients demands. And I dont have time to make a sample right now, but if anyone knows about the issue already, please answer!! Thanks, Martin ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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: Asynchronous ExternalInterface Calls From Javascript, possible?
Maybe I am misunderstanding something bu I would think you could set up a methodology where JS makes a call to Flash, Flash returns something immediately to JS, then does its stuff with the web service and calls back to JS again when its done. Another option is instead of using ExternalInterface you can use the Flash/JavaScript Gateway One thing I have went through is rapid calls between Javascript and Flash have dropped calls. I believe the kit below has a queuing functionality built into it. The one I have used is http://blog.deconcept.com/code/intkit/ because it works well with SWFObject ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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 https / IE wierdness
Many thanks for that. On 6/19/07, Carl Welch [EMAIL PROTECTED] wrote: We had the same problem. We were banging our heads against the wall trying to figure out why it wasn't working in IE over a https connection until we found this: //header(Expires: Mon, 25 Jan 1970 05:00:00 GMT); header(Last-Modified: . gmdate(D, d M Y H:i:s) . GMT); header(Cache-Control: no-store, no-cache, must-revalidate); header(Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0); //header(Pragma: no-cache); seem to make it all work in both IE and Firefox. here's a googled cached version of the page explaining this: http://72.14.253.104/search?q=cache:qw2g8oXGQLwJ:www.gmrweb.net/2005/08/18/flash-remoting-https-internet-explorer/+flash-remoting-https-internet-explorerhl=enct=clnkcd=1gl=usclient=firefox-a On 6/19/07, Giles Roadnight [EMAIL PROTECTED] wrote: Hi All I have a swf that loads an rss feed then loads images and displays them. This works fine on our local dev server, the live server and on the staging server on Firefox. However on the staging server the images do not appear and none of the text in the rss appear either. The only difference is that the staging server is running on https (it comes up with an invalid certificate when you load the site). It's very odd that it works in firefox and not in IE. Does IE handle https urls any different than Firefox? Thanks Hope someone can help. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- Carl Welch http://www.carlwelch.com [EMAIL PROTECTED] 805.403.4819 ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Trying to know size of loading swf
Hi to all I should load swfs with different sizes in host mc ( I have empty mc on the stage with this name) . A window for showing them has smaller size. So I should scale these swfs. I thought that I can catch size of loading swf in onLoad Init function and than scale host mc. function onLoadInit(_mc:MovieClip) { trace(host._height) trace(_mc._width) _mc.play(); host._visible=true; }; But it is always show size 0; Can anybody help me with this problem? 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] Grid / Math - getting neighbouring positions
Here is my stab at it... function getGridRing( $r:Number, $c:Number, dist:Number, minRow:Number, minCol:Number, maxRow:Number, maxCol:Number ):Array { // @ $r = start row // @ $c = start column // @ dist = destination ring trace( 'row: ' + $r + ' col: ' + $c + ' ring: ' + dist); // length of ring var len = ( dist * 2 ) + 1; // error check for single point if ( len = 1 ) return [{row:$r, col:$c}]; else var array = []; // return only values in bounds [ optional ] var inBounds = function ( r, c ) { if(!isNaN(minRow)) {if ( minRow r ) return false;} if(!isNaN(minCol)) {if ( minCol c ) return false;} if(!isNaN(maxRow)) {if ( maxRow r ) return false;} if(!isNaN(maxCol)) {if ( maxCol c ) return false;} return true; } // TOP for ( var i = 0; i len ; i++ ) { var c = $c - dist + i var r = $r - dist; if( inBounds( r,c )) array.push ({row:r, col:c }) } // RIGHT for ( var i = 1; i len; i++ ) { var c = $c + dist; var r = $r - dist + i; if( inBounds( r,c )) array.push ({row:r, col:c }) } // BOTTOM for ( var i = 1; i len; i++ ) { var c = $c + dist - i var r = $r + dist; if( inBounds( r,c )) array.push ({row:r, col:c }) } // LEFT for ( var i = 1; i len-1; i++ ) { var c = $c - dist; var r = $r + dist - i; if( inBounds( r,c )) array.push ({row:r, col:c }) } return array; } function getGridRings ( r:Number, c:Number, minR:Number, minC:Number, maxR:Number, maxC:Number ):Array { var maxLen = Math.max( Math.max ( Math.abs(maxC-c), Math.abs(minC-c) ), Math.max ( Math.abs(maxR-r), Math.abs(minR-r) ) ); if ( !isNaN(maxLen) ) { var array = []; for ( var i = 0; i = maxLen; i++ ) { array = array.concat( getGridRing ( r, c, i, minR, minC, maxR, maxC ) ); } return array; } return []; } // // // SINGLE RING // // var array = getGridRing ( 2, 2, 0 ); var result = ''; for ( var i in array ) { result = '[' + array[i].col + ',' + array[i].row +'] ' + result } trace( result + newline ) // [2,2] // [2,2] var array = getGridRing ( 2, 2, 1 ); var result = ''; for ( var i in array ) { result = '[' + array[i].col + ',' + array[i].row +'] ' + result } trace( result + newline ) // [1,1] [2,1] [3,1] [3,2] [3,3] [2,3] [1,3] [1,2] // [1,1] [2,1] [3,1] // [1,2] [2,2] [3,2] // [1,3] [2,3] [3,3] var array = getGridRing ( 2, 2, 2, 0, 0, 4, 4 ); var result = ''; for ( var i in array ) { result = '[' + array[i].col + ',' + array[i].row +'] ' + result } trace( result + newline ) // [0,0] [1,0] [2,0] [3,0] [4,0] [4,1] [4,2] [4,3] [4,4] [3,4] [2,4] [1,4] [0,4] [0,3] [0,2] [0,1] // [0,0] [1,0] [2,0] [3,0] [4,0] // [0,1] [1,1] [2,1] [3,1] [4,1] // [0,2] [1,2] [2,2] [3,2] [4,2] // [0,3] [1,3] [2,3] [3,3] [4,3] // [0,4] [1,4] [2,4] [3,4] [4,4] // // // ALL RINGS // // var array = getGridRings ( 2, 2, 0, 0, 4, 4 ) var result = ''; for ( var i in array ) { result = '[' + array[i].col + ',' + array[i].row +'] ' + result } trace( result + newline ) // [2,2] [1,1] [2,1] [3,1] [3,2] [3,3] [2,3] [1,3] [1,2] [0,0] [1,0] [2,0] [3,0] [4,0] [4,1] [4,2] [4,3] [4,4] [3,4] [2,4] [1,4] [0,4] [0,3] [0,2] [0,1] var array = getGridRings ( 0, 0, 0, 0, 4, 4 ) var result = ''; for ( var i in array ) { result = '[' + array[i].col + ',' + array[i].row +'] ' + result } trace( result + newline ) // [0,0] [1,0] [1,1] [0,1] [2,0] [2,1] [2,2] [1,2] [0,2] [3,0] [3,1] [3,2] [3,3] [2,3] [1,3] [0,3] [4,0] [4,1] [4,2] [4,3] [4,4] [3,4] [2,4] [1,4] [0,4] _ Jesse Graupmann www.jessegraupmann.com www.justgooddesign.com/blog/ _ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jiri Heitlager | dadata.org Sent: Saturday, June 16, 2007 5:16 AM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] Grid / Math - getting neighbouring positions Hello list, I have the following grid and would like to find the neighbouring positions of a certain point, going in a radius from in to out, covering all the positions. [0,0] [1,0] [2,0] [3,0] [4,0] [0,1] [1,1] [2,1] [3,1] [4,1] [0,2] [1,2] [2,2] [3,2] [4,2] [0,3] [1,3] [2,3] [3,3] [4,3] [0,4] [1,4] [2,4] [3,4] [4,4] Let say I take point [2,2] then its neighbours are in the first ring [1,1] [2,1]
[Flashcoders] Re: Problem with play a sound and IE (it's freezes)!!
I have I big problem with playing a audio file in IE. It freezes during 20 seconds!!!. I start playing the audio (the audio starts), and then, the browser doesn't response in 20 seconds ( with 80-90% of cpu usage) and the sound continue playing. After this 20 or 30 seconds, it's goes well. Is only in Internet Explorer, in Firefox goes well. My code: soundObject = new Sound(soundClip); soundObject.onSoundComplete = function() { }; soundObject.loadSound(currentURL,true); soundObject.setVolume(currentVolume); soundObject.start(currentPosition); I need to play the audio in streaming mode, because I want to start after few seconds. Anybody has fixed it? I use IE 7, but in IE6 the problem is the same. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Memory Usage in Flash
Hi to all the Flashcoders, I have a question. How much memory does a movieclip takes at run time? For example If I m creating a movieclip with createEmptyMovieClip, How much memory it will take? And one more thing related to this If I m assigning one property to the movieclip like My_mc.id = 2 How much memory this id property will take? Regards Sumeet Kumar ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Mac full screen title bar
Thanks for that David! Yep, that works a treat. You do get a back-to- Finder flash, but it works. Cheers! Tony Pollard On 17 Jun 2007, at 8:56 pm, david hodgetts wrote: Hello Tony, yep, I think I saw this happen to me. It's a bit of pain because it only occurs on a subset of macs which can make it difficult to spot. The following solution works for me, found it on a forum but I don't remember where, so unfortunately, I can't give credit where credit is due. best regards david hodgetts -- start quote make a 3 frame movie. don't put anything in the first two frames except this actionscripting: in frame 1, put fscommand(fullscreen, true); in frame 2, put fscommand(fullscreen, false); in frame 3, put fscommand(fullscreen, true); and then continue on w/ the rest of your actionscripting in this frame and on... placing the three toggling fscommands all in the same frame did not seem to provide enough time for flash to react. i realize this is ugly w/ the flashing notfull/fullscreen. i hate writing code and building files like this... but it does work. the flashing doesn't really show up on a PC either, which is nice. -- end quote On 12 Jun 2007, at 17:15, Tony P wrote: Hello all, I have a strange problem with a fullscreen projector (Flash Player 9) on Mac OS X. It works fine normally, but if the user has installed Flash Player 8 then it goes not-quite-fullscreen and displays a title bar for the window. Uninstalling, reinstalling 9 and praying to the techno gods all don't work. Anyone seen this, or have any ideas? Cheers! Tony Pollard ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Memory Usage in Flash
4kB as i know. Sumeet Kumar schrieb: Hi to all the Flashcoders, I have a question. How much memory does a movieclip takes at run time? For example If I m creating a movieclip with createEmptyMovieClip, How much memory it will take? And one more thing related to this If I m assigning one property to the movieclip like My_mc.id = 2 How much memory this id property will take? Regards Sumeet Kumar ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Asynchronous ExternalInterface Calls From Javascript, possible?
I'm not calling a JS function from flash until the end of this process. It is the beginning of this process that I want to be made asynchronous. In the beginning I am calling a flash function from JS. That is the piece I am trying to get to be asynchronous. jtgxbass wrote: You could make use of ExternalInterface.addCallback. Therefore the JS function you call with ExternalInterface.call starts some process off then returns straight away. When your process is done it calls your registered flash callback. Therefore you end up with asynchronous. All said and done, why not call the webservice straight from flash? On 6/19/07, Seth Green [EMAIL PROTECTED] wrote: I have a web app that uses a flash movie as a proxy to a web service. Therefore, I have javascript calling flash methods that in turn make requests to a web service and then route the response back to javascript. I don't need my javascript functions to wait on this calls, but ExternalInterface is inherently synchronous. And to my surprise I have found that a flash method which does nothing but make a web service request can take 100ms or more. This is unacceptably slow, but especially so since my javascript code has to hang while the flash method does its business. Does anyone have any experience with this issue, or can provide a workaround or hint as to how I might make these calls asynchronous? 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] Re: Asynchronous ExternalInterface Calls From Javascript, possible?
I can try that, but since flash isn't multithreaded, I'm not sure that would work. You mean if I had in AS function calledFromJS():Void { doSomething(); return; } right? I believe the call to that function would still take as long as doSomething() takes. Unless I misunderstood... jason vancleave wrote: Maybe I am misunderstanding something bu I would think you could set up a methodology where JS makes a call to Flash, Flash returns something immediately to JS, then does its stuff with the web service and calls back to JS again when its done. Another option is instead of using ExternalInterface you can use the Flash/JavaScript Gateway One thing I have went through is rapid calls between Javascript and Flash have dropped calls. I believe the kit below has a queuing functionality built into it. The one I have used is http://blog.deconcept.com/code/intkit/ because it works well with SWFObject ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Does FLEX have web services?
Does Google include a search engine? http://www.google.com/search?q=Flex+SOAP Cheers, Steven Pete Miller wrote: Does FLEX include a SOAP-based web services component? Does it work better than the buggy MX component (i.e. huge memory leak)? We have shied away from Flash Remoting for the time being; I'm simply looking to determine if there is support for SOAP web services. Pete Miller ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Memory Usage in Flash
empty SWF file: 34 bytes empty movieClip (SWF): (57 bytes - 34) 23 bytes empty movieClip with 'id = 2;' put in its timeline code: 75 bytes so, that *would* mean: the base SWF file takes 34 bytes an empty MovieClip costs: (57 - 34) 23 bytes assigning 'id = 2'; to an empty MovieClip's timeline adds: (75 - 57) 18 bytes if you don't assign a value to id, id would take 2bytes less, meaning: 16 bytes ok, ok, I am always wrong, but maybe you can get something out of it Cedric Hi to all the Flashcoders, I have a question. How much memory does a movieclip takes at run time? For example If I m creating a movieclip with createEmptyMovieClip, How much memory it will take? And one more thing related to this If I m assigning one property to the movieclip like My_mc.id = 2 How much memory this id property will take? Regards Sumeet Kumar ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Asynchronous ExternalInterface Calls From Javascript, possible?
setInterval is a handy way to break scope. Have the AS method called by JS set an interval for let's say 10ms, and then have the method assigned to the interval take care of business. Javascript will be free and Flash will keep on going. -Steven Seth Green wrote: I'm not calling a JS function from flash until the end of this process. It is the beginning of this process that I want to be made asynchronous. In the beginning I am calling a flash function from JS. That is the piece I am trying to get to be asynchronous. jtgxbass wrote: You could make use of ExternalInterface.addCallback. Therefore the JS function you call with ExternalInterface.call starts some process off then returns straight away. When your process is done it calls your registered flash callback. Therefore you end up with asynchronous. All said and done, why not call the webservice straight from flash? On 6/19/07, Seth Green [EMAIL PROTECTED] wrote: I have a web app that uses a flash movie as a proxy to a web service. Therefore, I have javascript calling flash methods that in turn make requests to a web service and then route the response back to javascript. I don't need my javascript functions to wait on this calls, but ExternalInterface is inherently synchronous. And to my surprise I have found that a flash method which does nothing but make a web service request can take 100ms or more. This is unacceptably slow, but especially so since my javascript code has to hang while the flash method does its business. Does anyone have any experience with this issue, or can provide a workaround or hint as to how I might make these calls asynchronous? 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 ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Memory Usage in Flash
Hi, You are correct. I think the question was asked differently. He means to say how much memory the compiler takes to create a movieclip. Thanks -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Cedric Muller Sent: Wednesday, June 20, 2007 6:06 PM To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] Memory Usage in Flash empty SWF file: 34 bytes empty movieClip (SWF): (57 bytes - 34) 23 bytes empty movieClip with 'id = 2;' put in its timeline code: 75 bytes so, that *would* mean: the base SWF file takes 34 bytes an empty MovieClip costs: (57 - 34) 23 bytes assigning 'id = 2'; to an empty MovieClip's timeline adds: (75 - 57) 18 bytes if you don't assign a value to id, id would take 2bytes less, meaning: 16 bytes ok, ok, I am always wrong, but maybe you can get something out of it Cedric Hi to all the Flashcoders, I have a question. How much memory does a movieclip takes at run time? For example If I m creating a movieclip with createEmptyMovieClip, How much memory it will take? And one more thing related to this If I m assigning one property to the movieclip like My_mc.id = 2 How much memory this id property will take? Regards Sumeet Kumar ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] BASE url and shared library issue on Firefox
Hi Coders, I got a big issue in which causes headache, I am using Shared Libraries, but there seems to be issues when using BASE-url in Firefox, it works very well in Explorer. The problem is that in Firefox the flash is sending requests every time a textfield is to be rendered. So does anyone know this problem with Shared Library, and BASE in firefox? I cant show the sample as I have up and running, as it is secret due to the clients demands. And I dont have time to make a sample right now, but if anyone knows about the issue already, please answer!! Thanks, Martin ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] mtasc eval
Hi, does n1 know why eval(_global) returns an object in the flash IDE, but undefined in MTASC? regards, JC ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Swf class explorer
Hi People, I have been googling, but I cant find what I am looking for. Am looking for an application which reads out which classes that has been exported in the swf, as in this for example: main.swf -myClassA -myClassB child.swf -mySiblingA I am almost certain I have seen it before! -and I would REALLY need it, because we got a messy project with lots of files, and sometimes there are files which have class-references which has to be published so that deeper files can have the updates. 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] Grid / Math - getting neighbouring positions
Perhaps it is just me but your solution and does not get all the grid locations. All this does is get the grid locations in a direct horizontal, vertical and 45 degree angle from the starter grid. Go out 2 or 3 levels and you quickly find that there are grid spots missing. Charles P. On 6/17/07, Joshua Sera [EMAIL PROTECTED] wrote: The easy way to do this is like so. So you have a square at x,y, and you want to get all the squares n squares away. Get squares x+n, y x-n, y x+n, y+n x-n, y+n x+n, y-n x-n, y-n x, y+n x, y-n I suspect you want to do this for your version of that whale-ey thing though, so what you actually want to do is a bit different. First off, to find out which grid square a point fits into (this being the center of where your user is looking): You need the height and width of your grid squares. Take your point (x, y) Your point fits into grid square [Math.floor(x/squareWidth), Math.floor(y/squareHeight)] Apply this by figuring out where on the big picture your person is looking. After that, move left and up by half the screen width, and height, then right and down by the same amount, and you have the ranges of squares to get in order to display that part of the image. --- Jiri Heitlager | dadata.org [EMAIL PROTECTED] wrote: Please I really need help on this on, I am cracking my head over it. Bresenham algo is also not the way to go, because it is for circle's and to complex! I can only get one ring, arggg If I go one ring further then it results in many double values, calculate allready when doing the first ring. Here is the code.. var row = 0; var c:Number = 3; var ring:Number = 1; //take start pos [2,2] var x:Number = 2; var y:Number = 2; // while (rowc) { for (var i:Number = 0; ic; i++) { var rowID:Number = (x-ring)+i; var colID:Number = (y-ring)+row; if (rowID0 || colID0 /* || (rowID == sR colID == sC)*/) { continue; } trace('['+colID+','+rowID+']'); } row++; } ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ You snooze, you lose. Get messages ASAP with AutoCheck in the all-new Yahoo! Mail Beta. http://advision.webevents.yahoo.com/mailbeta/newmail_html.html ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Flash CS3 over 400 MB! and 25 minutes to install!
i'm having a difficult time getting it to download fullydownload stops halfway through...anybody else have this problem??? p On 6/20/07, Jon Bradley [EMAIL PROTECTED] wrote: On Jun 19, 2007, at 4:31 PM, JulianG wrote: I saw this coming... Once Adobe take over Macromedia, things would start to happen. Bad things, I mean. Still searching to see what can be defined as bad in this thread. How come Flash CS3 Installer is over 400 MB, when Flash 8 was only 110 MB?? While I'm writing this the application in being installed (less than 50% progress). How is it possible that it's taking AGES to do finish! Cause it's a large install and there are a lot of pieces. Hundred thousand or so lines of code just for the class support and thousands of documents for help alone. If it were one large file it'd take only a few minutes to write. Rather, it's thousands upon thousands of files. That is what takes a long time to install - hard drives do not function efficiently with read/write on tons of tiny files. They are efficient on large files. And if your drive is fragmented... oh boy, have fun with that. It almost seems like I was installing... I don't know Photoshop, or some other buggy Adobe software. Oh! s**t I am! I mean honestly, why do I keep reading things about Adobe products being so buggy. Photoshop and Adobe products are some of the least buggy software products around. Consider yourself lucky. I'm scared! I hope they don't screw it with the Flash Player. That'd be quite harmful for us. I think. I don't see people updating Flash Player if it's 30MB or annoying in some other way. That won't happen. There's a very explicit development process when adding features or adjusting the Flash Player. The team has very detailed requirements for coding and there are, I imagine, impact analyses for every addition to the Player. Perhaps you guys had this discussion some time ago. Do you have any URLs I can read about this, so I can find out if it is just me paranoid? Paranoid. Who cares if the installer is big? Honestly. Get a bigger hard drive. 400 MB for an installer is a drop in the bucket. Even a couple gigs is a drop in the bucket with the size of drives today. cheers, jon ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Flash CS3 over 400 MB! and 25 minutes to install!
On Jun 19, 2007, at 4:31 PM, JulianG wrote: I saw this coming... Once Adobe take over Macromedia, things would start to happen. Bad things, I mean. Still searching to see what can be defined as bad in this thread. How come Flash CS3 Installer is over 400 MB, when Flash 8 was only 110 MB?? While I'm writing this the application in being installed (less than 50% progress). How is it possible that it's taking AGES to do finish! Cause it's a large install and there are a lot of pieces. Hundred thousand or so lines of code just for the class support and thousands of documents for help alone. If it were one large file it'd take only a few minutes to write. Rather, it's thousands upon thousands of files. That is what takes a long time to install - hard drives do not function efficiently with read/write on tons of tiny files. They are efficient on large files. And if your drive is fragmented... oh boy, have fun with that. It almost seems like I was installing... I don't know Photoshop, or some other buggy Adobe software. Oh! s**t I am! I mean honestly, why do I keep reading things about Adobe products being so buggy. Photoshop and Adobe products are some of the least buggy software products around. Consider yourself lucky. I'm scared! I hope they don't screw it with the Flash Player. That'd be quite harmful for us. I think. I don't see people updating Flash Player if it's 30MB or annoying in some other way. That won't happen. There's a very explicit development process when adding features or adjusting the Flash Player. The team has very detailed requirements for coding and there are, I imagine, impact analyses for every addition to the Player. Perhaps you guys had this discussion some time ago. Do you have any URLs I can read about this, so I can find out if it is just me paranoid? Paranoid. Who cares if the installer is big? Honestly. Get a bigger hard drive. 400 MB for an installer is a drop in the bucket. Even a couple gigs is a drop in the bucket with the size of drives today. cheers, jon ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Dimensions of loading swf file
Hi Is it possible to know dimensions of loading swf file? How I can get width and height? Thank you for help. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Swf class explorer
Hi, im not certain what you need, but you can look at: Xray FlashDevelop (lets you browse swf files for classes) decompilers a reflection package If you look here: http://www.objectpainters.com/xflas2/ You see a class finder and functionfinder class. If you call ClassFinder.registerAll(); you will see a list of classes contained in your swf. greetz JC On 6/20/07, Martin Klasson [EMAIL PROTECTED] wrote: Hi People, I have been googling, but I cant find what I am looking for. Am looking for an application which reads out which classes that has been exported in the swf, as in this for example: main.swf -myClassA -myClassB child.swf -mySiblingA I am almost certain I have seen it before! -and I would REALLY need it, because we got a messy project with lots of files, and sometimes there are files which have class-references which has to be published so that deeper files can have the updates. Thanks. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Asynchronous ExternalInterface Calls From Javascript, possible?
Aren't web service calls asynchronous, or am I missing something? I mean, you typically have to set up a result function to handle the web service response. Calling the service should not hold the function. In any case, I'd expect you'd have to handle this like follows: //javascript function call(){ swfObject.call(); } //flash function call(){ } function callBack(){ getURL(javascript:callBack();) } //javascript function callBack(){ //this would be called when the service response is recieved. } On 6/20/07, Steven Sacks [EMAIL PROTECTED] wrote: setInterval is a handy way to break scope. Have the AS method called by JS set an interval for let's say 10ms, and then have the method assigned to the interval take care of business. Javascript will be free and Flash will keep on going. -Steven Seth Green wrote: I'm not calling a JS function from flash until the end of this process. It is the beginning of this process that I want to be made asynchronous. In the beginning I am calling a flash function from JS. That is the piece I am trying to get to be asynchronous. jtgxbass wrote: You could make use of ExternalInterface.addCallback. Therefore the JS function you call with ExternalInterface.call starts some process off then returns straight away. When your process is done it calls your registered flash callback. Therefore you end up with asynchronous. All said and done, why not call the webservice straight from flash? On 6/19/07, Seth Green [EMAIL PROTECTED] wrote: I have a web app that uses a flash movie as a proxy to a web service. Therefore, I have javascript calling flash methods that in turn make requests to a web service and then route the response back to javascript. I don't need my javascript functions to wait on this calls, but ExternalInterface is inherently synchronous. And to my surprise I have found that a flash method which does nothing but make a web service request can take 100ms or more. This is unacceptably slow, but especially so since my javascript code has to hang while the flash method does its business. Does anyone have any experience with this issue, or can provide a workaround or hint as to how I might make these calls asynchronous? 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 ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Flash CS3 over 400 MB! and 25 minutes to install!
I think it's interesting to note that additional Adobe CS 3 software, will not take as long to install, since there are many common files shared between all the CS 3 stuff. Still, it is pretty slow. Maybe Adobe could find a way to put all those tiny files into some kind of larger single file package. Kevin N. JulianG wrote: I saw this coming... Once Adobe take over Macromedia, things would start to happen. Bad things, I mean. How come Flash CS3 Installer is over 400 MB, when Flash 8 was only 110 MB?? While I'm writing this the application in being installed (less than 50% progress). How is it possible that it's taking AGES to do finish! It almost seems like I was installing... I don't know Photoshop, or some other buggy Adobe software. Oh! s**t I am! I'm scared! I hope they don't screw it with the Flash Player. That'd be quite harmful for us. I think. I don't see people updating Flash Player if it's 30MB or annoying in some other way. Perhaps you guys had this discussion some time ago. Do you have any URLs I can read about this, so I can find out if it is just me paranoid? Thanks, JulianG ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Flash CS3 over 400 MB! and 25 minutes to install!
I think it's interesting to note that additional Adobe CS 3 software, will not take as long to install, since there are many common files shared between all the CS 3 stuff. Still, it is pretty slow. Maybe Adobe could find a way to put all those tiny files into some kind of larger single file package. Kevin N. JulianG wrote: I saw this coming... Once Adobe take over Macromedia, things would start to happen. Bad things, I mean. How come Flash CS3 Installer is over 400 MB, when Flash 8 was only 110 MB?? While I'm writing this the application in being installed (less than 50% progress). How is it possible that it's taking AGES to do finish! It almost seems like I was installing... I don't know Photoshop, or some other buggy Adobe software. Oh! s**t I am! I'm scared! I hope they don't screw it with the Flash Player. That'd be quite harmful for us. I think. I don't see people updating Flash Player if it's 30MB or annoying in some other way. Perhaps you guys had this discussion some time ago. Do you have any URLs I can read about this, so I can find out if it is just me paranoid? Thanks, JulianG ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Asynchronous ExternalInterface Calls From Javascript, possible?
It turns out that the asynchronous web service call actually takes some extra time (like 100ms) the FIRST time you use that web service method. Subsequent calls to that method only take 1ms. So, this first time you call this function from JS, JS is blocked for about 100ms //flash ExternalInterface.addCallback(service_GetEmails, this, getEmails); function getEmails():Void { _pendingCall = service.getEmails(emailIds); _pendingCall.onFault = function(fault){service_onFault(fault);} _pendingCall.onResult = function(result){toJS(result);} } //JS myMovie.service_GetEmails(); Subsequent calls are super fast. Not sure why this is. Must have something to do with some overhead incurred during the first call. I'd be interested to know the answer. I didn't realize it was only on the first call that so much time was taken. I can actually live with that. Otheriwse, the setInterval and/or setTimeout suggestion would have done the trick. Thanks elibol wrote: Aren't web service calls asynchronous, or am I missing something? I mean, you typically have to set up a result function to handle the web service response. Calling the service should not hold the function. In any case, I'd expect you'd have to handle this like follows: //javascript function call(){ swfObject.call(); } //flash function call(){ } function callBack(){ getURL(javascript:callBack();) } //javascript function callBack(){ //this would be called when the service response is recieved. } On 6/20/07, Steven Sacks [EMAIL PROTECTED] wrote: setInterval is a handy way to break scope. Have the AS method called by JS set an interval for let's say 10ms, and then have the method assigned to the interval take care of business. Javascript will be free and Flash will keep on going. -Steven Seth Green wrote: I'm not calling a JS function from flash until the end of this process. It is the beginning of this process that I want to be made asynchronous. In the beginning I am calling a flash function from JS. That is the piece I am trying to get to be asynchronous. jtgxbass wrote: You could make use of ExternalInterface.addCallback. Therefore the JS function you call with ExternalInterface.call starts some process off then returns straight away. When your process is done it calls your registered flash callback. Therefore you end up with asynchronous. All said and done, why not call the webservice straight from flash? On 6/19/07, Seth Green [EMAIL PROTECTED] wrote: I have a web app that uses a flash movie as a proxy to a web service. Therefore, I have javascript calling flash methods that in turn make requests to a web service and then route the response back to javascript. I don't need my javascript functions to wait on this calls, but ExternalInterface is inherently synchronous. And to my surprise I have found that a flash method which does nothing but make a web service request can take 100ms or more. This is unacceptably slow, but especially so since my javascript code has to hang while the flash method does its business. Does anyone have any experience with this issue, or can provide a workaround or hint as to how I might make these calls asynchronous? 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 ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Flash CS3 over 400 MB! and 25 minutes to install!
Can I just mention that I was totally disgusted that the installer now refuses to install on my secondary laptop, due to it being below the minimum spec. I actually switched to using Corel Draw on that machine. I never thought I'd ever admit to that in a public forum. Alias On 19/06/07, Muzak [EMAIL PROTECTED] wrote: The install size has indeed increased. That's because you're no longer just installing Flash but a whole bunch of (use your imagination) that is needed for integrating with other Adobe products. And yes, it takes forever to install (at least it did here). I had to uninstall a CS3 suite from my laptop which took hours (seriously). They need to look into this if you ask me. regards, Muzak - Original Message - From: JulianG [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Sent: Tuesday, June 19, 2007 10:31 PM Subject: [Flashcoders] Flash CS3 over 400 MB! and 25 minutes to install! I saw this coming... Once Adobe take over Macromedia, things would start to happen. Bad things, I mean. How come Flash CS3 Installer is over 400 MB, when Flash 8 was only 110 MB?? While I'm writing this the application in being installed (less than 50% progress). How is it possible that it's taking AGES to do finish! It almost seems like I was installing... I don't know Photoshop, or some other buggy Adobe software. Oh! s**t I am! I'm scared! I hope they don't screw it with the Flash Player. That'd be quite harmful for us. I think. I don't see people updating Flash Player if it's 30MB or annoying in some other way. Perhaps you guys had this discussion some time ago. Do you have any URLs I can read about this, so I can find out if it is just me paranoid? Thanks, JulianG ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] Flash CS3 over 400 MB! and 25 minutes to instal l!
Still, it is pretty slow. Maybe Adobe could find a way to put all those tiny files into some kind of larger single file package. Then, it would run slower. I'd rather have a lengthy install than a slower product. 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! This email has been processed by SmoothZap - www.smoothwall.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] Snapping to objects
I am looking for some math that allows for an object to snap (but not cement itself) to another object in a group of objects. I have a routine that maps mouse coordinates in one area of the stage, moving a cursor clip in another. Split the screen in 1/2, and the real mouse on the right moves a representation of the mouse on the left. I have mcs on the left i'd like the mc cursor on the left to snap to if close enough, but the ability to pop off those to go to another as well. Kinda think Wii remote and how the cursor snaps to buttons to make things easier. Any ideas? ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Flash Development on PC vs Mac
Questions for those of you who have done Flash development on both platforms: What are the pros and cons of Flash development on Mac vs PC? Which platform would you recommend? My laptop is in need of replacement, and my employer generally gives us a choice of IBM (lenovo) or Mac. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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 Development on PC vs Mac
I'd say your choice of Mac vs. PC should go well beyond which is better for flash development considering there are major differences between the two. I'd like to challenge the rest of the people on the list not to get into a PC vs Mac fanboy debate and keep this particular discussion to flash development on the two OSs. My only anecdotal evidence is that my wife works for a prominent interactive agency that does a ton of flash development. their entire flash team uses Macs. Jim Robson wrote: Questions for those of you who have done Flash development on both platforms: What are the pros and cons of Flash development on Mac vs PC? Which platform would you recommend? My laptop is in need of replacement, and my employer generally gives us a choice of IBM (lenovo) or Mac. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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 Development on PC vs Mac
Seth - Thanks for the advice (to me) and the caution (to the entire community). I am researching much more than just the Flash question, but since I am primarily a Flash / Flex developer, it seemed appropriate to put the question to my peers and learn from their experiences. -Jim -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Seth Green Sent: Wednesday, June 20, 2007 12:17 PM To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] Flash Development on PC vs Mac I'd say your choice of Mac vs. PC should go well beyond which is better for flash development considering there are major differences between the two. I'd like to challenge the rest of the people on the list not to get into a PC vs Mac fanboy debate and keep this particular discussion to flash development on the two OSs. My only anecdotal evidence is that my wife works for a prominent interactive agency that does a ton of flash development. their entire flash team uses Macs. Jim Robson wrote: Questions for those of you who have done Flash development on both platforms: What are the pros and cons of Flash development on Mac vs PC? Which platform would you recommend? My laptop is in need of replacement, and my employer generally gives us a choice of IBM (lenovo) or Mac. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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 Development on PC vs Mac
Why not get a MacBook Pro and partition the hard drive in half and install Windows on one half, Mac on the other, and get the best of both worlds? I've had a MacBook Pro now since, I think, December or so of last year, and you'd have to pry it from my cold, dead fingers. I develop on both sides and have zero, zip, nada, complaints. Develop, test, preview... and best of all, carry it around with you. Two computers for the price (and weight) of one. Your mileage may vary, naturally, but it's definitely something to think about... On 6/20/07, Jim Robson [EMAIL PROTECTED] wrote: Questions for those of you who have done Flash development on both platforms: What are the pros and cons of Flash development on Mac vs PC? Which platform would you recommend? My laptop is in need of replacement, and my employer generally gives us a choice of IBM (lenovo) or Mac. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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 Development on PC vs Mac
I'm a Flash developer (obviously) and I recently 'converted' to a Mac. Not because it's cool or stylish (though obviously that's a bonus), but because the technology was so much better, integrated and flexible. Having Parallels on it means I can run Windows XP inside of OSX and they both get issued their own IP addresses from the network. This means I have a client server development system in one laptop (MBP). The only down side is that they are more expensive and Apple support is a bit 'political'. That's my ten cents worth. I wouldn't go back to a PC by choice now. Sean flashcoder.net Questions for those of you who have done Flash development on both platforms: What are the pros and cons of Flash development on Mac vs PC? Which platform would you recommend? My laptop is in need of replacement, and my employer generally gives us a choice of IBM (lenovo) or Mac. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Trying to know size of loading swf
I believe it's a timing issue. It may take an extra frame to actually initialize... Try running an onEnterFrame from onLoadInit to check the size continually until it's greater than 0. function onLoadInit(_mc:MovieClip) { _mc.onEnterFrame = function(){ trace(this._width); trace(this._height); //this == _mc } _mc.play(); host._visible=true; }; hope that works... :) On 6/20/07, natalia Vikhtinskaya [EMAIL PROTECTED] wrote: Hi to all I should load swfs with different sizes in host mc ( I have empty mc on the stage with this name) . A window for showing them has smaller size. So I should scale these swfs. I thought that I can catch size of loading swf in onLoad Init function and than scale host mc. function onLoadInit(_mc:MovieClip) { trace(host._height) trace(_mc._width) _mc.play(); host._visible=true; }; But it is always show size 0; Can anybody help me with this problem? Thanks. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Flash Development on PC vs Mac
I'm currently developing on both. My only immediate thought is that there are (currently) a few more tools available on Windows. Notably FlashDevelop, which is an excellent IDE that I use every day. And TortoiseSVN (there are Mac equivalents, but they're not quite as slick). However, if you get an Intel-based Mac and run Parallels/Bootcamp on it then even those problems go away. A couple of years ago I'd have said Windows (without a moment's hesitation). Now? Whichever OS you're comfortable with. One thought for you, tho' - have you any idea what platform your audience will be using? If predominantly one or the other, make sure you have access to that platform at least for testing purposes. Ian On 6/20/07, Seth Green [EMAIL PROTECTED] wrote: I'd say your choice of Mac vs. PC should go well beyond which is better for flash development considering there are major differences between the two. I'd like to challenge the rest of the people on the list not to get into a PC vs Mac fanboy debate and keep this particular discussion to flash development on the two OSs. My only anecdotal evidence is that my wife works for a prominent interactive agency that does a ton of flash development. their entire flash team uses Macs. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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 Development on PC vs Mac
With CS3 id say there are no big differences via IDE anymore. FlashDevelop is PC only though I use that a lot. In Parallels. So to be honest, there really isn't much difference anymore. - eric On 6/20/07, Seth Green [EMAIL PROTECTED] wrote: I'd say your choice of Mac vs. PC should go well beyond which is better for flash development considering there are major differences between the two. I'd like to challenge the rest of the people on the list not to get into a PC vs Mac fanboy debate and keep this particular discussion to flash development on the two OSs. My only anecdotal evidence is that my wife works for a prominent interactive agency that does a ton of flash development. their entire flash team uses Macs. Jim Robson wrote: Questions for those of you who have done Flash development on both platforms: What are the pros and cons of Flash development on Mac vs PC? Which platform would you recommend? My laptop is in need of replacement, and my employer generally gives us a choice of IBM (lenovo) or Mac. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] onReleaseOutside event - AS3
Just Curious, why the heck is there no onReleaseOutside Events in AS3? I was building a custom scrubber the other day and couldn't fine any events for this. Flex has one, why not AS3? B. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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 Development on PC vs Mac
I think Seth has a great point since most Mac users use Parallels to compliment their development cycle. So, it's obvious that the Mac's appeal goes beyond Flash/Flex developement since they can have the best of both worlds. If I had the $$, I'd probably buy a new mac since its the best bang for your buck especially when you can test your stuff on both platforms on ONE box. But it's not the most cost efficient unfortunately On 6/20/07, Jim Robson [EMAIL PROTECTED] wrote: Seth - Thanks for the advice (to me) and the caution (to the entire community). I am researching much more than just the Flash question, but since I am primarily a Flash / Flex developer, it seemed appropriate to put the question to my peers and learn from their experiences. -Jim -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Seth Green Sent: Wednesday, June 20, 2007 12:17 PM To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] Flash Development on PC vs Mac I'd say your choice of Mac vs. PC should go well beyond which is better for flash development considering there are major differences between the two. I'd like to challenge the rest of the people on the list not to get into a PC vs Mac fanboy debate and keep this particular discussion to flash development on the two OSs. My only anecdotal evidence is that my wife works for a prominent interactive agency that does a ton of flash development. their entire flash team uses Macs. Jim Robson wrote: Questions for those of you who have done Flash development on both platforms: What are the pros and cons of Flash development on Mac vs PC? Which platform would you recommend? My laptop is in need of replacement, and my employer generally gives us a choice of IBM (lenovo) or Mac. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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 -- [ JPG ] ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Flash CS3 over 400 MB! and 25 minutes to install!
A Bad thing is having to allot 1200 MB for things you don't need. (Flash 8 requires just 190 MB.) I know why the file is 400MB! I know there are millions of files in it. I know that's why it takes so long to install. The point is: should it be done that way? should there be so many files in it? Should we be compelled to install the entire thing without being able to opt-out on some components? I think in their attempt to integrate Flash with other Adobe products (which only designers use), they are forgetting about developers and coders who just need the Flash IDE to open a FLA file and publish it after having coded their scripts using some external text editor. Those people don't need PSD import or most integration tools. And they don't like having to install 1.2 GB of things they won't ever use, and spend hours doing so. The argument that today's hard disks are larger, and that 1.2 GB is not a lot, is missing the point. It's not about whether I can store 1.2GB or not. It's about whether I should allot 1.2GB for things I don't care about or not. It's about giving users the right to choose. Get a bigger hard drive. To store your rubbish? No thanks! You're not listening! Many people is complaining about this. So please! Add options to the installation process, so some people can have a light and healthy Flash installation. Ok. It's good to know WHY the thing is so big. (thanks to some Adobe people who replied). And it's good to know THAT THEY KNOW the thing is too big. And that they will try to make it right next time. Good thing is that I only installed the trial version in my second PC, and fortunately I didn't contaminate my personal computer with it. I'm seriously considering not using the product at all. At least until I feel forced to do so. cheers, JulianG ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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 Development on PC vs Mac
Tough question to provide a suggestion for. I think it really comes down to what environment you're comfortable developing in. What environment you like managing projects, project files, and project deployment in. Case in point, if you're moving around lots of .AS files in your flash project and you find the OSX file interface cumbersome, then that's a strike. I find very little difference in the flash IDE between windows/mac so it's really what your most comfortable with in terms of the operating system's desktop. I find it horrifically useful to use virtuedesktops in OSX with the flashIDE and an external editor to help speed my development process. I also use the FlashDevelop external editor/IDE on my windows workstation which is great. I think the best of both worlds can be found on a mac with at least a core 2 duo intel processor running Parallels with windows. I have flash installed on my mac in OSX and on my parallels installed windows XP on the same machine. Just some thoughts. -- Jim Palmer ! Mammoth Web Operations -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Jim Robson Sent: Wednesday, June 20, 2007 9:21 AM To: flashcoders@chattyfig.figleaf.com Subject: RE: [Flashcoders] Flash Development on PC vs Mac Seth - Thanks for the advice (to me) and the caution (to the entire community). I am researching much more than just the Flash question, but since I am primarily a Flash / Flex developer, it seemed appropriate to put the question to my peers and learn from their experiences. -Jim -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Seth Green Sent: Wednesday, June 20, 2007 12:17 PM To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] Flash Development on PC vs Mac I'd say your choice of Mac vs. PC should go well beyond which is better for flash development considering there are major differences between the two. I'd like to challenge the rest of the people on the list not to get into a PC vs Mac fanboy debate and keep this particular discussion to flash development on the two OSs. My only anecdotal evidence is that my wife works for a prominent interactive agency that does a ton of flash development. their entire flash team uses Macs. Jim Robson wrote: Questions for those of you who have done Flash development on both platforms: What are the pros and cons of Flash development on Mac vs PC? Which platform would you recommend? My laptop is in need of replacement, and my employer generally gives us a choice of IBM (lenovo) or Mac. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Flash Development on PC vs Mac
Jim, I agree with Seth that the Mac-versus-PC decision should probably be made mostly by considerations other than Flash development. If you are using the laptop primarily in a work environment, one major consideration should be what your collaborators are using. For example, in a mixed platform environment all fonts must be cross-platform (this has been a headache in nearly EVERY cross-platform project I've participated in). File type recognition is different between platforms, so that Macs sometimes don't recognize PC-generated files (though there are simple work-arounds, it's time-consuming and annoying). Another huge consideration is what software you will be using. Is it all cross-platform? Who will be buying the licenses for new software, and will it make a difference if they have to buy licenses for two platforms rather than one? Another issue is testing, especially if you need to test on browsers. If you go with Mac, you'll want easy access to a PC for testing on PC browsers. On the other hand, testing on Macs is important but is usually secondary to testing on PC's, just because of how the market works. What platform are you on now? Does it matter whether you can transfer your existing software to the new machine? As far as Flash files themselves, I don't think you'll have significant trouble opening PC- or Mac-generated fla's cross-platform, aside from missing fonts. Marc Hoffman Poison Dart Frog Media At 09:16 AM 6/20/2007, you wrote: I'd say your choice of Mac vs. PC should go well beyond which is better for flash development considering there are major differences between the two. I'd like to challenge the rest of the people on the list not to get into a PC vs Mac fanboy debate and keep this particular discussion to flash development on the two OSs. My only anecdotal evidence is that my wife works for a prominent interactive agency that does a ton of flash development. their entire flash team uses Macs. Jim Robson wrote: Questions for those of you who have done Flash development on both platforms: What are the pros and cons of Flash development on Mac vs PC? Which platform would you recommend? My laptop is in need of replacement, and my employer generally gives us a choice of IBM (lenovo) or Mac. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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 Development on PC vs Mac
On 6/20/07, Jim Robson [EMAIL PROTECTED] wrote: Seth - Thanks for the advice (to me) and the caution (to the entire community). I am researching much more than just the Flash question, but since I am primarily a Flash / Flex developer, it seemed appropriate to put the question to my peers and learn from their experiences. -Jim So far, the only thing I've personally run into is database issues. A lot of my clients use SQL server, which is a pain to develop for (almost impossible really) on the Mac side. On the Mac side I've had good fortune with postgreSQL, and MySQL. Apache isn't hard to configure on the Mac Side, and if you're looking for consistent development from one platform to the other, I've just gone with Apache on the Windows side as well. One other thing that I'd recommend if you're thinking about running Windows on a MacBook is to spring for the largest Hard Drive you can. Mine was only 100Gigs, and I split it down the middle, 50 gigs on each side, and I sometimes wish I had gotten a bit larger drive. Also, you can check out Paralells on the Mac and just run Windows in a window. When I loaded Windows on my MacBook, I used BootCamp. Sometimes I think it would be cool to switch back and forth without having to reboot, but it's so rare. Being a developer in almost the exact same shoes as you, I tend to spend a lot of time in one OS or the other. I rarely need to flip back and forth but when I do, I think to myself, I wonder if paralells would be worth it now? Otherwise, I've had nothing but real positive experiences carrying one Macbook around and using both OSes. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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 Development on PC vs Mac
Another question is what environment are your apps served from. For instance, all of our servers are some flavor of unix, running apache, etc. etc. Because of this, using a Mac has helped in that I can exactly replicate the server environment on my machine. Anything that is installed on the server can easily be installed on my machine (because it is unix-based). If your apps are hosted off windows boxes, then you should consider that as well. Jim Robson wrote: Questions for those of you who have done Flash development on both platforms: What are the pros and cons of Flash development on Mac vs PC? Which platform would you recommend? My laptop is in need of replacement, and my employer generally gives us a choice of IBM (lenovo) or Mac. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Mouse Velocity?
I am calculating mouse velocity, but every now and then you get a 0 for velocity eventhough its not 0 (setInterval prob I suspect). Any better approach? var MouseX; var MouseY; function determineVelocity():Void { MouseX = _root._xmouse MouseY = _root._ymouse setTimeout( calc, 9 ); }; setInterval( determineVelocity, 20 ); function calc():Void { var newMouseX:Number = _root._xmouse; var newMouseY:Number = _root._ymouse; var deltaX = Math.abs(MouseX - newMouseX) deltaY = Math.abs(MouseY - newMouseY) dist = Math.sqrt((deltaX * deltaX) + (deltaY * deltaY)) velocity = dist*31; // 31 = fps trace( velocity ); }; ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] onReleaseOutside event - AS3
Derrick Grigg has a good post on this (the responses are worth reading as well) http://www.dgrigg.com/post.cfm/11/08/2006/Flex-2-AS-3-onReleaseOutside -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bob Wohl Sent: Wednesday, June 20, 2007 12:42 PM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] onReleaseOutside event - AS3 Just Curious, why the heck is there no onReleaseOutside Events in AS3? I was building a custom scrubber the other day and couldn't fine any events for this. Flex has one, why not AS3? B. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] Flash CS3 over 400 MB! and 25 minutes to install!
Sooner or later many of us have to be brutally honest and reveal things about ourselves and our lives that we would rather keep secret. -Original Message- From: AliasT [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 20, 2007 11:28 AM To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] Flash CS3 over 400 MB! and 25 minutes to install! Can I just mention that I was totally disgusted that the installer now refuses to install on my secondary laptop, due to it being below the minimum spec. I actually switched to using Corel Draw on that machine. I never thought I'd ever admit to that in a public forum. Alias ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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 Development on PC vs Mac
I work on both. I'm more comfortable on a Windows PC than a Mac, but that is simply due to what I'm used to. (I started on Mac's in the mid 80's, then switched up to Windows PC's in 95 when MS launched Windows 95.) In all honesty, if I was to have to pick right now, I'd give a long hard look at an Intel Mac that I could set up as dual booting. Short of that, I'm sticking with Windows for my primary dev platform, and Mac for my Mac-only and cross-platform testing/tweaking. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] onReleaseOutside event - AS3
awesome! Thanks for the link! B. On 6/20/07, Jim Robson [EMAIL PROTECTED] wrote: Derrick Grigg has a good post on this (the responses are worth reading as well) http://www.dgrigg.com/post.cfm/11/08/2006/Flex-2-AS-3-onReleaseOutside -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bob Wohl Sent: Wednesday, June 20, 2007 12:42 PM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] onReleaseOutside event - AS3 Just Curious, why the heck is there no onReleaseOutside Events in AS3? I was building a custom scrubber the other day and couldn't fine any events for this. Flex has one, why not AS3? B. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Multiple Buttons One Listener Object
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Is it possible for multiple buttons to be tied to one Listener Object then within the function of this listener object be table to know which button the user has clicked.If this is possible, does anyone have code samples that I can take a look at. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.4 (MingW32) Comment: GnuPT 2.6.2.1 by EQUIPMENTE.DE Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iQEVAwUBRnl3P3njLHMPlkANAQKR1gf/bdy3g+ZxqnbbbmX0UsJ5f25essthRUBh CLcJABzcmVBcuHiWxBEPt/IJU11uxzmRwXn5oXSDd7eoNIjHBsLLXAM4+X8cDpER LGMxI2iK1KyM4NI2GjmRPUx82P1i4Fa678PR7ha7NwSA5xQWoSdYomfMfmB26mtu rlcjWbTDyZpxxOKvZqvUhrOq5raOT2pVJmt/jbaET4hSgIaLcbUG3ge9fWG45rFj nT9wSPr5IuTmyYzAcvFgcna4VvZRpTgwQ6Q9NYqUX3yNh1T7b40KlI12dXloo8AE wpZ9k13GTDcWtBcJqVmkGtMmBzOyUMpf3v+GH21Yh0p7pg4EzgDJzg== =0Uqs -END PGP SIGNATURE- ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Trying to know size of loading swf
Thank you very much. Yes this is the reason. 2007/6/20, elibol [EMAIL PROTECTED]: I believe it's a timing issue. It may take an extra frame to actually initialize... Try running an onEnterFrame from onLoadInit to check the size continually until it's greater than 0. function onLoadInit(_mc:MovieClip) { _mc.onEnterFrame = function(){ trace(this._width); trace(this._height); //this == _mc } _mc.play(); host._visible=true; }; hope that works... :) On 6/20/07, natalia Vikhtinskaya [EMAIL PROTECTED] wrote: Hi to all I should load swfs with different sizes in host mc ( I have empty mc on the stage with this name) . A window for showing them has smaller size. So I should scale these swfs. I thought that I can catch size of loading swf in onLoad Init function and than scale host mc. function onLoadInit(_mc:MovieClip) { trace(host._height) trace(_mc._width) _mc.play(); host._visible=true; }; But it is always show size 0; Can anybody help me with this problem? Thanks. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Mouse Velocity?
Try using onMouseMove/onEnterFrame to collect the mouse position. You are sure to get changes per frame with either approach, but onMouseMove is probably better in terms of performance. Still use setInterval to get the data collected last from onMouseMove and average the data to get a measurement at some rate, for example, 3 pixels per 100 milliseconds if setInterval were set to 100. Not sure if that's what you're looking for, hope it's of help. On 6/20/07, eric e. dolecki [EMAIL PROTECTED] wrote: I am calculating mouse velocity, but every now and then you get a 0 for velocity eventhough its not 0 (setInterval prob I suspect). Any better approach? var MouseX; var MouseY; function determineVelocity():Void { MouseX = _root._xmouse MouseY = _root._ymouse setTimeout( calc, 9 ); }; setInterval( determineVelocity, 20 ); function calc():Void { var newMouseX:Number = _root._xmouse; var newMouseY:Number = _root._ymouse; var deltaX = Math.abs(MouseX - newMouseX) deltaY = Math.abs(MouseY - newMouseY) dist = Math.sqrt((deltaX * deltaX) + (deltaY * deltaY)) velocity = dist*31; // 31 = fps trace( velocity ); }; ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Multiple Buttons One Listener Object
Is it possible for multiple buttons to be tied to one Listener Object then within the function of this listener object be table to know which button the user has clicked.If this is possible, does anyone have code samples that I can take a look at. There are many ways to do that I believe. One way, probably best practices, is I think you could listen for the event.target with the dispatched event, or one way I do it that involves Delegate (not necessarily a listener) in AS1 or AS2 is like this: var del0:Object = button0_mc.onRelease = Delegate.create(this, traceMe) var del2:Object = button2_mc.onRelease = Delegate.create(this, traceMe) var del1:Object = button1_mc.onRelease = Delegate.create(this, traceMe) del0.clip = button0_mc del1.clip = button1_mc del2.clip = button2_mc function traceMe():Void { trace(called from: +arguments.caller.clip) } 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] Mouse Velocity?
var mouse_obj = { nx:null, ny:null, ox:null, oy:null, velx:0, vely:0, mov:0, target:_root, init: function( $target ) { with ( this ) { target = $target; nx = ox = target._xmouse; ny = oy = target._ymouse; velx = vely = mov = 0; } }, update: function() { with ( this ) { ox = nx oy = ny nx = target._xmouse; ny = target._ymouse; velx = nx - ox; vely = ny - oy; mov = Math.sqrt((velx*velx) + (vely*vely)); } } }; onMouseDown = function() { mouse_obj.init( _root ); this.onEnterFrame = function() { mouse_obj.update(); trace ( 'velx: ' + mouse_obj.velx ) trace ( 'vely: ' + mouse_obj.vely ) trace ( 'mov: ' + mouse_obj.mov + newline ) }; } onMouseUp = function() { this.onEnterFrame = null; } _ Jesse Graupmann www.jessegraupmann.com www.justgooddesign.com/blog/ _ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of eric e. dolecki Sent: Wednesday, June 20, 2007 10:29 AM To: Flashcoders mailing list Subject: [Flashcoders] Mouse Velocity? I am calculating mouse velocity, but every now and then you get a 0 for velocity eventhough its not 0 (setInterval prob I suspect). Any better approach? var MouseX; var MouseY; function determineVelocity():Void { MouseX = _root._xmouse MouseY = _root._ymouse setTimeout( calc, 9 ); }; setInterval( determineVelocity, 20 ); function calc():Void { var newMouseX:Number = _root._xmouse; var newMouseY:Number = _root._ymouse; var deltaX = Math.abs(MouseX - newMouseX) deltaY = Math.abs(MouseY - newMouseY) dist = Math.sqrt((deltaX * deltaX) + (deltaY * deltaY)) velocity = dist*31; // 31 = fps trace( velocity ); }; ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Mouse Velocity?
It's indeed a setInterval problem, as the interval and mouse movement won't necessarily match up. onMouseMove can also be a problem, as you'll wind up with a lot of readings going straight up/down/right/left, rather than in the direction you're moving. What I've done for this problem is to average the mouse movement over 5 or so updates to get a more accurate reading. Demo here: http://www.yourmomsa.com/springexp/springexp2.swf Pick the guy up by the wheel to toss him. --- eric e. dolecki [EMAIL PROTECTED] wrote: I am calculating mouse velocity, but every now and then you get a 0 for velocity eventhough its not 0 (setInterval prob I suspect). Any better approach? var MouseX; var MouseY; function determineVelocity():Void { MouseX = _root._xmouse MouseY = _root._ymouse setTimeout( calc, 9 ); }; setInterval( determineVelocity, 20 ); function calc():Void { var newMouseX:Number = _root._xmouse; var newMouseY:Number = _root._ymouse; var deltaX = Math.abs(MouseX - newMouseX) deltaY = Math.abs(MouseY - newMouseY) dist = Math.sqrt((deltaX * deltaX) + (deltaY * deltaY)) velocity = dist*31; // 31 = fps trace( velocity ); }; ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com Sick sense of humor? Visit Yahoo! TV's Comedy with an Edge to see what's on, when. http://tv.yahoo.com/collections/222 ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Q:Up to Date tutorial on AS3 development using Flashdevelop...
Hi just getting around (finally) to developing converting old projects in AS3. Is there a definitive tutorial on using the latest (beta) of Flashdevelop for AS3 development? I'm aware of Keith Peters older tutorial, but I figure that some of it would not apply to the latest version of FD. http://www.bit-101.com/blog/?p=849 Any help 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] Flash Development on PC vs Mac
Would you need two licenses of Flash - one for each OS? Rob -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Marc Hoffman Sent: 20 June 2007 12:50 To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] Flash Development on PC vs Mac . Another huge consideration is what software you will be using. Is it all cross-platform? Who will be buying the licenses for new software, and will it make a difference if they have to buy licenses for two platforms rather than one? ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Lightbox Flash .mov
I have a client who wants to play quictime .mov (does not want .flv) files in a lightbox.js type thing called from Flash. I found FlashLightBox but it won't pay quicktime files. Does anyone know or has seen anything like this out there in the world? -- Carl Welch http://www.carlwelch.com [EMAIL PROTECTED] 805.403.4819 ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Lightbox Flash .mov
Various versions... not sure which does the trick. ThickBox http://jquery.com/demo/thickbox/ LightWindow http://stickmanlabs.com/lightwindow/ SWFBox http://blog.codefidelity.com/?p=10 SlimBox http://www.digitalia.be/software/slimbox/ GreyBox http://orangoo.com/labs/GreyBox/ LightBox http://www.huddletogether.com/projects/lightbox/ _ Jesse Graupmann www.jessegraupmann.com www.justgooddesign.com/blog/ _ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Carl Welch Sent: Wednesday, June 20, 2007 2:53 PM To: Flashcoders mailing list Subject: [Flashcoders] Lightbox Flash .mov I have a client who wants to play quictime .mov (does not want .flv) files in a lightbox.js type thing called from Flash. I found FlashLightBox but it won't pay quicktime files. Does anyone know or has seen anything like this out there in the world? -- Carl Welch http://www.carlwelch.com [EMAIL PROTECTED] 805.403.4819 ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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 Development on PC vs Mac
Would you need two licenses of Flash - one for each OS? My guess is yes. I had this question with Director MX 04 and the word straight for Macromedia (at the time) was that the license is platform-specific. So, although I could load a copy on my primary workstation and one on my laptop, they had to be the same platform. My guess is that this also applies to Flash. (It is also the case with Adobe products.) ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Flash CS3 over 400 MB! and 25 minutes to install!
Installing Master Edition is going to be fun then... Anyway I suppose you ain't using Vista either? I also comes a lot of crap I don't need and you can't option out that either. Same thing for OSX g Yours, 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] onReleaseOutside event - AS3
My site below, which I am afraid is in Japanese, includes a class that implements onReleaseOutside event handler method as well as onPress and onRelease methods. http://www.fumiononaka.com/TechNotes/Flash/FN0608004.html Translation by babelfish: http://babelfish.altavista.com/babelfish/urltrurl?lp=ja_entrurl=http%3a%2f%2ffumiononaka.com%2fBooks%2f..%2fTechNotes%2fFlash%2fFN0608004.html _ Bob Wohl wrote: Just Curious, why the heck is there no onReleaseOutside Events in AS3? I was building a custom scrubber the other day and couldn't fine any events for this. Flex has one, why not AS3? Good luck, -- Fumio Nonaka mailto:[EMAIL PROTECTED] http://www.FumioNonaka.com/ My bookshttp://www.FumioNonaka.com/Books/index.html Flash communityhttp://F-site.org/ ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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 Development on PC vs Mac
http://www.adobe.com/products/eula/ http://www.adobe.com/products/eula/tools/ quote (k)You may receive the Software in more than one platform but you shall only install or use one platform. /quote - Original Message - From: Rob Davis :: Solaris Media [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Sent: Wednesday, June 20, 2007 10:01 PM Subject: RE: [Flashcoders] Flash Development on PC vs Mac Would you need two licenses of Flash - one for each OS? Rob ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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 Development on PC vs Mac
CS3 really changed everything, IMO. Flash was decent on the Mac version Flash 8 and earlier, but for whatever reason it still a bit less polished than on Windows. CS3, on an Intel Mac, is spectacular. With that, it makes more sense to me to get a Mac because of Boot Camp and Parallels where you can install Windows on the same box and have the best of both worlds. I work this way and really enjoy it. On 6/20/07, Jim Robson [EMAIL PROTECTED] wrote: Questions for those of you who have done Flash development on both platforms: What are the pros and cons of Flash development on Mac vs PC? Which platform would you recommend? My laptop is in need of replacement, and my employer generally gives us a choice of IBM (lenovo) or Mac. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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 Development on PC vs Mac
Yes, but I would favor VMWare over Parallels, though. The bad support and hackish approach to Bootcamp partition is horrifying. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Type Coercion Failed: Odd behavior.
Hello, I've created a custom class: LiquidObject extends Sprite I then create several instances of LiquidObject and add them as children to a parent Sprite. If I cycle through and trace the children as such: for (var i:int=0;iparent.numChildren;i++) { trace(parent.getChildAt(i)); } Each trace shows the correct type of object: [object LiquidObject] When I tried to access a property specific to LiquidObject (LiquidObject.selected) it does not recognize this to be a property because it thinks it's dealing with a general Sprite. So, I attempt to coerce to type LiquidObject as such: for (var i:int=0;iparent.numChildren;i++) { trace(LiquidObject(parent.getChildAt(i)).selected); } Unfortunately, I receive an error stating that I can't coerce type Sprite to LiquidObject. I would think that this would be allowed since (a) LiquidObject extends Sprite and (b) parent.getChildAt(i) is already presenting a type LiquidObject in the trace. Any suggestions would be appreciated. Thanks in advance. Paul ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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: Asynchronous ExternalInterface Calls From Javascript, possible?
Seth Green seth.m.green at gmail.com writes: It turns out that the asynchronous web service call actually takes some extra time (like 100ms) the FIRST time you use that web service method. Not to confuse the matters worse but I wonder if that has something to do with it looking for the a crossdomain.xml file. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Type Coercion Failed: Odd behavior.
Maybe this will help the coerce: for (var i:int=0;iparent.numChildren;i++) { if(parent.getChildAt(i) is LiquidObject){ trace(LiquidObject(parent.getChildAt(i)).selected); } } -- Keith H -- Paul Chang wrote: Hello, I've created a custom class: LiquidObject extends Sprite I then create several instances of LiquidObject and add them as children to a parent Sprite. If I cycle through and trace the children as such: for (var i:int=0;iparent.numChildren;i++) { trace(parent.getChildAt(i)); } Each trace shows the correct type of object: [object LiquidObject] When I tried to access a property specific to LiquidObject (LiquidObject.selected) it does not recognize this to be a property because it thinks it's dealing with a general Sprite. So, I attempt to coerce to type LiquidObject as such: for (var i:int=0;iparent.numChildren;i++) { trace(LiquidObject(parent.getChildAt(i)).selected); } Unfortunately, I receive an error stating that I can't coerce type Sprite to LiquidObject. I would think that this would be allowed since (a) LiquidObject extends Sprite and (b) parent.getChildAt(i) is already presenting a type LiquidObject in the trace. Any suggestions would be appreciated. Thanks in advance. Paul ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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