Re: [Flashcoders] 3D engine for dynamic text

2013-01-14 Thread Glen Pike
Hi, Also checkout FIVe3d http://five3d.mathieu-badimon.com/ It's been around a whileand looks like the code was last updated in 2011, but for just rendering text in vector format, I found it was really nice and simple to use. There are some examples on that page to check outand some of Mathieu'

Re: [Flashcoders] Exhibition type kiosks

2012-11-30 Thread Glen Pike
wrote: Glen Pike skriver: We built an AIR shell loader so we could run the App in browser etc. Tell me more. I have not heard how to do this. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/lis

Re: [Flashcoders] Exhibition type kiosks

2012-11-30 Thread Glen Pike
Hi, In my previous role, I built kiosk PC's to control an animated robot- http://www.robothespian.co.uk/ The kiosk computer for this ran an AIR 2.5 application on Ubuntu Linux Oneiric usinga Gigabyte H55N-USB3 mini-itx board: http://www.anandtech.com/show/3769/reviewed-gigabyte-h55nusb3-min

Re: [Flashcoders] MVC - ScreenManager

2012-03-09 Thread Glen Pike
:D On 09/03/2012 05:20, Karl DeSaulniers wrote: If you can't take the Henrik, get out of the kitchen.. lol ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Re: [Flashcoders] Importing A Button or Other Component Dynamically With Pure AS 3

2012-02-27 Thread Glen Pike
I think you can compile an SWC and link against that. http://jessewarden.com/2009/05/creating-modules-in-flash-cs4.html On 26/02/2012 20:23, it...@aol.com wrote: Hello Actionscript Experts, Scenario: I have a shared library *.swf file with most of my assets. It is loaded after the main in

Re: [Flashcoders] Sound control problem

2012-02-17 Thread Glen Pike
Hi, I think you need to set the soundTransform of the MovieClip that contains the timeline sound? Also look at the SoundMixer class for "global" controls - you may need the stopAll functionality when you add and remove MC's with sound to/from the stage. Glen On 16/02/2012 19:48, natalia V

Re: [Flashcoders] AIR Socket.readObject received in multiple ProgressEvents?

2012-02-15 Thread Glen Pike
Hi, Are you sure that this is not something server-side? I have had similar problems which were compounded when using Wireless connections - we traced the fault back to the server code giving up filling the socket buffer when it got a "buffer full" event? Apart from that you could use some s

Re: [Flashcoders] Confirmation succeeded?

2012-01-30 Thread Glen Pike
rpreted languages... Glen On 30/01/2012 16:55, Terry Riney wrote: On 1/30/2012 11:29 AM, Glen Pike wrote: On 30/01/2012 16:01, John R. Sweeney Jr. wrote: • Slow quarter • Unemployed • No problems or errors • Busy with HTML 5 classes. • Add yours here… Being made to do an enterprise project

Re: [Flashcoders] Confirmation succeeded?

2012-01-30 Thread Glen Pike
On 30/01/2012 16:01, John R. Sweeney Jr. wrote: • Slow quarter • Unemployed • No problems or errors • Busy with HTML 5 classes. • Add yours here… Being made to do an enterprise project with buggy HTML5, including audio when Flash / Flex would be a much better solution because HTML5 is the schiz

Re: [Flashcoders] AS3 Knob with detents

2011-12-07 Thread Glen Pike
Have a look at Keith Peter's MinimalComps, I think I remember seeing one in there. Glen On 07/12/2011 13:31, Eric E. Dolecki wrote: Does anyone have an AS3 knob with detents (sticky positions)? I have a knob with rotational range but looking for one with detents (before coding up myself). Tha

Re: [Flashcoders] Adobe ceases development on mobile browser Flash

2011-11-11 Thread Glen Pike
I was being facetious - sorry to confuse you. First rule of Flashcoders (Fight Club) is not to talk about Flashcoders (where will all those people go now?) :) On 11/11/2011 09:42, Cédric Muller wrote: ... to obscure reality ? (ah, no it is RTFM ... oops sorry)

Re: [Flashcoders] Adobe ceases development on mobile browser Flash

2011-11-11 Thread Glen Pike
First rule of Flashcoders is... On 10/11/2011 09:17, Cédric Muller wrote: but we must admit: Flash was a platform full of mentally disabled people ;) where will those people go now ? ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http

Re: [Flashcoders] MovieClipLoader Oddness

2011-10-12 Thread Glen Pike
Hi, We have had similar issues loading images this way - we cannot stream from our image server program so Flash loads the same image into 2 movie clips swapping them whilst the server saves to the same image. To solve some difficulties with refreshing, so we used a cache-killer meth

Re: [Flashcoders] E4X XML manipulation

2011-10-11 Thread Glen Pike
Hi, You would have to: 1 Create a new XML node, myNewNode = 2. Select nodes from the existing XML where id != "a" var nodes:XMLList = my_xml.child("row).attribute("id" != "a"); 3. Select nodes from existing XML where id = "a" var parentNodes:XMLList = my_

Re: [Flashcoders] Flash on top of flash

2011-09-21 Thread Glen Pike
Hi, I had to do some similar hacky workaround for a site that wanted a flash navigation that expanded over the top of HTML. The Flash had to be fullscreen for the intro and then shrink vertically to be the navigation bar at the top of the screen when content appeared. The only way I could f

Re: [Flashcoders] Fw: Timer Probelem

2011-09-08 Thread Glen Pike
ppose that i set flagloop=true out side of Func_time2, mi problem is why other process have an affect on timer? If we have loop in our program it affect on timer why is that? ---- *From:* Glen Pike *To:* New Flashdevelop

Re: [Flashcoders] Fw: Timer Probelem

2011-09-08 Thread Glen Pike
Hi, Your Timer delay is possibly too small to be reliable - in the documentation it says that a timer delay lower than 20ms is not recommented: http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/utils/Timer.html#Timer%28%29 If you then start a loop to trace

Re: [Flashcoders] DataGrid: save multidim arrayfrom Flash to mySQL with PHP

2011-09-06 Thread Glen Pike
Hi, You can post multidimensional arrays to PHP for example in an HTML form, this is better than GET which may have a lower limit on the number of characters that can be sent in a request (as I found out with some JQuery stuff)... http://php.net/manual/en/reserved.variables.post.php

Re: [Flashcoders] DataGrid: Expanding vertical Thumb width

2011-09-05 Thread Glen Pike
Hi, I remember having to hack this in Flash for a list component, you should be able to set the style, but you need to use GrantSkinners workaround http://gskinner.com/blog/archives/2007/05/variable_scroll.html Edit your skin, then include Grant's fl.controls.List or whatever - that

Re: [Flashcoders] Help Registration point and origion point

2011-08-03 Thread Glen Pike
Hello, I did some stuff a long time ago with moving particles along a sine wave type path where you can control the frequency and amplitude. Not sure if it will help much - the code is in (probably old bad) AS2, but you are welcome to look at it and borrow if it's any help. You woul

Re: [Flashcoders] NativeProcess On Mac

2011-07-29 Thread Glen Pike
Hi, Unless you can use "/usr/sbin/diskutil" as your File name and pass the other "elements" of the command line as separate arguments, then you might have to be more creative with your approach. 1.Write a shell script that encapsulates this command and call that. 2.Capt

Re: [Flashcoders] Incorrect XML from PHP to Flash

2011-07-20 Thread Glen Pike
Hmm, maybe not URL encoding. What happens when you call the php page directly - in Firefox, does it show you the XML, or do you have to view the source? (The former would mean firefox considered it valid xml) Does the XML show all the url-encoded characters, or is it just in Flash? As an as

Re: [Flashcoders] Incorrect XML from PHP to Flash

2011-07-20 Thread Glen Pike
http://php.net/manual/en/function.urldecode.php On 20/07/2011 15:24, Cor wrote: I am loading data from a mySQL database into Flash with PHP. But I get a string with all the tag-signs replaced with %-characters: %3C%3Fxml%20version=%221%2E0%22%20encoding%3D%22UTF%2D8%22%20%3F%3E%0A%3Cdat a%3E%3C

Re: [Flashcoders] Calling applescript from Adobe AIR

2011-07-20 Thread Glen Pike
e forums but still it does not work. Do I need flash builder 4 to make the nativeprocess API work. Thanks Again, Sumeet Kumar -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Glen Pike Sent: Wednesday,

Re: [Flashcoders] Calling applescript from Adobe AIR

2011-07-20 Thread Glen Pike
Hi, Not sure, but if AppleScript files can be executable like shell scripts in Linux, then you can call them from Air desktop using the Native Process API. If you download Air Launchpad and get it to generate the source code example for the Native Process API, you can then hack it to

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

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 co

Re: [Flashcoders] Detecting if line crosses movie clip

2011-06-16 Thread Glen Pike
5:09, Paul 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 Sen

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 advance,

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] 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. http:/

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, Cor

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

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

[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 - i

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 u

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 An

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 = ; trace(xml.pets.pet.(@name == "Sugar").parent().@group); // B Perhaps you don't want to call your XML

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 based

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

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-8&oe=UTF-8&sourceid=navclient&gfns=1&q=as3+enumerate+font

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 Flashcoders@c

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

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] 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] Exploring full-screen mode

2011-02-24 Thread Glen Pike
e same. FP doesn't show content in full mode. 2011/2/24 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#uninst

Re: [Flashcoders] Exploring full-screen mode

2011-02-24 Thread Glen Pike
n 24/02/2011 13:31, natalia Vikhtinskaya wrote: I uninstaled and installed FP again. Result is the same. FP doesn't show content in full mode. 2011/2/24 Glen Pike: Hi, This sounds like a video driver problem, although I am not 100%. When you re-installed flashplayer, did you uninst

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 he

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 Pike: Hi, It l

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 match

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 in

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 http://www.google.co.uk/#sclient

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

2011-02-17 Thread Glen Pike
- [object XMLTest] getAssetDetails 0 [object XMLTest] 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()

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 foll

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

2011-02-17 Thread Glen Pike
still have the same 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,

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

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 ca

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

2011-02-08 Thread Glen Pike
nerating a waveform? did that ever get packaged as a library? i remember it from a few years back but haven't looked since... On 8 February 2011 17:03, Glen Pike wrote: At this point, you might want to take advantage of one of the "synth" libraries of AS3 and use the mp3 files as

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 / rea

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

[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] 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 (Micro

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

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 o

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

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? http://www.foolabs.com/xpd

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

2010-12-01 Thread Glen Pike
the quick reply and example code. I really appreciate it! :) On Wed, Dec 1, 2010 at 2:56 PM, 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 t

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

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 wrote

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. http://help.ad

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) { ca

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
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: http://www.richardlord.net/blog/polling-the-keyb

Re: [Flashcoders] Finda and Replace

2010-11-15 Thread Glen Pike
___ From: flashcoders-boun...@chattyfig.figleaf.com [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 replac

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, T

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 a

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 me

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

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 http://chattyfig.figlea

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 optimisatio

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

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 will

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 imple

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

2010-09-20 Thread Glen Pike
http://www.google.com/#hl=en&q=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 v

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

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

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] E4X question: counting number of subnodes

2010-08-26 Thread Glen Pike
Does this behave? games.game.child("user").(length() == 3).length() On 26/08/2010 11:00, Alexander Farber wrote: Hello fellow flashcoders, I'm still struggling with my e4x problem. With Kenneth's help I've got it partly working for the cases where each game has at least 1 user node: va

  1   2   3   4   5   6   7   8   9   10   >