[Flashcoders] PUSH/PULL model in AIR
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 changed, and if so, show the popup. To simulate a push model. If anybody has some ground breaking ideas, or a really good way of realizing this, i'd love to hear! Thanks, Sidney ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] PUSH/PULL model in AIR
Hi Matthew! With a socket server, can you tell me how to go? What software would i need, and how long would it take to set up a socket server? (can this be done with php, or do i need another language? because it needs to support quite some people). Can you also explain the difference tween a socket server and BlazeDS? Thanks in advance, Sidney Matthew James Poole wrote: Everything you can do in Flex you can do in AIR, with the addition that the security model is more relaxed. So yes polling a php script would work. Or you could use XMLSocker or BinarySocker to have actual push - 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 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 changed, and if so, show the popup. To simulate a push model. If anybody has some ground breaking ideas, or a really good way of realizing this, i'd love to hear! Thanks, Sidney ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders __ This e-mail has been scanned for viruses by the Virtual Universe e-mail security system - powered by MessageLabs. http://www.virtual-universe.net ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] startAtLogin in AIR
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 flash.desktop.NativeApplication. However it gives me this error: Error: Error #2014: Feature is not available at this time. at flash.desktop::NativeApplication/set startAtLogin() at ae_fla::MainTimeline/setRunAtStartup() at ae_fla::MainTimeline/frame1() I have checked the error codes here: http://www.flexcoders.cn/showtopic-582.aspx and it says that The feature is not supported on this system.. Now i have checked the labs.adobe docs and said it should be in there, i'm using the beta 3 for CS3. Does anyone have experience with this? Or know a workaround? Maybe the method call was changed in beta 3? Cheers, Sidney ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] startAtLogin in AIR
Hi Matthew, Turns out that my function works, but only when i package and install it, not when testing in the IDE, (and that is where the Feature is not available error came from. So on Beta 3 it is: NativeApplication.nativeApplication.startAtLogin = Boolean; Hope this helps you aswell :) Sid Matthew James Poole wrote: Hi Sidney, I've just searched the Adobe bugs db on jira and there doesn't seem to be anything reported for this. But I can confirm that I get the same RTE too, so I'd guess they will make it available at the real launch... Had you tried this functionality 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, 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 flash.desktop.NativeApplication. However it gives me this error: Error: Error #2014: Feature is not available at this time. at flash.desktop::NativeApplication/set startAtLogin() at ae_fla::MainTimeline/setRunAtStartup() at ae_fla::MainTimeline/frame1() I have checked the error codes here: http://www.flexcoders.cn/showtopic-582.aspx and it says that The feature is not supported on this system.. Now i have checked the labs.adobe docs and said it should be in there, i'm using the beta 3 for CS3. Does anyone have experience with this? Or know a workaround? Maybe the method call was changed in beta 3? Cheers, Sidney ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] startAtLogin in AIR
Nice one :) Another thing, maybe you know this aswell; i'm using Claus Wahlers AIR update class (http://codeazur.com.br/lab/airremoteupdater/) and i already converted it to beta 3, however there is still a error i'm getting about the flash.filesystem.File; import it says: 1046: Type was not found or was not a compile-time constant: File. public function AIRRemoteUpdaterEvent(type:String, file:File = null, bubbles:Boolean = false, cancelable:Boolean = true) { Had anything changed in flash.filesystem.File aswell? Cheers, Sid Matthew James Poole wrote: Hi Sid, Thanks, That makes sense. That does help me - I'll be starting a app soon that will need it. I've posted this the bug list anyway as this isnt a very desriable thing: http://bugs.adobe.com/jira/browse/SDK-14282 You can try looking to see if you are running in a IDE player - In AS2 you could look 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 2008 10:44 To: Flash Coders List Subject: Re: [Flashcoders] startAtLogin in AIR Hi Matthew, Turns out that my function works, but only when i package and install it, not when testing in the IDE, (and that is where the Feature is not available error came from. So on Beta 3 it is: NativeApplication.nativeApplication.startAtLogin = Boolean; Hope this helps you aswell :) Sid Matthew James Poole wrote: Hi Sidney, I've just searched the Adobe bugs db on jira and there doesn't seem to be anything reported for this. But I can confirm that I get the same RTE too, so I'd guess they will make it available at the real launch... Had you tried this functionality 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, 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 flash.desktop.NativeApplication. However it gives me this error: Error: Error #2014: Feature is not available at this time. at flash.desktop::NativeApplication/set startAtLogin() at ae_fla::MainTimeline/setRunAtStartup() at ae_fla::MainTimeline/frame1() I have checked the error codes here: http://www.flexcoders.cn/showtopic-582.aspx and it says that The feature is not supported on this system.. Now i have checked the labs.adobe docs and said it should be in there, i'm using the beta 3 for CS3. Does anyone have experience with this? Or know a workaround? Maybe the method call was changed in beta 3? Cheers, Sidney ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders __ This e-mail has been scanned for viruses by the Virtual Universe e-mail security system - powered by MessageLabs. http://www.virtual-universe.net __ Virtual Universe Ltd, 28-39 The Quadrant, 135 Salusbury Road, London NW6 6RJ Tel: +44 (0) 870 788 6000 Fax: +44 (0) 870 788 6689 Web:www.virtual-universe.net - CONFIDENTIALITY NOTICE This e-mail may contain information which is confidential and privileged. If you are not the named addressee of this e-mail, you may not copy or use it, or forward or otherwise disclose it to anyone else. If you have received this e-mail in error, please e-mail the sender by replying to this message and then fully delete it from your system. Any views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of Amplefuture Group. Amplefuture Group reserves the right to monitor e-mail communications from both external and internal sources for the purposes of ensuring correct and appropriate use of our communication equipment. __ This e-mail has been scanned for viruses by the Virtual Universe e-mail security system - powered by MessageLabs. http://www.virtual-universe.net ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] startAtLogin in AIR
I'll leave it be than, i'll use the standard adobe methods, they are working without a hassel (time constrain ... :S) How do you trace your messages in AIR from the IDE? i dont get any i just noticed. Matthew James Poole wrote: There are a few changes to the File class for example 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 2008 14:49 To: Flash Coders List Subject: Re: [Flashcoders] startAtLogin in AIR Nice one :) Another thing, maybe you know this aswell; i'm using Claus Wahlers AIR update class (http://codeazur.com.br/lab/airremoteupdater/) and i already converted it to beta 3, however there is still a error i'm getting about the flash.filesystem.File; import it says: 1046: Type was not found or was not a compile-time constant: File. public function AIRRemoteUpdaterEvent(type:String, file:File = null, bubbles:Boolean = false, cancelable:Boolean = true) { Had anything changed in flash.filesystem.File aswell? Cheers, Sid Matthew James Poole wrote: Hi Sid, Thanks, That makes sense. That does help me - I'll be starting a app soon that will need it. I've posted this the bug list anyway as this isnt a very desriable thing: http://bugs.adobe.com/jira/browse/SDK-14282 You can try looking to see if you are running in a IDE player - In AS2 you could look 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 2008 10:44 To: Flash Coders List Subject: Re: [Flashcoders] startAtLogin in AIR Hi Matthew, Turns out that my function works, but only when i package and install it, not when testing in the IDE, (and that is where the Feature is not available error came from. So on Beta 3 it is: NativeApplication.nativeApplication.startAtLogin = Boolean; Hope this helps you aswell :) Sid Matthew James Poole wrote: Hi Sidney, I've just searched the Adobe bugs db on jira and there doesn't seem to be anything reported for this. But I can confirm that I get the same RTE too, so I'd guess they will make it available at the real launch... Had you tried this functionality in the Earlier releases? - ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] startAtLogin in AIR
That works :) Thanks Muzak wrote: How do you trace your messages in AIR from the IDE? i dont get any i just noticed. In the Flash IDE: Debug - Debug Movie works fine here. As explained in the docs: http://livedocs.adobe.com/labs/air/1/devappsflash/ http://livedocs.adobe.com/labs/air/1/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 the standard adobe methods, they are working without a hassel (time constrain ... :S) How do you trace your messages in AIR from the IDE? i dont get any i just noticed. Matthew James Poole wrote: There are a few changes to the File class for example 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. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] startAtLogin in AIR
Just a regular trace() I'm using Flash. I'll try the debugger in the IDE Matthew James Poole wrote: Good plan, it doesn't look that complicated anyway... @How do you trace your messages in AIR from the IDE? Are you using Flex or Flash? I've not built any AIR in Flash so I cant comment, 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 leave it be than, i'll use the standard adobe methods, they are working without a hassel (time constrain ... :S) How do you trace your messages in AIR from the IDE? i dont get any i just noticed. Matthew James Poole wrote: There are a few changes to the File class for example 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 2008 14:49 To: Flash Coders List Subject: Re: [Flashcoders] startAtLogin in AIR Nice one :) Another thing, maybe you know this aswell; i'm using Claus Wahlers AIR update class (http://codeazur.com.br/lab/airremoteupdater/) and i already converted it to beta 3, however there is still a error i'm getting about the flash.filesystem.File; import it says: 1046: Type was not found or was not a compile-time constant: File. public function AIRRemoteUpdaterEvent(type:String, file:File = null, bubbles:Boolean = false, cancelable:Boolean = true) { Had anything changed in flash.filesystem.File aswell? Cheers, Sid Matthew James Poole wrote: Hi Sid, Thanks, That makes sense. That does help me - I'll be starting a app soon that will need it. I've posted this the bug list anyway as this isnt a very desriable thing: http://bugs.adobe.com/jira/browse/SDK-14282 You can try looking to see if you are running in a IDE player - In AS2 you could look 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 2008 10:44 To: Flash Coders List Subject: Re: [Flashcoders] startAtLogin in AIR Hi Matthew, Turns out that my function works, but only when i package and install it, not when testing in the IDE, (and that is where the Feature is not available error came from. So on Beta 3 it is: NativeApplication.nativeApplication.startAtLogin = Boolean; Hope this helps you aswell :) Sid Matthew James Poole wrote: Hi Sidney, I've just searched the Adobe bugs db on jira and there doesn't seem to be anything reported for this. But I can confirm that I get the same RTE too, so I'd guess they will make it available at the real launch... Had you tried this functionality in the Earlier releases? - ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders __ This e-mail has been scanned for viruses by the Virtual Universe e-mail security system - powered by MessageLabs. http://www.virtual-universe.net __ Virtual Universe Ltd, 28-39 The Quadrant, 135 Salusbury Road, London NW6 6RJ Tel: +44 (0) 870 788 6000 Fax: +44 (0) 870 788 6689 Web:www.virtual-universe.net - CONFIDENTIALITY NOTICE This e-mail may contain information which is confidential and privileged. If you are not the named addressee of this e-mail, you may not copy or use it, or forward or otherwise disclose it to anyone else. If you have received this e-mail in error, please e-mail the sender by replying to this message and then fully delete it from your system. Any views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of Amplefuture Group. Amplefuture Group reserves the right to monitor e-mail communications from both external and internal sources for the purposes of ensuring correct and appropriate use of our communication equipment. __ This e-mail has been scanned for viruses by the Virtual Universe e-mail security system - powered by MessageLabs. http
[Flashcoders] Animating NativeWindows in AIR
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 NativeWindow be composed of multiple movieclips? - Is it possible to animate an NativeWindow (using third party classes like Tweener) What i would like to accomplish is this: The AIR app launches in a certain width and height but when i click a button, the app unfolds to a bigger version with the content, can i, at certain times set the size of my NativeWindow bigger? (The problem that i dont want is that when my app unfolds, my 'appllication canvas' is actuly bigger that what the user sees. When you dragg the app i want the draggeble area to be confined to the size of the current stat of my application) Help is appreciated :) Cheers, Sidney ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Windowing in AIR
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 NativeWindow be composed of multiple movieclips? - Can a NativeWindow be masked with another NativeWindow (to create a sliding panel below the other NW) - Is it possible to animate an NativeWindow (using third party classes like Tweener) What i would like to accomplish is this: The AIR app launches in a certain width and height but when i click a button, the app unfolds to a bigger version with the content, can i, at certain times set the size of my NativeWindow bigger? (The problem that i dont want is that when my app unfolds, my 'appllication canvas' is actuly bigger that what the user sees. When you dragg the app i want the draggeble area to be confined to the size of the current stat of my application) Help is appreciated :) Cheers, Sidney ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Windowing in AIR
Hi Matthew, Thanks for the answers; like i said: The problem that i dont want is that when my app unfolds, my 'appllication canvas' is actully bigger that what the user sees. When you dragg the app i want the draggeble area to be confined to the size of the current state of my application). When your current state is smaller than your canvas, you still see the border. For instance when you look at the EmployeeDirectory app, on http://labs.adobe.com/technologies/air/samples/ and when it folds open the 'canvas' is also stretched, and when you drag it, the borrder is only confined to the current state of the app. Can you tell me how this can be realized? Cheers, Sidney Matthew James Poole wrote: Hi Sid, 1. NativeWindow's have height and width properties, so you should be able just to set these directly 2. A NativeWindow is just that - an OS native windo - so at best you can have a MC in a NativeWindow 3. see 2 - a NativeWindow can have many MC's inside it... 4. Not really, though if it was the same size it would appear to be masked (assuming the top one was visible) 5. Yes just set the width and height, x and y properties onEnterFrame Cheers Matt -Original 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? 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 NativeWindow be composed of multiple movieclips? - Can a NativeWindow be masked with another NativeWindow (to create a sliding panel below the other NW) - Is it possible to animate an NativeWindow (using third party classes like Tweener) What i would like to accomplish is this: The AIR app launches in a certain width and height but when i click a button, the app unfolds to a bigger version with the content, can i, at certain times set the size of my NativeWindow bigger? (The problem that i dont want is that when my app unfolds, my 'appllication canvas' is actuly bigger that what the user sees. When you dragg the app i want the draggeble area to be confined to the size of the current stat of my application) Help is appreciated :) Cheers, Sidney ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders __ This e-mail has been scanned for viruses by the Virtual Universe e-mail security system - powered by MessageLabs. http://www.virtual-universe.net __ Virtual Universe Ltd, 28-39 The Quadrant, 135 Salusbury Road, London NW6 6RJ Tel: +44 (0) 870 788 6000 Fax: +44 (0) 870 788 6689 Web:www.virtual-universe.net - CONFIDENTIALITY NOTICE This e-mail may contain information which is confidential and privileged. If you are not the named addressee of this e-mail, you may not copy or use it, or forward or otherwise disclose it to anyone else. If you have received this e-mail in error, please e-mail the sender by replying to this message and then fully delete it from your system. Any views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of Amplefuture Group. Amplefuture Group reserves the right to monitor e-mail communications from both external and internal sources for the purposes of ensuring correct and appropriate use of our communication equipment. __ This e-mail has been scanned for viruses by the Virtual Universe e-mail security system - powered by MessageLabs. http://www.virtual-universe.net ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Windowing in AIR
Well, kindof, if you install that EmployeeDirectory app, you see that when you drag, the size of the window is only as big as the content, and then your operating system displays an border for how big the app is(only if you dragg it). when the app is folded out (when you press the little i button) and you start dragging you see that the border when you drag it, is again just as big as the app. What happends with my app is that that border always stays the same, the size of my canvas i specify in the Flash IDE, and cannot make it any smaller. The bounds of my app will never confine to my content but only to my canvas. I want my bounds to be smaller accourding to the state of my app. Does that make any sense to you? If not clear, i can make some screenshots and place on my website if that helps, Thanks, Sid Matthew James Poole wrote: ...Ok, I think I see what you mean. NativeWindows are always rectangular - The OS doesn't allow anything other than this. So the dimentions of the NativeWindow will always be bigger than the size of the content if it isnt rectangular in appearance. The work around for this is to not to set your drag on the containing NativeWindow, 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, Thanks for the answers; like i said: The problem that i dont want is that when my app unfolds, my 'appllication canvas' is actully bigger that what the user sees. When you dragg the app i want the draggeble area to be confined to the size of the current state of my application). When your current state is smaller than your canvas, you still see the border. For instance when you look at the EmployeeDirectory app, on http://labs.adobe.com/technologies/air/samples/ and when it folds open the 'canvas' is also stretched, and when you drag it, the borrder is only confined to the current state of the app. Can you tell me how this can be realized? Cheers, Sidney Matthew James Poole wrote: Hi Sid, 1. NativeWindow's have height and width properties, so you should be able just to set these directly 2. A NativeWindow is just that - an OS native windo - so at best you can have a MC in a NativeWindow 3. see 2 - a NativeWindow can have many MC's inside it... 4. Not really, though if it was the same size it would appear to be masked (assuming the top one was visible) 5. Yes just set the width and height, x and y properties onEnterFrame Cheers Matt -Original 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? 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 NativeWindow be composed of multiple movieclips? - Can a NativeWindow be masked with another NativeWindow (to create a sliding panel below the other NW) - Is it possible to animate an NativeWindow (using third party classes like Tweener) What i would like to accomplish is this: The AIR app launches in a certain width and height but when i click a button, the app unfolds to a bigger version with the content, can i, at certain times set the size of my NativeWindow bigger? (The problem that i dont want is that when my app unfolds, my 'appllication canvas' is actuly bigger that what the user sees. When you dragg the app i want the draggeble area to be confined to the size of the current stat of my application) Help is appreciated :) Cheers, Sidney ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders __ This e-mail has been scanned for viruses by the Virtual Universe e-mail security system - powered by MessageLabs. http://www.virtual-universe.net __ Virtual Universe Ltd, 28-39 The Quadrant, 135 Salusbury Road, London NW6 6RJ Tel: +44 (0) 870 788 6000 Fax: +44 (0) 870 788 6689 Web:www.virtual-universe.net -- --- CONFIDENTIALITY NOTICE This e-mail may contain information which is confidential and privileged. If you are not the named addressee of this e-mail, you may not copy or use it, or forward or otherwise disclose it to anyone else. If you have received this e-mail in error, please e-mail
Re: [Flashcoders] Windowing in AIR
Hi Matthew, I have placed the screenshots online at: http://www.funky-monkey.nl/flashcoders/ The border you see, is the border that appears when i drag the app. I have placed the EmployeeDirectory also in the screenshot so you can see the difference. Hope this makes it more clear, Cheers, 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 Sent: 17 January 2008 10:52 To: Flash Coders List Subject: Re: [Flashcoders] Windowing in AIR Well, kindof, if you install that EmployeeDirectory app, you see that when you drag, the size of the window is only as big as the content, and then your operating system displays an border for how big the app is(only if you dragg it). when the app is folded out (when you press the little i button) and you start dragging you see that the border when you drag it, is again just as big as the app. What happends with my app is that that border always stays the same, the size of my canvas i specify in the Flash IDE, and cannot make it any smaller. The bounds of my app will never confine to my content but only to my canvas. I want my bounds to be smaller accourding to the state of my app. Does that make any sense to you? If not clear, i can make some screenshots and place on my website if that helps, Thanks, Sid Matthew James Poole wrote: ...Ok, I think I see what you mean. NativeWindows are always rectangular - The OS doesn't allow anything other than this. So the dimentions of the NativeWindow will always be bigger than the size of the content if it isnt rectangular in appearance. The work around for this is to not to set your drag on the containing NativeWindow, 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, Thanks for the answers; like i said: The problem that i dont want is that when my app unfolds, my 'appllication canvas' is actully bigger that what the user sees. When you dragg the app i want the draggeble area to be confined to the size of the current state of my application). When your current state is smaller than your canvas, you still see the border. For instance when you look at the EmployeeDirectory app, on http://labs.adobe.com/technologies/air/samples/ and when it folds open the 'canvas' is also stretched, and when you drag it, the borrder is only confined to the current state of the app. Can you tell me how this can be realized? Cheers, Sidney Matthew James Poole wrote: Hi Sid, 1. NativeWindow's have height and width properties, so you should be able just to set these directly 2. A NativeWindow is just that - an OS native windo - so at best you can have a MC in a NativeWindow 3. see 2 - a NativeWindow can have many MC's inside it... 4. Not really, though if it was the same size it would appear to be masked (assuming the top one was visible) 5. Yes just set the width and height, x and y properties onEnterFrame Cheers Matt -Original 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? 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 NativeWindow be composed of multiple movieclips? - Can a NativeWindow be masked with another NativeWindow (to create a sliding panel below the other NW) - Is it possible to animate an NativeWindow (using third party classes like Tweener) What i would like to accomplish is this: The AIR app launches in a certain width and height but when i click a button, the app unfolds to a bigger version with the content, can i, at certain times set the size of my NativeWindow bigger? (The problem that i dont want is that when my app unfolds, my 'appllication canvas' is actuly bigger that what the user sees. When you dragg the app i want the draggeble area to be confined to the size of the current stat of my application) Help is appreciated :) Cheers, Sidney ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] SEO / accessibility demo site?
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 http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Windowing in AIR
I'm using XP, i have noticed that on Vista it doesn't do it, on mac it is also a bit weird. I think i have found something, namely NativeWindowBounds, i'll let you know about my findings Sid Matthew James Poole wrote: Ah I see. Oddly I don't actually get that border when dragging 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 January 2008 10:45 To: Flash Coders List Subject: Re: [Flashcoders] Windowing in AIR Hi Matthew, I have placed the screenshots online at: http://www.funky-monkey.nl/flashcoders/ The border you see, is the border that appears when i drag the app. I have placed the EmployeeDirectory also in the screenshot so you can see the difference. Hope this makes it more clear, Cheers, 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 Sent: 17 January 2008 10:52 To: Flash Coders List Subject: Re: [Flashcoders] Windowing in AIR Well, kindof, if you install that EmployeeDirectory app, you see that when you drag, the size of the window is only as big as the content, and then your operating system displays an border for how big the app is(only if you dragg it). when the app is folded out (when you press the little i button) and you start dragging you see that the border when you drag it, is again just as big as the app. What happends with my app is that that border always stays the same, the size of my canvas i specify in the Flash IDE, and cannot make it any smaller. The bounds of my app will never confine to my content but only to my canvas. I want my bounds to be smaller accourding to the state of my app. Does that make any sense to you? If not clear, i can make some screenshots and place on my website if that helps, Thanks, Sid Matthew James Poole wrote: ...Ok, I think I see what you mean. NativeWindows are always rectangular - The OS doesn't allow anything other than this. So the dimentions of the NativeWindow will always be bigger than the size of the content if it isnt rectangular in appearance. The work around for this is to not to set your drag on the containing NativeWindow, 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, Thanks for the answers; like i said: The problem that i dont want is that when my app unfolds, my 'appllication canvas' is actully bigger that what the user sees. When you dragg the app i want the draggeble area to be confined to the size of the current state of my application). When your current state is smaller than your canvas, you still see the border. For instance when you look at the EmployeeDirectory app, on http://labs.adobe.com/technologies/air/samples/ and when it folds open the 'canvas' is also stretched, and when you drag it, the borrder is only confined to the current state of the app. Can you tell me how this can be realized? Cheers, Sidney Matthew James Poole wrote: Hi Sid, 1. NativeWindow's have height and width properties, so you should be able just to set these directly 2. A NativeWindow is just that - an OS native windo - so at best you can have a MC in a NativeWindow 3. see 2 - a NativeWindow can have many MC's inside it... 4. Not really, though if it was the same size it would appear to be masked (assuming the top one was visible) 5. Yes just set the width and height, x and y properties onEnterFrame Cheers Matt -Original 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? 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 NativeWindow be composed of multiple movieclips? - Can a NativeWindow be masked with another NativeWindow (to create a sliding panel
[Flashcoders] AIR Sandbox while loading sounds
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 Violation *** SecurityDomain 'app:/soundRadio.swf' tried to access incompatible context 'http://adobe.com/apollo' However everytime i load a stream it throws me a security error. How do i get past this, and make it work in a good manner? And i have done all the usual stuff like, set up a crossdomain file, and i make use of the SoundLoaderContext. Help is advised! Cheers, Sid ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] AIR Sandbox while loading sounds
He Matt, Ofcourse they changed it :) Still does not work; this is inside my policy file: cross-domain-policy site-control permitted-cross-domain-policies=all/ /cross-domain-policy Cant find in the doc if i need to specify the port, since it is above 1024? And does '|to-ports' |work on normal connections aswell as only XML Socket connection? Been trying everything and notthing seems to work, is there anything specific to AIR and loading sounds? Cheers, Sid Matthew James Poole wrote: Hey sid, There are new security rules for build 115 (update 3) of FP9: http://www.adobe.com/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 To: Flash Coders List Subject: [Flashcoders] AIR Sandbox while loading sounds 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 Violation *** SecurityDomain 'app:/soundRadio.swf' tried to access incompatible context 'http://adobe.com/apollo' However everytime i load a stream it throws me a security error. How do i get past this, and make it work in a good manner? And i have done all the usual stuff like, set up a crossdomain file, and i make use of the SoundLoaderContext. Help is advised! Cheers, Sid ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders __ This e-mail has been scanned for viruses by the Virtual Universe e-mail security system - powered by MessageLabs. http://www.virtual-universe.net __ Virtual Universe Ltd, 28-39 The Quadrant, 135 Salusbury Road, London NW6 6RJ Tel: +44 (0) 870 788 6000 Fax: +44 (0) 870 788 6689 Web:www.virtual-universe.net - CONFIDENTIALITY NOTICE This e-mail may contain information which is confidential and privileged. If you are not the named addressee of this e-mail, you may not copy or use it, or forward or otherwise disclose it to anyone else. If you have received this e-mail in error, please e-mail the sender by replying to this message and then fully delete it from your system. Any views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of Amplefuture Group. Amplefuture Group reserves the right to monitor e-mail communications from both external and internal sources for the purposes of ensuring correct and appropriate use of our communication equipment. __ This e-mail has been scanned for viruses by the Virtual Universe e-mail security system - powered by MessageLabs. http://www.virtual-universe.net ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] AIR Sandbox while loading sounds
Download the CS3 Air extension :) Code is pasted below, this works in AS3, but not in AIR. The radio stream sits on port 8000 (shoutcast). But its not a socket connection im making just a http call. the stream i want to use is a different url than below, but that real domain does had a crossdomain.xml (with the new policies) I hope i have the syntax right for the new c.d file, if its wrong, please correct me: cross-domain-policy allow-access-from domain=* to-ports=8000/ /cross-domain-policy // Sandbox error in AIR, AS3 publish works fine, grmbl AIR! // http://livedocs.adobe.com/labs/flex3/html/Working_with_Sound_11.html var lounge = new URLRequest(http://207.200.96.226:8000;); var context:SoundLoaderContext = new SoundLoaderContext(100, true); var s:Sound = new Sound(); s = new Sound(lounge, context); trace(lounge.url); var sc:SoundChannel = s.play(); s.addEventListener(IOErrorEvent.IO_ERROR, errorHandler); stop_btn.addEventListener(MouseEvent.MOUSE_DOWN, stopStream); function errorHandler(errorEvent:IOErrorEvent):void {trace(The sound could not be loaded: + errorEvent.text);} function stopStream(evtObj:MouseEvent) { s.close(); } Cheers Sid Matthew James Poole wrote: I think what it was basically saying is that same domain socket servers need to have policy files now, where before they didn't. So really if you have a policy file you should be ok. With the port nunber, what it was saying is that if you have a policy file on a server that listens on ports above 1024 the policy file is only valid for connections coming in to ports above that 1024. So in this case connections made for that ports 1024 and below are no longer considered secure. So this shouldn't effect you so long as you have a policy file and you continue to make connections above port 1024 (I assume you are only connecting to port 8080) Regarding streaming audio, I'd have to have a test (which would be in flex) so Im not sure I can help you - remind me to down load the CS3 Air extention! Is that radio URL availble to everyone? i.e. could I test (though it would have 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, Ofcourse they changed it :) Still does not work; this is inside my policy file: cross-domain-policy site-control permitted-cross-domain-policies=all/ /cross-domain-policy Cant find in the doc if i need to specify the port, since it is above 1024? And does '|to-ports' |work on normal connections aswell as only XML Socket connection? Been trying everything and notthing seems to work, is there anything specific to AIR and loading sounds? Cheers, Sid Matthew James Poole wrote: Hey sid, There are new security rules for build 115 (update 3) of FP9: http://www.adobe.com/devnet/flashplayer/articles/fplayer9_security.ht.m l 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 To: Flash Coders List Subject: [Flashcoders] AIR Sandbox while loading sounds 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 Violation *** SecurityDomain 'app:/soundRadio.swf' tried to access incompatible context 'http://adobe.com/apollo' However everytime i load a stream it throws me a security error. How do i get past this, and make it work in a good manner? And i have done all the usual stuff like, set up a crossdomain file, and i make use of the SoundLoaderContext. Help is advised! Cheers, Sid ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders __ This e-mail has been scanned for viruses by the Virtual Universe e-mail security system - powered by MessageLabs. http://www.virtual-universe.net __ Virtual Universe Ltd, 28-39 The Quadrant, 135 Salusbury Road, London NW6 6RJ Tel: +44 (0) 870 788 6000 Fax: +44 (0) 870 788 6689 Web:www.virtual-universe.net -- --- CONFIDENTIALITY NOTICE This e-mail may contain information which is confidential and privileged. If you are not the named addressee of this e-mail, you may not copy or use it, or forward
Re: [Flashcoders] AIR Sandbox while loading sounds
No such files here, tried looking for it but no luck. Still cant find the bug i was looking for, maybee tomorrow. Any other sugestions i can try? cheers, Sid Matthew James Poole wrote: Your policy file looks good, heres something you could try to see if there is a problem with the policy file: Find this file 'mm.cfg' here : C:\Documents and Settings\{username} And add to it these lines: PolicyFileLog=1 # Enables policy file logging PolicyFileLogAppend=1 # Optional; do not clear log at startup Then when you test a swf have a look here: C:\Documents and Settings\{username}\Application Data\Macromedia\Flash Player\Logs For a file called 'policyfiles.txt'. It logs info about policy files that have been loaded, so that will confirm whether or not your file is ok. Cheers Matt -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sidney de Koning Sent: 24 January 2008 12:42 To: Flash Coders List Subject: Re: [Flashcoders] AIR Sandbox while loading sounds Download the CS3 Air extension :) Code is pasted below, this works in AS3, but not in AIR. The radio stream sits on port 8000 (shoutcast). But its not a socket connection im making just a http call. the stream i want to use is a different url than below, but that real domain does had a crossdomain.xml (with the new policies) I hope i have the syntax right for the new c.d file, if its wrong, please correct me: cross-domain-policy allow-access-from domain=* to-ports=8000/ /cross-domain-policy // Sandbox error in AIR, AS3 publish works fine, grmbl AIR! // http://livedocs.adobe.com/labs/flex3/html/Working_with_Sound_11.html var lounge = new URLRequest(http://207.200.96.226:8000;); var context:SoundLoaderContext = new SoundLoaderContext(100, true); var s:Sound = new Sound(); s = new Sound(lounge, context); trace(lounge.url); var sc:SoundChannel = s.play(); s.addEventListener(IOErrorEvent.IO_ERROR, errorHandler); stop_btn.addEventListener(MouseEvent.MOUSE_DOWN, stopStream); function errorHandler(errorEvent:IOErrorEvent):void {trace(The sound could not be loaded: + errorEvent.text);} function stopStream(evtObj:MouseEvent) { s.close(); } Cheers Sid Matthew James Poole wrote: I think what it was basically saying is that same domain socket servers need to have policy files now, where before they didn't. So really if you have a policy file you should be ok. With the port nunber, what it was saying is that if you have a policy file on a server that listens on ports above 1024 the policy file is only valid for connections coming in to ports above that 1024. So in this case connections made for that ports 1024 and below are no longer considered secure. So this shouldn't effect you so long as you have a policy file and you continue to make connections above port 1024 (I assume you are only connecting to port 8080) Regarding streaming audio, I'd have to have a test (which would be in flex) so Im not sure I can help you - remind me to down load the CS3 Air extention! Is that radio URL availble to everyone? i.e. could I test (though it would have 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, Ofcourse they changed it :) Still does not work; this is inside my policy file: cross-domain-policy site-control permitted-cross-domain-policies=all/ /cross-domain-policy Cant find in the doc if i need to specify the port, since it is above 1024? And does '|to-ports' |work on normal connections aswell as only XML Socket connection? Been trying everything and notthing seems to work, is there anything specific to AIR and loading sounds? Cheers, Sid Matthew James Poole wrote: Hey sid, There are new security rules for build 115 (update 3) of FP9: http://www.adobe.com/devnet/flashplayer/articles/fplayer9_security.ht. m l 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 To: Flash Coders List Subject: [Flashcoders] AIR Sandbox while loading sounds 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 Violation *** SecurityDomain 'app:/soundRadio.swf' tried to access incompatible context 'http://adobe.com/apollo' However everytime i load a stream it throws me a security error. How do i get past this, and make it work in a good
Re: [Flashcoders] ADA compliance Flash
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 there are any good solid resources / approaches for staying ADA compliant when creating a project in Flash. I'm not entirely sure of the approach people take on the subject, so I'm scoping it out before said project starts. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Insert new symbol
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): var containerClip:MovieClip = this.attachMovieClip(emptyClipFromLib, emptyClipFromLib this.getNextHighestDepth()); var mclListener:Object = new Object(); var imageMcl:MovieClipLoader = new MovieClipLoader(); imageMcl.addListener(mclListener); imageMcl.loadClip(images/image1.jpg, containerClip); trace(the clip width: + containerClip._width); mclListener.onLoadInit = function(targetClip:MovieClip) { trace(the clip width: + targetClip._width); }; Hope this helps, Sid [p e r c e p t i c o n] wrote: because i load an image into it and animate from the middle of the image...so if i can't control the registration point it animates from top left... On Feb 4, 2008 9:12 AM, Kenneth Kawamoto [EMAIL PROTECTED] wrote: Do you mean an empty MovieClip? It's empty - why do you need to worry about the registration point? Kenneth Kawamoto http://www.materiaprima.co.uk/ [p e r c e p t i c o n] wrote: Hi all, Can anyone explain why when you insert a new movieclip symbol using the insertnew symbol from the menu can't choose a registration point? very annoying... that's my rant for the day... happy monday p ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] AS3 Function question
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 argument with the arguments array like in AS2? Help would be advised, Thanks, Sidney ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Anyone know of good mac app that will trace outside of Flash
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 (http://mabblog.com/xtrace.html) and it is a great application as it allows me to view my trace messages with different colours outside of the Flash IDE. My problem is that after a short while the window disappears so I can't reference my trace messages while I edit my code in Textmate. Does anyone know of another tracing app that would float above all apps as XTrace does and woul allow me to look over trace messages in this way? Cheers! Ali ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] AS3 Function question
this works for me, since i only need either 1 or 2 arguments, never more. Thanks for all the examples guys, Sid Matthew James Poole wrote: True, but with the rest argument you can have as many args as you want... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jim Hayes Sent: 07 February 2008 12:11 To: Flash Coders List Subject: RE: [Flashcoders] AS3 Function question I normally just set a default value for the second argument : function someFunction(arg1:int,arg2:String=null):void { if(arg2==null) { //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 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 argument with the arguments array like in AS2? Help would be advised, Thanks, Sidney ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders __ This communication is from Primal Pictures Ltd., a company registered in England and Wales with registration No. 02622298 and registered office: 4th Floor, Tennyson House, 159-165 Great Portland Street, London, W1W 5PA, UK. VAT registration No. 648874577. This e-mail is confidential and may be privileged. It may be read, copied and used only by the intended recipient. If you have received it in error, please contact the sender immediately by return e-mail or by telephoning +44(0)20 7637 1010. Please then delete the e-mail and do not disclose its contents to any person. This email has been scanned for Primal Pictures by the MessageLabs Email Security System. __ ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders __ This e-mail has been scanned for viruses by the Virtual Universe e-mail security system - powered by MessageLabs. http://www.virtual-universe.net __ The contents of this email are confidential and may be subject to legal privilege and protected by copyright. If you are not the intended recipient any use, copying or disclosure of this e-mail to any third party is strictly forbidden by the sender and we reserve all rights and remedies against any person or entity making any such unauthorised use. If you have received this email in error, please contact the sender immediately by telephone or return the email to the sender and then delete this email and any copies of it on your system. Virtual Universe Limited may monitor the contents of emails sent and received via its network for viruses and to ensure the lawful and authorised use of its systems. Virtual Universe Limited will not be held responsible for any damage caused by viruses which may be transmitted upon receipt of this email or the opening of any attachment thereto. Any views or opinions presented in this email are solely those of the author and do not necessarily ! represent those of Virtual Universe Limited. Virtual Universe Limited is a company established under the laws of England and Wales with registered number 03064568 and has its registered office at 1 Regent Street, London, SW1Y 4NW and principal place of business at 28-39 The Quadrant, 135 Salusbury Road, London NW6 6RJ, United Kingdom. It is registered for VAT in the United Kingdom with number GB877113217. __ This e-mail has been scanned for viruses by the Virtual Universe e-mail security system - powered by MessageLabs. http://www.virtual-universe.net ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] AS3 Api writing
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 Hitchhikers guide to writing flash api's? Any help would be highly appreciated1 Sid ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] AS3 Api writing
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) A useful API is a well documented one. If you haven't already looked into it, ASDoc is a code documentation tool that will generate your documentation based on how you apply the ASDoc syntax in your code. Glen Pike wrote: Hi, Have not written anything myself, but have played with quite a few AS2 ones. The SWXFormat project has quite a few API's for some of the services you mentioned, but they are still working on porting SWX to AS3. I guess one thing to suggest would be to get involved with the project and help them write the API's for these things. Yahoo is pretty up on Flash and has just released a few 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 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 Hitchhikers guide to writing flash api's? Any help would be highly appreciated1 Sid ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Notice of confidentiality: The information contained in this e-mail is intended only for the use of the individual or entity named above and may be confidential. Should the reader of this message not be the intended recipient, you are hereby notified that any unauthorized dissemination, distribution or reproduction of this message is strictly prohibited. If you have received this message in error, please advise the sender immediately and destroy the e-mail. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] AS3 Api writing
I'm planning on opensourcing it (is that a word?) I get my data from an external source, in json or xml. I can write normal code to process that, but an API is somthing else, there is alot more involved. And that is what i'd like to learn. For instance when you look at the AS3 API for the nabaztag rabbit (http://www.iotashan.com/nabaztagexplorer/docs/) or the API's Christian Cantrell wrote (http://code.google.com/u/christian.cantrell/) you see that everything is organised in a specific manner, loads of custom events its a tad different that 'normal' code, if you know what i mean. I'd like to learn to write AS3 API's, but i hav eno idea where to start, so links, books, lists everything is welcome Cheers, Sid Cédric Tabin wrote: Hi Sidney, What's the goal of your API ? It is only for your private use or you plan to make it OpenSource ? You may have different constraints 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 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) A useful API is a well documented one. If you haven't already looked into it, ASDoc is a code documentation tool that will generate your documentation based on how you apply the ASDoc syntax in your code. Glen Pike wrote: Hi, Have not written anything myself, but have played with quite a few AS2 ones. The SWXFormat project has quite a few API's for some of the services you mentioned, but they are still working on porting SWX to AS3. I guess one thing to suggest would be to get involved with the project and help them write the API's for these things. Yahoo is pretty up on Flash and has just released a few 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 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 Hitchhikers guide to writing flash api's? Any help would be highly appreciated1 Sid ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Notice of confidentiality: The information contained in this e-mail is intended only for the use of the individual or entity named above and may be confidential. Should the reader of this message not be the intended recipient, you are hereby notified that any unauthorized dissemination, distribution or reproduction of this message is strictly prohibited. If you have received this message in error, please advise the sender immediately and destroy the e-mail. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] AS3 Api writing
He Glen, Thanks for your post; What i want to do is this; take data from an external source (an API for some service) and write a wrapper for flash (i found the right termonoligy :) ) But there is not that much documentation on writing this. Any good resources will help. Thanks, Sidney Glen Pike wrote: Hi, Do you mean you want to write Web Services or the AS3 code to use these? For the former, you would probably want to look on other lists as this will be server side code - for PHP, the only thing I can recommend is to look at Pear's libraries for common web services and see if you can extend the base classes to roll your own. There are also lots of other libraries out there - CakePHP had some if I remember rightly. Programmable Web http://www.programmableweb.com/ has a good list of API's available and may also mention some stuff that has been done in Flash already. For AS3, I would look at the documentation provided by the web-service providers and think about duplicating these functions on the client side... Have a look at the structure of some of the things I have mentioned - take them apart. You will probably see common functionality: A set of functions duplicating the server side functions you can call, some error handling and some response handling. If you are making a solid class, you will probably have to deal with asynchronicity - you can't block your client code waiting for something to happen on the server side as this is unreliable, instead, you will need to think about the EventListener model, etc. I remembered a good tutorial on the Devnet site which is really useful for thinking about any application that talks to servers somewhere: http://www.adobe.com/devnet/flex/articles/blueprint.html The article provides source code to download, but the main point is that it separates the services from the rest of the application really nicely - what you want to do. Have a look at Flashr too - this was a nice example of something that provided a really nice interface 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) A useful API is a well documented one. If you haven't already looked into it, ASDoc is a code documentation tool that will generate your documentation based on how you apply the ASDoc syntax in your code. Glen Pike wrote: Hi, Have not written anything myself, but have played with quite a few AS2 ones. The SWXFormat project has quite a few API's for some of the services you mentioned, but they are still working on porting SWX to AS3. I guess one thing to suggest would be to get involved with the project and help them write the API's for these things. Yahoo is pretty up on Flash and has just released a few 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 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 Hitchhikers guide to writing flash api's? Any help would be highly appreciated1 Sid ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Notice of confidentiality: The information contained in this e-mail is intended only for the use of the individual or entity named above and may be confidential. Should the reader of this message not be the intended recipient, you are hereby notified that any unauthorized dissemination, distribution or reproduction of this message is strictly prohibited. If you have received this message in error, please advise the sender immediately and destroy the e-mail. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] AS3 Api writing
Hi Mark, Thanks for all the extensive information, think i got all the theory coverd, now it up to uml'ling and then coding. Thanks! Sid Mark Lapasa wrote: I honestly think from what you've said so far, you're already on track. You've got quite a bit to get started. My only recommendation would be if you can have your client objects either interacting with an Interface class or a Facade instead of accessing directly the concrete class/implementation of your services. By introducing an abstraction layer, you can 1) change the underlying implementation such that it adheres to a public declared interface. Connected client objects will not be too adversely affected by change since it is loosely coupled to the core implementation details of your api. 2) you can implement stub/dummy/hard code so that when client objects hit your API, they get the expected results in which case they don't know if they are getting the real deal or not. Once you have this in place, it's a matter of getting your internals of the api to actually deliver what the stub/dummy/hard code is responding back to client objects. I think to a certain degree, you need to wear at least two hats. One is how is your API going to work internally. The other is how easy will it be to access the services your API will provide. I think librarification of code is well worth the trouble if it's going to be reused in more than one project. Also the other bit of advice that I think people would 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 (an API for some service) and write a wrapper for flash (i found the right termonoligy :) ) But there is not that much documentation on writing this. Any good resources will help. Thanks, Sidney Glen Pike wrote: Hi, Do you mean you want to write Web Services or the AS3 code to use these? For the former, you would probably want to look on other lists as this will be server side code - for PHP, the only thing I can recommend is to look at Pear's libraries for common web services and see if you can extend the base classes to roll your own. There are also lots of other libraries out there - CakePHP had some if I remember rightly. Programmable Web http://www.programmableweb.com/ has a good list of API's available and may also mention some stuff that has been done in Flash already. For AS3, I would look at the documentation provided by the web-service providers and think about duplicating these functions on the client side... Have a look at the structure of some of the things I have mentioned - take them apart. You will probably see common functionality: A set of functions duplicating the server side functions you can call, some error handling and some response handling. If you are making a solid class, you will probably have to deal with asynchronicity - you can't block your client code waiting for something to happen on the server side as this is unreliable, instead, you will need to think about the EventListener model, etc. I remembered a good tutorial on the Devnet site which is really useful for thinking about any application that talks to servers somewhere: http://www.adobe.com/devnet/flex/articles/blueprint.html The article provides source code to download, but the main point is that it separates the services from the rest of the application really nicely - what you want to do. Have a look at Flashr too - this was a nice example of something that provided a really nice interface 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) A useful API is a well documented one. If you haven't already looked into it, ASDoc is a code documentation tool that will generate your documentation based on how you apply the ASDoc syntax in your code. Glen Pike wrote: Hi, Have not written anything myself, but have played with quite a few AS2 ones. The SWXFormat project has quite a few API's for some of the services you mentioned, but they are still working on porting SWX to AS3. I guess one thing to suggest would be to get involved with the project and help them write the API's for these things. Yahoo is pretty up on Flash and has just released a few 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
[Flashcoders] Placing variables in XML
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? for instance i want the first attribute to be a variable called firstName in the name node? when i compile i get errors: 1086: Syntax error: expecting semicolon before xmltagstartend. Please advice/help, Sidney ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Placing variables in XML
already found that, thanks for the comment. Sid Paul Andrews wrote: BTW your xmlString is badly formed. Maybe it should be: var xmlString:XML =employees employee ssn=789-789-7890 name first=Mary last=Roe/ address street99 Broad St./street cityNewton/city stateMA/state zip01234/zip /address /employee /employees; Paul - Original Message - From: Kenneth Kawamoto [EMAIL PROTECTED] To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Tuesday, February 19, 2008 2:20 PM Subject: Re: [Flashcoders] Placing variables in XML 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 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? for instance i want the first attribute to be a variable called firstName in the name node? when i compile i get errors: 1086: Syntax error: expecting semicolon before xmltagstartend. Please advice/help, Sidney ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Placing variables in XML
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 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? for instance i want the first attribute to be a variable called firstName in the name node? when i compile i get errors: 1086: Syntax error: expecting semicolon before xmltagstartend. Please advice/help, Sidney ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] AIR - NativeWindow Resizing
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 hacking at this all day from 100 different ways. sigh* that worked perfect. to bad the help docs suck so bad I'd never found that! On Feb 19, 2008 5:34 PM, Kenneth Kawamoto [EMAIL PROTECTED] wrote: You may want to try something like: stage.nativeWindow.width Kenneth Kawamoto http://www.materiaprima.co.uk/ Corban Baxter wrote: Hey guys I am trying to get my AIR app's window to resize to the dimensions of the FLV that is being displayed. I am not finding what properties i need to use to make this happen. Can some one point me in the right direction? I have been staring at this: http://livedocs.adobe.com/labs/flex3/langref/flash/display/NativeWindowResize.html trying to make sense of it. But not having much luck. Thanks in advance! var meta:Object = new Object(); meta.onMetaData = function(meta:Object) { video.width = meta.width; video.height = meta.height; NativeWindow.width = meta.width; NativeWindow.height = meta.height; } ns.client = meta; ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Graphic design universities
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 recommend it, and its well regarded. Good luck picking a school, Sidney Hi list. I have two years to choose in which univerity i'll go when my school studies finish. I am looking for some graphical design universitys in which i can apply my knowledge offlash, animation, video and audio modeling. So, mostly about graphics and motion. I've been googling the web, but i found so many results that my head went bad,and they mostly all of them had some other studies that i don't like such as ecomony, telecommunication between others. So, can someone recommend me some universites you think are good? Thanks Pedro D.K. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.516 / Virus Database: 269.20.8/1287 - Release Date: 19-2-2008 10:55 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.516 / Virus Database: 269.20.8/1287 - Release Date: 19-2-2008 10:55 No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.516 / Virus Database: 269.20.8/1287 - Release Date: 19-2-2008 10:55 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Error #1009
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 RisingCroix extends Sprite { private var croix:Croix; private var croix2L:Croix2; private var croix2R:Croix2; private var sun:Sun; private var mountain:Mountain; private var vy:Number=5; private var glowFilter:GlowFilter; private var glowSun:GlowFilter; private var blurFilter:BlurFilter; private var blurFilter2:BlurFilter; public function RisingCroix() { init(); } private function init():void { sun = new Sun(); addChild(sun); sun.x = stage.stageWidth / 2; sun.y=stage.stageHeight; croix=new Croix(); addChild(croix); croix.x=stage.stageWidth / 2; croix.y=stage.stageHeight; croix2L = new Croix2(); addChild(croix2L); croix2L.x=stage.stageWidth /4; croix2L.y = stage.stageHeight; croix2R = new Croix2(); addChild(croix2R); croix2R.x = stage.stageWidth /4 *3; croix2R.y = stage.stageHeight; mountain= new Mountain(); addChild(mountain); mountain.x = stage.stageWidth/2; mountain.y = stage.stageHeight/2; glowFilter = new GlowFilter(0xCC, 0.6, 30, 30, 3, 1); blurFilter = new BlurFilter(3,3,1); blurFilter2 = new BlurFilter(13,13,3); glowSun = new GlowFilter(0xFF6600, 1, 50, 50, 2, 1, true); croix.filters = [blurFilter, glowFilter]; croix2R.filters = croix2L.filters =[blurFilter2]; sun.filters = [glowSun, blurFilter2]; addEventListener(Event.ENTER_FRAME, onEnterFrame); } public function onEnterFrame(event:Event):void { //... } } } } Mountain class final: package { import flash.display.Sprite; public class Mountain extends Sprite { private var x0:Number =0; private var y0:Number =stage.stageHeight -150; private var x1:Number=stage.stageWidth/2; private var y1:Number=100; private var x2:Number =stage.stageWidth; private var y2:Number =stage.stageHeight -150; public function Mountain() { init(); } public function init():void { graphics.beginFill(0x256251); graphics.moveTo(x0,y0); graphics.curveTo(x1,y1,x2,y2); graphics.lineTo(x2, stage.stageHeight); graphics.lineTo(0, stage.stageHeight); graphics.endFill(); } } } On Mon, Mar 17, 2008 at 3:58 PM, jonathan howe [EMAIL PROTECTED] wrote: Missing () after Mountain instantiation, first of all... var mountain:Mountain = new Mountain(); On Mon, Mar 17, 2008 at 3:36 PM, Pedro Kostelec [EMAIL PROTECTED] wrote: Hi (posted in flashnewbies but the list is not very active and i need to solve this problemas soon as possible) i have a problem while creating a as3 short animation: When i test the movie(all done with as3) i get this: TypeError: Error #1009: Cannot access a property or method of a null object reference. at Mountain/init2() at Mountain$iinit() at RisingCroix/::init() at RisingCroix$iinit() my code: package { import flash.display.Sprite; import flash.events.Event; import flash.filters.*; public class RisingCroix extends Sprite { private var croix:Croix; private var croix2L:Croix2; private var croix2R:Croix2; private var vy:Number=5; private var glowFilter:GlowFilter; private var blurFilter:BlurFilter; private var blurFilter2:BlurFilter; public function RisingCroix() { init(); } private function init():void { croix=new Croix; addChild(croix);
Re: [Flashcoders] Error #1009
Just rewrite this: package { import flash.display.Sprite; import flash.events.Event; import flash.filters.*; public class RisingCroix extends Sprite { private var croix:Croix; to this: package { import flash.display.Sprite; import flash.events.Event; import flash.filters.*; import classpath.to.mountain.class.Mountain; public class RisingCroix extends Sprite { private var croix:Croix; Then the datatype Mountain exists and your class will be available in this class. Hope that works for you, let me know. Cheers, Sid PS. Just a tip, its good practice to rename your private member variables (class variables: private var nameOfVar) with an underscore, like so: private var _nameOfVar so you can easily distinguish between class variables and local variables in functions or parameters. On Mar 17, 2008, 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, 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 RisingCroix extends Sprite { private var croix:Croix; private var croix2L:Croix2; private var croix2R:Croix2; private var sun:Sun; private var mountain:Mountain; private var vy:Number=5; private var glowFilter:GlowFilter; private var glowSun:GlowFilter; private var blurFilter:BlurFilter; private var blurFilter2:BlurFilter; public function RisingCroix() { init(); } private function init():void { sun = new Sun(); addChild(sun); sun.x = stage.stageWidth / 2; sun.y=stage.stageHeight; croix=new Croix(); addChild(croix); croix.x=stage.stageWidth / 2; croix.y=stage.stageHeight; croix2L = new Croix2(); addChild(croix2L); croix2L.x=stage.stageWidth /4; croix2L.y = stage.stageHeight; croix2R = new Croix2(); addChild(croix2R); croix2R.x = stage.stageWidth /4 *3; croix2R.y = stage.stageHeight; mountain= new Mountain(); addChild(mountain); mountain.x = stage.stageWidth/2; mountain.y = stage.stageHeight/2; glowFilter = new GlowFilter(0xCC, 0.6, 30, 30, 3, 1); blurFilter = new BlurFilter(3,3,1); blurFilter2 = new BlurFilter(13,13,3); glowSun = new GlowFilter(0xFF6600, 1, 50, 50, 2, 1, true); croix.filters = [blurFilter, glowFilter]; croix2R.filters = croix2L.filters =[blurFilter2]; sun.filters = [glowSun, blurFilter2]; addEventListener(Event.ENTER_FRAME, onEnterFrame); } public function onEnterFrame(event:Event):void { //... } } } } Mountain class final: package { import flash.display.Sprite; public class Mountain extends Sprite { private var x0:Number =0; private var y0:Number =stage.stageHeight -150; private var x1:Number=stage.stageWidth/2; private var y1:Number=100; private var x2:Number =stage.stageWidth; private var y2:Number =stage.stageHeight -150; public function Mountain() { init(); } public function init():void { graphics.beginFill(0x256251); graphics.moveTo(x0,y0); graphics.curveTo(x1,y1,x2,y2); graphics.lineTo(x2, stage.stageHeight); graphics.lineTo(0, stage.stageHeight); graphics.endFill(); } } } On Mon, Mar 17, 2008 at 3:58 PM, jonathan howe [EMAIL PROTECTED] wrote: Missing () after Mountain instantiation, first of all... var mountain:Mountain = new Mountain(); On Mon, Mar 17, 2008 at 3:36 PM, Pedro Kostelec [EMAIL PROTECTED] wrote: Hi (posted in flashnewbies but the list is not very active and i need to solve this problemas soon as possible) i have a problem while creating a as3 short animation: When i test the movie(all done with as3) i get this: TypeError: Error
Re: [Flashcoders] Error #1009
I think that in AS3, there is only one file that can exsist in the 'root' of the package, the only entry point you have for a application. The rest has to live in packages. Most of the time you call this class 'Main'. And use it as your document class or instanciate it on the timeline, then you place all your other files in packages and reference them i Main where you have to. so like this (read this like a directory structure) root folder: Main (- class files) package: com.something.Mountain (- class files) package: com.something.RisingCroix (- class files) etc. And in Main you reference your imports like import com.something.ClassName. I hope it is clear for you. Do you understand? Cheers, Sid On Mar 17, 2008, at 5:46 PM, Pedro Kostelec wrote: I tried import Mountain; and import com.Mountain but it hasn't worked. Always get the same error I supose 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 { private var croix:Croix; to this: package { import flash.display.Sprite; import flash.events.Event; import flash.filters.*; import classpath.to.mountain.class.Mountain; public class RisingCroix extends Sprite { private var croix:Croix; Then the datatype Mountain exists and your class will be available in this class. Hope that works for you, let me know. Cheers, Sid PS. Just a tip, its good practice to rename your private member variables (class variables: private var nameOfVar) with an underscore, like so: private var _nameOfVar so you can easily distinguish between class variables and local variables in functions or parameters. On Mar 17, 2008, 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, 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 RisingCroix extends Sprite { private var croix:Croix; private var croix2L:Croix2; private var croix2R:Croix2; private var sun:Sun; private var mountain:Mountain; private var vy:Number=5; private var glowFilter:GlowFilter; private var glowSun:GlowFilter; private var blurFilter:BlurFilter; private var blurFilter2:BlurFilter; public function RisingCroix() { init(); } private function init():void { sun = new Sun(); addChild(sun); sun.x = stage.stageWidth / 2; sun.y=stage.stageHeight; croix=new Croix(); addChild(croix); croix.x=stage.stageWidth / 2; croix.y=stage.stageHeight; croix2L = new Croix2(); addChild(croix2L); croix2L.x=stage.stageWidth /4; croix2L.y = stage.stageHeight; croix2R = new Croix2(); addChild(croix2R); croix2R.x = stage.stageWidth /4 *3; croix2R.y = stage.stageHeight; mountain= new Mountain(); addChild(mountain); mountain.x = stage.stageWidth/2; mountain.y = stage.stageHeight/2; glowFilter = new GlowFilter(0xCC, 0.6, 30, 30, 3, 1); blurFilter = new BlurFilter(3,3,1); blurFilter2 = new BlurFilter(13,13,3); glowSun = new GlowFilter(0xFF6600, 1, 50, 50, 2, 1, true); croix.filters = [blurFilter, glowFilter]; croix2R.filters = croix2L.filters =[blurFilter2]; sun.filters = [glowSun, blurFilter2]; addEventListener(Event.ENTER_FRAME, onEnterFrame); } public function onEnterFrame(event:Event):void { //... } } } } Mountain class final: package { import flash.display.Sprite; public class Mountain extends Sprite { private var x0:Number =0; private var y0:Number =stage.stageHeight -150; private var x1:Number=stage.stageWidth/2; private var y1:Number=100; private var x2:Number =stage.stageWidth; private var y2:Number =stage.stageHeight -150
Re: [Flashcoders] Error #1009
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 Kostelec wrote: Joson, i tried yours too. I had to add var x0:Number and so on... (The var was missing) But it hasn't worked neither. Well i get no more error but the sprite isn't drawn On Mon, Mar 17, 2008 at 5:14 PM, Jason Van Cleave [EMAIL PROTECTED] wrote: you can't reference the stage in the Mountain class until it is added to the Display List. try this package { import flash.display.Sprite; import flash.events.Event; public class Mountain extends Sprite { private var x0:Number; private var y0:Number; private var x1:Number; private var y1:Number; private var x2:Number; private var y2:Number; public function Mountain() { this.addEventListener(Event.ADDED_TO_STAGE, onStageAdded); } public function init():void { graphics.beginFill(0x256251); graphics.moveTo(x0,y0); graphics.curveTo(x1,y1,x2,y2); graphics.lineTo(x2, stage.stageHeight); graphics.lineTo(0, stage.stageHeight); graphics.endFill(); } public function onStageAdded(e:Event):void { x0:Number =0; y0 =stage.stageHeight -150; x1=stage.stageWidth/2; y1:Number=100; x2 =stage.stageWidth; y2:Number =stage.stageHeight -150; init(); } } On Mon, Mar 17, 2008 at 11:28 AM, Pedro Kostelec [EMAIL PROTECTED] 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 RisingCroix extends Sprite { private var croix:Croix; private var croix2L:Croix2; private var croix2R:Croix2; private var sun:Sun; private var mountain:Mountain; private var vy:Number=5; private var glowFilter:GlowFilter; private var glowSun:GlowFilter; private var blurFilter:BlurFilter; private var blurFilter2:BlurFilter; public function RisingCroix() { init(); } private function init():void { sun = new Sun(); addChild(sun); sun.x = stage.stageWidth / 2; sun.y=stage.stageHeight; croix=new Croix(); addChild(croix); croix.x=stage.stageWidth / 2; croix.y=stage.stageHeight; croix2L = new Croix2(); addChild(croix2L); croix2L.x=stage.stageWidth /4; croix2L.y = stage.stageHeight; croix2R = new Croix2(); addChild(croix2R); croix2R.x = stage.stageWidth /4 *3; croix2R.y = stage.stageHeight; mountain= new Mountain(); addChild(mountain); mountain.x = stage.stageWidth/2; mountain.y = stage.stageHeight/2; glowFilter = new GlowFilter(0xCC, 0.6, 30, 30, 3, 1); blurFilter = new BlurFilter(3,3,1); blurFilter2 = new BlurFilter(13,13,3); glowSun = new GlowFilter(0xFF6600, 1, 50, 50, 2, 1, true); croix.filters = [blurFilter, glowFilter]; croix2R.filters = croix2L.filters =[blurFilter2]; sun.filters = [glowSun, blurFilter2]; addEventListener(Event.ENTER_FRAME, onEnterFrame); } public function onEnterFrame(event:Event):void { //... } } } } Mountain class final: package { import flash.display.Sprite; public class Mountain extends Sprite { private var x0:Number =0; private var y0:Number =stage.stageHeight -150; private var x1:Number=stage.stageWidth/2; private var y1:Number=100; private var x2:Number =stage.stageWidth; private var y2:Number =stage.stageHeight -150; public function Mountain() { init(); } public function init():void {
Re: [Flashcoders] Color to black white
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, 0,0,1,0,0, 0,0,0,1,0 ]; And if you like here is a matrix for sepia, because i know this stuff is hard to find: var sepiaColors:Array = [ 0.393, 0.769, 0.189,0,0, 0.349, 0.686, 0.168,0,0, 0.272, 0.534, 0.131,0,0, 0,0,0,1,0 ]; Have fun playing around, Sid On Mar 18, 2008, at 3:40 AM, laurent wrote: Hi, What would you suggest to make an image go from color to black and white ? thanks. Laurent ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Color to black white
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, 0.3086,0.6094,0.082,0,0, 0,0,0,1,0 ]; var greyscale:ColorMatrixFilter; greyscale = new ColorMatrixFilter(greys); var tmp:MovieClip; tmp = someClip_mc; tmp.filters = [greyscale]; setGreyScaleColor(tmp, greyscale, greyscale); function setGreyScaleColor(theClip:MovieClip, theColor, filterType:String) { theClip.filters = [theColor]; this.filterType = filterType; } So there you have it :) Sid On Mar 18, 2008, at 3:40 AM, laurent wrote: Hi, What would you suggest to make an image go from color to black and white ? thanks. Laurent ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Custom method calls from loaded SWFs
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 20 of them but one (and only one) needs to interact with the application. I tried to put a simple function call callToParent() but of course it gives me errors at compile time. whining that the method doesnt exists. Any suggestions? I know the long way to go around to this is to create a custom class that will load the content in to that class and then make the calls frorm there but I was wondering if there was an easier way around it. TIA ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Custom method calls from loaded SWFs
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] wrote: 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 20 of them but one (and only one) needs to interact with the application. I tried to put a simple function call callToParent() but of course it gives me errors at compile time. whining that the method doesnt exists. Any suggestions? I know the long way to go around to this is to create a custom class that will load the content in to that class and then make the calls frorm there but I was wondering if there was an easier way around it. TIA ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- ...helmut ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Writing Custom MovieClip Classes
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 Here is what I wrote. * public* *class* A_window *extends* MovieClip{ *public* static *const* CLOSE:String = *close*; *public* *function* A_window() { initListeners(); } *private* *function* initListeners():*void* { *this*.addEventListener(MouseEvent.CLICK, handleListener); } *private* *function* handleListener(e:MouseEvent):*void* { dispatchEvent(A_window.CLOSE); *trace*(*Dispatched*); } } } in The FLA * public* *class* Amlak *extends* Sprite { *public* *function* Amlak() { *trace*(*Application Started*); Init(); } *public* *function* Init():*void* { *for*(*var* i:int; i6; i++) { *var* MyWindow:A_window = *new* A_window(); MyWindow.x = Math.random()*500; MyWindow.y = Math.random()*500;* * MyWindow.addEventListener(MyWindow.CLOSE, onClose);* * addChild(MyWindow); } } *public* *function* onClose(e:Event):*void* { trace(It Works!); } } The error is 1119: Access of possibly undefined property CLOSE through a reference with static type A_window. It does not work. On Thu, Mar 20, 2008 at 4:53 PM, Merrill, Jason [EMAIL PROTECTED] wrote: nope this is not working.. Ambiguous posts like that always make me laugh. You told me my car needs a new radiator - so I replaced it, but my car still does not work. Do see any kind of problem with that? :) Explain what you did in order for us to determine why it's not working - what I described should work, so the only thing I can tell you is you must have done something differently. Jason Merrill Bank of America GTO and Risk LLD Solutions Design Development eTools Multimedia Bank of America Flash Platform Developer Community Are you a Bank of America associate interested in innovative learning ideas and technologies? Check out our internal GTO Innovative Learning Blog subscribe. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- Omar M. Fouad - Digital Emotions http://www.omarfouad.net This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] AS2: Tweening a very large vector file causes shaking
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 PM, Matt S. wrote: Hi, so this is a very odd problem, but I'm tweening an extremely large vector file (about 4000x4000px), using the Fuse tween classes. Its basically your standard slide across the surface of a massive object from point to point effect, nothing fancy. But I'm having a bear of a time getting it to animate smoothly. In particular, as it eases into and out of tweens, I'm getting a weird jittering of the MC, so that it stutters to a stop, like a car with bad brakes. The tweens themselves are nothin fancy (see below). It seems like the problem started when I added _rotation to the the mix. The file is vector, imported from AI. is anyone familiar with this problem? Any recommendations for handling this sort of basic (or so I thought) effect? thanks, .m - function slideToPos(){ var xPos = posArray[active][0]; var yPos = posArray[active][1]; var rPos = posArray[active][2]; active++; mainpanel_mc.tween(_x,xPos,2,easeInOutSine); mainpanel_mc.tween(_y,yPos,2.5,easeInOutSine); mainpanel_mc.tween(_rotation,rPos, 2.5,easeInOutSine,null,slideToPos2()); } ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] FLASH+AIR+ASP
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 have an application that was created for the browser (Flash+ASP)and runs under a secure server (https) and everything works great. Now there is an attenpt to move the application to stand alone with AIR but it seems like because it is under a secure server I am having issues accessing the server. Basically this is what happens: Flash - ask to ASP for stuff ASP - give back Flash STUFF FLASH - Display the stuff ASP Provided Using AIR as a wrapper Im not sure how still being able to hit the server without having the user to log in. Oh yeah I forgot to mention that the user has to login throuh the browser so do I need to create a page for the user to login before deploying my application? TIA ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] FLASH+AIR+ASP
Does you aspx login form have an API? I mean, can you POST of GET variables to it and you you get back a value of something to let you know you are logged in? If so, you can access it with AIR. in you example you say 'go to the app()' . Are we talking about AIR or a webapplication in the browser (i just need to be sure), because you just cannot start an application that is on the users hard drive. Hope to hear from you, Sid On Mar 27, 2008, at 3:33 PM, Helmut Granda wrote: You have to login through a aspx form(no httaccess). basically the application lives in the extranet so you have to login to access any documents on that specific area. It works well on the browser because before accessing the application you have to login and once you are in the process continues. But as a stand-alone application it seems to be a whole different monster start() if user 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, 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 have an application that was created for the browser (Flash+ASP)and runs under a secure server (https) and everything works great. Now there is an attenpt to move the application to stand alone with AIR but it seems like because it is under a secure server I am having issues accessing the server. Basically this is what happens: Flash - ask to ASP for stuff ASP - give back Flash STUFF FLASH - Display the stuff ASP Provided Using AIR as a wrapper Im not sure how still being able to hit the server without having the user to log in. Oh yeah I forgot to mention that the user has to login throuh the browser so do I need to create a page for the user to login before deploying my application? TIA ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- ...helmut ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Re: Two for loops and one if statement into one for loop.
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 yeah forgot the loop: var defaultSection: Number = 3; var maxSection: Number = 6; for (var i : Number = defaultSection ; i maxSection + 1 ; i ++ ) { trace ( - + i ) ; } if (defaultSection maxSection) { for (var i : Number = 1 ; i defaultSection ; i ++ ) { trace ( - + i ) ; } } On Mon, Apr 7, 2008 at 10:12 AM, Helmut Granda [EMAIL PROTECTED] wrote: Is there a way to edit the code below to be included into just one for loop and would it actually be faster? On a side note any site/book recommendations on how to for this kind of odd sequences.. TIA -- ...helmut ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Restarting an Air Application
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: http://www.davidtucker.net/2008/04/01/air-tip-11-launching-an-air-application-from-an-air-application/ Cheers, Sidney On Apr 9, 2008, at 2:24 PM, Kenneth Kawamoto wrote: You could have an empty base movie (AIR) and load your main movie into it. Kenneth Kawamoto http://www.materiaprima.co.uk/ Omar Fouad wrote: Dears, In a application I've created in Air, I wanted to ask if it is possible to restart the application as in reloading the swf inside the Air Player when I press a button or whatsoever, instead of closing it and reopening it again by clicking it's Icon. I need it for a Kiosk application. Thanks ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] detecting pdf writer
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, Michael wrote: Hi List... Is there any technique for detecting pdf writing ability from within Flash (AS2)? The closest thing I've been able to find would be to call an external jscript to detect an activexobject, but I think that only works for detecting Reader. What I'm looking for is a way to detect if the user's printer drivers has a a pdf writer, detected from within a swf. Thanks, - Michael M. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] detecting pdf writer
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 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, Michael wrote: Hi List... Is there any technique for detecting pdf writing ability from within Flash (AS2)? The closest thing I've been able to find would be to call an external jscript to detect an activexobject, but I think that only works for detecting Reader. What I'm looking for is a way to detect if the user's printer drivers has a a pdf writer, detected from within a swf. Thanks, - Michael M. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] AIR bitmapdata.draw( FLV ) Security error
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: http://www.unitzeroone.com/blog/2007/12/18/the-latest-flash-9-breaks-stuff/ It talks of a way to circumvent the sanbox by connecting, drawing and then reconnecting. Good luck, sidney On Apr 17, 2008, at 12:00 AM, Patrick Matte | BLITZ wrote: Hi, I get a security error in my AIR app when I try to draw a video that's on my computer to a BitmapData. How can I fix this? Is it because I'm using a self-signed certificate? Should I buy a certificate form Verisign? ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] RegEx on a String (uppercase / lowercase)
Hi List, I'm filtering my loaded XML with RegEx (regular expressions). The input i filter on is in a textfield. So I have a textfield on the stage and match that to the text in my XML. Right now i have a pattern the allows me to search only lowercase, but since all the names in my xml start with a capital i have a problem. This is my pattern: var regObj:RegExp = new RegExp( ^.*[[:upper:]a-z].*+ searchField_txt.text +.* ); My xml consist of country names, Andorra, Angola, Anguilla, Cuba, Cyprus, Denmark etc. What I want to do is this; when i type: an it returns a list of Andorra, Angola, Anguilla. But when i type in an extra g, so now the word in my textfield becomes: ang it should return the list Angola, Anguilla. The pattern i have works a bit, but not quite. And my knowledge of RegEx is only exsisting since this morning. So what i want the RegEx to do 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://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] RegEx on a String (uppercase / lowercase)
Hi Wagner and Juan Pablo, Thanks for the response! I also tried this: var regObj:RegExp = new RegExp( ˆ + searchField_txt.text, i ); var filteredList:XMLList = landen.country. ( regObj.test( countryname.toLowerCase() ) ); And that worked aswell. However the sollution provided by both of you is the way it should. Thanks! Sidney On Apr 22, 2008, at 3:35 PM, Wagner Amaral wrote: If you pass a second parameter of i to the RegExp constructor, it will match insensitively: var regObj:RegExp = new RegExp( ˆ + searchField_txt.text, i ); Look here for the description of all 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 on is in a textfield. So I have a textfield on the stage and match that to the text in my XML. Right now i have a pattern the allows me to search only lowercase, but since all the names in my xml start with a capital i have a problem. This is my pattern: var regObj:RegExp = new RegExp( ^.*[[:upper:]a-z].*+ searchField_txt.text +.* ); My xml consist of country names, Andorra, Angola, Anguilla, Cuba, Cyprus, Denmark etc. What I want to do is this; when i type: an it returns a list of Andorra, Angola, Anguilla. But when i type in an extra g, so now the word in my textfield becomes: ang it should return the list Angola, Anguilla. The pattern i have works a bit, but not quite. And my knowledge of RegEx is only exsisting since this morning. So what i want the RegEx to do 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://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Removing a displayObject by using removeChild()
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 http://www.privatepaste.com/e8tI4OgtHg, but I got an error msg = TypeError: Error #1034: Type Coercion failed: cannot convert _Flash to flash.display.DisplayObject. Any suggestion? Thanks you ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Removing a displayObject by using removeChild()
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 removeNavigatorButton to remove it. I wrote a simple code here http://www.privatepaste.com/e8tI4OgtHg, but I got an error msg = TypeError: Error #1034: Type Coercion failed: cannot convert _Flash to flash.display.DisplayObject. Any suggestion? Thanks you ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Removing a displayObject by using removeChild()
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; addChild( _pValue ); } function removeNavigatorButton( txt:String ) { //_pValue = _+pValue; _pValue.name = txt; var targetToRemove:DisplayObject = this.getChildByName(_pValue.name); trace(getChildIndex( targetToRemove ) ) removeChildAt(getChildIndex( targetToRemove )); } createNavigatorButton( Flash ); removeNavigatorButton( Flash ); On Apr 24, 2008, at 3:48 PM, Andres Garcia wrote: this line: _pValue = DisplayObject(_+pValue); has the problem you are casting from string to displayObject... you can try something like: createnavigatorButton(pValue:String){ ... _pValue.name = pValue; ... } function removeNavigatorButton( pValue:String ) { ... _pValue = DisplayObject(this.getChildByName(_ + pValue)); this.removeChild(_pValue); ... } On Apr 24, 2008, at 8:30 AM, 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 http://www.privatepaste.com/e8tI4OgtHg, but I got an error msg = TypeError: Error #1034: Type Coercion failed: cannot convert _Flash to flash.display.DisplayObject. Any suggestion? Thanks you ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Removing a displayObject by using removeChild()
Nice one :) What you do with removeChildAt is that you remove a child at a specific index (number), you get this index by using the getChildIndex ( stringname of displayobject) Cheers, Sid On Apr 24, 2008, at 4:26 PM, ACE Flash wrote: buddy, It works. :) removeChildAt(getChildIndex( 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 createNavigatorButton( txt:String ) { _pValue = new TextField(); _pValue.text = txt; _pValue.backgroundColor = 0x00; _pValue.x = 60; _pValue.y = 400; addChild( _pValue ); } function removeNavigatorButton( txt:String ) { //_pValue = _+pValue; _pValue.name = txt; var targetToRemove:DisplayObject = this.getChildByName(_pValue.name); trace(getChildIndex( targetToRemove ) ) removeChildAt(getChildIndex( targetToRemove )); } createNavigatorButton( Flash ); removeNavigatorButton( Flash ); On Apr 24, 2008, at 3:48 PM, Andres Garcia wrote: this line: _pValue = DisplayObject(_+pValue); has the problem you are casting from string to displayObject... you can try something like: createnavigatorButton(pValue:String){ ... _pValue.name = pValue; ... } function removeNavigatorButton( pValue:String ) { ... _pValue = DisplayObject(this.getChildByName(_ + pValue)); this.removeChild(_pValue); ... } On Apr 24, 2008, at 8:30 AM, 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 http://www.privatepaste.com/e8tI4OgtHg, but I got an error msg = TypeError: Error #1034: Type Coercion failed: cannot convert _Flash to flash.display.DisplayObject. Any suggestion? Thanks you ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] as3 sound and swf overriding one another
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 On May 6, 2008, at 1:22 PM, quinrou . wrote: Hi all, I am having a very strange behavior with the Sound object. I will try to describe the problem as accurate as possible. I have a mp3 which I have embedded in class like this [Embed(source='../../../../../embedded_assets/mp3/loop.mp3')] private var Loop:Class; This mp3 plays when the application starts and keeps on looping. However as soon as a swf with an embedded flv on the timeline (which also contains sound) starts playing the mp3 then stops playing. there's no code which tell mp3 to stop playing when the swf starts... It looks like the swf overrides the mp3 sound channel. Has anyone experienced behavior and how did ou manage to fix the problem. Many thanks ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] FPS limit of flash player inside browser?
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 messages about the limit to be at around 60? But my tests got stuck at around 33 fps, it begins at around 57, but drops within a few seconds to around 33... Anyone can shine a light on this subject? Thnx in advance, Sander Schuurman ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] FPS limit of flash player inside browser?
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-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 messages about the limit to be at around 60? But my tests got stuck at around 33 fps, it begins at around 57, but drops within a few seconds to around 33... Anyone can shine a light on this subject? Thnx in advance, Sander Schuurman ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Setting an AIR applications file types to default
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 setAsDefaultApplication() function. I'm using Flash CS3 for this. How ever when i use this function, my app does not behave accordingly. How do i use this function i've tried this: NativeApplication.setAsDefaultApplication(), stage.setAsDefaultApplication(), setAsDefaultApplication(). But notthing works. Please advise, Thanks, Sidney No virus found in this outgoing message. Checked by AVG. Version: 7.5.524 / Virus Database: 269.23.10/1421 - Release Date: 07/05/2008 17:23 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Best way...
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 today i came across SOS for FDT/ Eclipse, maybe you can also use it with Flash, since it makes use of a socket connection/ localconnection. Are you also using this for AIR or only for AS3? Sid On May 13, 2008, at 7:49 PM, Patrick J. Jankun wrote: .. to debug AS3 [NOT AS2!] Is there any other Debugger then one build in Flash IDE? How do you guys Debug your Proejcts? What are the best practices in debugging? What tools should i consider? Greetings, Patrick -- fancy skills to pay the bills www.jankun.org Phone: +43 660 96 969 - 01 web:jankun.org mail: p[at]jankun.org ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Best way...
Not thay i know of. I have written a AIR logger, class file an simple front end, so i dont have to call the debugger from flash everytime. It writes to a file on the file system, that you drag and drop in the front end. Give me a couple of hours and i'll put it online for the world to use. (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 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 today i came across SOS for FDT/ Eclipse, maybe you can also use it with Flash, since it makes use of a socket connection/ localconnection. Are you also using this for AIR or only for AS3? Sid On May 13, 2008, at 7:49 PM, Patrick J. Jankun wrote: .. to debug AS3 [NOT AS2!] Is there any other Debugger then one build in Flash IDE? How do you guys Debug your Proejcts? What are the best practices in debugging? What tools should i consider? Greetings, Patrick -- fancy skills to pay the bills www.jankun.org Phone: +43 660 96 969 - 01 web:jankun.org mail: p[at]jankun.org ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- fancy skills to pay the bills www.jankun.org Phone: +43 660 96 969 - 01 web:jankun.org mail: p[at]jankun.org ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Best way...
Hi Patrick, I have put my logger online at http://www.funky-monkey.nl/blog/ It is a very simple logger so i dont have to start the debugger in flash to trace out messages. It writes a file to the desktop, which you drag and drop in the AIR front end. Any comments are more than welcome! 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. 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 today i came across SOS for FDT/ Eclipse, maybe you can also use it with Flash, since it makes use of a socket connection/localconnection. Are you also using this for AIR or only for AS3? Sid On May 13, 2008, at 7:49 PM, Patrick J. Jankun wrote: .. to debug AS3 [NOT AS2!] Is there any other Debugger then one build in Flash IDE? How do you guys Debug your Proejcts? What are the best practices in debugging? What tools should i consider? Greetings, Patrick -- fancy skills to pay the bills www.jankun.org Phone: +43 660 96 969 - 01 web:jankun.org mail: p[at]jankun.org ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- fancy skills to pay the bills www.jankun.org Phone: +43 660 96 969 - 01 web:jankun.org mail: p[at]jankun.org ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders No virus found in this outgoing message. Checked by AVG. Version: 7.5.524 / Virus Database: 269.23.16/1430 - Release Date: 13/05/2008 07:31 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Question about Google Maps Flash APIs
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; // Create these for everyclass you want to extract. // function loadAssets():void { var assetLoader:Loader = new Loader(); assetLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, assetLoaderComplete); assetLoader.load(new URLRequest(library.swf)); } When the library.swf is done loading it calls the assetLoaderComplete handler that handles the request and utilizes the getDefinition() method to get the class definition by a string. function assetLoaderComplete(evt:Event):void { // remove your listener evt.target.removeEventListener(Event.COMPLETE, assetLoaderComplete); var appDomain:ApplicationDomain = evt.target.applicationDomain; ClassFileForHoldingGooglesAPIClass = appDomain.getDefinition(com.google.maps.api.Whatever) as Class; } Now can create and instance of the MyOwnButton, simply by calling: var myNewObject:Class = new ClassFileForHoldingGooglesAPIClass(); Or call functions on the ClassFileForHoldingGooglesAPIClass. Hope this is what you mean. Cheers, Sidney On May 15, 2008, at 3:41 PM, eric e. dolecki wrote: They offer up a SWC, any way of using that in the Flash IDE without using FlexBuilder? ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Question about Google Maps Flash APIs
I know it is a pain, i did the same for the new Yahoo maps API. It takes a while, but at least you can use it in Flash And check out this http://www.afcomponents.com/components/g_map/ But i didnt see what AS version it utilizes. Good luck, Sid On May 15, 2008, at 5:20 PM, eric e. dolecki wrote: Its a monumental pain in the ass to load it and extract the classes out... I hope Google just releases the classes for non-Flex stuff... but maybe they have all kinds of hidden crap in there they don't want people to see? On Thu, May 15, 2008 at 11:05 AM, Romuald Quantin [EMAIL PROTECTED] 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 Coders List Subject: Re: [Flashcoders] Question about Google Maps Flash APIs 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; // Create these for everyclass you want to extract. // function loadAssets():void { var assetLoader:Loader = new Loader(); assetLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, assetLoaderComplete); assetLoader.load(new URLRequest(library.swf)); } When the library.swf is done loading it calls the assetLoaderComplete handler that handles the request and utilizes the getDefinition() method to get the class definition by a string. function assetLoaderComplete(evt:Event):void { // remove your listener evt.target.removeEventListener(Event.COMPLETE, assetLoaderComplete); var appDomain:ApplicationDomain = evt.target.applicationDomain; ClassFileForHoldingGooglesAPIClass = appDomain.getDefinition(com.google.maps.api.Whatever) as Class; } Now can create and instance of the MyOwnButton, simply by calling: var myNewObject:Class = new ClassFileForHoldingGooglesAPIClass(); Or call functions on the ClassFileForHoldingGooglesAPIClass. Hope this is what you mean. Cheers, Sidney On May 15, 2008, at 3:41 PM, eric e. dolecki wrote: They offer up a SWC, any way of using that in the Flash IDE without using FlexBuilder? ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Rectangle doesnt have scaleX/Y?
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 following: var rectangle:Rectangle = new Rectangle(0,0,[EMAIL PROTECTED],[EMAIL PROTECTED]); if(cS.height rectangle.height){ rectangle.height = cS.height; rectangle.scaleX = rectangle.scaleY; } But it gives me the following error: 1119: Access of possibly undefined property scaleY through a reference with static type flash.geom:Rectangle. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Rectangle doesnt have scaleX/Y?
Hi Matt, For what do you want to use the Rectangle? Normally you would use it for instance to measure objects on the stage (at least i do ) For what you are doing cant you use a Shape? or a Sprite? Sid On May 28, 2008, at 5:10 PM, Matt S. wrote: Hmm, that didnt help. It seems 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 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 following: var rectangle:Rectangle = new Rectangle(0,0,[EMAIL PROTECTED],[EMAIL PROTECTED]); if(cS.height rectangle.height){ rectangle.height = cS.height; rectangle.scaleX = rectangle.scaleY; } But it gives me the following error: 1119: Access of possibly undefined property scaleY through a reference with static type flash.geom:Rectangle. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Rectangle doesnt have scaleX/Y?
Ofcourse :) Right now I'm working on a project that does involve a scrollbar. What i do with the Rectangle class is i measure the handle of the scrollbar and use it for the bounds to drag it to. Like so: _maxScroll = _track.height - _handler.height; _bounds = new Rectangle( _handler.x, _handler.y, 0, _maxScroll ); And then in my function where i do the actual dragging, i do this: _handler.startDrag( false, _bounds ); If you look at the documentation for the Rectangle Class it also says this: The following methods and properties use Rectangle objects: * The bounds parameter for the startDrag() method of the Sprite class Hope this makes sense, to me it does :) Sid On May 28, 2008, at 5:33 PM, Helmut Granda wrote: to add to Sid's comments From the docs: *Note:* The Rectangle class does not define a rectangular Shape display object. To draw a rectangular Shape object 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 would use it for instance to measure objects on the stage (at least i do ) For what you are doing cant you use a Shape? or a Sprite? Sid On May 28, 2008, at 5:10 PM, Matt S. wrote: Hmm, that didnt help. It seems 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 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 following: var rectangle:Rectangle = new Rectangle(0,0,[EMAIL PROTECTED],[EMAIL PROTECTED]); if(cS.height rectangle.height){ rectangle.height = cS.height; rectangle.scaleX = rectangle.scaleY; } But it gives me the following error: 1119: Access of possibly undefined property scaleY through a reference with static type flash.geom:Rectangle. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- ...helmut ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Letter spacing in input fields, is it possible?
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 except the letterSpacing: searchFieldCountry_txt = new TextField( ); searchFieldCountry_txt.type = TextFieldType.INPUT; searchFieldCountry_txt.antiAliasType = AntiAliasType.ADVANCED; searchFieldCountry_txt.embedFonts = true; searchFieldCountry_txt.border = false; searchFieldCountry_txt.x = 340; searchFieldCountry_txt.y = 38; searchFieldCountry_txt.width = 175; searchFieldCountry_txt.height = 25; var formatInput:TextFormat = new TextFormat( ); formatInput.font = AvantGardeLight; formatInput.color = 0x00; format.letterSpacing = 1; formatInput.size = 14; searchFieldCountry_txt.defaultTextFormat = formatInput; I hope somebody has experience with this, Thanks in advance, Sidney ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] SOLVED: Letter spacing in input fields, is it possible?
Been working to much and too long! Thanks for the tip, it worked :) Cheers, Sid On May 29, 2008, at 7:23 PM, Matheus Gorino wrote: Maybe a typo error? Check your code: var formatInput:TextFormat = new TextFormat( ); formatInput.font = AvantGardeLight; formatInput.color = 0x00; format.letterSpacing = 1; formatInput.size = 14; searchFieldCountry_txt.defaultTextFormat = formatInput; See that you used format instead of formatInput for letterSpacing. On Thu, May 29, 2008 at 9:36 AM, Glen Pike [EMAIL PROTECTED] wrote: I am not 100% on whether letter-spacing works as I have not tried 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 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 except the letterSpacing: searchFieldCountry_txt = new TextField( ); searchFieldCountry_txt.type = TextFieldType.INPUT; searchFieldCountry_txt.antiAliasType = AntiAliasType.ADVANCED; searchFieldCountry_txt.embedFonts = true; searchFieldCountry_txt.border = false; searchFieldCountry_txt.x = 340; searchFieldCountry_txt.y = 38; searchFieldCountry_txt.width = 175; searchFieldCountry_txt.height = 25; var formatInput:TextFormat = new TextFormat( ); formatInput.font = AvantGardeLight; formatInput.color = 0x00; format.letterSpacing = 1; formatInput.size = 14; searchFieldCountry_txt.defaultTextFormat = formatInput; I hope somebody has experience with this, Thanks in advance, Sidney ___ 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.uk ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] flex 3 Event.RESIZE
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 in the main class function/constructor stage.addEventListener(Event.RESIZE, initialise); problem is, this event never gets fired, and i simply can't find out why :(, i scale the stage in the browser env, the event is being ignored. I tried Event.INIT and others, they seems to work, but not this one, can someone tell me what the heck do i wrong? P. -- fancy skills to pay the bills www.jankun.org Phone: +43 660 96 969 - 01 web:jankun.org mail: p[at]jankun.org ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Re: Is it possible to display in the xml file
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 xml file? I tried to convert it to %26, but it won't display in the flash for example: depFin IT /dep thanks ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Re: Is it possible to display in the xml file
Try doing that with an external file and an exotic font :) To prevent errors from my side i always place my text in a CDATA (where appropriate) and make sure I have the htmlText option on. When working with exotic fonts (not your standard verdana, times or arial) you might get in trouble. 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 wrote: 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 xml file? I tried to convert it to %26, but it won't display in the flash for example: depFin IT /dep thanks ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] CLOSING EVENT in Flash
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 works with AIR and FLEX it should in Flash too :-). I need it for stand alone player . Thanx ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Exclude classes
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 wrote: Hi, Does anyone know if there's a way to exclude certain built-in classes? E.g. if I'm not going to be using the BlurFilter class is there anyway for it not to be compiled with the .swf-file? I'm using Flash CS3+AS3 and the reason for this is that I want to keep the filesize as low as possible for a contest. Every byte is important. Thanks, / Viktor H ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Calling super.apply
Hi List, I've created a dynamic class that extends Array. What i want to do is pass through items in the constructor just like i do with array ( var blah:Array = new Array(one, two, three); ) What happens now; is that every item i have to push in my self, like so: blah.push(one). If i push my values; my class returns that current item, if i pass it through the constructor i get back an array. I want to be able to do both; push items seperately and pass through an whole array in its constructor. Is there something i can like super.apply(this, args) ? public dynamic class 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 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
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 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 apply i pass though all the arguments one, by one instead of as one big array because ...rest is an array itself Does this all makes sense? The problem is that i cant seem to figure out how to call apply on the super. Does any body know? let me know!!! Cheers, Sid On Jun 26, 2008, at 3:31 PM, Jer Brand wrote: I'm probably wrong (and mostly want to know as well), but I didn't think you could extend the Array class. Not that AS won't let you do it, but it doesn't actually work. I know this is the case with AS2, but am only guessing that it's the case with AS3 from the behavior you describe. My suggestion would be to use composition rather than inheritance. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Calling super.apply [SOLVED]
He eKameleon, I used your advise to pass it an array and a extra argument to, when it hits the end of the array it starts at the beginning or just stops at the end. I also used some of your functions which i hadn't thought of, like hasNext and hasPrevious. (and also a rewind and forward function if the loop described above is true/false) Thanks for the information! Sid On Jun 26, 2008, at 5:32 PM, ekameleon wrote: Hello :) In AS3 the apply method don't exist over the constructor.. the constructor in AS3 isn't a Function but a Class object and the Class object don't implément the apply or call methods ! It's a big problem for me For the moment the solutions are : 1 - In your case... use composition over your Array, like : http://svn1.cvsdude.com/osflash/vegas/AS3/trunk/src/vegas/data/iterator/ArrayIterator.as(for me the best solution !) 2 - use a constructor with an Array or Object in arguments 3 - in your class you can use the ...args:Array and use it with a for or while loop :) PS : When i wan't create a full object with a custom class reference and a dynamic array of arguments i use my method buildNewInstance : http://svn1.cvsdude.com/osflash/vegas/AS3/trunk/src/vegas/util/ClassUtil.as EKA+ :) 2008/6/26 Morten Barklund [EMAIL PROTECTED]: Hi Sidney, You have of course tried 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] 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 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 apply i pass though all the arguments one, by one instead of as one big array because ...rest is an array itself Does this all makes sense? The problem is that i cant seem to figure out how to call apply on the super. Does any body know? let me know!!! Cheers, Sid On Jun 26, 2008, at 3:31 PM, Jer Brand wrote: I'm probably wrong (and mostly want to know as well), but I didn't think you could extend the Array class. Not that AS won't let you do it, but it doesn't actually work. I know this is the case with AS2, but am only guessing that it's the case with AS3 from the behavior you describe. My suggestion would be to use composition rather than inheritance. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Calling super.apply
THANK YOU! This was EXACTLY what i was looking for. Sid On Jun 26, 2008, at 6:12 PM, Juan Pablo Califano wrote: Hi, check this out: http://livedocs.adobe.com/flex/3/html/help.html?content=10_Lists_of_data_7.html Cheers Juan Pablo Califano 2008/6/26, ekameleon [EMAIL PROTECTED]: Hello :) In AS3 the apply method don't exist over the constructor.. the constructor in AS3 isn't a Function but a Class object and the Class object don't implément the apply or call methods ! It's a big problem for me For the moment the solutions are : 1 - In your case... use composition over your Array, like : http://svn1.cvsdude.com/osflash/vegas/AS3/trunk/src/vegas/data/iterator/ArrayIterator.as(for me the best solution !) 2 - use a constructor with an Array or Object in arguments 3 - in your class you can use the ...args:Array and use it with a for or while loop :) PS : When i wan't create a full object with a custom class reference and a dynamic array of arguments i use my method buildNewInstance : http://svn1.cvsdude.com/osflash/vegas/AS3/trunk/src/vegas/util/ClassUtil.as EKA+ :) 2008/6/26 Morten Barklund [EMAIL PROTECTED]: Hi Sidney, You have of course tried 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] 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 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 apply i pass though all the arguments one, by one instead of as one big array because ...rest is an array itself Does this all makes sense? The problem is that i cant seem to figure out how to call apply on the super. Does any body know? let me know!!! Cheers, Sid On Jun 26, 2008, at 3:31 PM, Jer Brand wrote: I'm probably wrong (and mostly want to know as well), but I didn't think you could extend the Array class. Not that AS won't let you do it, but it doesn't actually work. I know this is the case with AS2, but am only guessing that it's the case with AS3 from the behavior you describe. My suggestion would be to use composition rather than inheritance. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Saffron Modeler - what happened to it
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 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] regexp question
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 whttp://www.regular-expressions.info/quickstart.html and http://www.regular-expressions.info/tutorial.html Hope this will get you started, Sid On Jul 4, 2008, at 11:32 AM, Allandt Bik-Elliott (Receptacle) wrote: hi again i've been trying different things and it seems that the [^0] or [^ \d] is stopping it working. (I needed to use $1 rather than \1 to reference the first group in the String.replace statement) here is what i've got so far var sYear:String = 1234567; var pattern:RegExp = /(\d\d\d)(?=(?:\d\d\d)*[^\d])/g; sYear = sYear.replace(pattern, ,$1); //traces 1234567 if i drop the NOT part var sYear:String = 1234567; var pattern:RegExp = /(\d\d\d)(?=(?:\d\d\d)*)/g; sYear = sYear.replace(pattern, ,$1); //traces ,123,4567 This stuff is really new to me so i really appreciate the help thanks a On 4 Jul 2008, at 01:09, Claudius Ceteras wrote: Hi, is there a way of counting back from the end of the number and inserting the comma (even without a regular expression)? if i use the g modifier in the regexp (so var pattern:RegExp = /000/g;), it will only pick up the first 000 (and every multiple thereafter) instead of leaving the first 0 (which is expected behaviour but something i'd like to get around) How about positive lookaheads? /(000)(?=(?:000)*[^0])/g If you want this also to work for 1234567 = 1,234,567, you can replace every 0 in the pattern with \d and call the replace function with , \1 instead of ,000 This is untested, but should work... Let me know. regards, Claudius ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Game source code / classes? I need to make a game quick!
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 Drongo wrote: Hiya, I need to make a game quick and wondered if anyone could direct me to some engines, classes or source that I could use. The game can be pretty straight forward, a shoot em up, tetris style game, I've come across loads out there I just wondered if anyone had any recommendations. Cheers! Ali ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] hiring
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 on this list, I hope you can help. I'll have to hire a flash/flex developer in London UK for a permanent job. Can anyone tell me some good place to post an ad? I'm not looking for a general IT job site but some sites like the job section in www.thefwa.com http://www.thefwa.com/ where I can find good developers. Maybe another mailing list? Any info? Thanks Romuald ___ 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 list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] hiring
Tell me about it, we are based in Amsterdam and having much difficulty getting freelancers. However we already placed some ads on riajobs.org, and gotten more reactions than using headhunters companies (Monster, ComputerFutures etc). Company blogs and direct mailings are also more effective i think. (This is specific for the dutch users: Have you tried freelance.nl ? ) Good luck! Sid On Jul 16, 2008, at 4:58 PM, Gert-Jan van der Wel wrote: Thanks Sid! We're also looking for an ActionScript/Flash developer to join the Floorplanner team in Rotterdam, The Netherlands. It quite 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 on this list, I hope you can help. I'll have to hire a flash/flex developer in London UK for a permanent job. Can anyone tell me some good place to post an ad? I'm not looking for a general IT job site but some sites like the job section in www.thefwa.com http://www.thefwa.com/ where I can find good developers. Maybe another mailing list? Any info? Thanks Romuald ___ 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 list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ 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 list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] OT: Questions to ask an interviewee
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 up, you can create your own for this. Feel free to use this, Cheers, Sid 1 - write an event listener (normal and weak referenced) and handling function for a Sprite named 'beginQuestions' and listen for a mouse click. 2 - what does weak referenced mean in regards to event listeners? 3 - what is the difference between an object an an array? 4 - how doe you get cue point from vidio in AS3? And in AS2? 5 - briefly explain the various datatypes for numbers. 6 - how do you load an external file? 7 - draw a 20px by 20px Rectangle using the graphics API. 8 - which of the following cannot contain other display objects? Sprite, Shape, MovieClip, DisplayObjectContainer. 9 - which properties can you use to change the size of DisplayObjects? 10 - ENTER_FRAME is independant of an SWF's frame rate? True or false? 11 - XP is a type of which programming methology? 12 - why would you use a Singleton? 13 - what is the Document Class? 14 - create a new TextField instance, then add text it, then add some more text. 15 - what is the difference between public, private and protected. 16 - look at the piece of XML (see other sheet). How do i: - Get all of the page nodes as an XMLList. - 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 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] OT: Questions to ask an interviewee
Very true :) A little test i always do is ask people what they think of themself on a scale of 1 to 10. Most good coders with +5 jears experience will give them selfs a 6 or a 7 and are very modest. Coders that think they are good (-3 years experience) will rate themself higher than they really are. This is practice proven. Those people leave during or after their trial period :) Sid On Jul 30, 2008, at 1:27 PM, Romuald Quantin wrote: Why not asking him sources and asks questions about his own sources? Why did you do it that way? Why did you do use that? Etc... You'll see both what is capable of by looking closely at his sources and see his skills by asking right questions about it. I can't think you won't find out that someone is faking sources when you'll ask precise questions about it. Anyway, if the guy does, he's going to lose the job after 2 days right? :) 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 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 up, you can create your own for this. Feel free to use this, Cheers, Sid 1 - write an event listener (normal and weak referenced) and handling function for a Sprite named 'beginQuestions' and listen for a mouse click. 2 - what does weak referenced mean in regards to event listeners? 3 - what is the difference between an object an an array? 4 - how doe you get cue point from vidio in AS3? And in AS2? 5 - briefly explain the various datatypes for numbers. 6 - how do you load an external file? 7 - draw a 20px by 20px Rectangle using the graphics API. 8 - which of the following cannot contain other display objects? Sprite, Shape, MovieClip, DisplayObjectContainer. 9 - which properties can you use to change the size of DisplayObjects? 10 - ENTER_FRAME is independant of an SWF's frame rate? True or false? 11 - XP is a type of which programming methology? 12 - why would you use a Singleton? 13 - what is the Document Class? 14 - create a new TextField instance, then add text it, then add some more text. 15 - what is the difference between public, private and protected. 16 - look at the piece of XML (see other sheet). How do i: - Get all of the page nodes as an XMLList. - 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 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ 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 list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] OT: Questions to ask an interviewee
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 AS3 projects, which, most of the times, is better for all parties invloved. Sid On Jul 30, 2008, at 1:24 PM, allandt bik-elliott (thefieldcomic.com) wrote: hmmm - i didn't do bad (without looking stuff up) but i must say that i've not been asked to do a single as3 project since i started doing agency work - the only time i've done an as3 project was for an interactive cd so i could set my own target for the projector file. Most of the work i do in digital agencies has been targeted at flash player 8 or (even worse) 6 so AS2 has been more important than AS3. Under what sort of circumstances do you find that AS3 is used? a On Wed, Jul 30, 2008 at 12:03 PM, 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 up, you can create your own for this. Feel free to use this, Cheers, Sid 1 - write an event listener (normal and weak referenced) and handling function for a Sprite named 'beginQuestions' and listen for a mouse click. 2 - what does weak referenced mean in regards to event listeners? 3 - what is the difference between an object an an array? 4 - how doe you get cue point from vidio in AS3? And in AS2? 5 - briefly explain the various datatypes for numbers. 6 - how do you load an external file? 7 - draw a 20px by 20px Rectangle using the graphics API. 8 - which of the following cannot contain other display objects? Sprite, Shape, MovieClip, DisplayObjectContainer. 9 - which properties can you use to change the size of DisplayObjects? 10 - ENTER_FRAME is independant of an SWF's frame rate? True or false? 11 - XP is a type of which programming methology? 12 - why would you use a Singleton? 13 - what is the Document Class? 14 - create a new TextField instance, then add text it, then add some more text. 15 - what is the difference between public, private and protected. 16 - look at the piece of XML (see other sheet). How do i: - Get all of the page nodes as an XMLList. - 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 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ 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 list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] When to use AS3?
Nice one :) As i said earlier; we also have advising roles to play. If a specific project needs specific technology, dont bend or sway for less. Try to convince/explain the client why. Especially if the concept comes from the developing party, they thought about it, they'll also make it. I know sometimes clients can be difficult, what i have noticed, as long as you explain why and show them figures, they'll go for it. Or tell them the competitors ARE using AS3, two seconds ... they'll reconsider ;) Sid On Jul 30, 2008, at 1:48 PM, allandt bik-elliott (thefieldcomic.com) wrote: @Sidney: That's really interesting because at all the places I've worked (which isn't many - I've always done coding as a sideline and have only recently gone full-time), they seem to be utterly entrenched in FP8 (i guess using the old 'work to the last player' thinking). I personally would love to move the (non-banner) work to AS3 as it's a far more elegant way of working. I find that the clients tend to dictate it based on whatever plugin their IT department have set them up with. a NOTE: This is taken from the interview thread and I thought it might be worth 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 AS3 projects, which, most of the times, is better for all parties invloved. Sid On Jul 30, 2008, at 1:24 PM, allandt bik-elliott (thefieldcomic.com) wrote: hmmm - i didn't do bad (without looking stuff up) but i must say that i've not been asked to do a single as3 project since i started doing agency work - the only time i've done an as3 project was for an interactive cd so i could set my own target for the projector file. Most of the work i do in digital agencies has been targeted at flash player 8 or (even worse) 6 so AS2 has been more important than AS3. Under what sort of circumstances do you find that AS3 is used? a On Wed, Jul 30, 2008 at 12:03 PM, 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 up, you can create your own for this. Feel free to use this, Cheers, Sid 1 - write an event listener (normal and weak referenced) and handling function for a Sprite named 'beginQuestions' and listen for a mouse click. 2 - what does weak referenced mean in regards to event listeners? 3 - what is the difference between an object an an array? 4 - how doe you get cue point from vidio in AS3? And in AS2? 5 - briefly explain the various datatypes for numbers. 6 - how do you load an external file? 7 - draw a 20px by 20px Rectangle using the graphics API. 8 - which of the following cannot contain other display objects? Sprite, Shape, MovieClip, DisplayObjectContainer. 9 - which properties can you use to change the size of DisplayObjects? 10 - ENTER_FRAME is independant of an SWF's frame rate? True or false? 11 - XP is a type of which programming methology? 12 - why would you use a Singleton? 13 - what is the Document Class? 14 - create a new TextField instance, then add text it, then add some more text. 15 - what is the difference between public, private and protected. 16 - look at the piece of XML (see other sheet). How do i: - Get all of the page nodes as an XMLList. - 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 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ 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 list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ 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 list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com
Re: [Flashcoders] OT: Questions to ask an interviewee
So where it all comes down to is that everybody has its own personal preferences of doing. A personal set of things to do and how to spot a good coder or an opinion on what makes a good flash developer, whether this is by showing code, letting them do some questions, shoing some work or all of the above. If somebody steps into our office and understands the concept of programming, knows its syntax but is not that good in AS coding, i'll give him / her a shot, treat that person as a junior and see what they do in their trial period(mostly it is 1 or 2 months, depending what country you are in). Depending on the questions they ask you kindof know what they are like. If they've proven them selfs usefull and are willing to learn, i'll invest in that person with a contract. Does that still sound sad to you Zeh? Sid On Jul 30, 2008, at 3:47 PM, Zeh Fernando wrote: I don't know about you guys, but that checklist of skills and the possibility of getting that on an interview make me depressed. Of that list, I'm pretty sure I can do it all, but most of that are not something I do all the time every day so I may have the gist of it, but not know the syntax down to its every comma. I personally use the reference *and* the internet every tie when writing code - for example, I never use cue points, and while I know perfectly well how it works, I'd have to see how the event works and do a few tests before applying it to my code. Nothing huge that takes day of research, but still. That's I think just shooting a lot of questions to the interviewee may help filter out the crap but also won't help you find the best candidates; I honestly think good developers, specially in the Flash world, are the ones who can quickly find the answer to a new question before having to ask around, be it by using the reference, be using by using the internet, or by testing. Remember this technology changes at a fast pace. Having a catalog of techniques in your mind may show experience, but there'll be gaping holes if the guy's work was focused somewhere else or if he's not very formally trained. Personally, on an interview, I'd ask to see the candidate's previous work that's online (doing so next to him). Ask him what kind of techniques were in place on that particular website, question him about interface elements. Give hints on how you'd do something he has done and see his reaction, whether he gets into it and start discussing code with a peer or whether he shows he's full of shit. Ask how long that particular work took, and whether someone helped him, and what external classes or frameworks he used. Ask him what kind of work he liked the most, and why. Which was the most difficult one he did recently, and why. Ask what kind of work he doesn't like doing. Try to get a hang of how he works, and try to understand what motivates and unmotivates him. If possible, ask to see some real-life code he's produced, and then see what kind of techniques he does apply on real code more than just knowing the number of a dozen design patterns. I don't know if you guys get too many interviewees or something that warrants a list like that to make things faster. But for website development 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 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 up, you can create your own for this. Feel free to use this, Cheers, Sid 1 - write an event listener (normal and weak referenced) and handling function for a Sprite named 'beginQuestions' and listen for a mouse click. 2 - what does weak referenced mean in regards to event listeners? 3 - what is the difference between an object an an array? 4 - how doe you get cue point from vidio in AS3? And in AS2? 5 - briefly explain the various datatypes for numbers. 6 - how do you load an external file? 7 - draw a 20px by 20px Rectangle using the graphics API. 8 - which of the following cannot contain other display objects? Sprite, Shape, MovieClip, DisplayObjectContainer. 9 - which properties can you use to change the size of DisplayObjects? 10 - ENTER_FRAME is independant of an SWF's frame rate? True or false? 11 - XP is a type of which programming methology? 12 - why would you use a Singleton? 13 - what is the Document Class? 14 - create a new TextField instance, then add text it, then add some more text. 15 - what is the difference between public, private and protected. 16 - look at the piece of XML (see other sheet). How do i: - Get all of the page nodes as an XMLList. - Get node
Re: [Flashcoders] OT: Questions to ask an interviewee
Hi Zeh, There's just so much you had to know about an employee on Flash development, that just an interview doesn't cut it; seeing how the person works once he/she settles down is a must. You can't have a guy dragging the office around just because he knew the right answers at one 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 to is that everybody has its own personal preferences of doing. A personal set of things to do and how to spot a good coder or an opinion on what makes a good flash developer, whether this is by showing code, letting them do some questions, shoing some work or all of the above. If somebody steps into our office and understands the concept of programming, knows its syntax but is not that good in AS coding, i'll give him / her a shot, treat that person as a junior and see what they do in their trial period(mostly it is 1 or 2 months, depending what country you are in). Depending on the questions they ask you kindof know what they are like. If they've proven them selfs usefull and are willing to learn, i'll invest in that person with a contract. Does that still sound sad to you Zeh? Sid ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] OT: Questions to ask an interviewee
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 development, that just an interview doesn't cut it; seeing how the person works once he/she settles down is a must. You can't have a guy dragging the office around just because he knew the right answers at one 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 to is that everybody has its own personal preferences of doing. A personal set of things to do and how to spot a good coder or an opinion on what makes a good flash developer, whether this is by showing code, letting them do some questions, shoing some work or all of the above. If somebody steps into our office and understands the concept of programming, knows its syntax but is not that good in AS coding, i'll give him / her a shot, treat that person as a junior and see what they do in their trial period(mostly it is 1 or 2 months, depending what country you are in). Depending on the questions they ask you kindof know what they are like. If they've proven them selfs usefull and are willing to learn, i'll invest in that person with a contract. Does that still sound sad to you Zeh? Sid ___ 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 list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Hiring
You can also try www.riajobs.org, been quite succesfull there, Sid On Aug 5, 2008, at 2:48 PM, Merrill, Jason wrote: By the way, wouldn't be nice if there was a [EMAIL PROTECTED] mailing list? You said Flex too. Check out: http://tech.groups.yahoo.com/group/flexjobs/ Jason Merrill Bank of America Enterprise Technology Global Risk LLD Instructional Technology Media Join the Bank of America Flash Platform Developer Community Are you a Bank of America associate interested in innovative learning ideas and technologies? Check out our internal GTO Innovative Learning Blog subscribe. ___ 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 list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Re: How to add meta data in image through AIR/ AS3.0?
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 :) Sid On Nov 18, 2008, at 10:14 AM, Juan Delgado wrote: Hi there, Don't think it supports what you need yet, but might be a good starting point: http://www.bytearray.org/?p=90 On Tue, Nov 18, 2008 at 12:54 AM, [EMAIL PROTECTED] wrote: Hi All, Just to rephrase my question again. Basically when we resize any image its lost its meta data, so in my case i want to preserver those data even after resizing, and this require extraction of the meta data from original image and writing back these data after resize. But How? Any Help is greatly appreciated. There are way out in JAVA and C# n all for this, But how about Action Script. Thanks, Deepak On Nov 17, 2008 4:24pm, Deepak Sahu [EMAIL PROTECTED] wrote: Hi All, I have to add a meta data tag in image after resizing it( Aspect ratio in my case) while uploading. Any idea how to do that ? any workaround? I have some classes by while helps me reading the EXIF tags through the images, but not getting any clue how to add something new. Thanks, Deepak Sahu ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- Juan Delgado - Zárate http://zarate.tv http://dandolachapa.com http://loqueyosede.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] display trace() in text field
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 online after the weekend) Is this what you are looking for? Sidney On Dec 4, 2008, at 3:44 PM, Michael Stocke wrote: Good morning everyone. Is it possible to display trace actions in a text field? I realize there are numerous other troubleshooting tools similar to trace, but I specifically want to display trace actions without any additional coding required in the target file. I want to create a debugging tool in AIR that will allow me to display trace actions from currently running swfs. I suspect this isn't feasible, but any tips or ideas would be appreciated, Thanks. Mike Stocke Interface Engineer Organic, Inc. | Detroit 2600 S. Telegraph Road -- Suite 100, Bloomfield Hills, MI 48302 t: 248.454.4015 | f: 248.454.3370 Email: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] Blog: http://Threeminds.Organic.com http://threeminds.organic.com/ Website: www.Organic.com http://www.organic.com/ This email is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential or otherwise protected from disclosure. Dissemination, distribution or copying of this email or the information herein by anyone other than the intended recipient, or an employee or agent responsible for delivering the message to the intended recipient, is prohibited. If you have received this email in error, please immediately notify us by calling our Help Desk at (415) 581-5552 or by e-mailing us at [EMAIL PROTECTED] ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] display trace() in text field
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 a class file. I don't think the Flash IDE lets you override functions directly. On Dec 4, 2008, at 5:03 PM, allandt bik-elliott (thefieldcomic.com) wrote: function debug(s:String):Void { _root.pathToTextField.myText.text += /n+s; } then instead of trace(someString); you use debug(someString); a On Thu, Dec 4, 2008 at 3:42 PM, Merrill, Jason [EMAIL PROTECTED] wrote: Trace only sends strings to the Flash or Flexbuilder output window, so no. However, all you have to do is set the variable you want to see to the text property of the textfield: myTextField.text = myVariableIdLikeToSee Jason Merrill Bank of America Instructional Technology Media · GCIB Staff Support LLD Interested in Flash Platform technologies? Join the Bank of America Flash Platform Developer Community Interested in innovative ideas in Learning? Check out the Innovative Learning Blog and subscribe. -Original Message- From: [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED] On Behalf Of Michael Stocke Sent: Thursday, December 04, 2008 9:44 AM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] display trace() in text field Good morning everyone. Is it possible to display trace actions in a text field? I realize there are numerous other troubleshooting tools similar to trace, but I specifically want to display trace actions without any additional coding required in the target file. I want to create a debugging tool in AIR that will allow me to display trace actions from currently running swfs. I suspect this isn't feasible, but any tips or ideas would be appreciated, Thanks. Mike Stocke Interface Engineer Organic, Inc. | Detroit 2600 S. Telegraph Road -- Suite 100, Bloomfield Hills, MI 48302 t: 248.454.4015 | f: 248.454.3370 Email: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] Blog: http://Threeminds.Organic.com http://threeminds.organic.com/ Website: www.Organic.com http://www.organic.com/ This email is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential or otherwise protected from disclosure. Dissemination, distribution or copying of this email or the information herein by anyone other than the intended recipient, or an employee or agent responsible for delivering the message to the intended recipient, is prohibited. If you have received this email in error, please immediately notify us by calling our Help Desk at (415) 581-5552 or by e-mailing us at [EMAIL PROTECTED] ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Arabic flipping
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 http://www.google.nl/search?q=embed+unicode+font+as3 On Dec 4, 2008, at 5:22 PM, Mike Grunwald wrote: OK... I think I've reached the end of the internet as well as the end of my patients. I've been trying to figure out a way to take translations that I've received in an Excel spreadsheet and paste them into an XML document. The XML is UTF-8 and it's plain text (of course). No matter what editor (Flex Builder 3, Dreamweaver, Text Edit, WordPad, NotePad, Word, etc.) or OS (OSX 10.4, Windows XP) or combination of the two, it seems that when I try to combine the eastern translation with western markup (XML tags, or even western characters for that matter), as soon as I drop in a single character, if flips the orientation of the translated Arabic text?!? Everything that I find on the internet leads me hopeful down a path of ultimate disappointment. I know that I'm not the only one with this problem and I'm sure one of you has experienced this. Please let me in on you secrets. I beg you... Let me just clarify—My problem is not font related (I've got that all sorted out), and for the most part it's not really Flash related (except for the fact that I'm using this XML content for dynamic text fields). this list is probably not the proper place for this question, but I'm out of options and I thinking that I'm going to have to scrap some of the digging I've done in relation to getting text to display properly and make alterations to my application to load images instead of live type. Somebody... Anybody Help a brotha out! ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] display trace() in text field
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 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 a class file. I don't think the Flash IDE lets you override functions directly. On Dec 4, 2008, at 5:03 PM, allandt bik-elliott (thefieldcomic.com) wrote: function debug(s:String):Void { _root.pathToTextField.myText.text += /n+s; } then instead of trace(someString); you use debug(someString); a On Thu, Dec 4, 2008 at 3:42 PM, Merrill, Jason [EMAIL PROTECTED] wrote: Trace only sends strings to the Flash or Flexbuilder output window, so no. However, all you have to do is set the variable you want to see to the text property of the textfield: myTextField.text = myVariableIdLikeToSee Jason Merrill Bank of America Instructional Technology Media · GCIB Staff Support LLD Interested in Flash Platform technologies? Join the Bank of America Flash Platform Developer Community Interested in innovative ideas in Learning? Check out the Innovative Learning Blog and subscribe. -Original Message- From: [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED] On Behalf Of Michael Stocke Sent: Thursday, December 04, 2008 9:44 AM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] display trace() in text field Good morning everyone. Is it possible to display trace actions in a text field? I realize there are numerous other troubleshooting tools similar to trace, but I specifically want to display trace actions without any additional coding required in the target file. I want to create a debugging tool in AIR that will allow me to display trace actions from currently running swfs. I suspect this isn't feasible, but any tips or ideas would be appreciated, Thanks. Mike Stocke Interface Engineer Organic, Inc. | Detroit 2600 S. Telegraph Road -- Suite 100, Bloomfield Hills, MI 48302 t: 248.454.4015 | f: 248.454.3370 Email: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] Blog: http://Threeminds.Organic.com http://threeminds.organic.com/ Website: www.Organic.com http://www.organic.com/ This email is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential or otherwise protected from disclosure. Dissemination, distribution or copying of this email or the information herein by anyone other than the intended recipient, or an employee or agent responsible for delivering the message to the intended recipient, is prohibited. If you have received this email in error, please immediately notify us by calling our Help Desk at (415) 581-5552 or by e-mailing us at [EMAIL PROTECTED] ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] My rights - site not paid for.
Hi Stephen, Here in Holland we have something called 'terms and conditions' for freelancers, which you have to make legal with an notary. This is a document which basically protects you from this kind of stuff, and this document can be taken to court if it ever comes to this. If you don't have this, it is a good thing to have, you probably have the same thing in the UK, and its well worth the money. (converted it costs about 300 pounds) If you made a contract with this person, and you both singed it, by law he is bound by it. (And legal steps can be under taken when broken). If you don't have a contract, your basically fucked. Plain and simple. Even though a verbal agreement is also legal binding it is very hard to prove. first thing you can do is send another invoice after about 4 weeks, if he doesn't respond to it, call him and say you will place and 'under construction' banner on the site, and that you will change the ftp password ( but dont do this just jet), if he still doesn't respond use an agency to collect the outstanding invoice (don't know what they are called in engish) if he still doesn't respond, place that 'underconstruction banner' online. Hope this helps, Good luck with it! Sid On Dec 8, 2008, at 12:02 PM, Stephen Matthews wrote: What are my rights ( in the UK ) for taking down a site which has not been paid for? The owner of the company is happy with his site, but is not coughing up. I still have FTP access. He says the site took too long, and makes lots of excuses for not paying - which do not tally. He changed the site drastically at least three times - I think it took too long too, due to this. He is updating the news section and other sections whenever he has new material. I would be interested in your thoughts. This person won an award for being a top business man this year - is this what you have to do to be a top business man - screw people? I am not the kind of person to take this action really, but I may consider it. Thanks S ___ 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 list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Audio lag on KeyboardEvent.KEY_DOWN
Hi Jonathan, You say: The sounds are MP3s which are load()ed into Sound objects on init(). Does this mean you preload the sounds? If so; If you press a key before the whole sound is loaded in it takes some time to play it, because it is still loading. You can make sure of this by showing the application AFTER all the sounds are loaded in, this can be done by creating a loader que (place items in an array after they are loaded and check if the total amount of items loaded in is equal to the array length). This way you always know that nothing shows up before all the sounds are loaded. Hope this helps you, Sid On Dec 8, 2008, at 4:31 PM, jonathan howe wrote: I'm very interested in the solution to this. I notice it on certain machines and not others... it does not seem to have anything to do with the input part, and in some cases can stutter the display updating. For example, if you were to have a timer trigger the sound and print something at the screen, they would both 'appear' at the same time but if you also measured the time difference between the trigger's execution and after the sound call, there would be latency. The superstitious/uneducated part of me supposes that Flash is establishing a modal call to the sound card, and some perform cards respond faster than others. -jonathan On Mon, Dec 8, 2008 at 2:37 PM, allandt bik-elliott (thefieldcomic.com) [EMAIL PROTECTED] wrote: did you use updateAfterEvent() to force it to play immediately? if not, it might be waiting for the next frame to process the event On Mon, Dec 8, 2008 at 12:14 PM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi List, I'm dipping my toe into AS3 and thought I'd play around with sound by making a little piano keyboard which is played by pressing keys on the computer keyboard. It works - the appropriate sounds play on KeyboardEvent.KEY_DOWN - however, I've noticed that there is often a lag between the keyboard event and the actual sound playing. The occurrence of the lag seems pretty random. The sounds are MP3s which are load()ed into Sound objects on init(). On KeyboardEvent.KEY_DOWN, the appropriate Sound is play()ed. I've checked all the MP3s, and they don't have extra silence at the beginning. I don't think it has to do with the number of MP3s involved (14), because I noticed the lag even when I was testing it out with 2 sounds. Has anyone dealt with this before, and know what the problem might be? You can see (or rather, hear) the lag for yourself here: http://snipurl.com/7ndr2-meep Thanks! In hope, CB. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- -jonathan howe ___ 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 list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders