Re: [Flashcoders] Linux standalone LoadVars

2009-07-17 Thread Glen Pike
: pollVars.loadVariables(url); J.A.T. Karl Sent from losPhone On Jul 17, 2009, at 10:36 AM, Glen Pike wrote: Hi, I am having a problem using LoadVars.load with a url that only rears it's head on the standalone version of the linux flashplayer... It's old ropey code, but here is th

Re: [Flashcoders] PHP Socket Question

2009-07-22 Thread Glen Pike
You can use a database to store data in for a chat server, but you will need to have some kind of server side "maintenance" script to weed out the database. With a socket server system, you usually have to have a dedicated server, or at least one which lets you log into the shell and create s

Re: [Flashcoders] Png saving of selection of TextFormat..

2009-07-22 Thread Glen Pike
Not sure about the border bit, but your PHP code leaves you wide open to someone uploading some very nasty code that is not necessarily a png image. You should at least getimagesize or Imagick to check if it's a valid image before saving it to a folder accessible from the web. yuva rani wrote

[Flashcoders] Need some help with my maths...

2009-07-22 Thread Glen Pike
to 3.89 Zoomed in it is @ 827, 794, 200, scaled to 3 So what I would like to do is work out x, y & z for the intro and zoomed in position for an arbitrary screen size with the world 0, 0 centred in the middle of the screen... Thanks in advance for any help. Gl

Re: [Flashcoders] papervision as2 mouse projection

2009-07-24 Thread Glen Pike
Hi, I thought that PaperVision provided that information for you - check the docs... Glen Hans Wichman wrote: Hi list, I need to find the coordinates of a mouseclick within a plane in actionscript 2 papervision and I can't figure out how to do it. Has anyone got any pointers for me, m

[Flashcoders] XML Socket

2009-08-03 Thread Glen Pike
Hi, I am (re-)writing an app that uses an XML socket to communicate with a server for sending commands and receiving messages calling various remote functions, etc. Because of the asynchronous nature of the server, what is the best way of making sure the command results get sent back t

Re: [Flashcoders] XML Socket

2009-08-03 Thread Glen Pike
Wrote my own simple Interface implementation so that anything calling the command must handle the result. Glen ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Re: [Flashcoders] OT - bizarre Adobe pricing

2009-08-10 Thread Glen Pike
Paul Andrews wrote: I thought I'd see what Adobe UK are charging for upgrading CS3 Web Design Premium to CS4 - to see if it's been reduced from an arm and a leg. Much to my surprise, Adobe is charging ?30 MORE for download delivery versus physical box shipment - seems the wrong way around to

Re: [Flashcoders] button overlay appearing under textfield?

2009-08-10 Thread Glen Pike
Have you tried disabling the TextField's mouse input? mouseEnabled = false or something. You can also set mouseChildren = false on a container to switch off inputs for all the child sprites. Glen Allandt Bik-Elliott (Receptacle) wrote: hey guys this is probably a silly bug but i've got a ve

Re: [Flashcoders] OT - bizarre Adobe pricing

2009-08-10 Thread Glen Pike
Originally, Microsoft kept developer tools at a lower price to encourage their adoption. If they do that with Silverlight maybe it will, eventually, be Flash's competitor. - They just have to make it easy to animate AND code applications with - that would make it a serious competitor for Fla

Re: [Flashcoders] OT - bizarre Adobe pricing

2009-08-10 Thread Glen Pike
It's been more expensive to download the software for a while - we had same problem with Contribute a couple of years ago - don't think it's an "anomaly" here... Paul Andrews wrote: Paul Andrews wrote: I thought I'd see what Adobe UK are charging for upgrading CS3 Web Design Premium to CS4 -

Re: [Flashcoders] OT - bizarre Adobe pricing

2009-08-10 Thread Glen Pike
product. A real incentive to reduce carbon emissions by saving on transport and production, isn't it? :-D From what I have seen of Vista's random "high CPU usage", it might be more carbon-efficient to post the CD... ___ Flashcoders mailing list F

Re: [Flashcoders] OT - bizarre Adobe pricing

2009-08-10 Thread Glen Pike
I thought that they were using the www-servers to help farm tropical type fish in the US now... The ones in EIRE should be used to distill the whisky or heat up the Guinness :) John McCormack wrote: Glen Pike wrote: product. A real incentive to reduce carbon emissions by saving on

Re: [Flashcoders] mac vs pc

2009-08-10 Thread Glen Pike
Using Win XP + Flash Develop + CS3 IDE Situation - maintaining a legacy AS2 Flash touchscreen interface app that runs on Linux & (hopefully) developing/porting this to AS3, possibly with capability of compiling straight from FD. Reason for not using Linux - I can't be bothered with the time &

Re: [Flashcoders] How to compare two audio files with actionscript?

2009-08-10 Thread Glen Pike
Hi, computeSpectrum will only do small chunks at a time - it might not give you the "spectrum" from the whole wave form. If you are trying to do Voice Recognition, you will need some serious computing power and ActionScript may, or may not be too slow to handle this. It certainly won'

Re: [Flashcoders] mac vs pc

2009-08-12 Thread Glen Pike
FD equivalent is highlight local var, press Ctrl + Shift + 1 and it gives you the option to promote it to class member.. A quick example: if you type "var _blah:Sprite = new Sprite()" in a function in FlashDevelop, you can right-click and promote that to a class-level private var. I was frustrate

[Flashcoders] Runtime assets

2009-08-12 Thread Glen Pike
Hi, I am doing some experiments with CS3 & runtime assets. Following the various tutorials & Moock's book, I can load a library and instantiate assets from a parent swf. What I would like to do, if possible, is have the parent swf load the library and a 3rd external swf. Hopefull

Re: [Flashcoders] Runtime assets

2009-08-13 Thread Glen Pike
Thanks, that's a nice simple way to do it! Glen John McCormack wrote: Glen, Have you seen this: http://www.onflex.org/ted/2007/11/runtime-flash-cs3flex-integration-via.php and a link further down the page: http://onflex.org/flexapps/applications/RuntimeCS3Flex/srcview/ John Glen

[Flashcoders] Slow emails

2009-08-13 Thread Glen Pike
Hi People, I know this mail should go to the list owner, but I sent an email to them on 7th August and have not had a response, so any help would be appreciated. My emails from the flashcoders list are arriving in dribs and drabs on one of my subscribed accounts - upto a few days late.

Re: [Flashcoders] Slow emails

2009-08-14 Thread Glen Pike
Hi, Hi! I'm the list owner. Sorry not to respond earlier, but honestly these sorts of things tend to get put on the back burner, if you know what I mean. I check for issues about once a week, usually. I had an inkling you were the list owner - but when I looked on the flashcoders web page it

Re: [Flashcoders] Slow emails

2009-08-14 Thread Glen Pike
Apologies - damn "Replybuttonitis" Glen Pike wrote: Hi, Hi! I'm the list owner. Sorry not to respond earlier, but honestly these sorts of things tend to get put on the back burner, if you know what I mean. I check for issues about once a week, usually. I had an inkling yo

Re: [Flashcoders] Actionscript class for creating a Spectrogram?

2009-08-14 Thread Glen Pike
ers@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- Glen Pike 01326 218440 www.glenpike.co.uk <http://www.glenpike.co.uk> ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

[Flashcoders] empty XML Attributes..

2009-08-26 Thread Glen Pike
Hi, I am having problems parsing some XML config files and testing for empty attributes. There is an example xml below. Problem is that I am asking for the following: _co...@instance Which is returning a value, but I am not sure what type of value. Should this return null,

Re: [Flashcoders] empty XML Attributes..

2009-08-26 Thread Glen Pike
Aha, I see now - bit of a waste of code too. And who's bright idea was it to use length for Strings and Arrays, but length() for XML / e4x? Kenneth Kawamoto wrote: XMLList, and you can check its length(). Kenneth Kawamoto http://www.materiaprima.co.uk/ Glen Pike wrote: Hi, I am h

Re: [Flashcoders] empty XML Attributes..

