[Flashcoders] PUSH/PULL model in AIR

2008-01-08 Thread Sidney de Koning
Hi List, Is there a push/pull model in AIR like there is in Flex? I need to show a popup if the database has changed. What is the best way of realizing this? My idea was this; let the air app contact a server/database (through php) with an interval of 5 minutes orso to see if the data has

Re: [Flashcoders] PUSH/PULL model in AIR

2008-01-08 Thread Sidney de Koning
- though you'd need a socket server to achieve this... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sidney de Koning Sent: 08 January 2008 14:30 To: Flash Coders List Subject: [Flashcoders] PUSH/PULL model in AIR Hi List, Is there a push/pull model

[Flashcoders] startAtLogin in AIR

2008-01-10 Thread Sidney de Koning
Hi List, I'm creating an app in AIR and do a NativeApplication.nativeApplication.startAtLogin = true; (i have also tried: NativeApplication.startAtLogin as stated in http://labs.adobe.com/wiki/index.php/AIR:Release_Notes) to create a startup folder entry (pc and mac). I import the file

Re: [Flashcoders] startAtLogin in AIR

2008-01-10 Thread Sidney de Koning
in the Earlier releases? - I believe it was called Shell.startApplicationAtLogin... Cheers Matt -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sidney de Koning Sent: 10 January 2008 09:28 To: Flash Coders List Subject: [Flashcoders] startAtLogin in AIR Hi List

Re: [Flashcoders] startAtLogin in AIR

2008-01-10 Thread Sidney de Koning
at System.capabilities.playerType for this - I'm not sure what AIR returns to this, but it should be different when running in the IDE compared to a installed release version Cheers Matt -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sidney de Koning Sent: 10 January

Re: [Flashcoders] startAtLogin in AIR

2008-01-10 Thread Sidney de Koning
file.resolve(url), is now file.resolvePath(url) and there are a couple of new methods ... ... But from the error it looks like the AIRRemoteUpdaterEvent class is missing an import. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sidney de Koning Sent: 10 January

Re: [Flashcoders] startAtLogin in AIR

2008-01-11 Thread Sidney de Koning
/devappsflash/UsingFlash_5.html#1084922 - Original Message - From: Sidney de Koning [EMAIL PROTECTED] To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Thursday, January 10, 2008 6:27 PM Subject: Re: [Flashcoders] startAtLogin in AIR I'll leave it be than, i'll use

Re: [Flashcoders] startAtLogin in AIR

2008-01-11 Thread Sidney de Koning
, but in Flex you get full stack trace, debug and memory profiler for working in the IDE ;) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sidney de Koning Sent: 10 January 2008 17:27 To: Flash Coders List Subject: Re: [Flashcoders] startAtLogin in AIR I'll

[Flashcoders] Animating NativeWindows in AIR

2008-01-16 Thread Sidney de Koning
Hi List, Couple of questions about AIR and NativeWindows. - How do i set the width and height of an NativeWindow? Can i do that in the code or only in the descriptor file? - Can a NativeWindow also be an MovieClip (living in the library with linkage) and how do i set this? - Can a

[Flashcoders] Windowing in AIR

2008-01-17 Thread Sidney de Koning
Hi List, Couple of questions about AIR and NativeWindows. - How do i set the width and height of an NativeWindow? Can i do that in the code or only in the descriptor file? - Can a NativeWindow also be an MovieClip (living in the library with linkage) and how do i set this? - Can a

Re: [Flashcoders] Windowing in AIR

2008-01-17 Thread Sidney de Koning
Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sidney de Koning Sent: 17 January 2008 09:16 To: Flash Coders List Subject: [Flashcoders] Windowing in AIR Hi List, Couple of questions about AIR and NativeWindows. - How do i set the width and height of an NativeWindow

Re: [Flashcoders] Windowing in AIR

2008-01-17 Thread Sidney de Koning
, but put it on your next container inside that... Does that answer your question? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sidney de Koning Sent: 17 January 2008 10:01 To: Flash Coders List Subject: Re: [Flashcoders] Windowing in AIR Hi Matthew

Re: [Flashcoders] Windowing in AIR

2008-01-18 Thread Sidney de Koning
, Sidney Matthew James Poole wrote: Screen shots would be good please mate - I don't seem to get any problem with the sample AIR, I'm probably still misunderstanding the issue though ;) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sidney de Koning

Re: [Flashcoders] SEO / accessibility demo site?

2008-01-18 Thread Sidney de Koning
And ofcourse you search the archives here: http://www.mail-archive.com/flashcoders@chattyfig.figleaf.com/ However i think they have a delay of about one hour. Dave Watts wrote: If only the archives were searchable ;-) I'm working on it. Dave Watts, CTO, Fig Leaf Software

