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

Re: [Flashcoders] How to rotate dynamic textfield

2010-07-06 Thread Glen Pike
] 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 used

Re: [Flashcoders] How to rotate dynamic textfield

2010-07-06 Thread Glen Pike
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 Glen Pike Sent

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...

Re: [Flashcoders] access/search archives

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

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] 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:

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] 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

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 -

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:

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

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

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

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

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

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

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-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 signal

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] 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] 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

Re: [Flashcoders] pdf encoders

2010-08-23 Thread Glen Pike
OT: No experience scripting Open Office, but in my experience using it, the PDF exporter sucks. I normally install a PDF printer like CutePDF and use that to render my PDF's as the OO one can't seem to render my documents without nasty artifacts, jaggy fonts and just poor quality overall.

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

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

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

Re: [Flashcoders] Impossible?

2010-09-03 Thread Glen Pike
On 03/09/2010 13:32, George Jones wrote: Hi; I think I've done my homework on this, but I can find no answers. Is it possible, using BitmapData, to make part--and only part--of a bitmap transparent? I'm presuming the answer is no. If that is the case, would you be so kind as to inform me so

Re: [Flashcoders] Apple changes their guidelines

2010-09-09 Thread Glen Pike
I am guessing you App cannot be a shell for other code that is not downloaded from the AppStore - so your Flash iPhone app has to be totally self-contained, not like you can download the Flex Framework, etc. as external resources. You might be allowed to download graphics. Depending on the

Re: [Flashcoders] Apple backing off. Why?

2010-09-10 Thread Glen Pike
A large one :) Henrik Andersson wrote: Carl Welch skriver: I don't believe apple really gives a crap about developers. We can thank the FTC probe for their sudden change of policy. I still feel burnt by Mr. Jobs. I must have missed that, what probe?

Re: [Flashcoders] Isometric Graphics Libraries

2010-09-11 Thread Glen Pike
Hi, I just found one page a bit randomly - I know it's been a while, but maybe this will help. http://reinerstileset.4players.de/englisch.html Glen Tom Gooding wrote: Hi - is anyone aware of any pre-existing free or commercial isometric graphic libraries - for characters and props?

Re: [Flashcoders] Zooming

2010-09-13 Thread Glen Pike
On 13/09/2010 17:26, Henrik Andersson wrote: Lehr, Theodore skriver: Is there anyway to zoom into a mc and make sure a certain point on an object (just an image converted to a mc in this instance) is always in the center? Yes, with geometry. I recommend using a virtual camera, since it

Re: [Flashcoders] Embedding Fonts, it should be easy...., right!

2010-09-15 Thread Glen Pike
Hi, I have had lots of problems with this in the past - be careful you are not embedding the font in the IDE for any of your text fields, I think it clashes. Where is MyriadProFont coming from in your App? Glen On 15/09/2010 08:46, Jiri wrote: He Keith, thanks for pointing

Re: [Flashcoders] Flash On The Beach 2010

2010-09-20 Thread Glen Pike
I am not going this year, but have been to FOTB a couple of times and think it's amazing. My approach to choosing - as a coder - is to find stuff outside my normal sphere of interest, so I tend to take in lots of creative stuff and maybe catch up with some new tech things I might need in the

Re: [Flashcoders] Streaming Video w/o Flash Media Server: Possible?

2010-09-20 Thread Glen Pike
http://www.google.com/#hl=enq=rtmp+server Red5 is an open-source one that might be worth looking at. On 20/09/2010 17:04, Steven Loe wrote: Is it possible to get video to stream over a rtmp connection that is not on a flash media server? I'm working with a company that provides streaming

Re: [Flashcoders] Inheritance and abstract classes

2010-09-23 Thread Glen Pike
Hi, If you type as a superclass you are generally programming to an interface, so you can just as easily type to an interface. Using interfaces is generally more flexible - it's easier to work with has a (interfaces) than is a (subclass), but sometimes you need a default

