Re: [Flashcoders] Detect player version that was published

2010-08-24 Thread Glen Pike
On 24/08/2010 15:04, Todd Dominey wrote: Hi everyone - I have an AS3 component that publishes to either Flash Player 9 or Flash Player 10, and I'm trying to figure out a way to detect (within the component's ActionScript) whether the user published the SWF to 9 or 10 as their target. I reali

Re: [Flashcoders] Detect player version that was published

2010-08-24 Thread Glen Pike
On 24/08/2010 15:36, Todd Dominey wrote: Right, not looking for the Flash Player plugin version a user has installed, but rather which runtime the SWF was published to (9 or 10). The root of my dilemma is that Flash's behavior when applying an alpha tween to a Sprite containing a text field u

Re: [Flashcoders] Detect player version that was published

2010-08-24 Thread Glen Pike
On 24/08/2010 15:04, Todd Dominey wrote: Hi everyone - I have an AS3 component that publishes to either Flash Player 9 or Flash Player 10, and I'm trying to figure out a way to detect (within the component's ActionScript) whether the user published the SWF to 9 or 10 as their target. I reali

Re: [Flashcoders] pdf encoders

2010-08-23 Thread Glen Pike
ty overall. On 23/08/2010 17:15, Alexander Farber wrote: Maybe script it with Openoffice? On 8/20/10, Glen Pike wrote: ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Re: [Flashcoders] pdf encoders

2010-08-20 Thread Glen Pike
Hi, Never tried it, but what about Zend_Pdf? Glen Anthony Pace wrote: I am sending this here just cause I think it's likely some developers here have had to work with PDF output. I know about alivePDF, which is great; yet, from what I have it's just not ideal for generating hundr

Re: [Flashcoders] E4X question: counting number of subnodes

2010-08-19 Thread Glen Pike
Hi, I am not sure you can count the sub-nodes without having some sort of differentiator between parent nodes. You might have to loop through the list of games to find how many users are in each one as your tests for 2 & 3 are returning the total number of "user" nodes in the tree.

Re: [Flashcoders] Question FP10 inactive event dispatched when not visible.

2010-08-19 Thread Glen Pike
It is a special event. It is one of the few broadcast events. The manual is quite clear on this. It is not dispatched for focus issues. Think I have been looking at the old AS3 reference - it is clear in the docs for CS5, but Flash 9.0 ref is less verbose. Sorry, I understand the broadcast

Re: [Flashcoders] Question FP10 inactive event dispatched when not visible.

2010-08-18 Thread Glen Pike
Henrik Andersson wrote: Glen Pike wrote: On 17/08/2010 17:59, Henrik Andersson wrote: Glen Pike wrote: Have a look at the Stage class Activate / Deactivate events. They are global to all EventDispatchers. >> Yes, but you listen for the DEACTIVATE event dispatched by the stage to

Re: [Flashcoders] Question FP10 inactive event dispatched when not visible.

2010-08-18 Thread Glen Pike
On 17/08/2010 17:59, Henrik Andersson wrote: Glen Pike wrote: Have a look at the Stage class Activate / Deactivate events. They are global to all EventDispatchers. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http

Re: [Flashcoders] Question FP10 inactive event dispatched when not visible.

2010-08-17 Thread Glen Pike
Hi, Have a look at the Stage class Activate / Deactivate events. Glen On 17/08/2010 16:54, Jiri wrote: I was reading some where that FP 10 now drops the framerate and pause any loading activities when it looses browser focus in the case of browser tab changing. I can't seem to find t

Re: [Flashcoders] image issue

2010-08-16 Thread Glen Pike
Hi, That sounds like your compression settings for the image maybe overriding the SWF ones. Right click the image in the Flash IDE library to check the compression settings for that image? HTH Glen On 16/08/2010 13:49, Lehr, Theodore wrote: smoothing is off I tried to

Re: [Flashcoders] Querying XML

2010-08-06 Thread Glen Pike
Hi, I guess you might have solved this for now - for future reference, I have found the following 2 sources invaluable links when doing e4x stuff... http://www.linkwerk.com/pub/javascript/e4x/e4x-tester/ (It's JavaScript / HTML, but it is a better / fuller implementation than the Be

Re: [Flashcoders] drag issues

2010-08-05 Thread Glen Pike
If you are listening for an event on the "parent" clip, then use currentTarget not target. On 05/08/2010 14:14, Lehr, Theodore wrote: I have a mc that has other mc in it... this mc is hard coded on the stage... in the as I have: mc.addEventListener(MouseEvent.MOUSE_DOWN, drag); function drag

Re: [Flashcoders] A fast FFT in Flash?

2010-08-03 Thread Glen Pike
Hi, You should maybe look using "twiddle" factors and creating these in the init too - so you are not doing cosine / sin math in the butterfly loops? There are some FFT algorithm optimisations about which init these and just do multiplication / addition in the main loop - you might h

Re: [Flashcoders] using fscommand or externalInterface - no luck

2010-07-29 Thread Glen Pike
external interface - have you set the allowScriptAccess parameter to "always" or similar? On 29/07/2010 15:03, Boyd Speer wrote: I am attempting to use either fscommand or external interface to tell the browser to load another .html file but can't seem to get it to work .. am I missing someth

Re: [Flashcoders] Attribute "base"

2010-07-28 Thread Glen Pike
.adobe.com/cps/041/tn_04157.html They say it can be relative. 2010/7/28 Glen Pike: Hi, I think your base parameter needs to be absolute? e.g. 'base', "http://www.mysite.com/New/"; HTH Glen On 28/07/2010 11:00, natalia Vikhtinskaya wrote: H

Re: [Flashcoders] Attribute "base"

2010-07-28 Thread Glen Pike
Hi, I think your base parameter needs to be absolute? e.g. 'base', "http://www.mysite.com/New/"; HTH Glen On 28/07/2010 11:00, natalia Vikhtinskaya wrote: Hi I need to have swf and html in different folders. swf loads xml that is in in the same folder as swf. I know that

Re: [Flashcoders] Combat Game in flash

2010-07-27 Thread Glen Pike
Easy Peasy: Just de-compile this and draw a sword on the character - 5 minutes, job's-a-good-un, laughing all the way to Beno's. http://www.dan-dare.org/FreeFun/Games/Fightman.htm :) Steven Sacks wrote: Haha! This thread reminds me of another classic one: http://www.mail-archive.c

Re: [Flashcoders] Flash CS5 IDE

2010-07-27 Thread Glen Pike
On 27/07/2010 11:09, Tom Gooding wrote: Has anyone else found this transition a bit painful and/or have any suggestions as to how to improve productivity with it. Maybe... does anyone know if it's possible to rig the CS3 IDE (I am on Mac) to publish for FP10. Yes, a little painful - unfortunate

Re: [Flashcoders] How to handle String the best way

2010-07-22 Thread Glen Pike
Hi, Something like /(\w)+)/gi or /([a-zA-Z])+/gi if you are being strict on just having letters. You can experiment with Grant Skinners RegExr tool - Google that cos I have no link :) Glen On 22/07/2010 14:10, Cor wrote: Thanks David. I think you understood exactly what I want. The String

Re: [Flashcoders] AIR flv encoder

2010-07-20 Thread Glen Pike
Hi, There was a version of Red5 that "just installed" and then you could run the server, visit localhost:RED5_PORT in your browser and see all the examples. The OSFlash Red5 download page seemed to be the better place to install from. It is about a year since I tried installing it, so

Re: [Flashcoders] AIR flv encoder

2010-07-20 Thread Glen Pike
On 20/07/2010 17:15, David Hunter wrote: Thanks Deepanjan, I saw this earlier today but it does not handle microphone data, the flvs are silent. Otherwise it looks very good. Date: Tue, 20 Jul 2010 21:04:25 +0530 Subject: Re: [Flashcoders] AIR flv encoder From: deepanjan@gmail.com To: flashc

Re: [Flashcoders] ScrollRect and masking

2010-07-11 Thread Glen Pike
You should possibly roll your own class which is the list + mask that reports it's height and width as that of the mask. Alternatively, if you are feeling lazy, make the mask a symbol & give it an instance name in the IDE, or do it programmatically and access the width / height of that in your

Re: [Flashcoders] access/search archives

2010-07-08 Thread Glen Pike
Funny how Google is really useful... http://www.google.co.uk/#hl=en&q=http%3A%2F%2Fchattyfig.figleaf.com%2Fmailman%2Flistinfo%2Fflashcoders&aq=f&aqi=&aql=&oq=&gs_rfai=&fp=4decbba4b4ffde8d http://www.mail-archive.com/flashcoders@chattyfig.figleaf.com/ On 07/07/2010 17:37, Henrik Andersson wrote:

Re: [Flashcoders] Getting Pixel color cooridnates

2010-07-07 Thread Glen Pike
Hi, You are probably looking at face recognition here, or at least mouth recognition... That's a bit heavyweight / hardcore coding and quite processor intensive, but people have been experimenting with porting existing libraries to Flash using Alchemy... http://www.google.com/