2009-08-27 Thread Glen Pike
Thanks for the answers with the length() thing - I tried out a few of those and got working thing You're suggesting to write more code to do the same thing. Why should anyone write more code to do the same thing? With the above comment in mind - I was trying to do if(no...@attribute) which I t

Re: [Flashcoders] Re: Centering field text vertically

2009-08-27 Thread Glen Pike
I don't think you can centre text in a TextField vertically - the x property will be there because you can centre it horizontally. There is a 2 pixel "gutter" around the text field, there may also be horizontal margins: http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/text/Text

[Flashcoders] XML element order

2009-08-27 Thread Glen Pike
Hi, I have a project where we are passing XML via a socket to a C++ based server and there is an issue with the ordering of XML elements inside a packet. In AS3, I am assembling a packet with a element that contains 1 or more children with value type syntax. Because the "params" are

Re: [Flashcoders] XML element order

2009-08-27 Thread Glen Pike
Hi Ian, The backend shouldn't care about element order. :-) Thanks for the support on that - I would agree, think the coder is being a bit lazy here. //I was looking at doing something like: if(params){ var keys:Array = new Array(); for each (var key:String in obj) { keys.push(key

[Flashcoders] Testing

2009-09-08 Thread Glen Pike
1,2,4 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

[Flashcoders] Dynamic e4x searches...

2009-09-09 Thread Glen Pike
Hi, I am having some issues with e4x filtering when I try and use a "dynamic" element in my expressions... Using the XML below (somewhat truncated) I am trying to match either the "id" or the "name" depending on the variable type passed in: private function _subscriberEventNameFromI

Re: [Flashcoders] disable mouse on transparent part of alpha video

2009-09-10 Thread Glen Pike
Hi, Hans Wichman wrote: One other option I have is copying the persons to a bitmap and check the pixel transparency, but I'm guessing that is going to slow things down:) But if you are only checking transparency on a CLICK event, that is not going to happen to often in relation to playing

Re: [Flashcoders] disable mouse on transparent part of alpha video

2009-09-10 Thread Glen Pike
Steven Sacks wrote: Cover the video with an alpha 0 shape. Problem solved. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Maybe like Steven said - use a shape over the video an

[Flashcoders] Testing

2009-09-11 Thread Glen Pike
1,2,4 -- Glen Pike 01326 218440 www.glenpike.co.uk <http://www.glenpike.co.uk> ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Re: [Flashcoders] Testing

2009-09-11 Thread Glen Pike
8,16,32 Karl DeSaulniers wrote: Aaap ya missed 3 ;) Karl On Sep 11, 2009, at 5:45 PM, Glen Pike wrote: 1,2,4 -- Glen Pike 01326 218440 www.glenpike.co.uk <http://www.glenpike.co.uk> ___ Flashcoders mailing list Flash

Re: [Flashcoders] bitwise question

2009-09-15 Thread Glen Pike
I think his i < 8 was valid as the i is used for the shift, not the value... The only thing that might be faster is using i-- rather than i++ - for some reason decrementing through a loop is suppsoed to be faster. Glen :) John McCormack wrote: Jiri, I haven't done much bit twiddling yet in

Re: [Flashcoders] closures