Re: [Flashcoders] Windowing in AIR

2008-01-18 Thread Sidney de Koning
the employees app, which OS are you using? ... You could always ensure that your main NativeWindow is always maximised and other 'windows' inside are just MovieClips, but that's a bit hacky -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sidney de Koning Sent: 18

[Flashcoders] AIR Sandbox while loading sounds

2008-01-24 Thread Sidney de Koning
Hi List, I'm trying to load a sound stream into my air application, it is a radio stream bound to a port (ie: http://radio.example.com:8000/). When publishing to flash 9, it works smooth as silk, but when publishing to AIR i get errors (I work work with the Flash IDE): *** Security Sandbox

Re: [Flashcoders] AIR Sandbox while loading sounds

2008-01-24 Thread Sidney de Koning
/devnet/flashplayer/articles/fplayer9_security.html Bit of a long read, but it may help you... Though if you;ve got the poilcy file it ought to be ok Cheers Matt -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sidney de Koning Sent: 24 January 2008 10:09

Re: [Flashcoders] AIR Sandbox while loading sounds

2008-01-24 Thread Sidney de Koning
to be at home - work are pretty strict about portts) Cheers Matt -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sidney de Koning Sent: 24 January 2008 10:54 To: Flash Coders List Subject: Re: [Flashcoders] AIR Sandbox while loading sounds He Matt

Re: [Flashcoders] AIR Sandbox while loading sounds

2008-01-24 Thread Sidney de Koning
it ought to be ok Cheers Matt -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sidney de Koning Sent: 24 January 2008 10:09 To: Flash Coders List Subject: [Flashcoders] AIR Sandbox while loading sounds Hi List, I'm trying to load

Re: [Flashcoders] ADA compliance Flash

2008-02-04 Thread Sidney de Koning
Hi John, There is a realy good book on, called; Dont make me think by Steve Crug Talks about usability for websites, html or flash. I think there is a special chaptor on ADA guidlines. You can get it on Amazon and any other bookstore, Cheers, Sidney John Peacock wrote: Just wondering if

Re: [Flashcoders] Insert new symbol

2008-02-05 Thread Sidney de Koning
if you load your image in with a MovieClipLoader (prolly the best way to go), you can position the image, only with the onLoadInit handler. Only then will you know the dimensions of the loaded in image. the you can shift it x of image = width of image * 0.5 something like this (AS2 example):

[Flashcoders] AS3 Function question

2008-02-07 Thread Sidney de Koning
Hi list, I have a function in AS3, and it takes two arguments, but sometimes i want it to have 1 argument. But when i run it now it errors: 1136: Incorrect number of arguments. Expected 2. How do i do this? keep one arguments standard in the function brackets and check for the second

Re: [Flashcoders] Anyone know of good mac app that will trace outside of Flash

2008-02-07 Thread Sidney de Koning
Hi Ali, I use XRAY from Blitz (http://osflash.org/xray) its is a very good debug / logger tool. and it just uses a SWF that you run. Cheers, Sid Alistair Colling wrote: Oops, sorry pressed send too quick on that one, here's the complete message Hiya, I have been using XTrace

Re: [Flashcoders] AS3 Function question

2008-02-07 Thread Sidney de Koning
) { //whatever. } //some code ... } -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sidney de Koning Sent: 07 February 2008 11:45 To: Flash Coders List Subject: [Flashcoders] AS3 Function question Hi list, I have a function in AS3, and it takes two

[Flashcoders] AS3 Api writing

2008-02-13 Thread Sidney de Koning
Hi List, Are there people who write their own AS3 apis for web services? for instance twitter, the nabaztag rabbit, amazon? Do you have any good documentation on how and where to start? Special steps to take concerning events, things to keep in the back of your mind when coding. Or is there a

Re: [Flashcoders] AS3 Api writing

2008-02-13 Thread Sidney de Koning
useful things. http://developer.yahoo.com/flash/ The Adobe labs site has some examples links here: http://labs.adobe.com/wiki/index.php/ActionScript_3:resources:apis:libraries Hope this helps. Glen Sidney de Koning wrote: Hi List, Are there people who write their own AS3

Re: [Flashcoders] AS3 Api writing

2008-02-13 Thread Sidney de Koning
that comes depending on that (I mean). I'd say, a good API is a useful API (and also well documented) :) Regards, Cedric On Feb 13, 2008 5:52 PM, Sidney de Koning [EMAIL PROTECTED] wrote: Sounds like a very good tip :) The thing is i want to start writing my own api's. But i have no idea

Re: [Flashcoders] AS3 Api writing

2008-02-13 Thread Sidney de Koning
to the Flickr web service. Glen Sidney de Koning wrote: Sounds like a very good tip :) The thing is i want to start writing my own api's. But i have no idea where to begin, what is a good starting point for me? Cheers, Sid Mark Lapasa wrote: (If you already know about this, my apologies in advance