Re: [Flashcoders] How to rotate dynamic textfield

2010-07-06 Thread Glen Pike
e embed in textfield on stage but that doesn't work for me when adding multiple textfield dynamically. Do you have some example code of the bitmap snaphot?? -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of

Re: [Flashcoders] How to rotate dynamic textfield

2010-07-06 Thread Glen Pike
f.com] On Behalf Of Glen Pike Sent: dinsdag 6 juli 2010 13:18 To: Flash Coders List Subject: Re: [Flashcoders] How to rotate dynamic textfield Hi, Your text field needs to have embedFonts set to true and you need the corresponding font characters either embedded in that text field, or another one us

Re: [Flashcoders] How to rotate dynamic textfield

2010-07-06 Thread Glen Pike
Hi, Your text field needs to have embedFonts set to true and you need the corresponding font characters either embedded in that text field, or another one used in the movie. embedFonts property should be True if you set the embedding in the IDE. An alternate hack for rotating is to do a bit

Re: [Flashcoders] adjusting postion of dynamically loaded images

2010-07-01 Thread Glen Pike
Hi, Oops, missed one - try calling load() after you added the listener... Glen On 01/07/2010 14:32, Pankaj Singh wrote: even after using INIT i m getting 0 width because event listener function is never called (trace statement is not working) for (var i:int=0; i< lettersCount; i++)

Re: [Flashcoders] adjusting postion of dynamically loaded images

2010-07-01 Thread Glen Pike
Hi, Are you storing your loaders somewhere outside the function - e.g. is imageLoader an array outside the function? If not, your loaders may go out of scope... Also, your function imgInitialised may go out of scope because that is declared inside the loop - not 100% about this, but try put

Re: [Flashcoders] adjusting postion of dynamically loaded images

2010-07-01 Thread Glen Pike
You should listen for the INIT event, not the COMPLETE one - the images won't have a width until they are initialised. Glen On 01/07/2010 13:50, Pankaj Singh wrote: hello everyone i am trying to set x positions of different images which are being dynamically loaded depending upon their width

Re: [Flashcoders] five 3d

2010-06-22 Thread Glen Pike
On 21/06/2010 23:22, Gustavo Duenas wrote: Hi Guys, any ideas where can I get a good tutorial about five 3d, I saw it on its new version and kind of like it, but the tutorials seems a little obscure for me. Some links for these tutorials? Gus ___ Fl

Re: [Flashcoders] Upgrading from Master Collection Cs4 -> just Flash Cs5?

2010-06-21 Thread Glen Pike
I found the info about not upgrading from CS-> single product on the upgrade page for Flash. That sucks, good job we got lucky upgrading from Master CS3 to Flash CS4 with free PAU to Flash CS5 before someone changed the rules - maybe you can cite that as a a precedent and claim foul to Adobe.

Re: [Flashcoders] searching a string

2010-06-21 Thread Glen Pike
Hi, Look at Regular Expressions - RegExp class... If you are doing anything with RegExp, download Grant Skinners RegEx tool: http://www.gskinner.com/blog/archives/2008/03/regexr_free_onl.html Glen On 21/06/2010 15:24, Lehr, Theodore wrote: If I had a string: Leadership And I

Re: [Flashcoders] Upgrading from Master Collection Cs4 -> just Flash Cs5?

2010-06-20 Thread Glen Pike
riginal Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders- boun...@chattyfig.figleaf.com] On Behalf Of Glen Pike Sent: Sunday, June 20, 2010 4:09 PM To: Flash Coders List Subject: Re: [Flashcoders] Upgrading from Master Collection Cs4 -> just Flash Cs5? Hi, Tha

Re: [Flashcoders] Upgrading from Master Collection Cs4 -> just Flash Cs5?

2010-06-20 Thread Glen Pike
Hi, That's really strange because recently we upgraded at work from CS3 Master Collection to Flash CS4. We got lucky by upgrading a week before CS5 was announced, so qualified for the free upgrade to Flash CS5 - had no problems with this, but we did do it through the "Volume Licensing" si

Re: [Flashcoders] Function Doesn't Increment Properly

2010-06-18 Thread Glen Pike
t.start() ? On 18/06/2010 16:52, John Singleton wrote: First, a word of thanks to Glen Pike. That was slick, numChildren! Second, I like Michael Mendelsohn's idea, however, for what event am I listening? package { import flash.display.MovieClip; import flash.utils.setInt

Re: [Flashcoders] Function Doesn't Increment Properly