2009-09-15 Thread Glen Pike
You mean like button.onRelease = function() { trace("hello from " + this); obviously not in AS3, you would have to write few more lines... I guess it's okay as long as it works and does what you want along with the hope that you can easily fix it when it breaks in the latest browser 6 months

Re: [Flashcoders] closures

2009-09-15 Thread Glen Pike
ide experts in the borader multimedia community - join the Bank of America Flash Platform Community (note: this is for Bank of America employees only) ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailma

Re: [Flashcoders] Searching all ActionScript in an FLA

2009-09-17 Thread Glen Pike
Arka Roy wrote: I have FLA files from a client with numerous MovieClips and buttons containing ActionScript all over the place. I am not used to this, I only started using Flash with AS3 and have always used a Document Class and placed my ActionScript in external .as files. I am trying to search

Re: [Flashcoders] Searching all ActionScript in an FLA

2009-09-17 Thread Glen Pike
F9 brings up the Actionscript editor for an open FLA file. You can "toggle" the toolbox screen (left of 2 column view) by clicking the rightmost icon in the icon bar of the Actions tab. Glen Karl DeSaulniers wrote: If you need a screen shot I can send you one off list. Best, Karl On Se

Re: [Flashcoders] AS3 Socket is broken and I need help from Adobe or any Socket Expert

2009-09-17 Thread Glen Pike
I feel your pain, wish I could help, have similar issues with the socket being unreliable... Maybe we need another "Adobe Make Some..." site/campaign. "Adobe Make Some {OptionalExpletive[0]} Fixes to the {OptionalExpletive[1]} socket, {OptionalExpletive[2]}!" or similar. I will put a badge

Re: [Flashcoders] AS3 Socket is broken and I need help from Adobe or any Socket Expert

2009-09-17 Thread Glen Pike
Steven Sacks wrote: Wow am I stupid or what? socket.readBytes(bufferIn, 0, socket.bytesAvailable); should be socket.readBytes(bufferIn, bufferIn.length); This code has been working for months up until now because I never got any large enough packets for them to be broken up to expose this s

Re: [Flashcoders] panels / workspace CS4 bug

2009-09-17 Thread Glen Pike
pace, and then I lose my saved workspace. does it happens to you people too? maybe I should try the flashBuilder... thanks !! ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Re: [Flashcoders] JPGEncoder and com folder

2009-09-27 Thread Glen Pike
om http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- Glen Pike 01326 218440 www.glenpike.co.uk <http://www.glenpike.co.u

Re: [Flashcoders] Best way to detect key KEY_DOWN on MovieClip

2009-09-27 Thread Glen Pike
uld like to add listener to movieclip, listenining for DELETE. What is the best way to do that? In Actionscript 3 it gets complicated. Thank you in advance, Ktt ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.f

Re: [Flashcoders] Searching all ActionScript in an FLA

2009-09-28 Thread Glen Pike
Watch out for blank lines in script panels too. Geografiek wrote: Hi Chris, Thanks. I'm on CS4. The line "WARNING: Actions on button or MovieClip instances are not supported in ActionScript 3.0. All scripts on object instances will be ignored." appears as the first line in the output panel wit

Re: [Flashcoders] incorperating automatic thumbnail generator php script for my flash cms

2009-09-28 Thread Glen Pike
Hi, That's pretty much what you need to do. Look at the example on the page you linked to - you don't necessarily want to output HTML, but would output a response of some kind, so strip out the HTML and return success / error and maybe messages I think - can't remember what FileReference uplo

Re: [Flashcoders] JPGEncoder and com folder

2009-09-28 Thread Glen Pike
, Glen Pike wrote: Hi, This is really a bit of a newbie question, so if you have any more really basic ones like this, I would suggest trying the other list - http://chattyfig.figleaf.com/mailman/options/flashnewbie/ - but to give you a bit of a pointer... You can unzip the as3corelib

Re: [Flashcoders] floating wordpress blog within a swf?

2009-09-30 Thread Glen Pike
Hi, You can't "easily" display the HTML from the blog inside Flash, but you can do a couple of things: Load the RSS feed of the blog into your Flash as XML and display it in a text field. You can display "simple" text content from the blog, but any fancy formatting and other stuff may

Re: [Flashcoders] floating wordpress blog within a swf?

2009-09-30 Thread Glen Pike
Hi, I dug out some old AS2 code - which used XFactorStudio's XPath library to grab the first entry from the RSS feed and stick it in a text field. Below is the example (it uses a generic string replacement function that I think came from Mike Chambers or someone @ adobe who did some nic

Re: [Flashcoders] Dynamic motion path

2009-10-02 Thread Glen Pike
Hi, You might want to look at something like this: http://www.airtightinteractive.com/news/?p=38 I think I googled "dynamic bezier tween"... Glen Karl DeSaulniers wrote: Hello list, Is it possible to create a dynamic motion path for a dynamic image? And is there a way to put a tween on it? I

Re: [Flashcoders] monitor outgoing http requests

2009-10-09 Thread Glen Pike
Hi, I have managed to use "Policy File Logging" for flash on Linux - you can set up your local "mm.cfg" file to enable this and pipe out stuff to a log file - this might help you see what is being requested and denied. There are some useful instructions here: http://www.adobe.com/d

Re: [Flashcoders] Calculate stringWidth() for a TextField.text

2009-10-09 Thread Glen Pike
Hi, You can get the text metrics - |flash.text.TextField.getLineMetrics()| Have a look in the docs about this class it's quite useful. Watch out for the obligatory 2px gutter around your text.. Glen Alexander Farber wrote: Hello, how do you please find out the width of a string i

Re: [Flashcoders] Calculate stringWidth() for a TextField.text

2009-10-09 Thread Glen Pike
you read the other values back. Sorry & Hope this is a bit more helpful. Glen Alexander Farber wrote: Hello Glen, On Fri, Oct 9, 2009 at 2:51 PM, Glen Pike wrote: You can get the text metrics - |flash.text.TextField.getLineMetrics()| Have a look in the docs about this class it&#

Re: [Flashcoders] image upload from flex to .net

2009-10-15 Thread Glen Pike
Hi, Watch out for missing headers from FileReference.upload - don't know if this is/was fixed, but on some browsers, the upload did not send the session id so you were not able to link the upload with any logged in sessions, so if you are planning to use this, I would have a google around.

Re: [Flashcoders] Flex - accessing dom

2009-10-16 Thread Glen Pike
Eric E. Dolecki wrote: In an HTML Browser control, upon loading, I am trying to get the title out of the DOM. var s:Object = browser.htmlLoader.window.document.getElementsByTagName( "title"); testLabel.text = s.length + ", " + s[0]; However, how can I get at the string for that title tag?

Re: [Flashcoders] Vista-like glossy SimpleButton - please help with the final touch

2009-10-17 Thread Glen Pike
oundRect(0, 0, size * 4, size, 4); filters = [ SHADOW, GLOW ]; } } ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders --

Re: [Flashcoders] Vista-like glossy SimpleButton - please help with the final touch

2009-10-17 Thread Glen Pike
laid over one another... Glen Alexander Farber wrote: Hi Glen, On Sat, Oct 17, 2009 at 3:31 PM, Glen Pike wrote: The gradient overlay would be a layer on top of your button shape which had a linear gradient white fill, with alphas [...@0%, 1...@50%, 0...@51%, 1...@100%] so

Re: [Flashcoders] Setting a property in a class from another class

2009-10-20 Thread Glen Pike
Sajid Saiyed wrote: Hi, I have a basic problem that I cant figure out how... I have a ClassA and ClassB (both extend Sprite) ClassA has a property called "nextPrev:Boolean" Inside ClassA I create an instance of ClassB like this: public var myB:ClassB = new ClassB(); Now, is it possible that

Re: [Flashcoders] Creating Cross-Platform CDROM

2009-10-22 Thread Glen Pike
Paul Steven wrote: Been a long time since I have had to make a cross platform CDROM, or even a CDROM at all to be honest. Anyway I have developed a series of educational games with Flash CS3, with the main packaged file packaged with MDM Zinc (to enable me to have a coloured background outside th

Re: [Flashcoders] Creating Cross-Platform CDROM

2009-10-22 Thread Glen Pike
http://www.s-j-t.co.uk/flashkit/HybridCDv1.1.pdf ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

[Flashcoders] Flashplayer install on IE8 / Vista

2009-10-22 Thread Glen Pike
Hi, Has anyone else had the unfortunate "experience" of installing Flashplayer for IE8 on Vista?? Seems like instead of a single "Install ActiveX Control", I now have to suffer Adobe's bloated Download Manager craplication to install my Flashplayer (which triggers several of Vista's pa

Re: [Flashcoders] Flashplayer install on IE8 / Vista

2009-10-22 Thread Glen Pike
Glen Pike wrote: Hi, Has anyone else had the unfortunate "experience" of installing Flashplayer for IE8 on Vista?? Seems like instead of a single "Install ActiveX Control", I now have to suffer Adobe's bloated Download Manager craplication to install my Fl

Re: [Flashcoders] Flashplayer install on IE8 / Vista

2009-10-22 Thread Glen Pike
Hi, Does anyone know how I get Flashplayer 10 installed on Firefox Vista because the installation instructions do not show what's happening on my machine... The Adobe DLM is installed, but now it just pops up without downloading anything and there is no option to allow this add-on to do

Re: [Flashcoders] Flashplayer install on IE8 / Vista

2009-10-22 Thread Glen Pike
Karl DeSaulniers wrote: I know you can find older installers on Adobe's site that may work. Maybe a earlier release of 10 will work. Karl Hi, Found the installer thanks - all the DLM rubbish was smoke & mirrors it seems... Glen ___ Flashcod

Re: [Flashcoders] CS4 IDE menu text size too small

2009-10-27 Thread Glen Pike
Hi, It might be an OS setting: In Windoze XP, you can increase the size of the font used by editing your display properties, right click your desktop, choose "Properties", then "Appearance" tab. You may change the font sizes of Windows Menu's here. You might be able to change something else to aff

Re: [Flashcoders] add properties to Event object

2009-10-27 Thread Glen Pike
Andrew Sinning wrote: Why can't I add any properties to an AS3 Event object? I get a 1056: cannot create property prop-name on Event Event extends Object, right? ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figle

Re: [Flashcoders] mac projector

2009-10-27 Thread Glen Pike
h Player.rsrc │ icon.icns │ mflv.icns │ movie.swf │ ├───cs.lproj │ Localized.rsrc │ ├───de.lproj │ Localized.rsrc ... Thanks, Latcho. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcode

Re: [Flashcoders] re: alpha for dynamic text without embedding font

2009-10-29 Thread Glen Pike
You can't change the alpha of text if it's not embedded, unless you do take a "bitmap snapshot" of the movieclip with text in and use that instead of the "live" text. Kevin McFarland wrote: As I described in my eMail I'm using author-time created assets. Follow the steps I described, you shoul

Re: [Flashcoders] Flash Video jerky - slow pc?

2009-11-02 Thread Glen Pike
ng FWA sites that don't offer a "smooth experience". "Websites at the cutting edge" - it's only a small slip from "cutting edge" to "bloody cheek". ___ Flashcoders mailing list Flash

Re: [Flashcoders] [SOLVED:] Multiple colors for text inside DataGrid-CellRenderer?

2009-11-04 Thread Glen Pike
Hi, Glad to be of help :) Glen Well, I'm flabbergasted. It works great and this really is the first time I have the feeling to get some kind of real control on that whole list component. Thanks a 1000 times and best regards, Roman. - -- ___

Re: [Flashcoders] Auto Webcam Detection

2009-11-04 Thread Glen Pike
So, the idea is to try each camera until you find one that has a moving image? I still think that it is better to just tell the user to properly select the default camera in the options. ___ When you are using a 1280 x 1024 touchscreen, that's a b

Re: [Flashcoders] checking url address hosting swf

2009-11-09 Thread Glen Pike
Pedro Kostelec wrote: Is there a way to search through the archives? There is no way to find a post with such presentation: http://chattyfig.figleaf.com/mailman/private/flashcoders/ ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://c

Re: [Flashcoders] how to create rss/data changes on server, how to process in AS3

2009-11-10 Thread Glen Pike
If you are allowed to run PHP scripts which stay running, you can use a PHP socket server that handles the communications... If you google "PHP socket server" there are loads of examples around. Once you have the PHP script running, you can run your PHP commands and talk to MySQL db's. You j

Re: [Flashcoders] X-Post: Security Hole

2009-11-13 Thread Glen Pike
Yeah, this seems like scaremongery to me - someone probably does not like Flash and is glossing over the fact that if you allow users to upload content you are opening a security hole full stop... Henrik Andersson wrote: Pardon the short reply, but my gut response is simply: Old. People who c

Re: [Flashcoders] Allowing website user to record video and voice

2009-11-16 Thread Glen Pike
FMS is Flash Media Server - you need this to record audio and video from Flash to the Server. http://www.adobe.com/products/flashmediaserver/ You can download a free development version to test with - with the old versions, you could use this for upto 5 connections at once (I think). There a