Re: [Flashcoders] AS3 Api writing

2008-02-14 Thread Sidney de Koning
agree is to keep it as simple as possible. It's very easy to offer an API with a ga-billion methods when client objects are only interested in a few if not one method call. Sidney de Koning wrote: He Glen, Thanks for your post; What i want to do is this; take data from an external source

[Flashcoders] Placing variables in XML

2008-02-19 Thread Sidney de Koning
Hi List A short question about XML. When i create XML in Flash i say: var xmlString:XML = employee ssn=789-789-7890 name first=Mary last=Roe/ address street99 Broad St./street cityNewton/city stateMA/state zip01234/zip /address /employee /employees; How do i place variables within that XML?

Re: [Flashcoders] Placing variables in XML

2008-02-19 Thread Sidney de Koning
} / Kenneth Kawamoto http://www.materiaprima.co.uk/ Sidney de Koning wrote: Hi List A short question about XML. When i create XML in Flash i say: var xmlString:XML = employee ssn=789-789-7890 name first=Mary last=Roe/ address street99 Broad St./street cityNewton/city stateMA/state zip01234/zip /address

Re: [Flashcoders] Placing variables in XML

2008-02-19 Thread Sidney de Koning
Thanks! that did the trick! Sid Kenneth Kawamoto wrote: name first={firstName} last={lastName} / Kenneth Kawamoto http://www.materiaprima.co.uk/ Sidney de Koning wrote: Hi List A short question about XML. When i create XML in Flash i say: var xmlString:XML = employee ssn=789-789-7890 name

Re: [Flashcoders] AIR - NativeWindow Resizing

2008-02-20 Thread Sidney de Koning
Corban, you can find a really good pdf here: all about development for air apps: http://download.macromedia.com/pub/labs/air/air_b3_docs_flash_121207.zip it in is a pdf file with cases/tutorials. Covers about everything (well , alot ;)). Have fun! Corban Baxter wrote: genius! I'd been

Re: [Flashcoders] Graphic design universities