2010-06-18 Thread Glen Pike
Hi, Maybe it's because you looped through the loop before you started adding flames - e.g. i is 10 by the time the first flame is added... Can you just use the number of children already in the container to set the x position of the next flameNew? Glen __

Re: [Flashcoders] Flex license with CS3?

2010-06-17 Thread Glen Pike
Hi, Sorry, should probably have been more specific - we still have Master Collection CS3 - so looking for the Flex companion to that so maybe we can get an upgrade from Flex NN to FB4 Thanks. Glen On 17/06/2010 01:25, Kerry Thompson wrote: Glen Pike wrote: I vaguely

[Flashcoders] Flex license with CS3?

2010-06-16 Thread Glen Pike
Hi, I vaguely remember hearing something a while ago about a Flex license being "free" for people who owned CS3 Master Collection - can anyone verify this? If so, which version of Flex was it and did you need to apply / ask Adobe for the license number for Flex? Thanks Glen -- _

Re: [Flashcoders] Naming a loaded swf

2010-06-15 Thread Glen Pike
Okay - can you store a reference to the loaded content that you can use to access it later, either as an instance variable or in an array? On 15/06/2010 15:49, Lehr, Theodore wrote: Actually - both ways are giving me the same error: Error #2078: The name property of a Timeline-placed object ca

Re: [Flashcoders] Naming a loaded swf

2010-06-15 Thread Glen Pike
Cast it to a DisplayObject then give that a name? var obj:DisplayObject = loadEvent.currentTarget as DisplayObject; obj.name = "my instance"; ... On 15/06/2010 14:28, Lehr, Theodore wrote: I am loading a swf via something like: var loader:Loader = new Loader(); function startLoad(dfile:Strin

Re: [Flashcoders] HTML TextFields - 'A HREF' RollOvers..

2010-06-15 Thread Glen Pike
Why not use the mouse coordinates? On 15/06/2010 13:24, Karim Beyrouti wrote: Hi All - Wondering if there are any hacks to trigger a 'RollOver' script when hovering over a 'a href' link in an html textfield. Currently using TextEvent.LINK,to trigger links - but would like to show a tooltip on

Re: [Flashcoders] CS5 questions

2010-06-15 Thread Glen Pike
IDE again... On 15/06/2010 12:19, Glen Pike wrote: Hi, Well feeling like a kid with a shiny new toy having just installed CS5 - first time in my career I have managed to get the "latest" version of Flash within a year of it being released, yay :) (Will probably be shouting

[Flashcoders] CS5 questions

2010-06-15 Thread Glen Pike
Hi, Well feeling like a kid with a shiny new toy having just installed CS5 - first time in my career I have managed to get the "latest" version of Flash within a year of it being released, yay :) (Will probably be shouting at my computer within about 5 minutes, but as long as it does

Re: [Flashcoders] Flex generative art???

2010-06-10 Thread Glen Pike
Hi, I have not done much generative stuff with Flash for a long time, but I can see what you are trying to acheive... I guess you are looking for simple controls that let you control parameters for drawing stuff on your canvas? Whether you use Flash or Flex for your components - yo

Re: [Flashcoders] Question about approximate vowel detection in AS3

2010-06-03 Thread Glen Pike
Have a look at this stuff, don't know if there is source, but it might be a start... http://www.allflashwebsite.com/article/real-time-lip-sync-in-flash On 03/06/2010 15:03, Eric E. Dolecki wrote: I've tried running software voice vowels through the system and I am able to create "signatures"

Re: [Flashcoders] Question about approximate vowel detection in AS3

2010-06-03 Thread Glen Pike
If your mp3's are pre-recorded rather than people recording them dynamically, could you use cue points? On 02/06/2010 20:57, Eric E. Dolecki wrote: I have a face that uses computeSpectrum in order to sync a mouth with dynamic vocal-only MP3s... it works, but works much like a robot mouth. The j

Re: [Flashcoders] end of program event?

2010-05-31 Thread Glen Pike
Hi, Not sure it this is any good, but try listening for the REMOVED_FROM_STAGE event in your document class? Failing that, you could setup some JavaScript to talk to Flash on the Window.unload event, but by then Flash could have gone... Hope this is some help.. Glen Jim Andrew

Re: [Flashcoders] Dylan responds to e-mails at 12pm and 4pm. (Auto-Response)

2010-05-30 Thread Glen Pike
Gee, that's a pity Dylan because I really needed an answer before 5pm GMT, oh well. ;) dy...@ontheriverent.com wrote: Hello Friends and Colleagues, In order to continuously focus my attention on the large projects I am working on, I am currently checking and responding to e-mail twice daily,

Re: [Flashcoders] ticker

2010-05-28 Thread Glen Pike
7;s what I love about this list - there is ALWAYS help available but it is often cryptic... ;-) From: flashcoders-boun...@chattyfig.figleaf.com [flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Glen Pike [g...@engineeredarts.co.uk] Sent: Friday, May

Re: [Flashcoders] ticker

2010-05-28 Thread Glen Pike
On 28/05/2010 15:45, Lehr, Theodore wrote: I am trying to make a simple ticker... my thinking is to tween it (in as) right to left... how would I make that tween repeat endlessly? ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://ch

Re: [Flashcoders] right to left text in fp9 using xml

2010-05-28 Thread Glen Pike
var textLine:TextLine = _textBlock.createTextLine(null, _text.width, 0); _fteContainer.addChild(textLine); } On 28/05/2010 10:50, Glen Pike wrote: Arabic - you can use "Flaraby" which works really well - that takes your arabic text and "flips" the order of words / character