Re: [Flashcoders] Who uses Adobe Flex?

2009-11-18 Thread Glen Pike
Hi, But you can easily create your own button type class rather than use the Flash symbols... Glen Sid Ferreira wrote: Well, indeed you changed my mind... Now, a thing that bothers me is that buttons, for instance, uses timeline and not AS animation... On Wed, Nov 18, 2009 at 09:19,

Re: [Flashcoders] AS2 to AS3 Translation

2009-11-18 Thread Glen Pike
Try this useful doc http://www.adobe.com/devnet/actionscript/articles/as3_migration_cookbook/as3_migration_cookbook.pdf Glen beno - wrote: Hi; I've found the following AS2 script I'm trying to translate into AS3. Right now, I'd just like a little help understanding how to rewrite some code vari

Re: [Flashcoders] ComboBox troubles

2009-11-19 Thread Glen Pike
Hi, Are you doing something like the following - you need to use the Delegate.create function to attach "scope" to your event handlers. I can't remember if you can pass in the event object or not - try it? HTH Glen import mx.utils.Delegate; class MyMovieClip extends MovieClip { private var

Re: [Flashcoders] ComboBox troubles

2009-11-20 Thread Glen Pike
} I am thinking that I need every "colorBox" to have its own "changeObj" or I need to be able to reference the "picBox" that is inside with that colorBox thats being changed. Structure of a single item is as follows: Main Stage - - thumbHolder (Main item MC)

Re: [Flashcoders] ComboBox troubles

2009-11-20 Thread Glen Pike
Karl DeSaulniers wrote: If I put this code in, I dont get the type mismatch error but it still doesn't work. On Nov 20, 2009, at 4:03 AM, Glen Pike wrote: colorBox.addEventListener("changeObj", Delegate.create(this,change)); Karl DeSaulniers Design Drumm http://

Re: [Flashcoders] ComboBox troubles

2009-11-20 Thread Glen Pike
;)", but still does not work On Nov 20, 2009, at 4:12 AM, Karl DeSaulniers wrote: Yes. I tried both of those and nothing.. actually the one below gets an error Error: type mismatch colorBox.addEventListener("change", Delegate.create(this, changeObj

Re: [Flashcoders] ComboBox troubles

2009-11-20 Thread Glen Pike
t;ComboBox did not change"; } }; colorBox.addEventListener("change",changeObj); } } for(var i = 0;i < numimages;i++) { loadItems(); } Karl DeSaulniers wrote: Right! How to do that though I guess is my main issue. I cant assign "pr" to pic

Re: [Flashcoders] ComboBox troubles

2009-11-20 Thread Glen Pike
Hi, Done that... Glen Karl DeSaulniers wrote: Hey Glen, If it wouldn't be a trouble and I know this may sound odd, but could you send me a FLA with a combo box in it? no code, just the component on a blank stage? I am wondering if its just the combo box component that I have that isn't

Re: [Flashcoders] ComboBox troubles

2009-11-20 Thread Glen Pike
Glad to help. Karl DeSaulniers wrote: HAHA Looks like that may be it. It doesn't load the data or label text, but it tries to call the picture change. Whoo hoo... well looks like you got me a little closer. Now I have to set my styles i guess? Thanks a lot for your input and time. Karl ___

Re: [Flashcoders] Creating And Printing String With AS3

2009-11-20 Thread Glen Pike
You probably need to embed the fonts in your Flash file - put a text field on stage with Arial characters embedded and set the "embedFonts" property on your text field to "true". You need to use embedded fonts for Tweening... Glen beno - wrote: Hi; I am confused as to how to create a string

Re: [Flashcoders] ComboBox troubles

2009-11-20 Thread Glen Pike
ing in the main. Yours tested fine from your fla. so did the text?? Karl On Nov 20, 2009, at 6:23 AM, Glen Pike wrote: Glad to help. Karl DeSaulniers wrote: HAHA Looks like that may be it. It doesn't load the data or label text, but it tries to call the picture change. Whoo hoo... well loo

Re: [Flashcoders] ComboBox troubles

