Re: [Flashcoders] RGB tinting using the colorMatrixFilter()

2007-05-10 Thread Mike Mountain
not sure I made myself clear - given a desaturated greyscale image I need to be able to tint it to an RGB value - so black stays black, white stays white and rgb=128,128,228 (50% grey) is the actual colour - with all the shade in between. I need to be able to do this by using code like this:

Re: [Flashcoders] RGB tinting using the colorMatrixFilter()

2007-05-10 Thread Mike Mountain
never mind, using colorTransform instead - much easier, but had to adapt some other stuff. Would seem I can't have a single solution using colorMatrix - nevermind. Cheers M ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or

[Flashcoders] RGB tinting using the colorMatrixFilter()

2007-05-09 Thread Mike Mountain
Hey guys I'm working with greyscale images - assume neutral colour temperature is 50% grey. These are shaded from white to black, white representing light, black shading, and all the variable shades in between etc. I need to tint the greyscale bitmapData to produce a shaded coloured image using

[Flashcoders] Using a flex2 swc in Flash CS3

2007-05-01 Thread Mike Mountain
How do I go about using a flex 2 SWC library in Flash CS3? I tried dropping it into the components directory but no joy Anyone help? Cheers M ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:

[Flashcoders] [JOB] Flash developer rqd - Leeds, UK

2007-04-23 Thread Mike Mountain
*Full time Flash Developer rqd - Leeds UK*We have a position open for the following role: The company: Dubit limited Location: Leeds, UK http://www.dubitlimited.com Salary to be decided on experience The role will be fulltime and on site - no telecommuting, sorry guys.

Re: [Flashcoders] The great CS3 Swindle

2007-03-29 Thread Mike Mountain
In the days of electronic distribution this kind of business practice stinks. Why do they do it, because they know they can get away with it - can we afford to boycott the release in europe? They know in most cases we can't. It's more than taking liberties, it's daylight robbery.

Re: [Flashcoders] The great CS3 Swindle

2007-03-29 Thread Mike Mountain
Some cunning American could buy a load of the boxed product and legitimately put them on ebay with a markup, sell them to the European market and both parties would be better off There's no law against selling second hand software overseas is there?

Re: [Flashcoders] The great CS3 Swindle

2007-03-29 Thread Mike Mountain
For those prices it would literally be cheaper to fly out to the US to buy it. Adobe has FUBAR'd these prices - we demand an explanation - but who from? On 3/29/07, Ian Thomas [EMAIL PROTECTED] wrote: It's a ridiculous situation that, sadly, seems to be true of a lot of software. But it's

Re: [Flashcoders] The great CS3 Swindle

2007-03-29 Thread Mike Mountain
revenue from US sales to European customers being diverted would make them pay attention - if so we're all chartering a jet and want them to wave us goodbye at the airport. Yes - my goat has been well and truly got. M On 3/29/07, John Dowdell [EMAIL PROTECTED] wrote: Mike Mountain wrote: For those

RE: [Flashcoders] ISOMETRIC GAME ENGINE

2007-03-14 Thread Mike Mountain
http://oos.moxiecode.com/ You may find something here... M ECM Systems Ltd, Ellifoot Park, Burstwick, East Yorkshire HU12 9DZ Tel: 01964 672000 Fax: 01964 671102 Registered in England no. 01646471 The information contained within this email expresses the views of the sender and not

RE: [Flashcoders] fauxpenGL library for AS2

2007-03-12 Thread Mike Mountain
As Michael said - there's Papervision - may I suggest you join the mailing list and try and integrate your OBJ loader - it would be very useful. Cheers M From: [EMAIL PROTECTED] on behalf of Max Kaufmann Sent: Mon 12/03/2007 16:25 To:

RE: [Flashcoders] Text as you type

2007-03-08 Thread Mike Mountain
From the live docs: http://livedocs.adobe.com/flash/8/main/wwhelp/wwhimpl/common/html/wwhelp htm?context=LiveDocs_Partsfile=2734.html Hth M -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Adrian Lynch Sent: 08 March 2007 14:31 To:

RE: [Flashcoders] simulating airbrush + calligraphy brush

2007-02-28 Thread Mike Mountain
A clever way to approach this would be to save the path information as a vector, but to apply the airbrush effect in a bitmap along the path - this way you can assign different brushes to the path after it's been drawn, undo points etc. M -Original Message- From: [EMAIL PROTECTED]