2008-02-20 Thread Sidney de Koning
Check out the SAE (http://www.sae.nl/ speciafically in The Netherlands). Its an internationally orientated school, specialized in Audio engineering, video editing and Flash animation and Actionscripting :) For world wide check out: http://www.sae.edu/ . I am a teacher here and i can highly

Re: [Flashcoders] Error #1009

2008-03-17 Thread Sidney de Koning
Have you tried importing the Mountain Class? Cheers, Sid On Mar 17, 2008, at 4:28 PM, Pedro Kostelec wrote: I added the () to it but still doesn't work: package { import flash.display.Sprite; import flash.events.Event; import flash.filters.*; public class

Re: [Flashcoders] Error #1009

2008-03-17 Thread Sidney de Koning
, at 4:53 PM, Pedro Kostelec wrote: NO , ihaven't. I am only in a learning process of as3, so if you can help me importing a class On Mon, Mar 17, 2008 at 4:35 PM, Sidney de Koning [EMAIL PROTECTED] wrote: Have you tried importing the Mountain Class? Cheers, Sid On Mar 17, 2008, at 4:28 PM

Re: [Flashcoders] Error #1009

2008-03-17 Thread Sidney de Koning
there is no path if the files are in the same folder,no? On Mon, Mar 17, 2008 at 5:15 PM, Sidney de Koning [EMAIL PROTECTED] wrote: Just rewrite this: package { import flash.display.Sprite; import flash.events.Event; import flash.filters.*; public class RisingCroix extends Sprite

Re: [Flashcoders] Error #1009

2008-03-17 Thread Sidney de Koning
Start tracing out the variables, because there is a variable undefined or null and you try to perform an operation on it. Since its undefined or null the operation halts. It can also be that your function init2 does not return void but returns a sprite. On Mar 17, 2008, at 5:47 PM, Pedro

Re: [Flashcoders] Color to black white

2008-03-18 Thread Sidney de Koning
Oh and to reset an image to its normal color again you apply an new matrix like this: var originalColour:Array = [ 1,0,0,0,0, 0,1,0,0,0,

Re: [Flashcoders] Color to black white

2008-03-18 Thread Sidney de Koning
You can use a color matrix like this: // Flash Imports import flash.filters.ColorMatrixFilter; var greys:Array = [ 0.3086,0.6094,0.082,0,0, 0.3086,0.6094,0.082,0,0,

Re: [Flashcoders] Custom method calls from loaded SWFs

2008-03-18 Thread Sidney de Koning
AS2, AS3, AIR? Tell us more! On Mar 18, 2008, at 5:02 PM, Helmut Granda wrote: Hi All, I have a small dilema with calling an event from a loaded SWF, either through a direct call or dispatching an event. Basically my main application loads different SWFs to a container and there is about

Re: [Flashcoders] Custom method calls from loaded SWFs

2008-03-18 Thread Sidney de Koning
In AS3 your dynamic loaded content is placed in a sanbox, where you have limited functionality. Can you show the code of how you are loading that specific item? S. On Mar 18, 2008, at 5:27 PM, Helmut Granda wrote: AS3, compiled with Flash IDE. On 3/18/08, Sidney de Koning [EMAIL PROTECTED

Re: [Flashcoders] Writing Custom MovieClip Classes

2008-03-20 Thread Sidney de Koning
HI, I think this you must rewrite MyWindow.addEventListener(MyWindow.CLOSE, onClose);* to this MyWindow.addEventListener(A_Window.CLOSE, onClose);* Because you are listening to the event comming from class A_Window. Hope this helps, Sid On Mar 20, 2008, at 4:49 PM, Omar Fouad wrote: Man

Re: [Flashcoders] AS2: Tweening a very large vector file causes shaking

2008-03-21 Thread Sidney de Koning
Hi Matt, Like the analogies :) What tweening engine are you using? If its your engine, there is a good speed comparison here: http://blog.greensock.com/tweening-speed-test/ If so, just change to a different engine, not every car is build to move boulders ;) Sid On Mar 21, 2008, at 2:57

Re: [Flashcoders] FLASH+AIR+ASP

2008-03-27 Thread Sidney de Koning
Do you mean that you need to login through HTACCESS? (the browser dialog box) or through an ASP file? If its HTACCESS then, with AIR, you can get past it in AIR. Tell me which one is of use and i'll try to help. Cheers, Sid On Mar 26, 2008, at 11:41 PM, Helmut Granda wrote: I

Re: [Flashcoders] FLASH+AIR+ASP

2008-03-27 Thread Sidney de Koning
is not logged in ask for login info() else go to the app() end() thanks for your input On Thu, Mar 27, 2008 at 3:44 AM, Sidney de Koning [EMAIL PROTECTED] wrote: Do you mean that you need to login through HTACCESS? (the browser dialog box) or through an ASP file? If its HTACCESS then, with AIR

Re: [Flashcoders] Re: Two for loops and one if statement into one for loop.

2008-04-07 Thread Sidney de Koning
Normally you get unexpected (or expected, depends on how you look at it) results when having two for loops and using the same iterator, for the outher loop try using i, and the inner loop try using j. See what happends :) Cheers Sidney On Apr 7, 2008, at 5:13 PM, Helmut Granda wrote: oh

Re: [Flashcoders] Restarting an Air Application

2008-04-09 Thread Sidney de Koning
or you can call an air app from within your air app (this can potentially be the same app) So what you do is: have A open and set it to alwaysinFront from A you call B close A bring B to front More info on this here:

Re: [Flashcoders] detecting pdf writer

2008-04-15 Thread Sidney de Koning
Hi Michael, In System.capabilities you have a couple of functions you can use; playerType - for the plugin version, so no need for JS. hasPrinting - you cna chech is the use has a printer if not PDF output, is this what you need? Cheers, Sidney On Apr 15, 2008, at 5:02 PM, Mendelsohn,

Re: [Flashcoders] detecting pdf writer

2008-04-15 Thread Sidney de Koning
My god; my spelling is awfull! what i meant to say is; System.capabilities.hasPrinting - you can check if the user has a printer, if not you can use PDF output. Cheers, Sid On Apr 15, 2008, at 5:32 PM, Sidney de Koning wrote: Hi Michael, In System.capabilities you have a couple

Re: [Flashcoders] AIR bitmapdata.draw( FLV ) Security error

2008-04-17 Thread Sidney de Koning
Hi Patrick, You can do a couple of things; try this first: http://www.funky-monkey.nl/blog/2008/02/28/fresh-breath-of-air-2-animated-video-dock-icon/ What i do here is on the ENTER_FRAME event i draw the video to a Bitmap. You can try doing hte RMTP stream hack, explained here:

[Flashcoders] RegEx on a String (uppercase / lowercase)

2008-04-22 Thread Sidney de Koning
is allow me to search the text, no matter if i type in lower-/uppercase and in the correct order. Is there a RegEx rockstar who can help me on this? Thanks in advance, Sidney de Koning ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http

Re: [Flashcoders] RegEx on a String (uppercase / lowercase)

2008-04-22 Thread Sidney de Koning
the flags a RegExp can take in AS3: http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/RegExp.html#RegExp() On Tue, Apr 22, 2008 at 9:13 AM, Sidney de Koning [EMAIL PROTECTED] wrote: Hi List, I'm filtering my loaded XML with RegEx (regular expressions). The input i filter

Re: [Flashcoders] Removing a displayObject by using removeChild()

2008-04-24 Thread Sidney de Koning
When you add it i mean ofcourse. Just like you do when removing it. On Apr 24, 2008, at 3:30 PM, ACE Flash wrote: Hi there, I would like to define a variable, so I could pass any name to createNavigatorButton and using removeNavigatorButton to remove it. I wrote a simple code here

Re: [Flashcoders] Removing a displayObject by using removeChild()

2008-04-24 Thread Sidney de Koning
He ACE, Try casting your string _pValue to a Sprite or MovieClip, because you cannot add a string to the displaylist. Cheers, Sidney On Apr 24, 2008, at 3:30 PM, ACE Flash wrote: Hi there, I would like to define a variable, so I could pass any name to createNavigatorButton and using

Re: [Flashcoders] Removing a displayObject by using removeChild()

2008-04-24 Thread Sidney de Koning
try doing this, it should work: import flash.text.TextField; var _pValue:TextField; function createNavigatorButton( txt:String ) { _pValue = new TextField(); _pValue.text = txt; _pValue.backgroundColor = 0x00; _pValue.x = 60; _pValue.y = 400;

Re: [Flashcoders] Removing a displayObject by using removeChild()

2008-04-24 Thread Sidney de Koning
( targetToRemove )); should be removeChild @v@ I appreciate that all of your posts in the topic . Thanks ALL! :)) On Thu, Apr 24, 2008 at 10:00 AM, Sidney de Koning [EMAIL PROTECTED] wrote: try doing this, it should work: import flash.text.TextField; var _pValue:TextField; function

Re: [Flashcoders] as3 sound and swf overriding one another

2008-05-06 Thread Sidney de Koning
Hi Quinrou, I have exactly the same with an AIR project i'm building. I have not found a fix, there is an explanation i'm reading right now, it is in dutch, however the code should help you. http://nederflash.nl/blog/as3-tips%3A-error-2029-uitgelegt#comment-42 Hope this helps you, Sidney

Re: [Flashcoders] FPS limit of flash player inside browser?

2008-05-07 Thread Sidney de Koning
Maybe this is what your after? http://www.craftymind.com/2008/04/18/updated-elastic-racetrack-for-flash-9-and-avm2/ On May 7, 2008, at 2:07 PM, Sander Schuurman wrote: Hi, Just came across some limitations on the fps of a flash movie inside a browser. I've read on the internet some

Re: [Flashcoders] FPS limit of flash player inside browser?

2008-05-07 Thread Sidney de Koning
No problem :) This article really clarified a lot for me. Sid. On May 7, 2008, at 3:20 PM, Juan Pablo Califano wrote: Great article, thanks for the link. 2008/5/7, Sidney de Koning [EMAIL PROTECTED]: Maybe this is what your after? http://www.craftymind.com/2008/04/18/updated-elastic

[Flashcoders] Setting an AIR applications file types to default

2008-05-08 Thread Sidney de Koning
Hi List, I'd like to set my AIR application to handle specific files, and the when i double click these file on my file system i want them to open with my AIR app. What i've done sofar is ajusted the descriptor xml to fit my needs for my files, mp3's in this case and want to use the

Re: [Flashcoders] Best way...

2008-05-13 Thread Sidney de Koning
I just started using LuminicBox (do a search on google for the AS3 version). And i have to say i'm quite impressed. It's a logger nd you can set the importance of messages (log, warn, error etc); You can also use the alpha version of XRAY (but icant get the connector to work in AS3) And

Re: [Flashcoders] Best way...