2009-11-20 Thread Glen Pike
, 2009, at 6:23 AM, Glen Pike wrote: Glad to help. Karl DeSaulniers wrote: HAHA Looks like that may be it. It doesn't load the data or label text, but it tries to call the picture change. Whoo hoo... well looks like you got me a little closer. Now I have to set my styles i guess? Thanks

Re: [Flashcoders] ComboBox troubles

2009-11-20 Thread Glen Pike
at 6:55 AM, Glen Pike wrote: ...but also, I think you created your data provider "Colors" object with an empty / dummy row so make sure you are wanting to do that. Karl DeSaulniers wrote: One last thing. How do I get the first item in the combo box to show up? I got the text in the d

Re: [Flashcoders] ComboBox troubles

2009-11-20 Thread Glen Pike
Are you targeting FP6 - if I set my Publish Settings to that, it does not select the first item... Karl DeSaulniers wrote: yes, that I stole from your code. :) that was part of it. my component was not working with mx.control.ComboBox. It is a UI component and not a compiled clip. When I copi

Re: [Flashcoders] Creating And Printing String With AS3

2009-11-20 Thread Glen Pike
uot;name" for the name of an instance of something - try not to use "name" because this is a property of things like "DisplayObject", MovieClip, etc. so you might get complaints... HTH Glen beno - wrote: On Fri, Nov 20, 2009 at 8:52 AM, David Hunter wrote: Glen

Re: [Flashcoders] ComboBox troubles

2009-11-20 Thread Glen Pike
Nice one - hometime for me too :) Karl DeSaulniers wrote: ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Re: [Flashcoders] getting text from textfile.txt into a dynamic text field

2009-11-23 Thread Glen Pike
been scanned for Viruses and Content and cleared by MailMarshal # ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- Gle

Re: [Flashcoders] Flash, XML and Domino

2009-11-24 Thread Glen Pike
If your flash is served from "https" you might be suffering from cross-domain restrictions... Lehr, Theodore wrote: ok - so I am trying to ingest some xml create by a view in Domino. When viewed in a browser, the xml looks fine and when I put the xml into a page such as "temp.xml" it works fi

Re: [Flashcoders] Flash, XML and Domino

2009-11-24 Thread Glen Pike
Henrik Andersson wrote: Glen Pike wrote: If your flash is served from "https" you might be suffering from cross-domain restrictions... Correction: "is not served from https". Flash only allows secure content to a

Re: [Flashcoders] Font Inside Library

2009-11-24 Thread Glen Pike
/mailman/listinfo/flashcoders -- Glen Pike 01326 218440 www.glenpike.co.uk <http://www.glenpike.co.uk> ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Re: [Flashcoders] simple E4X question, getting two types of nodes

2009-12-01 Thread Glen Pike
#x27;d never have a dog within a dog. I can't believe I just typed that. - MM ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- Glen Pike 01326 218440

Re: [Flashcoders] The Flash Debug Player

2009-12-04 Thread Glen Pike
Hi, Slightly OT, but this might be useful / helpful for some people: You can also use a 3rd party program like Kewbee Plugin Switcher that will allow you to switch Flash Player versions without uninstalling every time. It will require a browser restart, but with Firefox's restore sessi

[Flashcoders] Preview of symbols in Flash IDE (CS3)

2009-12-07 Thread Glen Pike
Hi, I am encountering a strange problem with the IDE (CS3) drawing of my graphics on stage... It's happened a couple of times now, but the problem seems to be that the IDE is getting "mixed up" with what it is supposed to be drawing for my symbols. I have a clip on stage with nested cl

Re: [Flashcoders] Preview of symbols in Flash IDE (CS3)

2009-12-07 Thread Glen Pike
Hmm, Teddy bear gave me the answer - well more by accident than anything... I had two symbols in my library, in different sub-folders, with the same name... Deleting one of them fixed the problem. Glen... Glen Pike wrote: Hi, I am encountering a strange problem with the

Re: [Flashcoders] Array in loop

2009-12-07 Thread Glen Pike
Lehr, Theodore wrote: Seems like this should be simple: how do I replace "x" with arrayName[i] in the following: _root.x._alpha = 0; it is in a for loop... ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figlea

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