Re: [Flashcoders] Downloading a .swc library

2010-09-23 Thread Glen Pike
Hi. I would think about using the [Embed] directive in pure AS3 code to create font swf files. You can have one or more fonts in a swf which does not matter and you can load them in a runtime dynamically. Here is an example of a Font file - you can setup a project in FlashDevelop that

Re: [Flashcoders] Inheritance and abstract classes

2010-09-24 Thread Glen Pike
Ooops, my bad - I have the picture now :) On 23/09/2010 20:51, Henrik Andersson wrote: Glen Pike skriver: has a (interfaces) than is a (subclass), That's wrong. HAS-A is not used for interfaces, it is used for reference properties and other forms of containment. Both interfaces

Re: [Flashcoders] Left shifting input text as user types is unreliable

2010-09-24 Thread Glen Pike
Is this happening because you are using the CHANGE event - is that firing when you change modify the character also? Have you tried using the TextEvent.TEXT_INPUT event - this might work, but I am not sure. The only other suggestion may be out of place, but concerns usability and might be

Re: [Flashcoders] bounce object off tilted wall

2010-09-28 Thread Glen Pike
Hi, You should be able to work out your angle of reflection in a similar way as you do for horizontal collision. 2 billiard balls - collision detection is easy - if the distance between the centre's is less than 2 x the radius you have a collision. I think there is some

Re: [Flashcoders] OT: Resizing AS window

2010-10-05 Thread Glen Pike
On 05/10/2010 13:50, Lehr, Theodore wrote: My AS window is too tall for my monitor (not sure how that happened) and I can figure out how to resize it? Anyone know? ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com

Re: [Flashcoders] OT just a test

2010-11-02 Thread Glen Pike
Okay here. On 02/11/2010 14:23, John R. Sweeney Jr wrote: Haven't seen an email since 10/27. Just making sure things are working. John R. Sweeney Jr. Interactive Multimedia Developer OnDemand Interactive Inc 945 Washington Blvd. Hoffman Estates, IL 60169 Office/Fax: 847.310.5959 Cellular:

Re: [Flashcoders] Actionscript 4?

2010-11-09 Thread Glen Pike
Actionscript 4 - is a very high level language, you just think it and it appears on screen ;) On 09/11/2010 12:15, Merrill, Jason wrote: Did anyone who attended Max this year hear anything about the status of Actionscript 4? I heard a lot about new tools and HTML 5 support and junk, but I

Re: [Flashcoders] How to view and edit alternate content

2010-11-12 Thread Glen Pike
Can you temporarily disable JavaScript in your browser so that swfobject does not run? On 12/11/2010 10:11, Marco Terrinoni wrote: Hi there I have created a flash site using Gaia Framework which scaffolds xhtml pages for browsers that don't support flash. I am in the middle of creating the

Re: [Flashcoders] Finda and Replace

2010-11-15 Thread Glen Pike
Hi, For really simple replacements like single characters and strings, you are probably better off using s.replace(?, ); For RegExp grab a copy of Grant Skinners RegExr tool - it's invaluable: http://gskinner.com/RegExr/desktop/ HTH Glen On 15/11/2010 17:26, Lehr,

Re: [Flashcoders] Finda and Replace