RE: [Flashcoders] simulating airbrush + calligraphy brush

2007-02-28 Thread Mike Mountain
This may actually sort itself out - if you're recording the vector as it's drawn (brush mode), a quick stroke will yield less points than a slow stroke - a slow stroke would yield a lot of clustered points which will translate to a higher accumulation of 'paint' in the given area. M

RE: [Flashcoders] simulating airbrush + calligraphy brush

2007-02-28 Thread Mike Mountain
Just want to be clear - you're not placing bitmaps - but writing bitmap data, so once the line is drawn (you'd represent it somehow as a vector preview) you create some bitmapData which encompasses the line and brush width, then you'd copy from your brush bitmap into the new bitmap along the

RE: [Flashcoders] simulating airbrush + calligraphy brush

2007-02-28 Thread Mike Mountain
http://www.quasimondo.com/archives/000572.php I think someone beat you to it. Complete with source code: http://www.quasimondo.com/scrapyard/BitmapExporter.zip How lucky is that! M ECM Systems Ltd, Ellifoot Park, Burstwick, East Yorkshire HU12 9DZ Tel: 01964 672000 Fax: 01964 671102

[Flashcoders] Flash IDE thinks standard #include .as file is a class file

2007-02-16 Thread Mike Mountain
I've been working on an as file for some time - it's used as an #include, it isn't a class (although it's part of a project which has classes), just a means for me to tidy away some pretty rudimentary timeline code from designers. Everything was working fine but now the IDE won't validate the code

RE: [Flashcoders] Flash IDE thinks standard #include .as file is aclass file

2007-02-16 Thread Mike Mountain
Subject: Re: [Flashcoders] Flash IDE thinks standard #include .as file is aclass file is there a class with the same name of the .AS file? []'s andrei On 2/16/07, Mike Mountain [EMAIL PROTECTED] wrote: I've been working on an as file for some time - it's used as an #include

[Flashcoders] MM tween object in a class, tweening prop not working

2007-02-15 Thread Mike Mountain
OK, this works outside the class: myJP=new Object() myJP.n=0; t1 = new Tween(myJP, n, func, oldnum, numTo, duration, true); myJP.n tweens just fine. But if I put it inside a class a cannot tween n , I can tween any property of an MC etc. myJP is instantiated as an object and myJP.n is set to 0 in

RE: [Flashcoders] MM tween object in a class, tweening prop not working

2007-02-15 Thread Mike Mountain
Never mind, sorted it - had scoped a setinterval incorrectly. The mc's props tweening correctly was a red herring. M ECM Systems Ltd, Ellifoot Park, Burstwick, East Yorkshire HU12 9DZ Tel: 01964 672000 Fax: 01964 671102 Registered in England no. 01646471 The information contained within this

RE: [Flashcoders] Trace: level of details?

2007-02-12 Thread Mike Mountain
Word of warning, I'm not the only person to experience problems in IE with the Movieclip loader class under certain caching conditions: http://livedocs.macromedia.com/flash/8/main/wwhelp/wwhimpl/common/html/w whelp.htm?context=LiveDocs_Partsfile=2538.html Cheers M -Original

RE: [Flashcoders] finding out which fonts are embeddedinaswfatruntime?

2007-02-08 Thread Mike Mountain
It's out of my control - our IT bods are aware of the situation. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steven Sacks | BLITZ Sent: 07 February 2007 18:43 To: Flashcoders mailing list Subject: RE: [Flashcoders] finding out which fonts

RE: [Flashcoders] finding out which fonts are embedded in a swf atruntime?

2007-02-07 Thread Mike Mountain
No takers? I guess it just isn't doable then. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mike Mountain Sent: 06 February 2007 12:30 To: Flashcoders mailing list Subject: [Flashcoders] finding out which fonts are embedded in a swf

RE: [Flashcoders] finding out which fonts are embedded in aswfatruntime?

2007-02-07 Thread Mike Mountain
why can't you use the size report that you can generate on publish??? it shows all the fonts in-use in your movie. The key words are at runtime - imagine some of these are third party swfs. ECM Systems Ltd, Ellifoot Park, Burstwick, East Yorkshire HU12 9DZ Tel: 01964 672000 Fax: 01964