Re: [Flashcoders] right to left text in fp9 using xml

2010-05-28 Thread Glen Pike
Arabic - you can use "Flaraby" which works really well - that takes your arabic text and "flips" the order of words / characters correctly. It does not work for other BIDI languages - we had to upgrade to CS4. There is another solution http://www.red-id.com/blog/post/BIDI-Flash-support-3.aspx b

Re: [Flashcoders] Loader.unload not freeing the memory

2010-05-27 Thread Glen Pike
Also note that Flash will only free up memory it thinks it needs to... On 27/05/2010 13:37, Andrew Murphy wrote: Hi. :) Are you calling garbage collection after you unload? If you don't call for it then it may take a while for Flash to get around to doing it. http://www.craftymind.com/2008/04

[Flashcoders] Get XML nodes path.

2010-05-27 Thread Glen Pike
Hi, I have had a google and a read of the docs - I am trying to see if there is a shortcut to finding the full "path" to a specific node in an XML document from the node itself. Can this be done without walking back up the node tree in E4X / XML, e.g. a method, or something? Th

Re: [Flashcoders] preventing control characters from being typed

2010-05-26 Thread Glen Pike
You can set the "restrict" property to a list of characters - see TextField docs. On 26/05/2010 16:54, Mattheis, Erik (MIN-WSW) wrote: I need to make a form that can be used without a mouse. I have private function keyHandler(e:KeyboardEvent):void { if (e.controlKey) { switch (e.keyCo

Re: [Flashcoders] External Interface with looped parameters

2010-05-26 Thread Glen Pike
On 26/05/2010 09:33, kennethkawam...@gmail.com wrote: You can pass any number of parameters with ExternalInterface.call() method - or are you talking about something else...? I think he means a variable number of parameters. Can you pass an object like an array?

Re: [Flashcoders] [JOB] Sr. Flash Game Developer, Bay Area, CA | 100-150k

2010-05-25 Thread Glen Pike
Hmm, that makes about $850K in my reckoning, damnit lost my green-card. ;) This is a full time, on-site, salaried position located in San Francisco, CA paying $1000,000-150,000 + benefits. No telecommuting allowed. US Citizens or Green Card holders only please. Local candidates preferred; how

Re: [Flashcoders] as3 ttf encoding lib?

2010-05-25 Thread Glen Pike
font file formats. Even a java library that compiles to ttf or something open type that wouldn't be too crazy to port? On 5/25/2010 9:56 AM, Glen Pike wrote: I remember looking at that - it uses JSFL and does the following: Draws each letter of your font onto the stage in Flash. Break

Re: [Flashcoders] as3 ttf encoding lib?

2010-05-25 Thread Glen Pike
file formats. Even a java library that compiles to ttf or something open type that wouldn't be too crazy to port? On 5/25/2010 9:56 AM, Glen Pike wrote: I remember looking at that - it uses JSFL and does the following: Draws each letter of your font onto the stage in Flash. Break

Re: [Flashcoders] as3 ttf encoding lib?

2010-05-25 Thread Glen Pike
I remember looking at that - it uses JSFL and does the following: Draws each letter of your font onto the stage in Flash. Breaks the letter apart - so it becomes a shape. Grabs the "path" of the shape. Turns the shape into commands for drawing the character using the Five3D engine - which uses t

[Flashcoders] CS4 properties panel

2010-05-19 Thread Glen Pike
Hello, Is there any way of getting the Properties panel in CS4 to layout in the old horizontal fashion? We are not all blessed with super wide screens and I have not really got that much real-estate to p*** it away with panel that is half populated a lot of the time... Grrr.

Re: [Flashcoders] Event Listeners

2010-05-13 Thread Glen Pike
Remember that events happen in the future - so you want to set up all your listeners on an object before you ask it to do something - in the code below, you call "loader.load" before adding the listeners - that may not work if the thing loaded is small / cached. Also, you might want to be care

Re: [Flashcoders] Modifying a already defined tween

2010-05-13 Thread Glen Pike
Tween.stop() and Tween.fforward() should do it. On 13/05/2010 09:50, Fahim Akhter wrote: Hi, I have a tween like this : new Tween(myObject, "x",null,nowPosition,finalPosition,time,true); sometween.start(); Now when the tween has not finished and is somewhere in the middle and the fi

Re: [Flashcoders] Stop flashdevelop "exploding" xml in AS3

2010-05-12 Thread Glen Pike
Better still, upgrade to latest version which seems to have fixed it... Cheers :) On 12/05/2010 16:35, Eric E. Dolecki wrote: Why not post a question to the FlashDevelop forum? I've even fetched the link for you. http://www.flashdevelop.org/community/index.php - Eric On Wed, May 12, 2010 at

[Flashcoders] XML to string conversion

2010-05-12 Thread Glen Pike
Hi, Can anyone explain why / when XML toString or toXMLString converts my characters to HTML entities? I think it's when I try XMLList.toString() but it's kind of strange behaviour Thanks Glen ___ Flashcoders mailing list Flas

[Flashcoders] Stop flashdevelop "exploding" xml in AS3

2010-05-12 Thread Glen Pike
Hi, I am having problems with my "hardcoded" XML when typing in FlashDevelop in AS3 code. Does anyone know how I stop FD "exploding" my XML when I press return. If I type this: var tmp:XML = hex{event.time}{event.output}{event.value}> FD then changes the formatting to

Re: [Flashcoders] help with CameraDetection class

2010-05-12 Thread Glen Pike
Hi, Flash, Windows (Actual = "Reported by Flash"): Logitech Quickcam Pro E3500 = "USB Video Device" Logitech Quickcam C200 = "USB Video Device" Logitech Webcam C905 = "Quickcam Pro for Notebooks". Flash, Linux, Gentoo using Kernel 2.6.29 with kernel module "uvcvideo": L

Re: [Flashcoders] Sound

2010-05-10 Thread Glen Pike
Hi, The Sound "play" method returns a SoundChannel instance, which you can call stop() on to stop the sound. Glen Jim Andrews wrote: http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/media/Sound.html The above URL is the main page to acquaint yourself with con

Re: [Flashcoders] Apple developing flash-like alternative

2010-05-10 Thread Glen Pike
- but iTunes itself is slow, bloated, unresponsive, and ignores every UI convention on Windows. I'm half convinced it's intentionally so bad to convince people to get a Mac to run it. Oh, the irony :-D ___ Flashcoders mailing list Flashcoders@chat

[Flashcoders] Slightly OT: Xpath select a section of nodes from a list with offset - e.g paging

2010-05-10 Thread Glen Pike
Hi, Am doing some PHP work using the DOM XML and I want to be able to pull a chunk of nodes out of a list a section at a time using some kind of offset & amount thing. Does anyone have any pointers / ideas about this. Thanks Glen _

Re: [Flashcoders] Sound

2010-05-10 Thread Glen Pike
On 10/05/2010 15:24, Lehr, Theodore wrote: Say I have a sound that lasts 1.7 seconds. Is there a way to control what plays - for example. if I want to start it .4 seconds in and stop it .2 seconds before the end ___ Flashcoders mailing list Flashc

Re: [Flashcoders] Moving from CS3 to CS4

2010-05-07 Thread Glen Pike
On 07/05/2010 12:04, Lehr, Theodore wrote: So we are finally getting CS4 (makes sense since CS5 is out now - but that is what working for the govt is like...) What should I look for as far as differences? I know the z axis is now available - what else?

Re: [Flashcoders] ExternalInterface broken? chrome and safari on linux...

2010-05-05 Thread Glen Pike
Why would anyone in their right mind want to run Safari on a Linux box :'( On 05/05/2010 16:25, tom rhodes wrote: anyone got ExternalInterface calls working in chrome/safari on linux? or know why mine might be failing? they work on everything else seemingly... tia, tom. _

Re: [Flashcoders] XML Question

2010-05-05 Thread Glen Pike
Hi, Your switch uses "page_name", but your XML says "pg_name". Not sure about the other question at the moment, but it looks like you are repeating your self in the switch statement - if all your pages have DETAILS, do you need to switch? I am guessing you may have pages that differ? HTH a

Re: [Flashcoders] letter from Steve Jobs on Flash

2010-04-29 Thread Glen Pike
Pity it's US only, would have been nice to see, but it's not from Adobe though! Apple have thrown down the gauntlet - it may be FUD, but it's from Steve Jobs / Apple and that's better than any speculation from other sources. I guess I would like to see Adobe be able to respond to this without

Re: [Flashcoders] letter from Steve Jobs on Flash

2010-04-29 Thread Glen Pike
I thought it was an elven character from LOTR? On 29/04/2010 16:15, Eric E. Dolecki wrote: I think that's a new-fangled fishing lure used for freshwater carp or something. On Thu, Apr 29, 2010 at 10:57 AM, Glen Pikewrote: ___ Flashcoders mailin

Re: [Flashcoders] letter from Steve Jobs on Flash

2010-04-29 Thread Glen Pike
What's Silverlight? On 29/04/2010 15:51, Merrill, Jason wrote: Funny, Jobs makes no mention of Silverlight anywhere in that article. :) Jason Merrill Bank of America Global Learning Learning& Performance Solutions Join the Bank of America Flash Platform Community and visit our Instructi

Re: [Flashcoders] letter from Steve Jobs on Flash

2010-04-29 Thread Glen Pike
I think some of his comments about Flash not being "designed" for Touch devices have a ring of truth to them, for example, I develop for a touchscreen system and have written many custom components without rollovers. I can't really comment on battery life, web-video, etc. because I do all my

Re: [Flashcoders] libraries of wav files?

2010-04-29 Thread Glen Pike
Hi, You could compile the wav files into SWF's that you load as runtime libraries - then you could still instanciate your sounds the same way as Kenneth said. You have to use a Loader class load the external SWF in and wait for the Loader's INIT event before accessing library items.

Re: [Flashcoders] UIScrollbar

2010-04-29 Thread Glen Pike
Hi, Think I have found a solution using Grant Skinners hack for the Scrollbar component detailed here. http://www.gskinner.com/blog/archives/2007/05/variable_scroll.html Glen On 29/04/2010 09:51, Glen Pike wrote: Hi, I am looking at skinning a List for a touchscreen device

[Flashcoders] UIScrollbar

2010-04-29 Thread Glen Pike
Hi, I am looking at skinning a List for a touchscreen device and reading the doc's for CS4 skinning it seems to imply that I cannot change the width of a vertical scrollbar. Does anyone know of any workarounds for this as people using the touchscreen don't tend to have mouse-pointer

Re: [Flashcoders] Keep pane facing camera in 3D (Five3D specifically)

2010-04-28 Thread Glen Pike
I think you mean "billboards" - something that always faces the camera? Does it have to be in Five3D - can you accomplish this in Flash by manipulating the z-depth On 28/04/2010 11:35, dopeco...@hotmail.com wrote: Hi John, Each plane is attached to the globe, so if I rotate the globe alone,

Re: [Flashcoders] Keep pane facing camera in 3D (Five3D specifically)

2010-04-28 Thread Glen Pike
Eeek, I tried this / ran into the problem. In PV3D, you generally move the camera around the world / objects. In Five3D you move the world or the objects around, which behaves completely differently. I tried unsuccessfully to integrate a 3D camera - borrowing some of the ideas fro

Re: [Flashcoders] Resize stage at runtime

2010-04-27 Thread Glen Pike
Hi, You could make a call to JavaScript via external interface to do this, then have a stage resize handler like normal. I have done this before now - to fixed sizes, but I am guessing you can pass parameters to JavaScript easily enough. HTH Glen Cor wrote: Hi List,

[Flashcoders] List component for touchscreen

2010-04-26 Thread Glen Pike
Hi, I am looking at a project which uses a list of data for a touchscreen PC. Sometimes the data-sets for the lists get quite large. Can anyone recommend the best way to handle this - using Flash AS3. I will need to have quite chunky skins for fingers rather than a mouse. I also w

Re: [Flashcoders] Flash and iThingammybob

2010-04-21 Thread Glen Pike
that ain't going to happen anytime soon. Glen On 21/04/2010 09:34, Paul Andrews wrote: On 21/04/2010 09:13, Glen Pike wrote: Can we keep the "technicalities of iPhone SDK" discussions on some Apple fanboi list please. No. I am actually looking to see if there is a loopho

Re: [Flashcoders] Flash and iThingammybob

2010-04-21 Thread Glen Pike
Can we keep the "technicalities of iPhone SDK" discussions on some Apple fanboi list please. On 20/04/2010 20:39, Paul Andrews wrote: On 20/04/2010 20:06, jonathan howe wrote: Paul, That's an interesting distinction. Does the agreement say you can't even test locally those kind of prototypes?

Re: [Flashcoders] Re: Flash/Javascript communication error

2010-04-15 Thread Glen Pike
Hi, I used this snippet which was behaving last time I looked: Glen function thisMovie(movieName) { if (navigator.appName.indexOf("Microsoft") != -1) { return window[movieName]; } else { return document[movieName];

Re: [Flashcoders] @#$% New iPhone Developer Agreement Bans the Use of Adobe¹s Flash-to-iPhone Compiler

2010-04-15 Thread Glen Pike
compiler. Wasn't saying that. Just wondering if there would be any benefit to using flash javascript. I guess my question is more "What is flash javascript?" "What does it do?" and "What are its benefits?" Thanks, Karl On Apr 15, 2010, at 7:43 AM, Glen

Re: [Flashcoders] @#$% New iPhone Developer Agreement Bans the Use of Adobe¹s Flash-to-iPhone Compiler

2010-04-15 Thread Glen Pike
Well if JavaScript is allowed that might muddy the waters a bit - JavaScript is a dialect, from the ECMAScript family, so are Apple allowing JavaScript or ECMAScript? On 15/04/2010 13:40, Karl DeSaulniers wrote: One of the allowed program languages is javascript in this new SDK. I remember rea

Re: [Flashcoders] current consensus of available Flash 3D engines?

2010-04-15 Thread Glen Pike
The UI is a PITA in Blender, but once you get the hang of it, you can work faster and the cheat sheets you can find are useful. My major grievance with Blender is why they don't make the save shortcut automatically save rather than showing a popup confirmation dialog under your mouse - we have

[Flashcoders] Tunneling and sandbox

2010-04-15 Thread Glen Pike
Hi, I am using an SSH connection to connect to a remote Flash application via localhost. This flash application opens a socket, to another port configured through the tunnel, but the destination port is on a different computer. I keep getting a sandbox violation even though the IP addre

Re: [Flashcoders] c# . net and Flash

2010-04-14 Thread Glen Pike
On 14/04/2010 13:37, Lehr, Ross (N-SGIS) wrote: Hey All, I'm trying to do the simplest of thing and not having success. I'm trying to embed a .swf into a .net web page using c#. I've searched Google, and it might be the terms I'm searching on, but I can't seem to find anything. Some

Re: [Flashcoders] @#$% New iPhone Developer Agreement Bans the Use of Adobe’s Flash-to-iPhone Compiler

2010-04-13 Thread Glen Pike
don't you mean iiAsc? Like Ascii but with endianness... Karl DeSaulniers wrote: Heh, yeah maybe we can invent a AS-C from learning it. lol Karl On Apr 13, 2010, at 3:44 AM, Carl Welch wrote: After all this discussion, I've decided to suck it up and give these a read: http://developer.app

Re: [Flashcoders] @#$% New iPhone Developer Agreement Bans the Use of Adobe’s Flash-to-iPhone Compiler

2010-04-12 Thread Glen Pike
IMHO, I don't think people have an issue with the correct methodology of making apps - if that were the case we might still be in the dark ages of development. Flash gave and still gives a lot of people the power to develop ideas for programs quickly, without having to wade through rubbish lik

Re: [Flashcoders] AS30 - Embedding Fonts question

2010-04-12 Thread Glen Pike
Hi, Not possible in CS3 IDE, but you can build "font" files in Flash Develop or using Flex. See the example below - if you can use Flash Develop you can set up a "Pure AS3 project" and use something like the code below: The only caveat with this is the fontName property - you can't

Re: [Flashcoders] CS4 crashing - tips please?

2010-04-12 Thread Glen Pike
, Mark. -- Mark Burvill Antifuzz www.antifuzz.com twitter.com/antifuzz On 12 Apr 2010, at 13:33, Glen Pike wrote: Hi, Maybe behind the times here, but we recently upgraded to Flash CS4 to use the Text Layout / Text Engine stuff and I having huge problems

[Flashcoders] CS4 crashing - tips please?

2010-04-12 Thread Glen Pike
Hi, Maybe behind the times here, but we recently upgraded to Flash CS4 to use the Text Layout / Text Engine stuff and I having huge problems with the IDE crashing nearly every time I test a movie. Does anyone have any ideas on this, I have had a Google. Does Adobe seriously expect m

<    1   2   3   4   5   6   7   8   9   10   >