2008-05-13 Thread Sidney de Koning
. (at work now). Sid. On May 13, 2008, at 8:20 PM, Patrick J. Jankun wrote: pure as3 as for now :) is there a special air debugger available in the air package? Patrick On May 13, 2008, at 8:02 PM, Sidney de Koning wrote: I just started using LuminicBox (do a search on google for the AS3

Re: [Flashcoders] Best way...

2008-05-13 Thread Sidney de Koning
! Sidney Patrick J. Jankun wrote: pure as3 as for now :) is there a special air debugger available in the air package? Patrick On May 13, 2008, at 8:02 PM, Sidney de Koning wrote: I just started using LuminicBox (do a search on google for the AS3 version). And i have to say i'm quite impressed

Re: [Flashcoders] Question about Google Maps Flash APIs

2008-05-15 Thread Sidney de Koning
YUP :) An swc file is notthing more than a zip file. So when you rename it to zip you can extract it, probably there is a library.swf in there. This is what you do is this you load it in in Flash like this: import flash.display.Loader; // var ClassFileForHoldingGooglesAPIClass:Class; //

Re: [Flashcoders] Question about Google Maps Flash APIs

2008-05-15 Thread Sidney de Koning
] wrote: Or if you have the SWC downloadable you can just copy the file near the FLA file, flash will load it automatically. Romu www.soundstep.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sidney de Koning Sent: 15 May 2008 15:51 To: Flash

Re: [Flashcoders] Rectangle doesnt have scaleX/Y?

2008-05-28 Thread Sidney de Koning
Hi Matt, Try casting it to the XML data to a Number. Because XML data is a String. Like so: var rectangle:Rectangle = new Rectangle (0,0,Number([EMAIL PROTECTED]),Number([EMAIL PROTECTED])); Hope This helps. Sid On May 28, 2008, at 4:43 PM, Matt S. wrote: So I tried to the do the

Re: [Flashcoders] Rectangle doesnt have scaleX/Y?

2008-05-28 Thread Sidney de Koning
to be recognizing it as a number, and I can set the Width and Height of Rectangle, but when I try to set the scaleX and scaleY is when I get the error message. .m On Wed, May 28, 2008 at 10:56 AM, Sidney de Koning [EMAIL PROTECTED] wrote: Hi Matt, Try casting it to the XML data to a Number. Because XML data

Re: [Flashcoders] Rectangle doesnt have scaleX/Y?

2008-05-28 Thread Sidney de Koning
onscreen, use thedrawRect() method of the Graphics class. ...Sid... could you elaborate on using the Rectangle class to measure objects on the stage? On Wed, May 28, 2008 at 10:15 AM, Sidney de Koning [EMAIL PROTECTED] wrote: Hi Matt, For what do you want to use the Rectangle? Normally you

[Flashcoders] Letter spacing in input fields, is it possible?

2008-05-29 Thread Sidney de Koning
Hi List, Does anyone know if it is possible to have letter spacing in an input field (a field where you type in text) in AS3. I know you can do it on a dynamic or a normal textfield. I also tried in the IDE, but that does not work. (with embedded font) The code i have is this, it all works

[Flashcoders] SOLVED: Letter spacing in input fields, is it possible?

2008-05-29 Thread Sidney de Koning
it, but you may have to reapply the format each time the text in the input field is changed. Add a change listener Sidney de Koning wrote: Hi List, Does anyone know if it is possible to have letter spacing in an input field (a field where you type in text) in AS3. I know you can do

Re: [Flashcoders] flex 3 Event.RESIZE

2008-06-05 Thread Sidney de Koning
Hi Patrick, How is your Flash set in your HTML? in pixels or in percent? GReets, Sid On Jun 5, 2008, at 4:04 PM, Patrick J. Jankun wrote: Hello Everyone, This is something probably very stupid, but i have an basic problem with my AS code: i got an event Listener added to stage instance

Re: [Flashcoders] Re: Is it possible to display in the xml file

2008-06-12 Thread Sidney de Koning
But you have to say your textfield is HtmlText else it wont render and just shows you amp; instead of On Jun 12, 2008, at 3:21 PM, ACE Flash wrote: i got it, uses... = amp; On Thu, Jun 12, 2008 at 9:14 AM, ACE Flash [EMAIL PROTECTED] wrote: hey there, Is it possible to display in the

Re: [Flashcoders] Re: Is it possible to display in the xml file

2008-06-12 Thread Sidney de Koning
. Sid On Jun 12, 2008, at 4:30 PM, Kenneth Kawamoto wrote: Are you sure about that? var xml:XML = new XML(depFin amp; IT/dep); var tf:TextField = new TextField(); tf.text = xml; addChild(tf); I get Fin IT in the TextField. Kenneth Kawamoto http://www.materiaprima.co.uk/ Sidney de Koning

Re: [Flashcoders] CLOSING EVENT in Flash