2010-11-15 Thread Glen Pike
[flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Glen Pike [postmas...@glenpike.co.uk] Sent: Monday, November 15, 2010 1:34 PM To: Flash Coders List Subject: Re: [Flashcoders] Finda and Replace Hi, For really simple replacements like single characters and strings, you are probably better

Re: [Flashcoders] How to detect for modifier (alt/ctrl) keys

2010-11-15 Thread Glen Pike
Hi, I would suggest using a keyboard manager class that tracks when various keys are pressed and sets a flag - this would effectively allow you to Poll such keys when you are checking others. There is a good example from Richard Lord here:

Re: [Flashcoders] Sorry I know this is [OT] but i just swiched from CS3 to CS5 and have a UI question

2010-11-15 Thread Glen Pike
Hi, I asked this question a while ago and I think the answer is no... http://www.mail-archive.com/flashcoders@chattyfig.figleaf.com/msg54882.html You might want to put a request into Adobe to get them to use floating layouts so the properties panel works horizontally vertically.

Re: [Flashcoders] How to detect for modifier (alt/ctrl) keys

2010-11-15 Thread Glen Pike
Yes, but if you don't use keyEvent.ctrlKey in your event handler, but check for CTRL and set a flag: e.g. public static const CTRL_KEYCODE:int = 17; private var _ctrlKeyDown:Boolean = false; //etc function onKeyDownHandler(e:KeyboardEvent):void { switch(e.keyCode) {

Re: [Flashcoders] Getting bitmap data after successfully loading a swf file

2010-12-01 Thread Glen Pike
Hi, If your loaded asset is a swf, you cannot just access the bitmapData property - it does not have one. However, you can draw the contents of a MovieClip / Sprite / DisplayObject into a BitmapData object, which you can then pass to the constructor of a Bitmap.

Re: [Flashcoders] Testing display object if its MovieClip or BitMap?

2010-12-01 Thread Glen Pike
How about up-casting: var mc:MovieClip = loadedDisplayObject as MovieClip; if(mc) { mc.play(); } else { //could be a bitmap, but if it's not guaranteed, then you might need to do more tests. var bmp:Bitmap = loadedDisplayObject as Bitmap; } On 01/12/2010 22:39, Micky Hulse

Re: [Flashcoders] Testing display object if its MovieClip or BitMap?

2010-12-01 Thread Glen Pike
Sorry, I meant downcast On 01/12/2010 22:56, Glen Pike wrote: How about up-casting: var mc:MovieClip = loadedDisplayObject as MovieClip; if(mc) { mc.play(); } else { //could be a bitmap, but if it's not guaranteed, then you might need to do more tests. var bmp:Bitmap

Re: [Flashcoders] Testing display object if its MovieClip or BitMap?

2010-12-01 Thread Glen Pike
Hi, If your downcast does not work - the as bit - your variable will be null -it does not throw exceptions. http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/operators.html#as Glen On 01/12/2010 23:07, Micky Hulse wrote: Hi Glen! Many thanks for the quick

Re: [Flashcoders] (From a PDF?) Getting bitmap data successfully

2010-12-02 Thread Glen Pike
We used xpdf to generate jpgs / text of all our pdf files - that's opensource. Unfortunately this is command line too, so might not be any good to you, but it might be easier to generate thumbs for your PDF statically if you are re-using the same PDF's each time?

Re: [Flashcoders] Masked mc and total size

2010-12-08 Thread Glen Pike
mc.mask.width? On 08/12/2010 17:26, natalia Vikhtinskaya wrote: Hi I have mc content_mc with 3 mc inside. Each of them has image with different size and masked with size 100px width. I expected to get total size for container_mc 3*100. But it is not true. When I trace(content_mc._width) it

Re: [Flashcoders] test

2011-01-11 Thread Glen Pike
Yes, but very quiet. On 11/01/2011 16:11, Mendelsohn, Michael wrote: Test: is the list alive? - MM ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Re: [Flashcoders] test

2011-01-12 Thread Glen Pike
No, Beno is still on holiday. On 11/01/2011 18:06, Merrill, Jason wrote: Could be a sign of list maturity. As the list audience grows in skill set, people have to ask fewer questions until we reach a point where the list has served its ultimate purpose and fulfilled its destiny and can move

Re: [Flashcoders] test

2011-01-12 Thread Glen Pike
Hmm, the farce is strong in this one. Go far he will. On 12/01/2011 09:55, tom rhodes wrote: ahahah. ok i promised a client 3d dancing and talking monkeys integrated with facebook and twitter, i've got a facebook account but i'm a bit stuck with the rest On 12 January 2011 10:08, Glen

[Flashcoders] CS5 - Android debugging

2011-01-12 Thread Glen Pike
Hi Guys, I installed the CS5 Android extension and I am trying to setup CS5 for debugging on the device, but on my Win machine, there is no Path to Adb field in the AIR Android Settings-Deployment dialog. Is this something I only get with a Mac? :0 Glen

Re: [Flashcoders] interesting discovery: full screen flash + IM

2011-01-28 Thread Glen Pike
That's because playing with Flash is more important than nattering to people ;) On 28/01/2011 13:54, Mendelsohn, Michael wrote: Hi list... I just thought I'd share this tidbit: A colleague was testing a Flash piece I did that goes FULL_SCREEN_INTERACTIVE. We were discussing it over IM

[Flashcoders] Access AIR API's from a loaded SWF

2011-02-04 Thread Glen Pike
Hi, I am working on an application where I currently load a number of SWF's into a Shell SWF. Recently I have been experimenting with using AIR 2 and Mass Storage Detection / File API's and would like to integrate this functionality into my application. I can load in the Shell

Re: [Flashcoders] Access AIR API's from a loaded SWF

2011-02-04 Thread Glen Pike
Hmm, Okay Mr Ted, I managed to get something working, but I have to create 2 AIR projects compile the inner one and copy the SWF into my bin folder to package up with my outer swf. It's a bit kludgy, but should work. Thanks for listening ;) Glen On 04/02/2011 16:33, Glen Pike

Re: [Flashcoders] OTish MP3 files for a piano scale

2011-02-08 Thread Glen Pike
At this point, you might want to take advantage of one of the synth libraries of AS3 and use the mp3 files as your wave-table then add your filters envelope generators just like a normal sample-based synth. Probably overkill for an online distraction, but if you are going for quality /

Re: [Flashcoders] OTish MP3 files for a piano scale

2011-02-08 Thread Glen Pike
I think they are, but you could substitute your generated waveform for sound data from a file - the hack the system used relied on loading in a single mp3 then injecting sound data into it... Glen On 08/02/2011 16:18, tom rhodes wrote: interesting i thought those examples were generating a

Re: [Flashcoders] OTish MP3 files for a piano scale

2011-02-08 Thread Glen Pike
I think he was referring to velocity rather than frequency - velocity would be difficult from a computer keyboard - you just get on or off. If you were to change the attack and decay based on frequency, essentially, you could cheat and pre-apply the ADSR to a waveform unless you needed to

Re: [Flashcoders] How to center my Flash in SWFOBJECT?

2011-02-16 Thread Glen Pike
You might need: html, body { width:100%; height:100%;} #flashContent { height:100%;width:100%; text-align:center;} This won't do vertical align - you have to hack with javascript to do that. On 16/02/2011 12:40, Cor wrote: Can anyone tell me how to center my Flash content in html page with

[Flashcoders] Problem with XML.childIndex()

2011-02-17 Thread Glen Pike
Hi, I am having a problem with getting the childIndex value from an e4x result: Both these functions work - e.g. they return an XML node from a list, but the childIndex property always traces as -1 for the first function. Can anyone see what the problem is? TIA Glen

Re: [Flashcoders] Problem with XML.childIndex()

2011-02-17 Thread Glen Pike
problem even using the parent??? On 17/02/2011 11:24, Jens Struwe wrote: Try: var res : XMLList = _assets.child(number).(text() == prop); var res:XMLList = _assets.*.(attribute(icon) == String(prop)); Jens Am 17.02.2011 11:08, schrieb Glen Pike: Hi, I am having a problem with getting

Re: [Flashcoders] Problem with XML.childIndex()

2011-02-17 Thread Glen Pike
Hi, The problem is not getting the assets - this works for both example functions. The problem is that when I try to trace the childIndex() of the asset that has been found, it always returns -1 for the asset obtained by matching the child rather than the attribute. So the

Re: [Flashcoders] Problem with XML.childIndex()

2011-02-17 Thread Glen Pike
] getAssetDetails 1 [object XMLTest] getAssetDetails 2 Am 17.02.2011 13:43, schrieb Glen Pike: Hi, The problem is not getting the assets - this works for both example functions. The problem is that when I try to trace the childIndex() of the asset that has been found, it always returns -1

Re: [Flashcoders] how to get a byteArray of multiple sounds?

2011-02-17 Thread Glen Pike
If you read the first code section of this blog post, it describes how to mix audio tracks using AS3 rather than pixel bender http://www.kaourantin.net/2008/10/audio-mixing-with-pixel-bender.html There are a lot of posts on the net about mixing audio with Flash

Re: [Flashcoders] FFMPEG replacement

2011-02-18 Thread Glen Pike
That's insane! Are you running entirely on closed source servers then? On 18/02/2011 02:35, Patrick Matte wrote: For legal reasons, one of our client strictly forbids us to use any open source software... Unbelievable I know... So does anyone know of any other software that we could buy and

Re: [Flashcoders] Exploring full-screen mode

2011-02-24 Thread Glen Pike
Hi, It looks reasonable from here - I see a grey background with a blue rectangle that still shows up if I go full-screen - they are cropped slightly, i.e. the blue rectangle is at the bottom right hand corner of my screen and I have white bars top and bottom - maybe the swf doesn't

Re: [Flashcoders] Exploring full-screen mode

2011-02-24 Thread Glen Pike
Hi, IE 8 is fine with 10.1.85.3 10,2,152,26 Firefox 3.6.13 is fine with 10,2,152,26 Cache problem? Glen On 24/02/2011 10:09, natalia Vikhtinskaya wrote: I see white empty screen in full mode. IE 8, FireFox 3.6, FlashPlayer 10 2011/2/24 Glen Pikeg...@engineeredarts.co.uk:

Re: [Flashcoders] Exploring full-screen mode

2011-02-24 Thread Glen Pike
Hi, This sounds like a video driver problem, although I am not 100%. When you re-installed flashplayer, did you uninstall first - use the uninstaller: http://www.adobe.com/support/flashplayer/downloads.html#uninstaller Check out this post about similar complaint - it might

Re: [Flashcoders] Exploring full-screen mode

2011-02-24 Thread Glen Pike
Hi, Sorry, I did not post the forum link before - it could be a problem with H/W acceleration: http://forums.techarena.in/windows-software/1349719.htm http://www.google.com/support/forum/p/Chrome/thread?tid=74fc99d821fed64ahl=en Hopefully this might help Glen On

Re: [Flashcoders] Exploring full-screen mode

2011-02-24 Thread Glen Pike
http://www.macromedia.com/support/documentation/en/flashplayer/help/help01.html Right click on a running flash player, e.g. youtube video or something else and choose Settings, then in the settings box, choose the first icon - Display. On 24/02/2011 14:11, natalia Vikhtinskaya wrote: I

Re: [Flashcoders] quiet in here at the moment

2011-03-08 Thread Glen Pike
That's because we are all old grizzly flashers who have scared the newbies away. Apart from that, I am still using Flash with no apparent end in sight, although I am also doing some stuff in other languages. Luckily, I am not doing it for an agency, but on a long-term project so I don't have

Re: [Flashcoders] Getting Data into my SWF

2011-03-11 Thread Glen Pike
Hello, The parameters that you pass to the SWF in your HTML are different to communicating with a back-end system. If you look at URLLoader in actionscript. This enables you to load data as you would load a web-page. You would use URLLoader with your server-side code, e.g. PHP

Re: [Flashcoders] Getting Data into my SWF

2011-03-11 Thread Glen Pike
be to accept the fact that there are some people there who might use a sniffer and change the date. if we all ran around with the attitude that you can't trust anyone, so what's the point, we would still be in the dark ages. On 11/03/2011 09:45, Henrik Andersson wrote: Glen Pike skriver: Hello

Re: [Flashcoders] Simple encapsulation question

2011-03-16 Thread Glen Pike
I would suggest allowing Tabs to remain ignorant of each other and let the parent deal with the focus, because you might like to change it. In my lazy world of radio-buttons that can only have on toggled on at once, I keep a reference to the currently toggled button. If I receive a click from

Re: [Flashcoders] Wait for several things to be loaded

2011-03-18 Thread Glen Pike
Hi, The clunkiness depends on how flexible you need to be I guess - to get it working, your approach is probably fine. But, if you have to keep implementing it over and over again, you might want to start refining your approach. e.g. If you have to add a data sets to be loaded,

Re: [Flashcoders] constructor interpreted?

2011-04-05 Thread Glen Pike
On 05/04/2011 06:48, Kevin Newman wrote: Hey all, A long while ago I read that the constructor is interpreted, unlike the rest of the class methods, which are compiled. Is that still true? thanks, Kevin N. ___ Flashcoders mailing list

Re: [Flashcoders] Problem embedding and using a font variant

2011-04-12 Thread Glen Pike
Have you tried enumerating your embedded fonts to see what name Flash gives it? If you embed just your Myriad Pro Condensed into a document and add the actionscript to list out the font name, etc. http://www.google.com/search?ie=UTF-8oe=UTF-8sourceid=navclientgfns=1q=as3+enumerate+font You

[Flashcoders] CS5, SharedObject AIR for Android debugging

2011-04-21 Thread Glen Pike
Hi, I am trying to debug an AIR for Android app in CS5 and am having problems with saving shared object data. Originally it was throwing exceptions - I found a fix to use SharedObject.close() after each operation, but it seems that the AIR app cannot save to local storage in the

Re: [Flashcoders] What is up with adobes documentation?

2011-05-04 Thread Glen Pike
Local help is a joke in Flash - if you install the AIR app, it just downloads their help pages in HTML - my browser is slightly faster, but still navigating the API's is s slow! I agree about Google - someone needs to make a swf panel which hooks into google to search for flash stuff

Re: [Flashcoders] E4X question: finding parent

2011-05-05 Thread Glen Pike
@name - will that cause problems because name is a property of XML nodes? if it is maybe try attribute(name) instead? On 05/05/2011 16:53, Kenneth Kawamoto wrote: var xml:XML = root pets group=A pet name=Rover/ pet name=Buffy/ /pets pets group=B pet name=Spot/ pet name=Sugar/ /pets /root;

Re: [Flashcoders] Flash Opportunity

2011-05-06 Thread Glen Pike
Definitely not if you are lounging around the Dominican Republic and your name rhymes with steno... On 06/05/2011 16:12, Deepanjan Das wrote: Hi, Is remote development allowed for this requirement. Warm Regards Deepanjan Das W: http://deepanjandas.wordpress.com || Om Manasamarthadata Shri

Re: [Flashcoders] is there a dsp lib with analysis using zero crossing in as3

2011-05-12 Thread Glen Pike
Hi, Andre Michelle did some nice talks about simple audio stuff - his sources may have some useful helpers http://blog.andre-michelle.com/2008/fotb08-sildes-and-sources/ Also checkout his lab page: http://lab.andre-michelle.com/ There is an EQ filter on there, which might be

[Flashcoders] Hands up who understands utf-8 encoding?

2011-05-27 Thread Glen Pike
Hi, I have run into a problem that seems pretty bizarre, but may be a silly error on my part. I have a function to encode strings in Flash to hex values, but it needs to deal with various languages and special characters, so needs to handle Unicode strings. I had a function -

Re: [Flashcoders] Hands up who understands utf-8 encoding?

2011-05-27 Thread Glen Pike
Hmm, Think it's a bug in Flashplayer 10.0.45.2 which is not in a later version - 10.2.152.28 Glen On 27/05/2011 12:09, Glen Pike wrote: Hi, I have run into a problem that seems pretty bizarre, but may be a silly error on my part. I have a function to encode strings

[Flashcoders] Flashplayer linux standalone traces

2011-06-02 Thread Glen Pike
Hi, I am running Flashplayer debugger standalone versions on linux, but my tracing seems to have broken - anyone noticed this? I tried: flashplayer 10.3.181.14, 10.2.152.27 which both don't work. I get complaints about a missing VDPAU driver in the output, but flash still runs:

Re: [Flashcoders] Flashplayer linux standalone traces

2011-06-02 Thread Glen Pike
Hi, Found a solution - it looks like adobe changed the way debugging works with 10.1 maybe: http://blog.brokenfunction.com/2010/10/flash-10-1-standalone-debug-player-and-its-missing-debug-output/ Glen On 02/06/2011 13:10, Glen Pike wrote: Hi, I am running Flashplayer

Re: [Flashcoders] reading a very simple XML file

2011-06-08 Thread Glen Pike
Hi, You should be able to do: var children:XMLList = xmlData.children(); foreach(var child:XML in children) { trace(child.toXMLString()); } make sure you use toXMLString for tracing XML elements - otherwise you end up with blanks sometimes. Glen On 08/06/2011 16:28,

Re: [Flashcoders] reading a very simple XML file

2011-06-08 Thread Glen Pike
Ooop, sorry make that for each() On 08/06/2011 16:28, ACE Flash wrote: thanks Cor, I have already tried this and it returned nothing as well. It's very weird!. I was able to retrieve the length by this, it returned 3. trace(xmlData.asset.length()); On Wed, Jun 8, 2011 at 11:17 AM,

Re: [Flashcoders] Strange Button Behavior

2011-06-13 Thread Glen Pike
Hmm, an exe should be exempt from the local vs network restrictions, but maybe something else is failing. Have you tried tracing the error? I vaguely rememeber having problems with _blank, etc. in the past. See if it works without those? Here are some links I found that may help.

Re: [Flashcoders] Detecting if line crosses movie clip

2011-06-16 Thread Glen Pike
Hi, Can you measure the vector distance between the centre of the polygon and the centre of the ball? If that is 0,0, and the diameter of the circle is less than the smallest of width / height of the box, then you are inside. Glen On 16/06/2011 13:58, Paul Steven wrote: Working on

Re: [Flashcoders] Stage video

2011-06-16 Thread Glen Pike
You will need the Flex SDK for that file. On 16/06/2011 15:07, John R. Sweeney Jr wrote: I have the 10.3 plugin and Flash CS5. I haven't installed CS5.5 yet, but a friend has it and he doesn't have the playerglobals.swc file either. Any other way to get access to StageVideo? Thanks in

Re: [Flashcoders] Detecting if line crosses movie clip

2011-06-16 Thread Glen Pike
Steven wrote: Thanks Glen - this sounds like another good solution. I assume this would work when the polygon is just a single line? -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Glen Pike Sent: 16 June 2011

Re: [Flashcoders] AS3 exploding and reassemble bitmap

2011-06-16 Thread Glen Pike
Probably all that CGI hair ;) On 16/06/2011 17:40, Kevin Newman wrote: I updated the post with a link to the source: http://www.unfocus.com/2010/06/29/the-bunny-video-eplodes-explodes/ http://www.unfocus.com/PixelExploder/PixelExploder02.zip If anyone knows why that runs so sluggishly in the

Re: [Flashcoders] Calling native code from Flash

2011-07-19 Thread Glen Pike
Hi, Having tried the Ogg encoding program someone wrote as a demo, I am inclined to agree - to work around this, I used AIR's Native Process API to launch the oggenc encoder to encode wav files. If the northcode DLL stuff is no good, maybe consider running your DLL in an application

<    5   6   7   8   9   10   11   >