RE: [Flashcoders] finding out which fonts are embeddedinaswfatruntime?

2007-02-07 Thread Mike Mountain
I'll add my name to that list - but does AS3 improve things any? Not really played with embedding fonts in AS3 - surely we may be able to do some bytecode trickery like those talented chaps are doing with sound? M -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]

RE: [Flashcoders] determining which object is displayed at a givenpoint

2007-02-06 Thread Mike Mountain
What he's saying is that _droptarget will tell you exactly what is at the top under the users mouse - but in order to use it you have to use startDrag to fool it in to working. Maybe you could drag an invisible clip around or something. M -Original Message- From: [EMAIL PROTECTED]

[Flashcoders] Basic flash sudoku

2007-02-05 Thread Mike Mountain
Hi Anyone got a basic offline flash sudoku game fla I can borrow to try a proof of concept on a windows CE device? I need to test performance and so far it isn't looking promising so I really don't want to go to all the trouble to write one for it to fall over. I see there's one on IFBIN, which is

[Flashcoders] Works in IDE - not in projector

2007-02-02 Thread Mike Mountain
I have some code that works fine in the IDE but not in the projector. All swfs are published to AS2 flash 8, there are no external domain issues or other security problems I'm not evaluating something in a trace statement as far as I can see. Anything else I should be looking at? The code

RE: [Flashcoders] Works in IDE - not in projector

2007-02-02 Thread Mike Mountain
Never mind, the problem has now miraculously fixed itself -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mike Mountain Sent: 02 February 2007 12:18 To: Flashcoders mailing list Subject: [Flashcoders] Works in IDE - not in projector I have

[Flashcoders] Algo's to change the ordering of arrays

2007-01-17 Thread Mike Mountain
I'm looking for some simple algo's to change the ordering of an array which represents squares in a grid: In the first instance I want to translate from 0 3 6 1 4 7 2 5 8 Existing Array=new Array(0,3,6,1,4,7,2,5,8) To: 0 1 2 7 8 3 6 5 4 (0,1,2,7,8,3,6,5,4) Ideally I'd want a whole bunch of

RE: [Flashcoders] Copy negative pixels from a movie clip using draw()

2007-01-10 Thread Mike Mountain
I had the same problem a while ago, here was my final solution [as] import flash.display.BitmapData; import flash.geom.Rectangle; import flash.geom.Point; import flash.geom.Matrix; // function staticCloneMC(target, mc, padding) { var bounds = mc.getBounds(mc); var offset_y =

[Flashcoders] Bitmap data convert luminosity to alpha

2007-01-10 Thread Mike Mountain
So I want to to the blacks to alpha's in my bitmap data - the darker it is, the more transparent I want it - how do I go about solving this problem. I'm throwing stuff in threshold but so far I'm having no joy at all. Cheers M ECM Systems Ltd, Ellifoot Park, Burstwick, East Yorkshire HU12

[Flashcoders] Textformat size ignores anything over 96

2007-01-09 Thread Mike Mountain
Anyone know how to format text to above 96px high using the texformat object - it seems to just ignore them. Cheers M ECM Systems Ltd, Ellifoot Park, Burstwick, East Yorkshire HU12 9DZ Tel: 01964 672000 Fax: 01964 671102 Registered in England no. 01646471 The

RE: [Flashcoders] Textformat size ignores anything over 96

2007-01-09 Thread Mike Mountain
07:36:38 -0300, Mike Mountain [EMAIL PROTECTED] wrote: Anyone know how to format text to above 96px high using the texformat object - it seems to just ignore them. Cheers M ECM Systems Ltd, Ellifoot Park, Burstwick, East Yorkshire HU12 9DZ Tel: 01964 672000

RE: Fw: [Flashcoders] Switching sound between boxes and headphones

2007-01-05 Thread Mike Mountain
There's only one internet. :) I just the other day got... an Internet...It's not a big truck. It's a series of tubes. And if you don't understand those tubes can be filled and if they are filled, when you put your message in, it gets in line and it's going to be delayed by anyone that puts

RE: [Flashcoders] Drag on a specific angle

2007-01-05 Thread Mike Mountain
So y=mx+c doesn't give good results? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Merrill, Jason Sent: 05 January 2007 15:42 To: Flashcoders mailing list Subject: RE: [Flashcoders] Drag on a specific angle We investigated this recently.

RE: [Flashcoders] Drag on a specific angle

2007-01-05 Thread Mike Mountain
Much like y = mx + b when determining the slope of a line. I think that was algebra... :) Exactly - except we always did mx+c at school To put it in laymens terms on a standard graph the eqn for a slope of line is: y=mx+c where y=y value m=gradient of line x=x value c=intersect of line on

RE: [Flashcoders] Drag on a specific angle

2007-01-05 Thread Mike Mountain
OK this is untested but: [as] function limitToSlope(mc, grad, start, end) { if(_xmousestart.x _xmouseend.x){ mc._y = grad*_xmouse+start.y; mc._x=_xmouse } } function drag(){ start=new Object() start.x=point1._x start.y=point1._y;

RE: [Flashcoders] Drag on a specific angle

2007-01-05 Thread Mike Mountain
Tested, slight change: [as] function limitToSlope(mc, grad, start, end) { if(_xmousestart.x _xmouseend.x){ mc._y = (grad*(_xmouse-start.x))+start.y; mc._x=_xmouse } } function drag(){ start=new Object() start.x=point1._x start.y=point1._y;

RE: [Flashcoders] Fisix Engine Release

2006-12-19 Thread Mike Mountain
Whilst we're on the subject, I cam across this the other day: http://www.cove.org/ape/ It's the evolution of Flade, for AS3 - looks promising and I've not seen much publicity for it. Cheers M -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of

RE: [Flashcoders] Attaching bitmap data to arbitary coords

2006-12-15 Thread Mike Mountain
://chattyfig.figleaf.com/pipermail/flashcoders/2006-July/1 69819.html On 12/12/06, Mike Mountain [EMAIL PROTECTED] wrote: Charles I'm well aware of both those methods, but they still won't let you position the bitmap data anywhere other than with the registration point at TL or positively

RE: [Flashcoders] Attaching bitmap data to arbitary coords

2006-12-15 Thread Mike Mountain
For future search purposes here's a litlle AS3 function to clone a snapshot of any mc into a new mc: [as3] // import flash.display.BitmapData; import flash.geom.Rectangle; import flash.geom.Point; import flash.geom.Matrix; // function cloneMC(mc, padding){ var bounds:Object =

RE: [Flashcoders] AS2 OOP Class Structure for simple pong type game

2006-12-13 Thread Mike Mountain
I generally group my collisions test in movieclips Take the brick for example: brickHolder_mc.redBricks brickHolder_mc.greenBricks brickHolder_mc.yellowBricks I hit test against brickHolder_mc first, if this is succesful I dip down into the child mc's and break out when I get a positive.

RE: [Flashcoders] Attaching bitmap data to arbitary coords

2006-12-12 Thread Mike Mountain
) (this is stolen straight from my code, with nothing added to make it more understandable, but it should be rather self explanatory) Mike Mountain skrev: Consider the following, Flash 8: var w=200 var h=200 holder=this.createEmptyMovieClip (bmp1

[Flashcoders] Attaching bitmap data to arbitary coords

2006-12-07 Thread Mike Mountain
Consider the following, Flash 8: var w=200 var h=200 holder=this.createEmptyMovieClip(bmp1, this.getNextHighestDepth()); var bmpData1:BitmapData = new BitmapData(w, h, true, 0x); bmp1.attachBitmap(bmpData1, 2, auto, true); This will attach the bitmapdata so it's top left is situated at

RE: [Flashcoders] Attaching bitmap data to arbitary coords

2006-12-07 Thread Mike Mountain
Without going into the complexities of what I'm trying to do, just assume that's a no go for now... I just want to know if it's possible or not in order to avoid trying to bodge it. A related issue is if I bitmapData.draw(mc) then I can only draw in the parts of the mc that are below left of the

RE: [Flashcoders] Boids algorithm in as2 or as3?

2006-12-07 Thread Mike Mountain
Hi John I did an AS1 version ages ago - but I don't even know if I still have the source - your best bet would probably to look for a Java or Processing version then convert that Cheers M -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of John

RE: [Flashcoders] Flash8: Duplicate Movie problem

2006-11-27 Thread Mike Mountain
Whichever way you want to do it, in flash 8 you need to instantiate t Try adding: var t= line.getNextHighestDepth(); To the begging of this line._y += 4; line.duplicateMovieClip(tope+t, t); if(line._y 75) { stop(); } Or: var t=0; To the beginning of the original Cheers M -Original

RE: [Flashcoders] Flash8: Duplicate Movie problem

2006-11-27 Thread Mike Mountain
Sorry var t= this.getNextHighestDepth(); -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mike Mountain Sent: 27 November 2006 15:15 To: Flashcoders mailing list Subject: RE: [Flashcoders] Flash8: Duplicate Movie problem Whichever way you

RE: [Flashcoders] Widescreen displays

2006-11-15 Thread Mike Mountain
It depends on your display really. If you can code your apps to be liquid, using Stage properties to turn off scaling and aligning to to left then it should work in any res. Problem comes in the differences between plasmas and LCD's and HD ready plasmas Your average LCD will have a true

[Flashcoders] Shapeflag Hit test with non standard text antialialsing fails.

2006-11-15 Thread Mike Mountain
Just a quick heads up, if you set your static text in an MC to anti alias anything other than for animation then a hittest shapeflag test against it will treat it as a bounding box, rather than a shape. Took me bloody ages to figure out what was going wrong. Smells like a bug to me. Cheers M

[Flashcoders] List items of differing row height

2006-11-09 Thread Mike Mountain
List items of differing row height - is this possible in the list component? Cheers M ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to

[Flashcoders] Accordion Pains!

2006-11-08 Thread Mike Mountain
Don't use components often, so excuse the ignorance. And I have RTFM'd and googled. Can't find anyway of setting the state of the Accordion Panel (ie. Which one subpanel is open) using AS? Anyone? Bueller? Cheers M ___

RE: [Flashcoders] Accordion Pains!

2006-11-08 Thread Mike Mountain
, Peer http://www.weiqi.nl http://www.weiqi.nl/blog http://www.schoolvoordetoekomst.nl mobiel: 06 36 13 45 56 werk:073 62 00 274 -Oorspronkelijk bericht- Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens Mike Mountain Verzonden: woensdag 8 november

RE: [Flashcoders] Easy to learn and use 3d program

2006-10-27 Thread Mike Mountain
Cinema 4D by Maxon is both simple to use and very powerful M -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Johan Nyberg Sent: 27 October 2006 08:50 To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] Easy to learn and use 3d

RE: [Flashcoders] Zinc issues

2006-10-24 Thread Mike Mountain
Zinc fixed this issue a few releases back, sounds like you're using an old build - ours works fine with SVN now... M -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Stan Vassilev Sent: 23 October 2006 20:42 To: flashcoders@chattyfig.figleaf.com

RE: [Flashcoders] Flash Projectors - mProjector vs. Zinc

2006-10-18 Thread Mike Mountain
The problem I found with Director is you have to go out and buy a bunch of Xtras to really achieve anything notable. Have you considered ScreenweaverHX? M -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of slangeberg Sent: 17 October 2006 17:58

RE: [Flashcoders] simple gotoAndPlay :: Am I losing my mind?

2006-10-11 Thread Mike Mountain
Are you using MoveClipLoader within IE? If so it's listeners behave eratically with different content caching settings - this could be the problem, your main swf would think the content was loaded in and ready, when in fact it wasn't. M -Original Message- From: [EMAIL PROTECTED]

RE: [Flashcoders] flv not playing in IE with Flash 9

2006-10-06 Thread Mike Mountain
http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_04157 Does this help? M -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ammon Lauritzen Sent: 06 October 2006 00:01 To: Flashcoders mailing list Subject: Re: [Flashcoders] flv not

RE: [Flashcoders] Flash Player 9 FullScreen Mode

2006-10-05 Thread Mike Mountain
Doesn't work in win ie 6.0.2 for me -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Radley Marx Sent: 05 October 2006 05:24 To: Flashcoders mailing list Subject: Re: [Flashcoders] Flash Player 9 FullScreen Mode bwah ha ha ha ha.

RE: [Flashcoders] Google code search

2006-10-05 Thread Mike Mountain
Already loving http://krugle.com/ M -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of slangeberg Sent: 05 October 2006 16:02 To: [EMAIL PROTECTED]; [EMAIL PROTECTED]; Flashcoders mailing list; flexcoders@yahoogroups.com Subject: [Flashcoders]

RE: [Flashcoders] Projector Wrapper

2006-10-03 Thread Mike Mountain
I'd be rather worried if Nicolas didn't want to promote it. The difference being Screenweaver HX is open and free - a comparison would certainly be very interesting. M -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steven Sacks | BLITZ Sent: 02

RE: [Flashcoders] Projector Wrapper

2006-10-03 Thread Mike Mountain
Screenweaver HX does just work with the SWF. It just means you can extend it's capabilities with haXe if you wanted. From the blurb: the System layer : written in haXe and using the Neko API, you can access the local filesystem, databases, network sockets... You can also easily extend its

RE: [Flashcoders] Projector Wrapper

2006-10-03 Thread Mike Mountain
OK got to get this out of my system - I've been itching to post it for months but 'held my tongue', alas no more: Steven you're obviously a talented guy, but my God you have an attitude - is noone allowed to have a different opinion to you? You don't discuss, you object constantly, shoot

RE: [Flashcoders] Mac Flash Projector Question

2006-09-29 Thread Mike Mountain
MDM Zinc may do the trick? http://www.multidmedia.com/ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matthew Bargar Sent: 29 September 2006 15:50 To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] Mac Flash Projector Question

[Flashcoders] Why isn't my listener firing?

2006-09-28 Thread Mike Mountain
[AS] import mx.transitions.Tween; import mx.transitions.easing.*; // var transListener:Object = new Object(); transListener.allTransitionsInDone = function(evt):Void { // direction value of 0 trace(evt.type+ triggered); }; mc.addEventListener(allTransitionsInDone, transListener);

RE: [Flashcoders] Why isn't my listener firing?

2006-09-28 Thread Mike Mountain
Never mind, having a thicko day M -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mike Mountain Sent: 28 September 2006 09:57 To: Flashcoders mailing list Subject: [Flashcoders] Why isn't my listener firing? [AS] import

RE: [Flashcoders] MC not pressed

2006-09-27 Thread Mike Mountain
Untested but what about something like this: [as] var btns = new Array(mc0_btn, mc1_btn, mc2_btn, mc3_btn, mc4_btn, mc5_btn); function scaleUp(mc) { mc._xscale = mc._yscale=150; } function scaleDown(mc) { mc._xscale = mc._yscale=50; } function hiliteButton(btn_num, transFuncOn,

[Flashcoders] Using a swf as an animated texture in direct X

2006-09-20 Thread Mike Mountain
Anyone know if it's possible to use an animated swf as a texture for a directX object? Cheers M ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

RE: [Flashcoders] Find item in array

2006-09-19 Thread Mike Mountain
It's a hell of a lot easier to read than the fastest for loop syntax. for (var i = myArray.length; --i -(-1); ) {} Actually that would be: var l = myArray.length; for (var i = l; --i -(-1); ) {} Then you're not looking up the length on every iteration.. :p M

RE: [Flashcoders] Find item in array

2006-09-19 Thread Mike Mountain
is evaluated condition is evaluated condition is evaluated condition is evaluated condition is evaluated _ Mike Mountain wrote: var l = myArray.length; for (var i = l; --i -(-1); ) {} Then you're not looking up the length on every iteration.. -- Fumio Nonaka mailto:[EMAIL

RE: [Flashcoders] Hex to HSB

2006-09-18 Thread Mike Mountain
I'm doing this in flash 9, the hex to rgb conversion is sweet and plenty fast enough, it's when I throw in the HSB conversion that is bogs down. It has to be done pixel by pixel as the type of transform depends on the input value of each individual pixel. [We're doing tilemap adjustments for

[Flashcoders] Hex to HSB

2006-09-15 Thread Mike Mountain
Anyone got a quick and dirty hex to HSB and back converter algo - without having to convert to RGB first? Cheers M ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:

RE: [Flashcoders] How to get the URL of the page that a moiveis embedded on?

2006-09-15 Thread Mike Mountain
trace(this._url) Have I missed something? M -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jim Berkey Sent: 15 September 2006 12:12 To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] How to get the URL of the page that a

RE: [Flashcoders] Hex to HSB

2006-09-15 Thread Mike Mountain
package : http://svn1.cvsdude.com/osflash/vegas/AS2/trunk/src/asgard/colors/ # HSV to RGB in ColorHSV class http://svn1.cvsdude.com/osflash/vegas/AS2/trunk/src/asgard/col ors/ColorHSV.as EKA+ :) 2006/9/15, Mike Mountain [EMAIL PROTECTED]: Anyone got a quick and dirty hex

RE: [Flashcoders] Convert Regular Number back to Hex value?

2006-09-15 Thread Mike Mountain
toString(16) Cheers M -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Merrill, Jason Sent: 15 September 2006 13:01 To: Flashcoders mailing list Subject: [Flashcoders] Convert Regular Number back to Hex value? Similar to Mike's thread, is

RE: [Flashcoders] Hex to HSB

2006-09-15 Thread Mike Mountain
To: Flashcoders mailing list Subject: Re: [Flashcoders] Hex to HSB Mike Mountain wrote: Thanks, but I was hoping this would be possible without having to convert to RGB first - I basically want to do pixel by pixel colour transform on a copy of a video whilst it's being played so it needs to be ultra

RE: [Flashcoders] taking color out of a jpg in flash

2006-09-12 Thread Mike Mountain
http://www.senocular.com/flash/source.php?id=0.169 Googled desaturate flash -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Stanford Vinson Sent: 12 September 2006 10:53 To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] taking color

RE: [Flashcoders] Accessing a file on the local hard drive?

2006-09-12 Thread Mike Mountain
From what I can see of the tweenies one it does upload the photo - it just takes care of the where from bit with the text: Create a folder on your c drive called temp and save the file here, naming it me.jpg I assume this triggers a php script or something similar to upload it from that location

RE: [Flashcoders] Synchronizing multiple flvs

2006-09-06 Thread Mike Mountain
If the tiles were small enough this could be something you could do with bitmapData - ie. Copying the image data from a master video (offstage) into each of the tiles as it's played. Or you could just mask multiple copies of the same flv, but I suspect there would be bigger overheads with this

RE: [Flashcoders] TextFormat Font Face = 'Wingdings' or 'Webdings'

2006-08-31 Thread Mike Mountain
Jason The only way I can ever get the dings fonts to display in a dynamic tf is by embedding them - even if they are on the users system. I assume this is something to do with the dings family being a symbol font. M He suggested I trace the font on the textfield, which is not the same

RE: [Flashcoders] Flash/Actionscript Coding conventions

2006-08-24 Thread Mike Mountain
Surely this is just a matter of using a fully featured IDE to develop your code in - if you use Flashdevelop for instance you can block comment/uncomment any lines/lines using // syntax from the edit menu with comment line, or with keyboard shortcuts - this will not conflict with block comments

RE: [Flashcoders] DataGrid woes

2006-08-22 Thread Mike Mountain
I swear I saw a sortable datagrid on IFBIN - can't check at the mo' as my work proxy won't allow access - but it is definetely dooable M -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Chris Hill Sent: 19 August 2006 01:50 To: 'Flashcoders

RE: [Flashcoders] Special characters?

2006-08-22 Thread Mike Mountain
[as] for (i=288; i=318; i++) { var val = String.fromCharCode(i); trace(val); } [/as] Any good? M -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steven Loe Sent: 22 August 2006 16:40 To: flashcoders@chattyfig.figleaf.com

RE: [Flashcoders] MovieClip loader IE Caching bug

2006-08-18 Thread Mike Mountain
Caching bug I ran into the same problem yesterday. Just looked all over for an as2 version of qload and I am not coming up with it. Would you mind posting a link? Thanks. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mike Mountain Sent

RE: [Flashcoders] MovieClip loader IE Caching bug

2006-08-18 Thread Mike Mountain
http://chattyfig.figleaf.com/pipermail/flashcoders/2005-February/132366. html -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mike Mountain Sent: 18 August 2006 09:09 To: Flashcoders mailing list Subject: RE: [Flashcoders] MovieClip loader IE

RE: [Flashcoders] Best way to learn OO Analysis and Design withActionScript

2006-08-18 Thread Mike Mountain
I find the hardest thing to get my head around is the absurd amount of Jargon involved in OOP - for what are essentially simple concepts. I really wish we wouldn't perpetuate the practice of trying to make ourselves important by using such a verbal smokescreen. Once you get past the copious

RE: [Flashcoders] Best way to learn OO Analysis andDesign withActionScript

2006-08-18 Thread Mike Mountain
it's crucial to be in sync with specialist language and concepts Completely agree, but Jargon in any industry is always a barrier to effective communication between the initiated and the uninitiated, whether it is intentional or not. I just find that the OOP literati can sometimes be a little too

RE: [Flashcoders] OT: Flashmaps - anybody used it before?

2006-08-17 Thread Mike Mountain
There's also this free google map component: http://www.afcomponents.com/map_google/ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of David Rorex Sent: 17 August 2006 04:48 To: Flashcoders mailing list Subject: Re: [Flashcoders] OT: Flashmaps -

RE: [Flashcoders] MovieClip loader IE Caching bug

2006-08-17 Thread Mike Mountain
which slotted neatly in. I wonder if flash 9 will have similar problems with its Loader events? M -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mike Mountain Sent: 16 August 2006 15:58 To: Flashcoders mailing list Subject: [Flashcoders

[Flashcoders] AS3 bitmapdata lock/unlock

2006-08-16 Thread Mike Mountain
Just messing around converting some double buffering AS2 routines to AS3 when I stumbled upon lock() and unlock() - does this make double buffering unnecessary? I'm not noticing any immediate speed differences between my routine using double buffering and my test with lock()/unlock(). Cheers M

RE: [Flashcoders] AS3 bitmapdata lock/unlock

2006-08-16 Thread Mike Mountain
That's how I read it, just wondered if anyone had done any real performance comparisions - my test is fairly simple. M -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Meinte van't Kruis Sent: 16 August 2006 10:43 To: Flashcoders mailing list

RE: [Flashcoders] AS3 bitmapdata lock/unlock

2006-08-16 Thread Mike Mountain
Hi Ralph If you're feeling generous I'd be interested in seeing the source for those comparisons Cheers M -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Hauwert, Ralph Sent: 16 August 2006 11:16 To: Flashcoders mailing list Subject: RE:

[Flashcoders] MovieClip loader IE Caching bug

2006-08-16 Thread Mike Mountain
I don't do too much online work to be honest so I've only just found this out - but I cannot believe Adobe haven't fixed this bug. http://livedocs.macromedia.com/flash/8/main/wwhelp/wwhimpl/common/html/w whelp.htm?context=LiveDocs_Partsfile=2538.html Using listeners for the movieclip loader,

RE: [Flashcoders] OT: Blitz Labs Xray

2006-08-16 Thread Mike Mountain
Hi John - once more, heaps of praise for this app - it truly is a lifesaver. Can I be cheeky and ask if there's any chance of a standalone version of the flex one? Zinc wrapped maybe? M -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of John Grden

RE: [Flashcoders] print question

2006-08-11 Thread Mike Mountain
Have you thought of perhaps loading the swf into an MC offstage and using the printjob class to print that. And googling first is just plain courtesy man. Otherwise the quality of the forums decline and all the people who would've had the answer to your problem move on elsewhere. M

RE: [Flashcoders] Calling functions in sequence

2006-08-09 Thread Mike Mountain
You can also store references to functions in an array and call them from the array. FuncArr= [] FuncArr[0]=func0 FuncArr[1]=func1 // call func 1 FuncArr[1]() // call a load of funcs in sequence Var len=FuncArr.length For(var i=0; ilen; i++){ FuncArr[i]() } M -Original Message-

RE: [Flashcoders] AS3 scripting, first try - some Q's

2006-07-28 Thread Mike Mountain
Hi Mike, I didnt know FlashCoders was a place to get one's code reviewed for silly mistakes in logic. Hence I just cleared your way from thinking its an AS3 problem. Anyways glad to know you figured it out. You're right, it's not and I did think it was an AS2 - AS3 translation

RE: [Flashcoders] AS3 scripting, first try - some Q's

2006-07-28 Thread Mike Mountain
Well my frustration was stoked by the vague error messages being churned out by the compiler. But no sweat. M -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Supriya Sent: 28 July 2006 09:40 To: Flashcoders mailing list Subject: Re:

[Flashcoders] Decompiler for AS3

2006-07-28 Thread Mike Mountain
We're discussing on the HaXe mailing list whether it would be possible to decompile from Flash 8/AS2 swfs to Haxe, then (when the support is added) recompile to Flash9/AS3 swfs to help speed up AS2 to AS3 conversion. Obvious stumbling block at the moment is nothing decompiles to HaXe, but as a

  1   2   3   >