[Flashcoders] Image based Tetris
hi all. i'm trying to build a tetris where the blocks are images. that means a the T or L brick for example do not consist of single squares, but of one image in that block form. anyone has done that before? i was thinking of having a regular tetris engine where i overlay the blocks with the image, but it guess it ain't that easy to complete. any suggestions? thanks: lars ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Flash and Java (Processing) Communication - Crossplatform
hi all, looking for flash to java and vice versa communication examples (via xmlsocket?). crossplatform. like a way to control a processing.org app with flash and vice versa. i have in mind the mario klingemann did something like that, but i can't find it on his site. anyone? i like to use processings fft to use it within a flash app for example. thanks: lars ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Flash and Java (Processing) Communication - Crossplatform
sounds nice, even if its still a bit buggy. thanks! and about the other question? any way to embedd processing into flash or vice versa (and communicate between those two)? Am 27.12.2005 12:35 Uhr schrieb Latcho unter [EMAIL PROTECTED]: I like processing, but can't give you a correct answer to this.what everybody can tell you is that fft will become available woith flex and actionscript3 , for the moment that function is still buggy, but you can play with it ( amplitude works) ; http://labs.macromedia.com/ citate from http://labs.macromedia.com/wiki/index.php/Talk:ActionScript_3 - computeSpectrum and FFT The computeSpectrum seems to work fine using readFloat to access the byteArray. To do that I use the following code: while(i1024){ spectrum.position=i; sprites_array[Math.round(i/4)].scaleY=(spectrum.readFloat()*100); i=i+4; } Now if you actually want a spectrum graph instead of a raw wave you need the FFTMode set to true. But that just seems to return a random mess and nothing like a spectrum graph. Am I missing something or is the FFT not working as it should? I've had the same results with FFT not working. You can also use the following: while(spectrum.bytesAvailable) { spectrum.position=i; sprites_array[Math.round(i/4)].scaleY=(spectrum.readFloat()*100); --- i=i+4; } ars wrote: hi all, looking for flash to java and vice versa communication examples (via xmlsocket?). crossplatform. like a way to control a processing.org app with flash and vice versa. i have in mind the mario klingemann did something like that, but i can't find it on his site. anyone? i like to use processings fft to use it within a flash app for example. thanks: lars ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Embedding Japanese Fonts for Font Symbol and createTextField Usage
hi all. i'm using createTextField together with a font symbol to create a dynamic list of textfields. this works fine as long i'm not trying to use a unicode font like arial ms unicode for it. is there some option somewhere to say what to embedd for the font symbol, something i can tick japanese all like on a regular dynamic text field? here's what i do (just a snipped, none copy+paste working code): tFo = new TextFormat(); tFo.font = pixfnt; // my arial unicode ms font symbol tFo.color = 0x99; tFo.size = 11; tFoO = new TextFormat(); tFoO.color = 0xFF; tFV = new TextFormat(); tFV.color = 0x33; this[textHolder+i].createTextField(tF,i,0,ypos,100,tmpheight); this[textHolder+i][tF].html = true; this[textHolder+i][tF].autoSize = left; this[textHolder+i][tF].wordWrap = true; this[textHolder+i][tF].selectable = 0; this[textHolder+i][tF].multiline = 1; this[textHolder+i][tF].type = dynamic; this[textHolder+i][tF].embedFonts = true; this[textHolder+i][tF].htmlText = _root.awardlistunique[i-1]; this[textHolder+i][tF].setTextFormat(tFo); this[textHolder+i][tF].setNewTextFormat(tFo); i'm exporting to flash 6! as said it works fine for all english-content, but when filling the htmltext with japanese uni-code content (which works on other parts of my application, so that's not the problem) it's doesnt. again: the font symbol pixfnt (linkage name) uses arial ms unicode... what i'm looking for is something like where to set which fonts to embedd on that symbol!? thanks: lars ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Wrong width and height when using MovieClipLoader?
hi all. i'm trying to load a swf and scale it down to a specific size before displaying it. i'm using this to do so: var mclListener:Object = new Object(); mclListener.onLoadInit = function(target_mc:MovieClip) { trace(target w:+target_mc._width); trace(target h:+target_mc._height); trace(target ver: + target_mc.getSWFVersion()); var newScaleRatio:Number = Math.min( 350/target_mc._width, 250/target_mc._height)*100; target_mc._xscale = newScaleRatio; target_mc._yscale = newScaleRatio; }; var image_mcl:MovieClipLoader = new MovieClipLoader(); image_mcl.addListener(mclListener); image_mcl.loadClip(1024768dummy.swf, _root.holder); the swf (1024768dummy.swf) has a size of 1024x768 pixel. when i test my script it returns: 947.7 (width) and 126.95 (height)... what's wrong with it? i exported the dummy as version 6 swf btw. thanks: lars ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Using BitmapData and applyFilter on existing MCs
hi, maybe i'm a bit late, but i'm still trying the new f8 funtions and have a problem when i try to add a bevelfilter, colortransform or such to an existing (swf loaded into holder on stage) movieclip. here's what i try to do: _root.holder holds a movieclip/swf loaded with loadmovie now, i try this: var image:BitmapData = new BitmapData(_root.holder._width, _root.holder._height, false, 0x00CC); _root.holder.attachBitmap(image, this.getNextHighestDepth()); var filter:BevelFilter = new BevelFilter(5, 45, 0x00, .8, 0xFF, .8, 20, 20, 1, 3, inner, false); image.applyFilter(image, image.rectangle, new Point(0, 0), filter); i also tried with colortransform, doesnt work too. attachBitmap doesnt make sense to me, what to use instead? all examples i've found deal with newly created movieclips but not with existing ones. thanks: lars ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Applying bitmapdata/filters to loaded SWFs Version 6 or 7
is this possible? having a flash8 master movie which loads swfs version 5,6 or 7 into a holder and apply new flash8 filters (bevel, blur etc.) to them? thanks: lars ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Applying bitmapdata/filters to loaded SWFs Version 6 or 7
i did some tests: version 8,7 and 6 swfs work fine (blur applies), swf version =5 doesnt work... Am 21.02.2006 18:34 Uhr schrieb David Rorex unter [EMAIL PROTECTED]: On 2/21/06, lars [EMAIL PROTECTED] wrote: is this possible? having a flash8 master movie which loads swfs version 5,6 or 7 into a holder and apply new flash8 filters (bevel, blur etc.) to them? thanks: lars I think it should work fine, is it not working for you? Watch out for the _global bug when loading different versions of swfs! If a flash 8 swf loads a flash 7 swf, there will be two different _globals, which means separate classes! So the 8 swf can't use classes compiled in the 7 swf, and vice versa. -David R ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] flash.net.FileReference: no way to return selected path after browse?
is it me, or is it impossible to return the selected path after a browse? for me it returns the selected filename but i cant find the path anywhere? thanks: lars ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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.net.FileReference: no way to return selected path after browse?
well, if i allow access to local folders via the settings manager it would be ok to return paths, too... doesnt make sense imho not to pass the path after the browse dialog, does it? Am 23.02.2006 15:49 Uhr schrieb Michael Stuhr unter [EMAIL PROTECTED]: lars schrieb: is it me, or is it impossible to return the selected path after a browse? for me it returns the selected filename but i cant find the path anywhere? thanks: lars seems like no. i'd like to hear an official word about that. is it left out for security reasons, and if so please explain !? micha ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] method to authenticate/license a flash app?
hi all. i have a little vj app i'm developing. it'll be a flash projector app i'm developing for a club. i'm looking for ideas on how to protect this projector (protect against copying to other machines than the one in the club). is there anyway to get some unique machine id or anything else to makes sure this projector will only run on the machine it is intended to run on? any ideas are welcome. thanks: lars ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] method to authenticate/license a flash app?
that sounds just nice. thanks! ... even i would prefer a cheaper solution (because i'm selling the app at a very small price). Am 24.02.2006 3:05 Uhr schrieb Adrian Raper, Clarity unter [EMAIL PROTECTED]: ZINC lets you get the machineID of the computer you are running on in one call. We match this against an expected machineID written to a licence file during installation. (The licence file has a checksum). If they don't match, then you can catch it. If you are only selling the application once, or limited times, and can do the installation yourself this should be a pretty good casual protection. If you are selling lots, then you have to add an additional way to stop the installation being run more than once. And so the layers start going on! Adrian == Choose Clarity for effective, enjoyable, easy-to-use ELT software. Dr Adrian Raper, Technical Director Clarity Language Consultants Ltd (UK and Hong Kong) http://www.clarity.com.hk PO Box 163, Sai Kung, Hong Kong Tel: (+852) 2791 1787, Fax: (+852) 2791 6484 Skype: adrian.raper ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Issues with Player Version 7,0,24
hi all. i have a small game exported to flash 7, as 2.0 which is running fine on my machine (flash player 8 installed) but not on 2 other machines having player 7,0,24 installed. are there any bugs in that version that relate to as 2.0 scripting? (its a game using movieclip positioning for enemies and a move player on drag incl collistion detection). another question: how to get back player version 7 into the ide of flash 8 to test this issue? thanks: lars ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Issues with Player Version 7,0,24 // GEEEZ?
got it, but gez, what is it??? i did a flash rewrite of a javascript game. that uses setTimeout(func,speed) which i copied 1:1 and forgot to translate to as2.0... if i remove that javascript function its not running, if i keep it it's running ... but it's a javascript function?!?! how can that function work in flash at all??? help! Am 27.02.2006 14:41 Uhr schrieb lars unter [EMAIL PROTECTED]: hi all. i have a small game exported to flash 7, as 2.0 which is running fine on my machine (flash player 8 installed) but not on 2 other machines having player 7,0,24 installed. are there any bugs in that version that relate to as 2.0 scripting? (its a game using movieclip positioning for enemies and a move player on drag incl collistion detection). another question: how to get back player version 7 into the ide of flash 8 to test this issue? thanks: lars ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] AS2.0 time/date Objects: Timer class?
anyone has a timer class handy? something to display minutes and seconds counting, starting at 0:00... sorry, but i tried to calc a date/time difference using the date and time objects, but i can't make it :( tsk tsk ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] AS2.0 time/date Objects: Timer class?
indeed. next question: easiest way to format it to m:s display? :) Am 27.02.2006 15:26 Uhr schrieb Mike Mountain unter [EMAIL PROTECTED]: Use getTimer() instead. M -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of lars Sent: 27 February 2006 14:24 To: Flashcoders mailing list Subject: [Flashcoders] AS2.0 time/date Objects: Timer class? anyone has a timer class handy? something to display minutes and seconds counting, starting at 0:00... sorry, but i tried to calc a date/time difference using the date and time objects, but i can't make it :( tsk tsk ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] AS2.0 time/date Objects: Timer class?
yes, also nice, but how to avaid using your textfield? when i use timer.start( myownfield, timer.count_up) it's still displaying the one created by the class? Am 27.02.2006 15:35 Uhr schrieb Jim Armstrong unter [EMAIL PROTECTED]: lars wrote: anyone has a timer class handy? something to display minutes and seconds counting, starting at 0:00... sorry, but i tried to calc a date/time difference using the date and time objects, but i can't make it :( tsk tsk http://www.2112fx.com/blog/pivot/entry.php?id=13 timestamp with count-up or count-down modes built in. hope that helps! - jim ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] AS2.0 time/date Objects: Timer class?
eh, any chance to reset the timer? i guess not, so i have to work with 2 vars and calculate the diff? in my example the timer needs to start when the users starts the game... Am 27.02.2006 15:59 Uhr schrieb Mike Mountain unter [EMAIL PROTECTED]: Ooops addendum. [as] this.onEnterFrame = function() { var tme = getTimer(); var mins = Math.floor((tme/1000)/60); var secs = Math.ceil(tme/1000)-(mins*60) num_txt.text =mins+:+secs }; [/as] Will reset seconds when the minutes increments ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] AS2.0 time/date Objects: Timer class?
i already checked proto51, but didnt find a as2 class handy. anyway: i'll do one :) Am 27.02.2006 16:32 Uhr schrieb eric dolecki unter [EMAIL PROTECTED]: www.layer51.com/proto you could probably take a prototype and make a class out of it fairly quickly... and then you'd always have one at the ready. perhaps there is a class already you might wanna use. On 2/27/06, lars [EMAIL PROTECTED] wrote: eh, any chance to reset the timer? i guess not, so i have to work with 2 vars and calculate the diff? in my example the timer needs to start when the users starts the game... Am 27.02.2006 15:59 Uhr schrieb Mike Mountain unter [EMAIL PROTECTED]: Ooops addendum. [as] this.onEnterFrame = function() { var tme = getTimer(); var mins = Math.floor((tme/1000)/60); var secs = Math.ceil(tme/1000)-(mins*60) num_txt.text =mins+:+secs }; [/as] Will reset seconds when the minutes increments ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] hidden function: settimeout?
i just ported a little javascript game to flash and forgot to translate on line: settimeout(moveenemies, speed)... i first noticed when exporting it to flash7 because the enemies didnt move, but the do when exported to flash8! what's going on? settimeout works in flash8? is this some externalinterface thingy or what? thanks: lars ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] hidden function: settimeout?
but flash8 only, isnt it? i just could use it, but for a flash 7 project :) Am 27.02.2006 17:21 Uhr schrieb eric dolecki unter [EMAIL PROTECTED]: Its like the javascript setTimeout... fire once forget about it - cleans itself up (instead of creating a setInterval and then cleaning it up, checking to make sure it didn't exist before creating, etc.) It is undocumented but its in there. - e.dolecki On 2/27/06, lars [EMAIL PROTECTED] wrote: i just ported a little javascript game to flash and forgot to translate on line: settimeout(moveenemies, speed)... i first noticed when exporting it to flash7 because the enemies didnt move, but the do when exported to flash8! what's going on? settimeout works in flash8? is this some externalinterface thingy or what? thanks: lars ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] hidden function: settimeout?
yeah, gotta switch back from settimeout to setinterval now (because of the need to export for flash 7). btw: is there an better way to update the interval without having to clear it first? Am 27.02.2006 17:38 Uhr schrieb eric dolecki unter [EMAIL PROTECTED]: flash 8 only - but you could create a setInterval manager... to ensure you aren't creating the same one again (which is disasterous), and cleans them up neatly, etc. On 2/27/06, lars [EMAIL PROTECTED] wrote: but flash8 only, isnt it? i just could use it, but for a flash 7 project :) Am 27.02.2006 17:21 Uhr schrieb eric dolecki unter [EMAIL PROTECTED]: Its like the javascript setTimeout... fire once forget about it - cleans itself up (instead of creating a setInterval and then cleaning it up, checking to make sure it didn't exist before creating, etc.) It is undocumented but its in there. - e.dolecki On 2/27/06, lars [EMAIL PROTECTED] wrote: i just ported a little javascript game to flash and forgot to translate on line: settimeout(moveenemies, speed)... i first noticed when exporting it to flash7 because the enemies didnt move, but the do when exported to flash8! what's going on? settimeout works in flash8? is this some externalinterface thingy or what? thanks: lars ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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
[Flashcoders] Autoscroll Dynamic Textfield: onChange Handler not firing?
hi, i'm trying to autoscroll a dynamic textfield which doesnt work. the onScroll handler only works the first time i'm putting content into the textfield and the onChange handler doesnt fire at all?! i create a dynamic textfield using createTextField and added a listener for onChange and onScroll to it afterwards. i wanted to check scroll and maxscroll every time i add content to it and scroll it if necessary, but it doesnt work with the event handlers. any other ideas? it's some kind of autoscrolling info console it wanna do. thanks: lars ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] secure server communication
hi all. i know this question has been asked a few times, but never theless i have to ask it again: i have to do a multi-level game where each level when done reveals a secret word and all words together result in a end-level solution-word. the players have to register first, dont have to play all levels in one go (means can log on and log off and all solved level-words are stored on server side) and the first player that makes all levels will win a price. problem/question: are there any known problems at https connections between server-side (php) and flash (v7)? what are the best ways to ensure a hacker proof solution? will https and md5 stored information inside the swf do? is there a better/safer way than a post request between flash and server side? sorry if this might be off-topic to some one. thanks, best: lars ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] attachMovie to a loaded swf
if i get it right this sounds more like a initialization or depth problem. attachMovieClip should work. have you tried createEmptyMovieClip with a getNextHighestDepth and load those icons into those? hth: lars Am 07.03.2006 22:37 Uhr schrieb Marlon Harrison unter [EMAIL PROTECTED]: I have a parent swf that loads in a series of children swfs and acts as a browser for them. Within the children swfs - there are a number of hotspot movieclips that trigger other events. I'd like to centralize the appearance of those 'hotspot' movieclips to the parent swf so that if i need to change how the icon's look i can change it once in the parent rather than in each child swf. I thought that the best way to do this would make the hotspot clips into placeholders and use attachMovie to put the appropriate icon on it. The problem is that is appears attachMovie doesn't work if the path to the clip is in a one of the children swfs that was loaded. Is this correct? If so, is there a workaround of some sort that I can try? 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] puzzle: how to verify piece-fitting?
hi all. i'm looking for some example on puzzle games which detect (show the user) that the pieces are arranged correct. those i know are simple drag and drop together ones with do not detect that the pieces are arranged correct and fit. any examples or ideas on how to detect that (when having different puzzle piece forms)? thanks: lars ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] puzzle: how to verify piece-fitting?
sounds not that hard, nevertheless any examples would be great Am 10.03.2006 14:18 Uhr schrieb Danny Kodicek unter [EMAIL PROTECTED]: hi all. i'm looking for some example on puzzle games which detect (show the user) that the pieces are arranged correct. those i know are simple drag and drop together ones with do not detect that the pieces are arranged correct and fit. any examples or ideas on how to detect that (when having different puzzle piece forms)? thanks: lars There are various levels of this. One (generally for the simplest puzzles for small children) locks the pieces to their exact space on the board. That's pretty easy to do: assuming you know where each piece belongs, when the mouse is released you simply calculate its distance from the target position and lock if it's below a certain threshold. The next level is where you link pieces to each other rather than to the board. Actually, this isn't much harder to do: you store the pieces' correct x and y positions, then when a piece is dropped, you look for the relative positions of its neighbours, and check how close they are to correct (eg: you know that the right-neighbour must be at a relative position of (w,0), so if it's currently at (w+1,2) you decide that's close enough and lock it in place. The next level, for an irregular grid, is to store for each piece a list of the neighbours it can link to, and continue as the previous example. Finally, you can allow rotation of pieces. This is exactly the same as before, but you also have to check that the pieces are at the correct relative orientation (in particular, it affects the calculation of the 'relative position' of the neighbour pieces. Clear? I can give you some code, but an explanation is generally more useful... Danny ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] puzzle: how to verify piece-fitting?
yeah, kind of. one thing makes it easy that is that all pieces can only be placed in a pre-defined area (a shape showing the outline of the puzzle), but i'm still looking for some kind of algorythm that makes the already fitted pieces drag/drop together... like having a,b,c mixed up, all single drag/drop-able, but when c fits to a they both join and get drag/drop- able as one piece. that's the problem i now have. any solutions welcome. thanks: lars Am 10.03.2006 20:23 Uhr schrieb Fitzpatrick, Kevin unter [EMAIL PROTECTED]: I can't off the top of my head think of any visual ways of doing it, but you can check the relationship of the pieces to each other. For instance if piece A can only fit to the left of B and the bottom of C (it's the lower left hand corner) then you could check those two distance relationships and the rotation of each. You'd have to store all of the right relationships somewhere, such as in the piece instances. Is this the kind of solution you're looking for? Kevin Fitzpatrick Flash Designer, SAP.com Web Services Team - SAP Global Marketing SAP Global Solutions Center 3999 West Chester Pike Newtown Square, PA 19073 C (267) 254-6225 E [EMAIL PROTECTED] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of lars Sent: Friday, March 10, 2006 8:04 AM To: Flashcoders mailing list Subject: [Flashcoders] puzzle: how to verify piece-fitting? hi all. i'm looking for some example on puzzle games which detect (show the user) that the pieces are arranged correct. those i know are simple drag and drop together ones with do not detect that the pieces are arranged correct and fit. any examples or ideas on how to detect that (when having different puzzle piece forms)? thanks: lars ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] System.capabilities.language question
Hi List, maybee somebody can give me a hand with this. Does System.capabilities.language return the language version of the OS or the language version configured in the OS? I need to be sure that a swf-studio projector is running on a german OS and the build in swf-studio function only returns the version of the keyboard layout... So maybee System.capabilities.language is a way to detecte the correct language of the OS. Otherwise I would have to write a plugin for this But why if flash can do this. So maybee someone knows a answer to this.. Thanks Lars Heinrich Powerflasher GmbH Tel: +49 (0)241 91880-230 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
AW: [Flashcoders] Profiling the clients CPU
I used this in my last projects... var result : Number = 0; for(var i : Number = 0; i 3; i++) { var t : Number = getTimer(); while(getTimer() - t 50) { var r : Number = random(10); mc._x = r; mc._y = r; mc._xscale = r; mc._yscale = r; mc._alpha= r; result++; } } Works for me. Of course you need a mc on stage. Result is the performance. But with this test you only get the performance of the system. We set up a little benchmark on http://bench.powerflasher.de/ maybee you find some usefull stuff there. regards Lars Heinrich Powerflasher GmbH Tel: +49 (0)241 91880-230 -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Alias Gesendet: Montag, 31. Oktober 2005 14:46 An: Flashcoders mailing list Betreff: [Flashcoders] Profiling the clients CPU Hi guys, I'm working on a project which involves reducing the amount of work done, based on the client's CPU speed. I'm wondering - does anyone have a tried tested method of doing this? I'm thinking something along the lines of: startTime = getTimer(); //do something timeconsuming - loop 100 times, for example speed = doSomethingTimeconsuming() if (speed 5){ doSomethingEasy(); } else{ doSomethingHard(); } What I'm wondering is the doing something timeconsuming part - I need a simple operation that will be reasonably consistent across player types - is there any operation that *hasn't* been improved or that has always been fast? The target player is FP6 (pre 6.65), so I need an operation that will be consistently slow or fast on every player since then Has anyone done this much? Thanks in advance, Alias ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Site Check [dm9ddb.com.br]
wasn't there a sitecheck list once? Am 26.03.2007 um 14:39 schrieb Mauricio Furtado Massaia: Hi guys, Wagner Paula and I have worked on DM9DDB´s WebSite and we are really proud of this job. The navigation and design are a little bit oldskool. In fact everything on this site was made by OOP Classes and Standard code what really makes me happy about that. I would like to get some comments about how is it for you guys. Looking forward for your comments. http://dm9ddb.com.br MauricioMassaia ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com bitrocker typographique Lars Schwarz Gottorpstrasse 20 26122 Oldenburg T +49(0)441 2171 354 0 F +49(0)441 2171 354 2 M [EMAIL PROTECTED] W www.bitrocker.com W www.typographique.de ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] audio library
sorry, but ain't this OT and has nothing to do with coding? Am 27.03.2007 um 13:08 schrieb Steven Clark: Does anyone know a good royalty free audio library for corporate projects? Or any services like photos.com where you pay a subscription. 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] size an image inside a component
because you nowhere setting a new width/high? you are just assigning it to wid1 and hei1 but not the the imagePane object. Am 27.03.2007 um 16:33 schrieb Laurent CUCHET: I try to resize image when it is loaded, and it doesnt work Do you ssee why ? Thaank you //var height and width and scale of image var wid1; var hei1; var wid1hei1; var siw = 300; //combobox load an image and resize imagesCb.addEventListener(change, montreImage); // function montreImage(event:Object):Void { imagePane.contentPath = images_vis/+imagesCb.value; _root.text_mc._visible = 0; wid1 = imagePane._width; wid1_txt.text = wid1; hei1 = imagePane._height; hei1_txt.text = hei1; wid1hei1 = wid1/hei1; wid1hei1_txt.text = wid1hei1; } ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com bitrocker typographique Lars Schwarz Gottorpstrasse 20 26122 Oldenburg T +49(0)441 2171 354 0 F +49(0)441 2171 354 2 M [EMAIL PROTECTED] W www.bitrocker.com W www.typographique.de ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] ASP and Character encoding in flash
are you using CDATA tags for the strings? the question is also where the data is coming from and in which format it is stored. you maybe need to encode and decode the data before generating the xml and when the data is saved Am 29.03.2007 um 14:20 schrieb Karina Steffens: I hope somebody can help with this one... I'm working on a flash application, where the settings can be dynamically imported from xml files or an asp query that sends out xml. It works fine if it's an xml file saved as UTF-8, both english and with special characters (in this case, swedish), or an asp generated xml with no special characters (==english). But when the client is trying to send out asp xml in swedish, the special characters turn into boxes and some xml fields display as undefined, similar to what you get if you save the local xml file as simple text, rather than UTF-8. Also, strangely enough, when the query is tested in the browser, IE and FF seem to be having trouble with the asp xml if the encoding at the top of the page is utf-8, but display it fine with ?xml version='1.0' encoding='ISO-8859-1'? My guess is that regardless of the encoding at the top of the page, when the asp xml reaches Flash, it's not UTF-8 but simple text. My question is - can anything be done about it? Thanks, Karina Karina Steffens | Neo-Archaic new concepts, timeless design http://www.neo-archaic.net/ www.neo-archaic.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 bitrocker typographique Lars Schwarz Gottorpstrasse 20 26122 Oldenburg T +49(0)441 2171 354 0 F +49(0)441 2171 354 2 M [EMAIL PROTECTED] W www.bitrocker.com W www.typographique.de ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Free Upgrade CS2 to CS3???
thanks mick. i agree. let's make this the last post on cs3 prices please. Am 29.03.2007 um 19:26 schrieb Mick G: I'm just wondering if all the CS3 talk is getting a little out of control for this list. I understand it's a tool we all use, but I personally like to see this list closer to the flashcoding topic rather than discussing our favorite Adobe applications and upgrade paths. I don't want to start a huge thread on debating the rules of the list, just throwing a suggestion out there. :-) On 3/29/07, Marc Hoffman [EMAIL PROTECTED] wrote: I hope the information I just got is wrong, so please post here if you learn anything different from Adobe. I just had a long talk with Deborah at US Adobe sales and she was unable to find any free update offer from CS2 to CS3, regardless of how recently one had purchased CS2. The best US price she could find for an upgrade was $799, and that was going from CS2 Production Premium to CS3 Production Premium. All other upgrade paths are called upsell rather than upgrade because CS3 Production Premium includes more applications. So, I have Studio 8 Pro, Photoshop CS, Premiere Pro 1.5, Audition 1.5, and an old version of Illustrator, and it appears the cheapest I can upgrade to the CS3 Production Premiere will be $1199 US. I guess it could be worse -- I could be living in Europe. I would LOVE to hear that I'm wrong, and that there actually is a free update if I buy CS2 Premium or CS2 Production Premium in the next few days. That would save me a small bundle. Marc Hoffman At 12:11 AM 3/29/2007, you wrote: However there is one interesting thing I found out. Apparently Adobe will be offering a FREE update to CS3 for anyone that buys CS2 from now until CS3 is available... ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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 bitrocker typographique Lars Schwarz Gottorpstrasse 20 26122 Oldenburg T +49(0)441 2171 354 0 F +49(0)441 2171 354 2 M [EMAIL PROTECTED] W www.bitrocker.com W www.typographique.de ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] further rotating nav help!! - altering the button names.
what about using hittest? define a rect and position it where you want to text to be visible, then use hittest/hitarea for each label that hits the area and make it visible and vice versa. hth: lars Am 30.03.2007 um 11:28 schrieb Lewis: hi to all once again! i actually realised the best way to rectify the previous issues was to re calculate the angles and use if statements dependent on their relative angle to 180 i.e. if above 180 rotate left if below 180 rotate right. the updated movie can be found here: http://www.visualrythm.com/nav_testfile.swf (once again source file is same with .fla ext) however i have a new issue! curses. this issue is that i need the names to fade out as they pass the mid point of the rotation, and fade back in the right way round as the rotate around the bottom part of the wheel i.e. so the names are always the right way round to read!?!!? the logic behind making this work is baffling me, i was going to try something like this. this function i think works by returning the x and y value of an object of one movieclip in a movielclip to another movieclip or the timeline. it works like this: var posObj = getGlobal(my_outer_mc.my_mc); trace(posObj.x); // the x value of my_mc on the _root timeline /// var posObj = getGlobal(my_outer_mc.my_my, my_other_mc); trace(posObj.x); // the x value of my_mc if it were in my_other_mc any one have any bright ideas? would this or something similar work, or do you know of a similar script source somewhere i can take a gander at? L ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com bitrocker typographique Lars Schwarz Gottorpstrasse 20 26122 Oldenburg T +49(0)441 2171 354 0 F +49(0)441 2171 354 2 M [EMAIL PROTECTED] W www.bitrocker.com W www.typographique.de ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Gaps in between bitmapdata clips copied to a grid
haven't testet the code, but did you try it without setting the smoothing property (on the bitmapdata object)? Am 30.03.2007 um 16:12 schrieb Matt Muller: Hi, Im breaking an image into a grid of separate clips with corresponding pixels using copyPixels but I'm getting gaps in between the clips. Also sometimes the image wont finish if the ratio between horz and vert clips is too high. Has anyone had this issue. code below cheers, MaTT import flash.display.BitmapData; import flash.geom.Rectangle; import flash.geom.Point; class com.client.effects.ReformPixel extends MovieClip { private var horzDiv, vertDiv, clip_w, clip_h, cut_w, cut_h:Number; private var srcImg, srcBmd:BitmapData; private var clip, clip_2:MovieClip; private var aClips:Array; function ReformPixel() { // } public function _init(_horzDiv:Number, _vertDiv:Number, _img:String, _clip:MovieClip, _clip_2:MovieClip):Void { var _break:Boolean = false; aClips = []; horzDiv = _horzDiv; vertDiv = _vertDiv; clip = _clip; clip_2 = _clip_2; srcImg = BitmapData.loadBitmap(_img); clip.attachBitmap(srcImg, 1); clip_w = clip._width; clip_h = clip._height; cut_w = clip_w/horzDiv; cut_h = clip_h/vertDiv; srcBmd = new BitmapData(clip_w, clip_h, true, 0x); srcBmd.draw(clip); clip._visible = false; for (var j:Number = 0; j = _horzDiv; j++) { for (var i:Number = 0; i = _vertDiv; i++) { var num:Number = (j * _horzDiv + i); if (num = (_horzDiv*_vertDiv)) { _break = true; break; } var xPos:Number = i * (cut_w); var yPos:Number = j * (cut_h); var rect = new Rectangle(xPos, yPos, cut_w, cut_h); var point = new Point(0,0); var bmd:BitmapData = new BitmapData(cut_w, cut_h, true, 0x00); bmd.copyPixels(srcBmd, rect, point); var destClip:MovieClip = aClips[i] = clip_2.createEmptyMovieClip('destClip_' + i, clip_2.getNextHighestDepth()); destClip.attachBitmap(bmd, destClip.getNextHighestDepth(), 'auto', true); destClip._x = xPos; destClip._y = yPos; //trace('destClip._x = ' + destClip._x + ' destClip._y = ' + destClip._y) destClip.tX = destClip._x; destClip.tY = destClip._y; destClip.tZ = 100; } } } } ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com bitrocker typographique Lars Schwarz Gottorpstrasse 20 26122 Oldenburg T +49(0)441 2171 354 0 F +49(0)441 2171 354 2 M [EMAIL PROTECTED] W www.bitrocker.com W www.typographique.de ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] LoadVars.sendAndLoad with POST
you are sending an empty loadvars object... returning an empty post array when doing so is a feature, not a bug :) _send_lv.sendAndLoad(testing.php, _send_lv, post); Am 11.04.2007 um 16:59 schrieb Jer Brand: This just gets weirder and weirder. Based on a few pages found in google with people having the same issue, I tried switching out sendAndLoad() with send(), and the data gets posted. Switch it back to sendAndLoad() and it fails. I've reduced this code to the simplest possible, in the PHP and the AS including a new swf with nothing more than the code below on frame 1. There are still no variables in POST -- firebug shows them empty. I've also created a simple HTML page and posted to testing.php, and this works fine. Has anyone seen this before? I've been through quite a few pages listing this same problem, and none of those forums/pages has a solution. Example at: http://aut0poietic.us/quiz/sendloadtest.html ActionScript: var _send_lv = new LoadVars() ; var _result_lv = new LoadVars() ; _send_lv.pleasePost = Bite Me ; var result = _send_lv.sendAndLoad(testing.php, _result_lv) ; PHP (testing.php) print(POST\n) ; print_r($_POST) ; print(GET\n); print_r($_GET) ; response (from firebug) POSTArray ( ) GET Array ( ) ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com bitrocker typographique Lars Schwarz Gottorpstrasse 20 26122 Oldenburg T +49(0)441 2171 354 0 F +49(0)441 2171 354 2 M [EMAIL PROTECTED] W www.bitrocker.com W www.typographique.de ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] LoadVars.sendAndLoad with POST
ooops, sorry, my fault. 2nd par is the target, not the source, right Am 11.04.2007 um 17:51 schrieb T. Michael Keesey: On 4/11/07, Lars Schwarz [EMAIL PROTECTED] wrote: you are sending an empty loadvars object... returning an empty post array when doing so is a feature, not a bug :) _send_lv.sendAndLoad(testing.php, _send_lv, post); No, _send_lv.sendAndLoad(testing.php, _result_lv) will send _send_lv, not _result_lv. I'm not sure what the result variable is supposed to be, and there are no handlers defined for doing something when it loads, but, other than that, it looks okay. Am 11.04.2007 um 16:59 schrieb Jer Brand: This just gets weirder and weirder. Based on a few pages found in google with people having the same issue, I tried switching out sendAndLoad() with send(), and the data gets posted. Switch it back to sendAndLoad() and it fails. I've reduced this code to the simplest possible, in the PHP and the AS including a new swf with nothing more than the code below on frame 1. There are still no variables in POST -- firebug shows them empty. I've also created a simple HTML page and posted to testing.php, and this works fine. Has anyone seen this before? I've been through quite a few pages listing this same problem, and none of those forums/pages has a solution. Example at: http://aut0poietic.us/quiz/sendloadtest.html ActionScript: var _send_lv = new LoadVars() ; var _result_lv = new LoadVars() ; _send_lv.pleasePost = Bite Me ; var result = _send_lv.sendAndLoad(testing.php, _result_lv) ; PHP (testing.php) print(POST\n) ; print_r($_POST) ; print(GET\n); print_r($_GET) ; response (from firebug) POSTArray ( ) GET Array ( ) ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com bitrocker typographique Lars Schwarz Gottorpstrasse 20 26122 Oldenburg T +49(0)441 2171 354 0 F +49(0)441 2171 354 2 M [EMAIL PROTECTED] W www.bitrocker.com W www.typographique.de ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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 File Upload Issues
this might be more an backend problem than a flash problem. depending on your server config, serverside language used to handle the upload and issues you mentioned (firewall, proxies and so on) it might be hard to trace. have you checked your log files (server, sideside scripting) for errors? even this is slightly offtopic you might add some logging to the script used to handle/ save the file object. hth: lars Am 18.04.2007 um 19:31 schrieb Beth Koehler: Hello everyone! I'm going crazy trying to figure out an issue we're having with flash file uploads. It works perfectly fine from every computer I've tried it from at the office and at home, but we keep having users report that it just hangs - never moving the file to the server. It has happened in both firefox and IE, though both work fine for me and my co-workers. This is running behind ssl and I believe several of these users are probably behind firewalls. Does anyone have any suggestions of settings they may have to change, or anything I could do code wise? Since I can't replicate the error I'm having a heck of a time debugging it. Thanks! Beth -- Beth Koehler Senior Associate Technical Services Luther Consulting, LLC 423 Massachusetts Avenue Indianapolis, IN 46204 Phone: (317) 636-0282, ext. 115 Fax: (775) 522-2224 Email: [EMAIL PROTECTED] www.lutherconsulting.com This communication, and files which may be attached, are intended for the use of the addressee(s) ONLY and may contain confidential or legally privileged information. Any use, distribution or copying in whatever manner of this information is prohibited. If you have received this communication in error, please accept our apologies and inform us promptly by reply e-mail, then delete this communication and destroy any printed copy. Luther Consulting, LLC, Inc. thanks you for your attention and cooperation in helping us protect the best interests of our customers and clients. Luther Consulting, LLC – Research for Change ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Arabic Text Problem
Can the list recommend any good guides or other info resources regarding handling of Arabic text and other right to left text in Flash (player 9) in general? Lars On Fri, Aug 29, 2008 at 2:25 PM, david costard [EMAIL PROTECTED] wrote: Thanks four your answer Ibrahim. We find the solution, we just chnage the language in Windows parameters. 2008/8/29 Ibrahim Y [EMAIL PROTECTED] try to use notepad by the way, even it's reversed it will work fine. -- Ibrahim On Fri, Aug 29, 2008 at 1:46 PM, david costard [EMAIL PROTECTED] wrote: Hi list, We are having trouble to create XML files containing Arabic text. When we copy and paste the text from Word or Excel (Arabic is displayed correctly in theses software), the text appears reversed in the XML editor. Is there a way to write XML file with Arabic language on a European OS. Thanks ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders