[Flashcoders] ASCrypt Nowhere To Be Found?
The original ASCrypt website seems to be down. Does anyone have the files? Thanks Elia ___ 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 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
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
...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 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] Windowing in AIR
I don't think I understand what the problem you having is. Are you saying the not visible areas of your app are draggable? Because I have apps that have differing shapes and sizes whose windows active area is confined only to what is visible... Can you explain your problem a bit more? -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 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
[Flashcoders] [AS3] Lock to Root or similar
HI all, I am working on a site and everything is working properly. I decided to add a shell movie and then load the app movie into the shell movie but the app movie uses the stage class to determine some basic factors... the idea is that since I am loading app into shell, now app things that the stage is = to null. Any suggestions of how to adjust this minor issue? AS3 -- ...helmut ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Re: [AS3] Lock to Root or similar
Since the stage properties were scacely needed, i was able to transfer those properties to the shell but I am still courios on how to get the stage values to new loaded SWFs without having to actually pass the parameters through a function... TIA On 1/17/08, Helmut Granda [EMAIL PROTECTED] wrote: HI all, I am working on a site and everything is working properly. I decided to add a shell movie and then load the app movie into the shell movie but the app movie uses the stage class to determine some basic factors... the idea is that since I am loading app into shell, now app things that the stage is = to null. Any suggestions of how to adjust this minor issue? AS3 -- ...helmut -- ...helmut ___ 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] ASCrypt Nowhere To Be Found?
As meychi.com is currently offline, you may found ASCrypt for AS2 here: http://www.jek2k.com/wp/index.php/2007/05/22/cryptography-and-flash/ Download Link: http://www.jek2k.com/wp/wp/wp-content/uploads/2007/05/ascrypt_sample.zip And for AS3 here: http://ascrypt3.riaforge.org/ Download Link: http://ascrypt3.riaforge.org/index.cfm?event=action.download Cheers Fabrício Seger Kolling mailto:[EMAIL PROTECTED] [EMAIL PROTECTED] wrote: The original ASCrypt website seems to be down. Does anyone have the files? Thanks Elia ___ 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] ASCrypt Nowhere To Be Found?
As meychi.com is currently offline, you may found ASCrypt for AS2 here: http://www.jek2k.com/wp/index.php/2007/05/22/cryptography-and-flash/ Download Link: http://www.jek2k.com/wp/wp/wp-content/uploads/2007/05/ascrypt_sample.zip And for AS3 here: http://ascrypt3.riaforge.org/ Download Link: http://ascrypt3.riaforge.org/index.cfm?event=action.download Cheers Fabrício Seger Kolling [EMAIL PROTECTED] wrote: The original ASCrypt website seems to be down. Does anyone have the files? Thanks Elia ___ 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] osX - ActionScript Editor
Hi All, I know this is an old topic. I am looking for a good As2 ( and maybe As3 ) editor for OS-X. for the moment I have found these: http://macromates.com/ - which has not got great reviews. http://www.jedit.org/ - I have tried SEPY but was unable to get it working. Am I missing anything?... do you have any good recommendations? regards Karim ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] osX - ActionScript Editor
Eclipse with FDT good luck, Elia - Original Message - From: Karim Beyrouti [EMAIL PROTECTED] To: 'Flash Coders List' flashcoders@chattyfig.figleaf.com Sent: Thursday, January 17, 2008 2:20 PM Subject: [Flashcoders] osX - ActionScript Editor Hi All, I know this is an old topic. I am looking for a good As2 ( and maybe As3 ) editor for OS-X. for the moment I have found these: http://macromates.com/ - which has not got great reviews. http://www.jedit.org/ - I have tried SEPY but was unable to get it working. Am I missing anything?... do you have any good recommendations? regards Karim ___ 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] ASCrypt Nowhere To Be Found?
Great! Does anyone happen to have an ASP version that will convert R4 by any chance? Or any of the other encryptions with keys offered in the ASCrypt package. I was trying this ASP script for R4, but it doesn't produce the same results! http://www.4guysfromrolla.com/webtech/010100-1.shtml Cheers Elia - Original Message - From: Fabrício Seger Kolling - Dulldusk [EMAIL PROTECTED] To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Thursday, January 17, 2008 1:24 PM Subject: Re: [Flashcoders] ASCrypt Nowhere To Be Found? As meychi.com is currently offline, you may found ASCrypt for AS2 here: http://www.jek2k.com/wp/index.php/2007/05/22/cryptography-and-flash/ Download Link: http://www.jek2k.com/wp/wp/wp-content/uploads/2007/05/ascrypt_sample.zip And for AS3 here: http://ascrypt3.riaforge.org/ Download Link: http://ascrypt3.riaforge.org/index.cfm?event=action.download Cheers Fabrício Seger Kolling mailto:[EMAIL PROTECTED] [EMAIL PROTECTED] wrote: The original ASCrypt website seems to be down. Does anyone have the files? Thanks Elia ___ 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] osX - ActionScript Editor
FlexBuilder works well you could always use FlashDevelop using Parallels or something akin to that. On Jan 17, 2008 8:20 AM, Karim Beyrouti [EMAIL PROTECTED] wrote: Hi All, I know this is an old topic. I am looking for a good As2 ( and maybe As3 ) editor for OS-X. for the moment I have found these: http://macromates.com/ - which has not got great reviews. http://www.jedit.org/ - I have tried SEPY but was unable to get it working. Am I missing anything?... do you have any good recommendations? regards Karim ___ 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
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 _ _ 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:
Re: [Flashcoders] placing mc on the stage
It might be a problem that you're saying: canvas.attachMovie (code,code+i,this.getNextHighestDepth()); if you're attaching them to 'canvas', you want to say canvas.getNextHighestDepth() .m On Jan 17, 2008 1:36 PM, Pedro Kostelec [EMAIL PROTECTED] wrote: thanks jim. I changed code2 to code0 but it still doesn't work. There is only one MC visible on the stage, whichi anasily place where i want. but where is the other?? On 16/01/2008, Jim Robson [EMAIL PROTECTED] wrote: Pedro, Your loop goes from 0 to 1, and you are constructing the names of your movie clips as code+I; therefore, your movie clip names are code0 and code1. There is no such clip as code2. -Jim -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Pedro Kostelec Sent: Wednesday, January 16, 2008 7:21 PM To: Flash Coders List Subject: Re: [Flashcoders] placing mc on the stage Thanks for the reply. but it still doesn't work for me. I can only see code1 moving randomly overthe stage, but thereis no sign of code2 movie clip. Here is a bigger peace of the code: this.createEmptyMovieClip(canvas,this.getNextHighestDepth());//creates an empty MC in which i attach 2 textMCs mouseInterval = setInterval(cahngeAlpha, 1);//set interval for bg and hello world reload attachMovieInterval = setInterval(attachMovies, 200);//set interval for green text mc reload function attachMovies() { for (var i = 0; i2; i++) { canvas.attachMovie(code,code+i,this.getNextHighestDepth()); canvas.code1._x = random500; canvas.code1._y = random100; canvas.code2._x = Stage.width/2; canvas.code2._y = Stage.height/2; } } function cahngeAlpha() { a._alpha = (Math.round(_root._xmouse/550*100)); a._xscale = (Math.round(_root._xmouse+250)-1)/0.9998; a._yscale = (Math.floor(_root._xmouse/550*20+100)); black._alpha = Math.round((550-(_root._xmouse))/550*100); white._alpha = Math.round(_root._xmouse/550*100); random500 = Math.random()*100; random100 = Math.random()*100; updateAfterEvent(); } attachMovies();//ou said ihave to put this. but for the other function(cahngeAlpha) i didnt and it works perfectly!! have i done a mistake? On 16/01/2008, Bob Leisle [EMAIL PROTECTED] wrote: Hi Pedro, A couple of things: Are you trying to place the MovieClips once in random places, or make them move to random places? Your code suggests one-time placement. What you say below suggests movement on the stage. Also, have you checked your random calculations? If you divide (/) Math.random, you will always get a number less than 1. Math.random() returns a number between 0 and 1 which can then be multiplied to get numbers usable for the stage coordinates. If you are trying to place the clips one time on attachment, here is a function, based on the code you sent, that works: random100=Math.random()*100; random500=Math.random()*500; // Assumes you've already created the MovieClip, canvas. function attachMovies() { for (var i = 0; i2; i++) { canvas.attachMovie(code,code+i,this.getNextHighestDepth()); } canvas.code1._x = random500; canvas.code1._y = random100; canvas.code2._x = Stage.width/2; canvas.code2._y = Stage.height /2; } attachMovies(); This will place code1 at the some random point between (0,0) and (500, 100), and place code2 at center stage, offset by it's own registration point hth, Bob. Pedro Kostelec wrote: sorry. I forgot to copy this. random100=Math.random()/100; random500=Math.random()/500; - how do i do to define the x and y position of each mc separately? I don't get it.. what do you want to do here? what i want is to make one ofthose mcs moveup and downand the other right-left. Theproblem is tht i just can not do it function attachMovies() { for (var i = 0; i2; i++) {//iwantto place each of those mc-s into a different placeon the stage. I am not sure this is the right way. canvas.attachMovie (code,code+i,this.getNextHighestDepth ()); //didn't it created on mc named code1 and another code2 canvas.code1._x = random500;//i triyed something like canvas.code1._x=500; instead of this but it didn't work. what i am doing wrong?? canvas.code1._y = random100; canvas.code2._x = Stage.width/2; canvas.code2._x = Stage.height /2; } }On 16/01/2008, Leandro Ferreira [EMAIL PROTECTED] wrote: You could also use random(500), but is deprecated - http://www.adobe.com/support/flash/action_scripts/actionscript_dictionary/ac tionscript_dictionary630.html - how do i do to define the x and y position of each mc separately? I don't get it.. what do you want to do here? Leandro Ferreira On
Re: [Flashcoders] osX - ActionScript Editor
TextMate all the way... although if you have a chance to work on a PC I would definatelly recommend FlashDevelop, you will be surprise how much faster you code with FD. On 1/17/08, eric e. dolecki [EMAIL PROTECTED] wrote: FlexBuilder works well you could always use FlashDevelop using Parallels or something akin to that. On Jan 17, 2008 8:20 AM, Karim Beyrouti [EMAIL PROTECTED] wrote: Hi All, I know this is an old topic. I am looking for a good As2 ( and maybe As3 ) editor for OS-X. for the moment I have found these: http://macromates.com/ - which has not got great reviews. http://www.jedit.org/ - I have tried SEPY but was unable to get it working. Am I missing anything?... do you have any good recommendations? regards Karim ___ 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
Re: [Flashcoders] placing mc on the stage
thanks jim. I changed code2 to code0 but it still doesn't work. There is only one MC visible on the stage, whichi anasily place where i want. but where is the other?? On 16/01/2008, Jim Robson [EMAIL PROTECTED] wrote: Pedro, Your loop goes from 0 to 1, and you are constructing the names of your movie clips as code+I; therefore, your movie clip names are code0 and code1. There is no such clip as code2. -Jim -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Pedro Kostelec Sent: Wednesday, January 16, 2008 7:21 PM To: Flash Coders List Subject: Re: [Flashcoders] placing mc on the stage Thanks for the reply. but it still doesn't work for me. I can only see code1 moving randomly overthe stage, but thereis no sign of code2 movie clip. Here is a bigger peace of the code: this.createEmptyMovieClip(canvas,this.getNextHighestDepth());//creates an empty MC in which i attach 2 textMCs mouseInterval = setInterval(cahngeAlpha, 1);//set interval for bg and hello world reload attachMovieInterval = setInterval(attachMovies, 200);//set interval for green text mc reload function attachMovies() { for (var i = 0; i2; i++) { canvas.attachMovie(code,code+i,this.getNextHighestDepth()); canvas.code1._x = random500; canvas.code1._y = random100; canvas.code2._x = Stage.width/2; canvas.code2._y = Stage.height/2; } } function cahngeAlpha() { a._alpha = (Math.round(_root._xmouse/550*100)); a._xscale = (Math.round(_root._xmouse+250)-1)/0.9998; a._yscale = (Math.floor(_root._xmouse/550*20+100)); black._alpha = Math.round((550-(_root._xmouse))/550*100); white._alpha = Math.round(_root._xmouse/550*100); random500 = Math.random()*100; random100 = Math.random()*100; updateAfterEvent(); } attachMovies();//ou said ihave to put this. but for the other function(cahngeAlpha) i didnt and it works perfectly!! have i done a mistake? On 16/01/2008, Bob Leisle [EMAIL PROTECTED] wrote: Hi Pedro, A couple of things: Are you trying to place the MovieClips once in random places, or make them move to random places? Your code suggests one-time placement. What you say below suggests movement on the stage. Also, have you checked your random calculations? If you divide (/) Math.random, you will always get a number less than 1. Math.random() returns a number between 0 and 1 which can then be multiplied to get numbers usable for the stage coordinates. If you are trying to place the clips one time on attachment, here is a function, based on the code you sent, that works: random100=Math.random()*100; random500=Math.random()*500; // Assumes you've already created the MovieClip, canvas. function attachMovies() { for (var i = 0; i2; i++) { canvas.attachMovie(code,code+i,this.getNextHighestDepth()); } canvas.code1._x = random500; canvas.code1._y = random100; canvas.code2._x = Stage.width/2; canvas.code2._y = Stage.height /2; } attachMovies(); This will place code1 at the some random point between (0,0) and (500, 100), and place code2 at center stage, offset by it's own registration point hth, Bob. Pedro Kostelec wrote: sorry. I forgot to copy this. random100=Math.random()/100; random500=Math.random()/500; - how do i do to define the x and y position of each mc separately? I don't get it.. what do you want to do here? what i want is to make one ofthose mcs moveup and downand the other right-left. Theproblem is tht i just can not do it function attachMovies() { for (var i = 0; i2; i++) {//iwantto place each of those mc-s into a different placeon the stage. I am not sure this is the right way. canvas.attachMovie (code,code+i,this.getNextHighestDepth ()); //didn't it created on mc named code1 and another code2 canvas.code1._x = random500;//i triyed something like canvas.code1._x=500; instead of this but it didn't work. what i am doing wrong?? canvas.code1._y = random100; canvas.code2._x = Stage.width/2; canvas.code2._x = Stage.height /2; } }On 16/01/2008, Leandro Ferreira [EMAIL PROTECTED] wrote: You could also use random(500), but is deprecated - http://www.adobe.com/support/flash/action_scripts/actionscript_dictionary/ac tionscript_dictionary630.html - how do i do to define the x and y position of each mc separately? I don't get it.. what do you want to do here? Leandro Ferreira On 1/16/08, Bob Leisle [EMAIL PROTECTED] wrote: Hi Pedro, Try this instead: Math.random()*500; Here's a simplistic but clear tutorial on the subject: http://animation.about.com/od/flashanimationtutorials/ss/mathrandom.htm hth, Bob Pedro Kostelec wrote: Hello i got this code: this.createEmptyMovieClip(canvas,this.getNextHighestDepth());
Re: [Flashcoders] placing mc on the stage
i doesn't work. I am reposting the code in case youcan find a bug in it: this.createEmptyMovieClip(canvas,canvas.getNextHighestDepth()); mouseInterval = setInterval(cahngeAlpha, 1);//set interval for bg and hello world reload attachMovieInterval = setInterval(attachMovies, 300);//set interval for green text mc reload attachMovies(); function attachMovies() { for (var i = 0; i2; i++) { canvas.attachMovie(code,code+i,this.getNextHighestDepth()); canvas.code0._x = 500;//this one doesn't work at all,iijust cannot see the mc canvas.code0._y = 100;//this one does not work at all canvas.code1._x = Stage.width/2;//this one works fine canvas.code1._y = Stage.height/2;//this one works fine } } attachMovies(); function cahngeAlpha() { a._alpha = (Math.round(_root._xmouse/550*100)); a._xscale = (Math.round(_root._xmouse+250)-1)/0.9998; a._yscale = (Math.floor(_root._xmouse/550*20+100)); black._alpha = Math.round((550-(_root._xmouse))/550*100); white._alpha = Math.round(_root._xmouse/550*100); updateAfterEvent(); } On 17/01/2008, Matt S. [EMAIL PROTECTED] wrote: It might be a problem that you're saying: canvas.attachMovie (code,code+i,this.getNextHighestDepth()); if you're attaching them to 'canvas', you want to say canvas.getNextHighestDepth() .m On Jan 17, 2008 1:36 PM, Pedro Kostelec [EMAIL PROTECTED] wrote: thanks jim. I changed code2 to code0 but it still doesn't work. There is only one MC visible on the stage, whichi anasily place where i want. but where is the other?? On 16/01/2008, Jim Robson [EMAIL PROTECTED] wrote: Pedro, Your loop goes from 0 to 1, and you are constructing the names of your movie clips as code+I; therefore, your movie clip names are code0 and code1. There is no such clip as code2. -Jim -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Pedro Kostelec Sent: Wednesday, January 16, 2008 7:21 PM To: Flash Coders List Subject: Re: [Flashcoders] placing mc on the stage Thanks for the reply. but it still doesn't work for me. I can only see code1 moving randomly overthe stage, but thereis no sign of code2 movie clip. Here is a bigger peace of the code: this.createEmptyMovieClip(canvas,this.getNextHighestDepth ());//creates an empty MC in which i attach 2 textMCs mouseInterval = setInterval(cahngeAlpha, 1);//set interval for bg and hello world reload attachMovieInterval = setInterval(attachMovies, 200);//set interval for green text mc reload function attachMovies() { for (var i = 0; i2; i++) { canvas.attachMovie(code,code+i,this.getNextHighestDepth()); canvas.code1._x = random500; canvas.code1._y = random100; canvas.code2._x = Stage.width/2; canvas.code2._y = Stage.height/2; } } function cahngeAlpha() { a._alpha = (Math.round(_root._xmouse/550*100)); a._xscale = (Math.round(_root._xmouse+250)-1)/0.9998; a._yscale = (Math.floor(_root._xmouse/550*20+100)); black._alpha = Math.round((550-(_root._xmouse))/550*100); white._alpha = Math.round(_root._xmouse/550*100); random500 = Math.random()*100; random100 = Math.random()*100; updateAfterEvent(); } attachMovies();//ou said ihave to put this. but for the other function(cahngeAlpha) i didnt and it works perfectly!! have i done a mistake? On 16/01/2008, Bob Leisle [EMAIL PROTECTED] wrote: Hi Pedro, A couple of things: Are you trying to place the MovieClips once in random places, or make them move to random places? Your code suggests one-time placement. What you say below suggests movement on the stage. Also, have you checked your random calculations? If you divide (/) Math.random, you will always get a number less than 1. Math.random() returns a number between 0 and 1 which can then be multiplied to get numbers usable for the stage coordinates. If you are trying to place the clips one time on attachment, here is a function, based on the code you sent, that works: random100=Math.random()*100; random500=Math.random()*500; // Assumes you've already created the MovieClip, canvas. function attachMovies() { for (var i = 0; i2; i++) { canvas.attachMovie(code,code+i,this.getNextHighestDepth ()); } canvas.code1._x = random500; canvas.code1._y = random100; canvas.code2._x = Stage.width/2; canvas.code2._y = Stage.height /2; } attachMovies(); This will place code1 at the some random point between (0,0) and (500, 100), and place code2 at center stage, offset by it's own registration point hth, Bob. Pedro Kostelec wrote: sorry. I forgot to copy this. random100=Math.random()/100; random500=Math.random()/500; - how do i do to define the x and y position of each
Re: [Flashcoders] placing mc on the stage
i have uploaded the files here: http://public.box.net/pedrokost56903. You can download the sda.fla and sda.swf to find out whats wrong. They are made on flash CS3. I hope you can all open it. If there is someone that would like the fla file of flash 8 just tell Pedro On 17/01/2008, Pedro Kostelec [EMAIL PROTECTED] wrote: i doesn't work. I am reposting the code in case youcan find a bug in it: this.createEmptyMovieClip(canvas,canvas.getNextHighestDepth()); mouseInterval = setInterval(cahngeAlpha, 1);//set interval for bg and hello world reload attachMovieInterval = setInterval(attachMovies, 300);//set interval for green text mc reload attachMovies(); function attachMovies() { for (var i = 0; i2; i++) { canvas.attachMovie(code,code+i,this.getNextHighestDepth()); canvas.code0._x = 500;//this one doesn't work at all,iijust cannot see the mc canvas.code0._y = 100;//this one does not work at all canvas.code1._x = Stage.width /2;//this one works fine canvas.code1._y = Stage.height/2;//this one works fine } } attachMovies(); function cahngeAlpha() { a._alpha = (Math.round(_root._xmouse/550*100)); a._xscale = (Math.round(_root._xmouse+250)-1)/0.9998; a._yscale = (Math.floor(_root._xmouse/550*20+100)); black._alpha = Math.round((550-(_root._xmouse))/550*100); white._alpha = Math.round (_root._xmouse/550*100); updateAfterEvent(); } On 17/01/2008, Matt S. [EMAIL PROTECTED] wrote: It might be a problem that you're saying: canvas.attachMovie (code,code+i,this.getNextHighestDepth()); if you're attaching them to 'canvas', you want to say canvas.getNextHighestDepth () .m On Jan 17, 2008 1:36 PM, Pedro Kostelec [EMAIL PROTECTED] wrote: thanks jim. I changed code2 to code0 but it still doesn't work. There is only one MC visible on the stage, whichi anasily place where i want. but where is the other?? On 16/01/2008, Jim Robson [EMAIL PROTECTED] wrote: Pedro, Your loop goes from 0 to 1, and you are constructing the names of your movie clips as code+I; therefore, your movie clip names are code0 and code1. There is no such clip as code2. -Jim -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Pedro Kostelec Sent: Wednesday, January 16, 2008 7:21 PM To: Flash Coders List Subject: Re: [Flashcoders] placing mc on the stage Thanks for the reply. but it still doesn't work for me. I can only see code1 moving randomly overthe stage, but thereis no sign of code2 movie clip. Here is a bigger peace of the code: this.createEmptyMovieClip(canvas,this.getNextHighestDepth());//creates an empty MC in which i attach 2 textMCs mouseInterval = setInterval(cahngeAlpha, 1);//set interval for bg and hello world reload attachMovieInterval = setInterval(attachMovies, 200);//set interval for green text mc reload function attachMovies() { for (var i = 0; i2; i++) { canvas.attachMovie(code,code+i,this.getNextHighestDepth()); canvas.code1._x = random500; canvas.code1._y = random100; canvas.code2._x = Stage.width/2; canvas.code2._y = Stage.height/2; } } function cahngeAlpha() { a._alpha = (Math.round(_root._xmouse/550*100)); a._xscale = ( Math.round(_root._xmouse+250)-1)/0.9998; a._yscale = (Math.floor(_root._xmouse/550*20+100)); black._alpha = Math.round((550-(_root._xmouse))/550*100); white._alpha = Math.round(_root._xmouse/550*100); random500 = Math.random()*100; random100 = Math.random()*100; updateAfterEvent(); } attachMovies();//ou said ihave to put this. but for the other function(cahngeAlpha) i didnt and it works perfectly!! have i done a mistake? On 16/01/2008, Bob Leisle [EMAIL PROTECTED] wrote: Hi Pedro, A couple of things: Are you trying to place the MovieClips once in random places, or make them move to random places? Your code suggests one-time placement. What you say below suggests movement on the stage. Also, have you checked your random calculations? If you divide (/) Math.random, you will always get a number less than 1. Math.random () returns a number between 0 and 1 which can then be multiplied to get numbers usable for the stage coordinates. If you are trying to place the clips one time on attachment, here is a function, based on the code you sent, that works: random100=Math.random()*100; random500=Math.random()*500; // Assumes you've already created the MovieClip, canvas. function attachMovies() { for (var i = 0; i2; i++) { canvas.attachMovie(code,code+i, this.getNextHighestDepth()); } canvas.code1._x = random500; canvas.code1._y =
Re: [Flashcoders] placing mc on the stage
HERE: this.createEmptyMovieClip(canvas,canvas.getNextHighestDepth()); Should be: this.createEmptyMovieClip(canvas,this.getNextHighestDepth()); But HERE: canvas.attachMovie(code,code+i,this.getNextHighestDepth()); Should be: canvas.attachMovie(code,code+i,canvas.getNextHighestDepth()); .m On Jan 17, 2008 3:11 PM, Pedro Kostelec [EMAIL PROTECTED] wrote: i doesn't work. I am reposting the code in case youcan find a bug in it: this.createEmptyMovieClip(canvas,canvas.getNextHighestDepth()); mouseInterval = setInterval(cahngeAlpha, 1);//set interval for bg and hello world reload attachMovieInterval = setInterval(attachMovies, 300);//set interval for green text mc reload attachMovies(); function attachMovies() { for (var i = 0; i2; i++) { canvas.attachMovie(code,code+i,this.getNextHighestDepth()); canvas.code0._x = 500;//this one doesn't work at all,iijust cannot see the mc canvas.code0._y = 100;//this one does not work at all canvas.code1._x = Stage.width/2;//this one works fine canvas.code1._y = Stage.height/2;//this one works fine } } attachMovies(); function cahngeAlpha() { a._alpha = (Math.round(_root._xmouse/550*100)); a._xscale = (Math.round(_root._xmouse+250)-1)/0.9998; a._yscale = (Math.floor(_root._xmouse/550*20+100)); black._alpha = Math.round((550-(_root._xmouse))/550*100); white._alpha = Math.round(_root._xmouse/550*100); updateAfterEvent(); } On 17/01/2008, Matt S. [EMAIL PROTECTED] wrote: It might be a problem that you're saying: canvas.attachMovie (code,code+i,this.getNextHighestDepth()); if you're attaching them to 'canvas', you want to say canvas.getNextHighestDepth() .m On Jan 17, 2008 1:36 PM, Pedro Kostelec [EMAIL PROTECTED] wrote: thanks jim. I changed code2 to code0 but it still doesn't work. There is only one MC visible on the stage, whichi anasily place where i want. but where is the other?? On 16/01/2008, Jim Robson [EMAIL PROTECTED] wrote: Pedro, Your loop goes from 0 to 1, and you are constructing the names of your movie clips as code+I; therefore, your movie clip names are code0 and code1. There is no such clip as code2. -Jim -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Pedro Kostelec Sent: Wednesday, January 16, 2008 7:21 PM To: Flash Coders List Subject: Re: [Flashcoders] placing mc on the stage Thanks for the reply. but it still doesn't work for me. I can only see code1 moving randomly overthe stage, but thereis no sign of code2 movie clip. Here is a bigger peace of the code: this.createEmptyMovieClip(canvas,this.getNextHighestDepth ());//creates an empty MC in which i attach 2 textMCs mouseInterval = setInterval(cahngeAlpha, 1);//set interval for bg and hello world reload attachMovieInterval = setInterval(attachMovies, 200);//set interval for green text mc reload function attachMovies() { for (var i = 0; i2; i++) { canvas.attachMovie(code,code+i,this.getNextHighestDepth()); canvas.code1._x = random500; canvas.code1._y = random100; canvas.code2._x = Stage.width/2; canvas.code2._y = Stage.height/2; } } function cahngeAlpha() { a._alpha = (Math.round(_root._xmouse/550*100)); a._xscale = (Math.round(_root._xmouse+250)-1)/0.9998; a._yscale = (Math.floor(_root._xmouse/550*20+100)); black._alpha = Math.round((550-(_root._xmouse))/550*100); white._alpha = Math.round(_root._xmouse/550*100); random500 = Math.random()*100; random100 = Math.random()*100; updateAfterEvent(); } attachMovies();//ou said ihave to put this. but for the other function(cahngeAlpha) i didnt and it works perfectly!! have i done a mistake? On 16/01/2008, Bob Leisle [EMAIL PROTECTED] wrote: Hi Pedro, A couple of things: Are you trying to place the MovieClips once in random places, or make them move to random places? Your code suggests one-time placement. What you say below suggests movement on the stage. Also, have you checked your random calculations? If you divide (/) Math.random, you will always get a number less than 1. Math.random() returns a number between 0 and 1 which can then be multiplied to get numbers usable for the stage coordinates. If you are trying to place the clips one time on attachment, here is a function, based on the code you sent, that works: random100=Math.random()*100; random500=Math.random()*500; // Assumes you've already created the MovieClip, canvas. function attachMovies() { for (var i = 0; i2; i++) { canvas.attachMovie(code,code+i,this.getNextHighestDepth ()); } canvas.code1._x = random500; canvas.code1._y =
RE: [Flashcoders] Dispatch or Call?
For example do you create a custom event for every custom event you need? or would you rather just say _myClass.myEvent(withParamsifnecessary); If I think I know what you're asking, I personally either dispatch events and have other classes listen for them (but avoid tight coupling between classes as much as possible), or sublcass existing classes and rely on the events they already dispatch. For example, in one class listen for the updateComplete event in another UIComponent class and then respond accordingly. on a side note it seems like Flashcodes has quiet down a lot since the server hick-up or is it that a lot of people are falling away from flash because it looks like making the switch to AS3 is too difficult (although -imho- once you start using it becomes really natural) Nah, a bunch of us created Flash_Tiger on Yahoo! and we're talking over there. This list is about as active as Flash_Tiger, but posts are probably now divided between the two. We created it because of the archive and stability problems with this list, but not to necessarily compete with it. Come on over, we've got Adobe engineers there and over 300 members. You can subscribe via e-mail delivery only, e-mail digest, or use the Web interface. Come on over and try us out free with no obligation for 30 days. After 30 days you'll need to either feed the tigers or unsubscribe. :) Jason Merrill Bank of America GTO LLD Solutions Design Development eTools Multimedia Bank of America Flash Platform Developer Community ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] Dispatch or Call?
Jason Merrill wrote: After 30 days you'll need to either feed the tigers or unsubscribe. :) Actually, that only applies to our subscribers in San Francisco :^| ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Dispatch or Call?
I am wondering what the rest of you do when it comes down to communicating between classes... putting all the Design patterns aside and just thinking logically what would be the best practice when trying to make this kind of communication? For example do you create a custom event for every custom event you need? or would you rather just say _myClass.myEvent(withParamsifnecessary); on a side note it seems like Flashcodes has quiet down a lot since the server hick-up or is it that a lot of people are falling away from flash because it looks like making the switch to AS3 is too difficult (although -imho- once you start using it becomes really natural) -- ...helmut ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Problems with Gradient Banding
Hi Guys, After experimenting for a bit with CS3's gradients, I haven't found a way to reproduce high-quality gradients on a large scale (matrix box size ~1000px). I keep running into issues of gradient banding (if you've ever seen this problem, the term should make sense) when using large radial gradients. And if you adjust the gradient's alpha the problem only seems to get worse. Does anyone know what causes this? It's as if for large gradients flash doesn't perform enough steps making the transition from the start to end colors, so on a large scale the color difference between steps is clearly visible. Any tips for getting around this issue would be greatly appreciated! Best, Ed ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] progress Bar in AS3
http://www.bit-101.com/blog/?p=946 On Jan 14, 2008 9:27 AM, Gustavo Duenas [EMAIL PROTECTED] wrote: Hi There is a way to set up the progress Bar to load the stage or main timeline. I have the component dragged to my stage, then I've click on pulled and in the source I'll write: root, _root well this one works in AS2, but Actually I've just migrated to AS3, so if you know a way to do this, please let me know. Regards Gustavo Gustavo A. Duenas Creative Director LEFT AND RIGHT SOLUTIONS 904. 265 0330 - 904. 386 7958 www.leftandrightsolutions.com Jacksonville - Florida ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- Corban Baxter http://www.projectx4.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Google Analytics ga.js Update
i'm hoping it was just the space! ha love that. I will find out tomorrow when i start seeing it working in the system! On Jan 16, 2008 3:06 PM, Jim Robson [EMAIL PROTECTED] wrote: Right, but my suggestion doesn't change that. I'm just referring to the syntax of the code inside your tracking() method; I'm not suggesting that you do away with the method. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Corban Baxter Sent: Wednesday, January 16, 2008 3:45 PM To: Flash Coders List Subject: Re: [Flashcoders] Google Analytics ga.js Update I was trying to make it an easy call to the function from anywhere in the site. Thats why I created the function. I was hoping to just keep from having to write both lines all over the site. On Jan 16, 2008 2:17 PM, Jim Robson [EMAIL PROTECTED] wrote: Corban, This may just be a typo in your email, but there was a space between the underscore and trackPageview. More to the point, did you try this syntax: ExternalInterface.call(pageTracker._trackPageview, page); See: Programming ActionScript 3.0 / Flash Player APIs / Using the external API / Using the ExternalInterface class -Jim -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Corban Baxter Sent: Wednesday, January 16, 2008 3:00 PM To: Flash Coders List Subject: [Flashcoders] Google Analytics ga.js Update Hey guys I was working on updating my script for the new Google Analytics ga.js code. Can some one tell me what I might be missing in my code? My actionscript: function tracking(page) { import flash.external.ExternalInterface; ExternalInterface.call(pageTracker._ trackPageview(' + page + ');); } tracking(/flash/home); Google's Javascript: script type=text/javascript var gaJsHost = ((https: == document.location.protocol) ? https://ssl.; : http://www.;); document.write(unescape(%3Cscript src=' + gaJsHost + google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E)); /script script type=text/javascript var pageTracker = _gat._getTracker(UA-2876431-9); pageTracker._initData(); pageTracker._trackPageview(); /script Thanks in advance! -- -cb http://blog.projectx4.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 -- Corban Baxter http://www.projectx4.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 -- Corban Baxter http://www.projectx4.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] placing mc on the stage
Thank you very much matt s. I am so stupid. You've alredy told that some posts ago but i didn't get it right. Perhaps there will be a new question about the same project soon. There was sth i wanted to do but right now i forgot what. I have to see the data. Pedro K. On 17/01/2008, Matt S. [EMAIL PROTECTED] wrote: HERE: this.createEmptyMovieClip(canvas,canvas.getNextHighestDepth()); Should be: this.createEmptyMovieClip(canvas,this.getNextHighestDepth()); But HERE: canvas.attachMovie(code,code+i,this.getNextHighestDepth()); Should be: canvas.attachMovie(code,code+i,canvas.getNextHighestDepth()); .m On Jan 17, 2008 3:11 PM, Pedro Kostelec [EMAIL PROTECTED] wrote: i doesn't work. I am reposting the code in case youcan find a bug in it: this.createEmptyMovieClip(canvas,canvas.getNextHighestDepth()); mouseInterval = setInterval(cahngeAlpha, 1);//set interval for bg and hello world reload attachMovieInterval = setInterval(attachMovies, 300);//set interval for green text mc reload attachMovies(); function attachMovies() { for (var i = 0; i2; i++) { canvas.attachMovie(code,code+i,this.getNextHighestDepth()); canvas.code0._x = 500;//this one doesn't work at all,iijust cannot see the mc canvas.code0._y = 100;//this one does not work at all canvas.code1._x = Stage.width/2;//this one works fine canvas.code1._y = Stage.height/2;//this one works fine } } attachMovies(); function cahngeAlpha() { a._alpha = (Math.round(_root._xmouse/550*100)); a._xscale = (Math.round(_root._xmouse+250)-1)/0.9998; a._yscale = (Math.floor(_root._xmouse/550*20+100)); black._alpha = Math.round((550-(_root._xmouse))/550*100); white._alpha = Math.round(_root._xmouse/550*100); updateAfterEvent(); } On 17/01/2008, Matt S. [EMAIL PROTECTED] wrote: It might be a problem that you're saying: canvas.attachMovie (code,code+i,this.getNextHighestDepth()); if you're attaching them to 'canvas', you want to say canvas.getNextHighestDepth() .m On Jan 17, 2008 1:36 PM, Pedro Kostelec [EMAIL PROTECTED] wrote: thanks jim. I changed code2 to code0 but it still doesn't work. There is only one MC visible on the stage, whichi anasily place where i want. but where is the other?? On 16/01/2008, Jim Robson [EMAIL PROTECTED] wrote: Pedro, Your loop goes from 0 to 1, and you are constructing the names of your movie clips as code+I; therefore, your movie clip names are code0 and code1. There is no such clip as code2. -Jim -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Pedro Kostelec Sent: Wednesday, January 16, 2008 7:21 PM To: Flash Coders List Subject: Re: [Flashcoders] placing mc on the stage Thanks for the reply. but it still doesn't work for me. I can only see code1 moving randomly overthe stage, but thereis no sign of code2 movie clip. Here is a bigger peace of the code: this.createEmptyMovieClip(canvas,this.getNextHighestDepth ());//creates an empty MC in which i attach 2 textMCs mouseInterval = setInterval(cahngeAlpha, 1);//set interval for bg and hello world reload attachMovieInterval = setInterval(attachMovies, 200);//set interval for green text mc reload function attachMovies() { for (var i = 0; i2; i++) { canvas.attachMovie(code,code+i,this.getNextHighestDepth()); canvas.code1._x = random500; canvas.code1._y = random100; canvas.code2._x = Stage.width/2; canvas.code2._y = Stage.height/2; } } function cahngeAlpha() { a._alpha = (Math.round(_root._xmouse/550*100)); a._xscale = (Math.round(_root._xmouse+250)-1)/0.9998; a._yscale = (Math.floor(_root._xmouse/550*20+100)); black._alpha = Math.round((550-(_root._xmouse))/550*100); white._alpha = Math.round(_root._xmouse/550*100); random500 = Math.random()*100; random100 = Math.random()*100; updateAfterEvent(); } attachMovies();//ou said ihave to put this. but for the other function(cahngeAlpha) i didnt and it works perfectly!! have i done a mistake? On 16/01/2008, Bob Leisle [EMAIL PROTECTED] wrote: Hi Pedro, A couple of things: Are you trying to place the MovieClips once in random places, or make them move to random places? Your code suggests one-time placement. What you say below suggests movement on the stage. Also, have you checked your random calculations? If you divide (/) Math.random, you will always get a number less than 1. Math.random() returns a number between 0 and 1 which can then be multiplied to get numbers usable for the stage coordinates. If
Re: [Flashcoders] Dispatch or Call?
:), I was a subscriber at first when the tiger list was created but for some reason I couldnt get used to it and unsubscribed. Maybe time to give it another try. maybe On 1/17/08, Kerry Thompson [EMAIL PROTECTED] wrote: Jason Merrill wrote: After 30 days you'll need to either feed the tigers or unsubscribe. :) Actually, that only applies to our subscribers in San Francisco :^| ___ 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
Re: [Flashcoders] Dispatch or Call?
On 1/17/08, Merrill, Jason [EMAIL PROTECTED] wrote: For example do you create a custom event for every custom event you need? or would you rather just say _myClass.myEvent(withParamsifnecessary); If I think I know what you're asking, I personally either dispatch events and have other classes listen for them (but avoid tight coupling between classes as much as possible), or sublcass existing classes and rely on the events they already dispatch. For example, in one class listen for the updateComplete event in another UIComponent class and then respond accordingly. Thanks Jason.. that was the same idea that i had but i didnt know if I was doing a lot of extrawork by creating custom dispatchers/listeners when I could just talk directly to the class references... ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] FlashVar question
This is one of those that I feel I should know, or be able to figure out - but I'm on a deadline, it's late, and I'm sick of Googling. So here goes... On our server, sometimes when I go to a url, the www is removed. Normally this is not an issue, but on this particular project it seems to hose my query parameters, that are injected into the Flash with SWFObject. Example: This url doesn't work properly: http://blurredistinction.com/test/albany/?door=ultrasecurefeature=6 However, this one does - only diff being the www: http://www.blurredistinction.com/test/albany/?door=ultrasecurefeature=6 Also, if I just type the following url into the browser: www.blurredistinction.com/test/albany It goes to the page, but becomes: http://blurredistinction.com/test/albany/ The www is removed... This hasn't been an issue until now. I've noticed the www being removed but have never taken the time to figure out why. Now, it seems I need to. Clues for the clueless? Dave - Head Developer http://www.blurredistinction.com Adobe Community Expert http://www.adobe.com/communities/experts/ ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] FlashVar question
top 2 links look the same to me, using FF on mac I am getting the redirect on the third - do you have any htaccess rules? On Jan 18, 2008 12:26 AM, Dave Mennenoh [EMAIL PROTECTED] wrote: This is one of those that I feel I should know, or be able to figure out - but I'm on a deadline, it's late, and I'm sick of Googling. So here goes... On our server, sometimes when I go to a url, the www is removed. Normally this is not an issue, but on this particular project it seems to hose my query parameters, that are injected into the Flash with SWFObject. Example: This url doesn't work properly: http://blurredistinction.com/test/albany/?door=ultrasecurefeature=6 However, this one does - only diff being the www: http://www.blurredistinction.com/test/albany/?door=ultrasecurefeature=6 Also, if I just type the following url into the browser: www.blurredistinction.com/test/albany It goes to the page, but becomes: http://blurredistinction.com/test/albany/ The www is removed... This hasn't been an issue until now. I've noticed the www being removed but have never taken the time to figure out why. Now, it seems I need to. Clues for the clueless? Dave - Head Developer http://www.blurredistinction.com Adobe Community Expert http://www.adobe.com/communities/experts/ ___ 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] FlashVar question
Thanks. Odd... I was just talking with tech support, and they told me they had to investigate further. But I just tried the top link again, and indeed the video opens. It wasn't working, I swear. I didn't have an .htaccess in place, so I am not sure what they did - they told me they did nothing. The only stuff I've ever put in any .htaccess anyway was to block minijegos. What would pull off the www? Dave - Head Developer http://www.blurredistinction.com Adobe Community Expert http://www.adobe.com/communities/experts/ ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] AS3 type coercion error
I am loading in a SWF with a document class of PreloadPage, which extends AbstractPreloader. When I try to cast _loader.content as the super class, I get a coercion error. TypeError: Error #1034: Type Coercion failed: cannot convert [EMAIL PROTECTED] to com.gaiaframework.pages.AbstractPreloader. var _preloader:AbstractPreloader; _preloader = AbstractPreloader(_loader.content); public class PreloadPage extends AbstractPreloader implements IPreloader { public class AbstractPreloader extends AbstractBase implements IPreloader { Can somebody please explain why I can't cast a subclass as its parent class in this case? This doesn't make sense to me... -- Steven Sacks Flash Maestro Los Angeles, CA -- blog: http://www.stevensacks.net gaia: http://www.gaiaflashframework.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] progress Bar in AS3
Hello :) In my AS3 opensource framework you can find an extension LunAS who contains progressbar, scrollbar, containers and button models for the moment (the other component implementation are in progress :)) VEGAS project page : http://code.google.com/p/vegas/ install the framework : http://code.google.com/p/vegas/wiki/InstallVEGASwithSVN Example to use my components in the SVN repository of the project : http://svn1.cvsdude.com/osflash/vegas/AS3/trunk/bin/test/lunas/display/ EKA+ :) 2008/1/17, Corban Baxter [EMAIL PROTECTED]: http://www.bit-101.com/blog/?p=946 On Jan 14, 2008 9:27 AM, Gustavo Duenas [EMAIL PROTECTED] wrote: Hi There is a way to set up the progress Bar to load the stage or main timeline. I have the component dragged to my stage, then I've click on pulled and in the source I'll write: root, _root well this one works in AS2, but Actually I've just migrated to AS3, so if you know a way to do this, please let me know. Regards Gustavo Gustavo A. Duenas Creative Director LEFT AND RIGHT SOLUTIONS 904. 265 0330 - 904. 386 7958 www.leftandrightsolutions.com Jacksonville - Florida ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- Corban Baxter http://www.projectx4.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