2008-06-16 Thread Sidney de Koning
Hi Harris, Welcome :) What do you need to know? How it works? Or how you use it? Or both? Sid On Jun 16, 2008, at 2:19 PM, Haris KRAJINA wrote: Hey to all , I'm new to this so I will try keep it short and informative, I am looking for a way to get CLOSING event in Flash CS3, I know it

Re: [Flashcoders] Exclude classes

2008-06-17 Thread Sidney de Koning
Is this what your after? http://www.bit-101.com/blog/?p=941 http://www.martijndevisser.com/blog/2004/enable-disable-_excludexml-files/ Also try this: http://www.google.com/search?source=ighl=enrlz==q=excluding+classes+as3btnG=Google+Search Sid On Jun 17, 2008, at 1:01 PM, Viktor Hesselbom

[Flashcoders] Calling super.apply

2008-06-26 Thread Sidney de Koning
ArrayIterator extends Array { // protected var _index:int; public function ArrayIterator(...args) { super(args); _index = 0; } What am i doing wrong here and what can i do to solve this? Thanks in advance, Sidney de Koning

Re: [Flashcoders] Calling super.apply

2008-06-26 Thread Sidney de Koning
He Jer, In the docs it says: public dynamic class Array So you can extend it. My problem is that now i have to use push() to get items in and i want to use the constructor to pass through items, like so var blah:ArrayInterator = new ArrayIterator(1, 2,3); My constructor uses ..rest so with

Re: [Flashcoders] Calling super.apply [SOLVED]

2008-06-26 Thread Sidney de Koning
] [mailto: [EMAIL PROTECTED] On Behalf Of Sidney de Koning Sent: Thursday, June 26, 2008 4:30 PM To: Flash Coders List Subject: Re: [Flashcoders] Calling super.apply He Jer, In the docs it says: public dynamic class Array So you can extend it. My problem is that now i have to use push() to get items

Re: [Flashcoders] Calling super.apply

2008-06-27 Thread Sidney de Koning
the obvious: super.apply(this, args) How did it fail, compiler error or? Regards, Morten Barklund -Original Message- From: [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED] On Behalf Of Sidney de Koning Sent: Thursday, June 26, 2008 4:30 PM To: Flash Coders List Subject: Re: [Flashcoders

Re: [Flashcoders] Saffron Modeler - what happened to it

2008-06-30 Thread Sidney de Koning
there is loads of activity on sam's twitter account http://twitter.com/SamuelAgesilas S. On Jun 30, 2008, at 6:05 PM, Jiri Heitlager wrote: Does somebody know what happend to the saffron UML modelling tool. The site http://www.levelofindustry.com/ is not showing any update anymore. Jiri

Re: [Flashcoders] regexp question

2008-07-04 Thread Sidney de Koning
Hi Allandt, Have you found this tool already? http://www.gskinner.com/blog/archives/2008/03/regexr_free_onl.html It allows you to test your regex pattern expecially for AS And you can find a cheatsheat on RegEx on www.ilovejackdaniels.com and there is ofcourse alot on

Re: [Flashcoders] Game source code / classes? I need to make a game quick!

2008-07-15 Thread Sidney de Koning
There is a realy good book called Actionscript 3 Game University by Gary Rosenzweig. (http://flashgameu.com/) It features loads of games, while reading it, you learn from it, so you dont have to grab it off the net ;) I'd say that's a double whammy! Sid On Jul 15, 2008, at 12:04 PM, Ali

Re: [Flashcoders] hiring

2008-07-16 Thread Sidney de Koning
___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Sidney de Koning Flash / AIR Developer @ www.funky-monkey.nl Technical Writer @ www.insideria.com

Re: [Flashcoders] hiring

2008-07-16 Thread Sidney de Koning
difficult to find good people... Gert-Jan Op 16 jul 2008, om 14:39 heeft Sidney de Koning het volgende geschreven: try http://www.riajobs.org/ Sid On Jul 16, 2008, at 2:29 PM, Romuald Quantin wrote: Hi, I'm not sure it is the right place to do that but people have been friendly

Re: [Flashcoders] OT: Questions to ask an interviewee

2008-07-30 Thread Sidney de Koning
. - Get node in showcase where the attribute id=1. 17 - listen for when the 'enter key' is pressed and trace out all questions are now done when the event happens. Sidney de Koning Flash / AIR Developer @ www.funky-monkey.nl Technical Writer @ www.insideria.com

Re: [Flashcoders] OT: Questions to ask an interviewee

2008-07-30 Thread Sidney de Koning
? :) Romu www.soundstep.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sidney de Koning Sent: 30 July 2008 12:04 To: Flash Coders List Subject: Re: [Flashcoders] OT: Questions to ask an interviewee The list of questions i always ask interviewees

Re: [Flashcoders] OT: Questions to ask an interviewee

2008-07-30 Thread Sidney de Koning
, Sidney de Koning [EMAIL PROTECTED]wrote: The list of questions i always ask interviewees are the following, and this gives me a pretty good example of what they are like and what their skillset is. Test is always accompanied with a practical test we make up on the spot. The XML in Q16 is made

Re: [Flashcoders] When to use AS3?

2008-07-30 Thread Sidney de Koning
having it's own one On Wed, Jul 30, 2008 at 12:35 PM, Sidney de Koning [EMAIL PROTECTED]wrote: Hi allandt, As agencies we also have a advising role to play towards the customer, so we only do AS3 projects, hardly any AS2 (maybee some banners in FP8). So we try to advice/push the client towards

Re: [Flashcoders] OT: Questions to ask an interviewee

2008-07-30 Thread Sidney de Koning
in Flash, I think there's so much more that's necessary than just schoolbook knowledge that focusing too much on the checklist really seems counterproductive and sad to me. Zeh Sidney de Koning wrote: The list of questions i always ask interviewees are the following, and this gives me a pretty

Re: [Flashcoders] OT: Questions to ask an interviewee

2008-07-30 Thread Sidney de Koning
specific time. I totally agree, good point. So no, it does not sound sad to me, sorry if I sounded harsh or anything (that wasn't my intention). No problem :) Discussions can get heated sometimes. Thats normal on lists like this ;) Sid Zeh Sidney de Koning wrote: So where it all comes down

Re: [Flashcoders] OT: Questions to ask an interviewee

2008-07-30 Thread Sidney de Koning
And ofcourse we all try to find a answer that is suitable for this specific problem and its good that loads of people have different takes on it. Sid. On Jul 30, 2008, at 5:42 PM, Sidney de Koning wrote: Hi Zeh, There's just so much you had to know about an employee on Flash

Re: [Flashcoders] Hiring

2008-08-05 Thread Sidney de Koning
. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Sidney de Koning Flash / AIR Developer @ www.funky-monkey.nl Technical Writer @ www.insideria.com

Re: [Flashcoders] Re: How to add meta data in image through AIR/ AS3.0?

2008-11-18 Thread Sidney de Koning
Hi Deepak, There is a really good AS3 Metadata project on Google called metaphile you can check out, http://code.google.com/p/metaphile/ and for image files i recommend this post as a good starting point: http://blog.modp.com/2007/08/adding-metadata-to-actionscript-3-png.html Happy coding

Re: [Flashcoders] display trace() in text field

2008-12-04 Thread Sidney de Koning
Hi Mike, I'm working on a similair project, check it out here: http://www.funky-monkey.nl/blog/2008/05/13/air-logger-v100/ Right now i'm working on a version that from any swf traces to my air app, traces to the debug panel in Flex and traces out to FireBug plugin in Firefox, (will be

Re: [Flashcoders] display trace() in text field

2008-12-04 Thread Sidney de Koning
or you can override trace like so: override public function trace(...args) : void { super(); textFieldYouWantToTraceIn.appendText(args.toString()); } This is from the top of my head, so the code could have errors in it. Test it to see. Cheers, Sid PS. You can ony do this from

Re: [Flashcoders] Arabic flipping

2008-12-04 Thread Sidney de Koning
Here we usually dont embed the text in the textfield, and grab the text from XML or you when you embed the font with code, include all the unicode codes of the arabic chars you need. And do use fonts that support Arabic like Arial, Verdana and i think Times New Roman

Re: [Flashcoders] display trace() in text field

2008-12-04 Thread Sidney de Koning
Michael, When you override the exsisting trace function, you can do this. Just include your own functionality in the overwritten trace function. Its all because you want to have the same function call to trace() i presume? Sid On Dec 4, 2008, at 5:10 PM, Sidney de Koning wrote: or you

Re: [Flashcoders] My rights - site not paid for.

2008-12-08 Thread Sidney de Koning
___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Sidney de Koning Flash / AIR Developer @ www.funky-monkey.nl Technical writer @ www.insideria.com ___ Flashcoders mailing

Re: [Flashcoders] Audio lag on KeyboardEvent.KEY_DOWN

2008-12-08 Thread Sidney de Koning
___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Sidney de Koning Flash / AIR Developer @ www.funky-monkey.nl Technical writer @ www.insideria.com ___ Flashcoders

  1   2   >