[Flashcoders] Re: How does YouTube convert all video formats to Flash format? (Jordan L. Chilcott - Interactivity Unlimited)
I would say, the best practice is to do the rendering on a unix/linux machine with command line syntax etc. We use ffmepg with the Sorenson library from Flash MX 2004, so you'll be able to script down things with PHP, Perl or whatever you want. Squeeze is a bad idea if you ask me, it's to complicated, you must have several servers for the same result, and it's even slower than ffmpeg. Mihajlo Nikolic www.atomsolutions.net [EMAIL PROTECTED] ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] get number of line in dynamic textfield
Hi there, I'm trying to do something really simple ( or at least it should be simple) but I can't get it to work right. I have a textfield that gets filled with text and I want to know how many lines are inside the textfield when it gets filled. Some longer lines will wrap, so I just can't use a simple counter when filling the textfield. I've been trying to get it right with maxscroll and bottomscroll and it is allmost right, but nog quite. this is te code I use to test it: [code] _root.createTextField(txt, 100 , 100 , 100 , 100, 100); txt.autoSize = true; numb = 20; for(var i = 0; i= numb;i++){ txt.text += i + __ sometext + newline; var line = (txt.bottomScroll-1) + (txt.maxscroll - 1); trace(lineNumber = + (i+1)+ -- +line +newline + bottomscroll = +txt.bottomScroll +newline+ maxscroll = + txt.maxscroll + newline ) } [/code] Can anybody help me with this, because it is driving me nuts! thanks in advance arjan ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] get number of line in dynamic textfield
var lines:Number = txt.bottomScroll+(txt.maxscroll-txt.scroll); - Original Message - From: Flascoders maillijst [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Friday, February 09, 2007 10:38 AM Subject: [Flashcoders] get number of line in dynamic textfield Hi there, I'm trying to do something really simple ( or at least it should be simple) but I can't get it to work right. I have a textfield that gets filled with text and I want to know how many lines are inside the textfield when it gets filled. Some longer lines will wrap, so I just can't use a simple counter when filling the textfield. I've been trying to get it right with maxscroll and bottomscroll and it is allmost right, but nog quite. this is te code I use to test it: [code] _root.createTextField(txt, 100 , 100 , 100 , 100, 100); txt.autoSize = true; numb = 20; for(var i = 0; i= numb;i++){ txt.text += i + __ sometext + newline; var line = (txt.bottomScroll-1) + (txt.maxscroll - 1); trace(lineNumber = + (i+1)+ -- +line +newline + bottomscroll = +txt.bottomScroll +newline+ maxscroll = + txt.maxscroll + newline ) } [/code] Can anybody help me with this, because it is driving me nuts! thanks in advance arjan ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Changing the computer code of a swf file?
Hey, Thanks this sounds interesting.. although i wanted to do it realtime :) I'll check it out.. Best regards, Dennis - Original Message - From: Mark Winterhalder [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Thursday, February 08, 2007 6:38 PM Subject: Re: [Flashcoders] Changing the computer code of a swf file? If you mean something like giving it a hidden tag to identify where one in the wild came from, maybe Swfmill could help. It can convert an existing SWF to XML, you edit that, maybe a property name or text in a hidden textfield, then convert it back to SWF. Mark On 2/8/07, Dennis - I Sioux [EMAIL PROTECTED] wrote: Hey guys, Just a long shot.. But i had a request if it was possible to change the file source from the swf... the code you see when you open a swf in notepad :) This to ad a (Security/affiliate) var. With kind regards, Dennis -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Changing the computer code of a swf file?
Can you not just read it in when the program starts? affiliate=acme affiliate_logo = acme.jpg Modifying code to change the values of variables is a pretty roundabout way to write code. A jump back to the 1940s'. Not often seen in these days. Ron Dennis - I Sioux wrote: Hey, Thanks this sounds interesting.. although i wanted to do it realtime :) I'll check it out.. Best regards, Dennis - Original Message - From: Mark Winterhalder [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Thursday, February 08, 2007 6:38 PM Subject: Re: [Flashcoders] Changing the computer code of a swf file? If you mean something like giving it a hidden tag to identify where one in the wild came from, maybe Swfmill could help. It can convert an existing SWF to XML, you edit that, maybe a property name or text in a hidden textfield, then convert it back to SWF. Mark On 2/8/07, Dennis - I Sioux [EMAIL PROTECTED] wrote: Hey guys, Just a long shot.. But i had a request if it was possible to change the file source from the swf... the code you see when you open a swf in notepad :) This to ad a (Security/affiliate) var. With kind regards, Dennis -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Changing the computer code of a swf file?
It's more a way to protect swf's with a bit of security.. and the reason the thought came up was because of the fact no one works like that anymore since the 1940ies :-D If you publish a fla with 1 var _root.test and open the swf in notepad you will see the var in between the code.. When you put 2 vars in the fla.. it becomes a formula and the vars can't be read directly anymore.. I'd like to dynamiclly hide a var by adding it to the swf source code :) Long shot i know.. more the curiosity by now:-D Kind regards, Dennis - Original Message - From: Ron Wheeler [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Friday, February 09, 2007 3:35 PM Subject: Re: [Flashcoders] Changing the computer code of a swf file? Can you not just read it in when the program starts? affiliate=acme affiliate_logo = acme.jpg Modifying code to change the values of variables is a pretty roundabout way to write code. A jump back to the 1940s'. Not often seen in these days. Ron Dennis - I Sioux wrote: Hey, Thanks this sounds interesting.. although i wanted to do it realtime :) I'll check it out.. Best regards, Dennis - Original Message - From: Mark Winterhalder [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Thursday, February 08, 2007 6:38 PM Subject: Re: [Flashcoders] Changing the computer code of a swf file? If you mean something like giving it a hidden tag to identify where one in the wild came from, maybe Swfmill could help. It can convert an existing SWF to XML, you edit that, maybe a property name or text in a hidden textfield, then convert it back to SWF. Mark On 2/8/07, Dennis - I Sioux [EMAIL PROTECTED] wrote: Hey guys, Just a long shot.. But i had a request if it was possible to change the file source from the swf... the code you see when you open a swf in notepad :) This to ad a (Security/affiliate) var. With kind regards, Dennis -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Flash Upload and asp.net trouble
Hey everyone, I have done flash upload with php, and that worked fine, and now I have an asp.net script -which ALMOST does the job just as good. The only problem is that when the upload is finished, it does takes a few hundreds or tenths of a second before asp.net really has the file where it should be. In php, I could make a loadMovie on the image I uploaded through the FileReference immediatley when flash told me the upload was finished, anyone knows why asp.net is behaving differently? Now I make a pause for half a second before making a loadMovie call. I got source-code if you want to see into the code. / martin ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Flash Upload and asp.net trouble
Do you have an upload script that works even with the newest player? I built a flash uploader and was using regular ASP...it all worked fine in player 8 but when player 9 came it crapped out on meso I built one in .NET and that worked great but now it seems Adobe has come out with another update and my uploader no longer works. How did you manage to get uploading to even work with the new player and ASP.NET? Sorry for not helping your situtation...I just found out that my uploader is not working today and I checked the list and saw your message ;) Evan On 2/9/07, Rákos Attila [EMAIL PROTECTED] wrote: Although myself never experienced such (I mainly used PHP with file uploads), I heard about similar issue with PHP. I guess that it is caused by a kind of disk write cache or something similar, and more depends on OS and its settings, than on PHP or ASP.NET. May be flushing that buffer can help. Attila MK I have done flash upload with php, and that worked fine, MK and now I have an asp.net script -which ALMOST does the job just as good. MK MK The only problem is that when the upload is finished, it does takes a MK few hundreds or tenths MK of a second before asp.net really has the file where it should be. MK MK In php, I could make a loadMovie on the image I uploaded through the MK FileReference immediatley when MK flash told me the upload was finished, anyone knows why asp.net is MK behaving differently? MK MK Now I make a pause for half a second before making a loadMovie call. MK MK I got source-code if you want to see into the code. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] Flash Upload and asp.net trouble
I use FileReference in Flash player 9 with ASP.NET (C#) and it works fine, never had any issues. Jason Merrill Bank of America Learning Organizational Effectiveness -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Evan Bond Sent: Friday, February 09, 2007 11:32 AM To: Flashcoders mailing list Subject: Re: [Flashcoders] Flash Upload and asp.net trouble Do you have an upload script that works even with the newest player? I built a flash uploader and was using regular ASP...it all worked fine in player 8 but when player 9 came it crapped out on meso I built one in .NET and that worked great but now it seems Adobe has come out with another update and my uploader no longer works. How did you manage to get uploading to even work with the new player and ASP.NET? Sorry for not helping your situtation...I just found out that my uploader is not working today and I checked the list and saw your message ;) Evan On 2/9/07, Rákos Attila [EMAIL PROTECTED] wrote: Although myself never experienced such (I mainly used PHP with file uploads), I heard about similar issue with PHP. I guess that it is caused by a kind of disk write cache or something similar, and more depends on OS and its settings, than on PHP or ASP.NET. May be flushing that buffer can help. Attila MK I have done flash upload with php, and that worked fine, and now I MK have an asp.net script -which ALMOST does the job just as good. MK MK The only problem is that when the upload is finished, it does MK takes a few hundreds or tenths of a second before asp.net really MK has the file where it should be. MK MK In php, I could make a loadMovie on the image I uploaded through MK the FileReference immediatley when flash told me the upload was MK finished, anyone knows why asp.net is behaving differently? MK MK Now I make a pause for half a second before making a loadMovie call. MK MK I got source-code if you want to see into the code. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] automated response
I will be out of the office from 02/09-02/15, however I will be checking email on a regular basis. If this an urgent matter I will respond to you shortly. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] automated response
Thanks for letting us know! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jessica Hensley Sent: Friday, February 09, 2007 12:06 PM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] automated response I will be out of the office from 02/09-02/15, however I will be checking email on a regular basis. If this an urgent matter I will respond to you shortly. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] determining which object is displayed at agivenpoint
Oops. I responded to the wrong thread, I'm sorry. :( That being said, perhaps rethinking your approach would help. There's a tutorial on Kirupa about managing z-order stacking of movieclips which might contribute to a solution. http://www.kirupa.com/developer/actionscript/3dexplore.htm ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] determining which object is displayed at agivenpoint
I think he is referring to the following class from another thread. One problem pertaining to your issue is that it doesn't take into consideration depth. It is still more process intensive then just firing a callback on rollOver but could be useful for you and give you some ideas: class com.domain.RollWhileWithin extends MovieClip { public var rolled:Boolean; function RollWhileWithin () { rolled = false; } public function doRollOver():Void { if (!rolled) { rolled = true; gotoAndStop(over); } } public function doRollOut():Void { if (rolled) { rolled = false; gotoAndStop(up); } } } One level above it, you can manage as many clips as there are. var checkMouseInterval:Number; clearInterval(checkMouseInterval); checkMouseInterval = setInterval(this, checkMouse, 100); private function checkMouse():Void { var i:Number = 5; while (i--) { var clip:MovieClip = this[MC_RollClip + i]; if (_xmouse clip._x _xmouse clip._x + clip._width _ymouse clip._y _ymouse clip._y + clip._height) { clip.doRollOver(); } else { clip.doRollOut(); } } } -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Vishal Kapur Sent: Thursday, February 08, 2007 11:19 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] determining which object is displayed at agivenpoint Ok. This is what I was missing. Thanks to Karina and Erik for pointing out that you need to compare the entire parent chain of two objects to figure out which one is being rendered above the other. The only thing to add is that in addition to checking depths, the _visible property needs to be checked for the parent chain for each object (so if _visible is false anywhere in the parent chain, I consider that object to be invisible). This works in all cases except for some TextFields, where the bounding box of the textfield object is bigger than the area actually occupied by the text. This can be solved with a custom hitTest() implementation that uses Textfield.textWidth and .textHeight to get the bounding box of the displayed text. An interesting corollary is that this method would be a way to implement onRollOver for TextFields (if that ever proves useful to anyone). Steven, I'm not familiar with the class you're referring to. Could you send the link to it? I'm always looking to improve the simplicity and efficiency of my code... -- Vishal On 2/8/07, Steven Sacks | BLITZ [EMAIL PROTECTED] wrote: I think the class I wrote works well enough, I actually pulled it out of an app I'm working on with complex rollovers like that. Why not consider my way? It's simple, easy and, most importantly, it works. It hardly takes any processing power, too. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Identifier expected
As you have discovered you are not able to use numbers as keys in line objects. Trying to do what you do will however not change this. Only way to do what you want would be to insert the indexes manually: function createObj():Void { this._data = new Object(); this._data[a] = new Object(); this._data[a][1] = new Number(0) } Mendelsohn, Michael wrote: Hi list... Simple question -- why doesn't the 2nd line work? The identifier expected error is traced at compile time. Thanks, - Michael M. function createObj():Void { this._data = new Object(); this._data[a] = {1:new Number(0), 2:new Number(0), 3:new Number(0)}; } ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] Identifier expected
2 issues: 1) identifiers are an expression not a string ie a:hey vs a:hey. The later will not work 2) You can not use a number as identifier in this case. The compiler catches it and throws an error. However, you can hack it using this[1] = hello world; trace(this[1]); but then you can use {:} type syntax. -erik -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mendelsohn, Michael Sent: Friday, February 09, 2007 10:09 AM To: Flashcoders mailing list Subject: [Flashcoders] Identifier expected Hi list... Simple question -- why doesn't the 2nd line work? The identifier expected error is traced at compile time. Thanks, - Michael M. function createObj():Void { this._data = new Object(); this._data[a] = {1:new Number(0), 2:new Number(0), 3:new Number(0)}; } ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] Identifier expected
As you have discovered you are not able to use numbers as keys in line objects. That's not true. Just wrote this and it works fine. a = {}; a[a] = {}; a[a][1] = new Number(5); trace(a[a][1]); -- 5 Works for me. You must be doing something else wrong. I'm not sure why you're using new Number(). I don't think I've ever used that. Ever. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] Identifier expected
The second line does not work because you are evaluating a string to try to resolve it to a property of the object, (which you are hoping is a sub-object) that does not exist yet. In other words, this._data.a the .a in the above statement has not been declared or identified as an object, and thus this._data[a] resolves to nothing. Jason Merrill Bank of America Learning Organizational Effectiveness -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mendelsohn, Michael Sent: Friday, February 09, 2007 1:09 PM To: Flashcoders mailing list Subject: [Flashcoders] Identifier expected Hi list... Simple question -- why doesn't the 2nd line work? The identifier expected error is traced at compile time. Thanks, - Michael M. function createObj():Void { this._data = new Object(); this._data[a] = {1:new Number(0), 2:new Number(0), 3:new Number(0)}; } ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] Identifier expected
*can't use* {:} -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Erik Bianchi Sent: Friday, February 09, 2007 10:25 AM To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] Identifier expected 2 issues: 1) identifiers are an expression not a string ie a:hey vs a:hey. The later will not work 2) You can not use a number as identifier in this case. The compiler catches it and throws an error. However, you can hack it using this[1] = hello world; trace(this[1]); but then you can use {:} type syntax. -erik -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mendelsohn, Michael Sent: Friday, February 09, 2007 10:09 AM To: Flashcoders mailing list Subject: [Flashcoders] Identifier expected Hi list... Simple question -- why doesn't the 2nd line work? The identifier expected error is traced at compile time. Thanks, - Michael M. function createObj():Void { this._data = new Object(); this._data[a] = {1:new Number(0), 2:new Number(0), 3:new Number(0)}; } ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] Identifier expected
Thanks Jason. I see what you're saying. So I inited an object and then define it, but the below still errors. I was just hoping to be able to define my object with only one line of code. private function createData():Void { this._data = new Object(); this._data[a] = new Object(); this._data[a] = {t1:0, t2:0}; } I was using new Number for a reason, but it's not critical I suppose. Thanks Steven. - Mike The second line does not work because you are evaluating a string to try to resolve it to a property of the object, (which you are hoping is a sub-object) that does not exist yet. In other words, this._data.a the .a in the above statement has not been declared or identified as an object, and thus this._data[a] resolves to nothing. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] Identifier expected
private function createData():Void { this._data = {a:{t1:0, t2:0}}; } One line. :) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mendelsohn, Michael Sent: Friday, February 09, 2007 11:02 AM To: Flashcoders mailing list Subject: RE: [Flashcoders] Identifier expected Thanks Jason. I see what you're saying. So I inited an object and then define it, but the below still errors. I was just hoping to be able to define my object with only one line of code. private function createData():Void { this._data = new Object(); this._data[a] = new Object(); this._data[a] = {t1:0, t2:0}; } I was using new Number for a reason, but it's not critical I suppose. Thanks Steven. - Mike The second line does not work because you are evaluating a string to try to resolve it to a property of the object, (which you are hoping is a sub-object) that does not exist yet. In other words, this._data.a the .a in the above statement has not been declared or identified as an object, and thus this._data[a] resolves to nothing. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] Identifier expected
That's because you're still not refrencing an object that exists: this._data[a] = new Object(); You're saying, Hey, _data, make your a property an object. But Flash is saying, hold on cowboy, I don't see any property of _data called a. So instead: private function createData():Void { this._data = new Object(); this._data.a = new Object(); this._data.a = {t1:0, t2:0}; } Or use the one-liner Steve just posted, which is intead, an explicit declaration. I use that one commonly. Jason Merrill Bank of America Learning Organizational Effectiveness -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mendelsohn, Michael Sent: Friday, February 09, 2007 2:02 PM To: Flashcoders mailing list Subject: RE: [Flashcoders] Identifier expected Thanks Jason. I see what you're saying. So I inited an object and then define it, but the below still errors. I was just hoping to be able to define my object with only one line of code. private function createData():Void { this._data = new Object(); this._data[a] = new Object(); this._data[a] = {t1:0, t2:0}; } I was using new Number for a reason, but it's not critical I suppose. Thanks Steven. - Mike The second line does not work because you are evaluating a string to try to resolve it to a property of the object, (which you are hoping is a sub-object) that does not exist yet. In other words, this._data.a the .a in the above statement has not been declared or identified as an object, and thus this._data[a] resolves to nothing. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re[2]: [Flashcoders] Identifier expected
MJ That's because you're still not refrencing an object that exists: MJ this._data[a] = new Object(); MJ MJ You're saying, Hey, _data, make your a property an object. But Flash MJ is saying, hold on cowboy, I don't see any property of _data called a. You are not right, it is totally acceptable and correct, I think you are mixing something up :) Attila ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Identifier expected
Uh, Jason. There's nothing wrong with saying: var data:Object=new Object(); data['a']=something; Try it. Ian On 2/9/07, Merrill, Jason [EMAIL PROTECTED] wrote: That's because you're still not refrencing an object that exists: this._data[a] = new Object(); You're saying, Hey, _data, make your a property an object. But Flash is saying, hold on cowboy, I don't see any property of _data called a. So instead: private function createData():Void { this._data = new Object(); this._data.a = new Object(); this._data.a = {t1:0, t2:0}; } Or use the one-liner Steve just posted, which is intead, an explicit declaration. I use that one commonly. Jason Merrill Bank of America Learning Organizational Effectiveness -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mendelsohn, Michael Sent: Friday, February 09, 2007 2:02 PM To: Flashcoders mailing list Subject: RE: [Flashcoders] Identifier expected Thanks Jason. I see what you're saying. So I inited an object and then define it, but the below still errors. I was just hoping to be able to define my object with only one line of code. private function createData():Void { this._data = new Object(); this._data[a] = new Object(); this._data[a] = {t1:0, t2:0}; } I was using new Number for a reason, but it's not critical I suppose. Thanks Steven. - Mike The second line does not work because you are evaluating a string to try to resolve it to a property of the object, (which you are hoping is a sub-object) that does not exist yet. In other words, this._data.a the .a in the above statement has not been declared or identified as an object, and thus this._data[a] resolves to nothing. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] Identifier expected
Right, But a is not an object. If you follow the thread, you will see that's' what he's trying to do. There IS something wrong with: private function createData():Void { this._data = new Object(); this._data[a] = new Object(); this._data[a] = {t1:0, t2:0}; } createData() trace(this._data.a) Jason Merrill Bank of America Learning Organizational Effectiveness -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ian Thomas Sent: Friday, February 09, 2007 2:47 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] Identifier expected Uh, Jason. There's nothing wrong with saying: var data:Object=new Object(); data['a']=something; Try it. Ian On 2/9/07, Merrill, Jason [EMAIL PROTECTED] wrote: That's because you're still not refrencing an object that exists: this._data[a] = new Object(); You're saying, Hey, _data, make your a property an object. But Flash is saying, hold on cowboy, I don't see any property of _data called a. So instead: private function createData():Void { this._data = new Object(); this._data.a = new Object(); this._data.a = {t1:0, t2:0}; } Or use the one-liner Steve just posted, which is intead, an explicit declaration. I use that one commonly. Jason Merrill Bank of America Learning Organizational Effectiveness -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mendelsohn, Michael Sent: Friday, February 09, 2007 2:02 PM To: Flashcoders mailing list Subject: RE: [Flashcoders] Identifier expected Thanks Jason. I see what you're saying. So I inited an object and then define it, but the below still errors. I was just hoping to be able to define my object with only one line of code. private function createData():Void { this._data = new Object(); this._data[a] = new Object(); this._data[a] = {t1:0, t2:0}; } I was using new Number for a reason, but it's not critical I suppose. Thanks Steven. - Mike The second line does not work because you are evaluating a string to try to resolve it to a property of the object, (which you are hoping is a sub-object) that does not exist yet. In other words, this._data.a the .a in the above statement has not been declared or identified as an object, and thus this._data[a] resolves to nothing. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] Identifier expected
There's nothing wrong with saying: var data:Object=new Object(); data['a']=something; Try it. OK, I see, so then curious why this script returns compiler errors: function createData():Void { this._data = new Object(); this._data[a] = new Object(); this._data[a] = {t1:0, t2:0}; } createData() trace(this._data.a) Seems to be something wrong with that. Jason Merrill Bank of America Learning Organizational Effectiveness -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ian Thomas Sent: Friday, February 09, 2007 2:47 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] Identifier expected Uh, Jason. There's nothing wrong with saying: var data:Object=new Object(); data['a']=something; Try it. Ian On 2/9/07, Merrill, Jason [EMAIL PROTECTED] wrote: That's because you're still not refrencing an object that exists: this._data[a] = new Object(); You're saying, Hey, _data, make your a property an object. But Flash is saying, hold on cowboy, I don't see any property of _data called a. So instead: private function createData():Void { this._data = new Object(); this._data.a = new Object(); this._data.a = {t1:0, t2:0}; } Or use the one-liner Steve just posted, which is intead, an explicit declaration. I use that one commonly. Jason Merrill Bank of America Learning Organizational Effectiveness -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mendelsohn, Michael Sent: Friday, February 09, 2007 2:02 PM To: Flashcoders mailing list Subject: RE: [Flashcoders] Identifier expected Thanks Jason. I see what you're saying. So I inited an object and then define it, but the below still errors. I was just hoping to be able to define my object with only one line of code. private function createData():Void { this._data = new Object(); this._data[a] = new Object(); this._data[a] = {t1:0, t2:0}; } I was using new Number for a reason, but it's not critical I suppose. Thanks Steven. - Mike The second line does not work because you are evaluating a string to try to resolve it to a property of the object, (which you are hoping is a sub-object) that does not exist yet. In other words, this._data.a the .a in the above statement has not been declared or identified as an object, and thus this._data[a] resolves to nothing. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: Re[2]: [Flashcoders] Identifier expected
You are not right, it is totally acceptable and correct, I think you are mixing something up :) I understand what you're saying, but in context of what he's trying to do (inline object declaration), explain the compiler error on this code: function createData():Void { this._data = new Object(); this._data[a] = {t1:0, t2:0}; trace(this._data.a.t1) } createData(); So instead, this is ugly, but works: function createData():Void { this._data = new Object(); this._data[a] = new Object(); this._data[a].t1 = 0 this._data[a].t2 = 0 trace(this._data.a.t1) } createData(); Jason Merrill Bank of America Learning Organizational Effectiveness -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rákos Attila Sent: Friday, February 09, 2007 2:31 PM To: Flashcoders mailing list Subject: Re[2]: [Flashcoders] Identifier expected MJ That's because you're still not refrencing an object that exists: MJ this._data[a] = new Object(); MJ MJ You're saying, Hey, _data, make your a property an object. But MJ Flash is saying, hold on cowboy, I don't see any property of _data called a. You are not right, it is totally acceptable and correct, I think you are mixing something up :) Attila ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: SPAM-LOW: [Flashcoders] Identifier expected
Wow, a lot of misinformation here gents. this._data[a] = {1:new Number(0), 2:new Number(0), 3:new Number(0)}; When creating a new object using this syntax the property names are considered strings. Adding the quotes is what is causing the issue. If you remove the quotes the compiler will still complain because you can start a property value with a number, unless you use the [] syntax for creating a property. In that case you can use anything you want, even non-printable characters. As you have discovered you are not able to use numbers as keys in line objects. That's not true. Just wrote this and it works fine. a = {}; a[a] = {}; a[a][1] = new Number(5); trace(a[a][1]); The quote was in line objects, so the statement was true. What you did was take the in line objects and represent it in a different manner. The second line does not work because you are evaluating a string to try to resolve it to a property of the object, (which you are hoping is a sub-object) that does not exist yet. No, he wasn't. this._data = new Object(); // Fine this._data[a] = {}; // Still fine this._data was created, then this._data.a is created afterwards using the {} syntax instead of new Object(). That's why this still produces errors: private function createData():Void { this._data = new Object(); this._data[a] = new Object(); this._data[a] = {t1:0, t2:0}; } If you MUST have numbers as the property values, use Chris Benjaminsen's version: function createObj():Void { this._data = new Object(); this._data[a] = new Object(); this._data[a][1] = new Number(0) ... } Derek Vadneau - Original Message - From: Mendelsohn, Michael [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Friday, February 09, 2007 1:08 PM Subject: SPAM-LOW: [Flashcoders] Identifier expected Hi list... Simple question -- why doesn't the 2nd line work? The identifier expected error is traced at compile time. Thanks, - Michael M. function createObj():Void { this._data = new Object(); this._data[a] = {1:new Number(0), 2:new Number(0), 3:new Number(0)}; } ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: Re[2]: [Flashcoders] Identifier expected
Stop using new Object() and use {}; :) I'm not experiencing the same issue you're having Jason. Not sure why. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re[2]: [Flashcoders] Identifier expected
MJ OK, I see, so then curious why this script returns compiler errors: MJ MJ function createData():Void { MJ this._data = new Object(); MJ this._data[a] = new Object(); MJ this._data[a] = {t1:0, t2:0}; MJ } Because when using the object initializer operator, you cannot use strings as identifiers (similarly to variable declaration). In the above script the this._data[a] = new Object(); line is simply not necessary, and the right syntax of the last one is: this._data[a] = {t1:0, t2:0}; or even better: this._data.a = {t1:0, t2:0}; Attila ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] How are web apps like Queeky and Imagination Cubed replaying drawings?
Hi, I'm a newbie to this community and was hoping if anyone can help me with something. I've been trying to find out how sites like Queeky.com are able to remember drawings made through a flash movie and replay what was done to the user? thanks in advance -JR ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] Identifier expected
Thanks everyone for the responses. This thread has been really helpful. - MM ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] UIObject without MM Components
Hi, I am working on an app that has many view classes that extend mx.core.UIObject. Until recently I was using Macromedia components as placeholders, but the production app will use a different library, the FlashLoaded BJC components, which are incompatible with the Macromedia components. I removed all the MM components from the library, and now my app won't run. The first class that loads extends UIObject, and even though that class is in my classpath, my view class that extends it will not run. However, when I add a single MM component to my Library--I have tried it with the Label and the Button--it compiles and my UIObject subclasses work as intended. What gives? Is it possible to use UIObject without using the MM components? Thanks for any help you can offer, OK DAH ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] finding domain
Does anyone know if _url is the same thing Flash Player uses to check sandbox? -erik ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] finding domain
From testing it would appear no. =( -erik -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Erik Bianchi Sent: Friday, February 09, 2007 2:07 PM To: 'Flashcoders mailing list' Subject: [Flashcoders] finding domain Does anyone know if _url is the same thing Flash Player uses to check sandbox? -erik ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] FWD: Flex 2 API for Yahoo! Maps
Sorry if this has hit this list already, but it is important! -Scott -- Forwarded message -- From: ... Date: Feb 9, 2007 4:09 PM Subject: [flexcoders] Flex 2 API for Yahoo! Maps To: flexcoders@yahoogroups.com There's a suggestion on the Yahoo Developer Network for a Flex 2 API for Yahoo Maps. All of you want it, even if you don't think you do. :) So throw in that vote! http://suggestions.yahoo.com/detail/?prop=ydnfid=3208 __._,_.___ Messages in this topic http://groups.yahoo.com/group/flexcoders/message/64371;_ylc=X3oDMTM3ZGZxZ3ViBF9TAzk3MzU5NzE0BGdycElkAzEyMjg2MTY3BGdycHNwSWQDMTcwNTAwNzIwNwRtc2dJZAM2NDM3MQRzZWMDZnRyBHNsawN2dHBjBHN0aW1lAzExNzEwNTkxMDIEdHBjSWQDNjQzNzE-( 1) Reply (via web post) http://groups.yahoo.com/group/flexcoders/post;_ylc=X3oDMTJydDJvanNuBF9TAzk3MzU5NzE0BGdycElkAzEyMjg2MTY3BGdycHNwSWQDMTcwNTAwNzIwNwRtc2dJZAM2NDM3MQRzZWMDZnRyBHNsawNycGx5BHN0aW1lAzExNzEwNTkxMDI-?act=replymessageNum=64371| Start a new topic http://groups.yahoo.com/group/flexcoders/post;_ylc=X3oDMTJmbDh1MjEzBF9TAzk3MzU5NzE0BGdycElkAzEyMjg2MTY3BGdycHNwSWQDMTcwNTAwNzIwNwRzZWMDZnRyBHNsawNudHBjBHN0aW1lAzExNzEwNTkxMDI- Messageshttp://groups.yahoo.com/group/flexcoders/messages;_ylc=X3oDMTJmMDlwb2htBF9TAzk3MzU5NzE0BGdycElkAzEyMjg2MTY3BGdycHNwSWQDMTcwNTAwNzIwNwRzZWMDZnRyBHNsawNtc2dzBHN0aW1lAzExNzEwNTkxMDI- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com [image: Yahoo! Groups]http://groups.yahoo.com/;_ylc=X3oDMTJlc2s0aDV0BF9TAzk3MzU5NzE0BGdycElkAzEyMjg2MTY3BGdycHNwSWQDMTcwNTAwNzIwNwRzZWMDZnRyBHNsawNnZnAEc3RpbWUDMTE3MTA1OTEwMg-- Change settings via the Webhttp://groups.yahoo.com/group/flexcoders/join;_ylc=X3oDMTJnajg3aGVoBF9TAzk3MzU5NzE0BGdycElkAzEyMjg2MTY3BGdycHNwSWQDMTcwNTAwNzIwNwRzZWMDZnRyBHNsawNzdG5ncwRzdGltZQMxMTcxMDU5MTAy(Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest[EMAIL PROTECTED]:+Digest| Switch format to Traditional[EMAIL PROTECTED]:+Traditional Visit Your Group http://groups.yahoo.com/group/flexcoders;_ylc=X3oDMTJlOTJlYjhwBF9TAzk3MzU5NzE0BGdycElkAzEyMjg2MTY3BGdycHNwSWQDMTcwNTAwNzIwNwRzZWMDZnRyBHNsawNocGYEc3RpbWUDMTE3MTA1OTEwMg--| Yahoo! Groups Terms of Use http://docs.yahoo.com/info/terms/ | Unsubscribe [EMAIL PROTECTED] Recent Activity - 107 New Membershttp://groups.yahoo.com/group/flexcoders/members;_ylc=X3oDMTJnbnRodGw2BF9TAzk3MzU5NzE0BGdycElkAzEyMjg2MTY3BGdycHNwSWQDMTcwNTAwNzIwNwRzZWMDdnRsBHNsawN2bWJycwRzdGltZQMxMTcxMDU5MTAy Visit Your Group http://groups.yahoo.com/group/flexcoders;_ylc=X3oDMTJmaDl2MzJoBF9TAzk3MzU5NzE0BGdycElkAzEyMjg2MTY3BGdycHNwSWQDMTcwNTAwNzIwNwRzZWMDdnRsBHNsawN2Z2hwBHN0aW1lAzExNzEwNTkxMDI- SPONSORED LINKS - Software development toolhttp://groups.yahoo.com/gads;_ylc=X3oDMTJkamN0aHM3BF9TAzk3MzU5NzE0BF9wAzEEZ3JwSWQDMTIyODYxNjcEZ3Jwc3BJZAMxNzA1MDA3MjA3BHNlYwNzbG1vZARzdGltZQMxMTcxMDU5MTAy?t=msk=Software+development+toolw1=Software+development+toolw2=Software+developmentw3=Software+development+servicesw4=Home+design+softwarew5=Software+development+companyc=5s=152g=2.sig=-g7I-F8ruxPL8no8ZFAx0w - Software developmenthttp://groups.yahoo.com/gads;_ylc=X3oDMTJkODJtb2JyBF9TAzk3MzU5NzE0BF9wAzIEZ3JwSWQDMTIyODYxNjcEZ3Jwc3BJZAMxNzA1MDA3MjA3BHNlYwNzbG1vZARzdGltZQMxMTcxMDU5MTAy?t=msk=Software+developmentw1=Software+development+toolw2=Software+developmentw3=Software+development+servicesw4=Home+design+softwarew5=Software+development+companyc=5s=152g=2.sig=gr9mtAoKFJnQF06zjx1waw - Software development serviceshttp://groups.yahoo.com/gads;_ylc=X3oDMTJkY2ttbmN1BF9TAzk3MzU5NzE0BF9wAzMEZ3JwSWQDMTIyODYxNjcEZ3Jwc3BJZAMxNzA1MDA3MjA3BHNlYwNzbG1vZARzdGltZQMxMTcxMDU5MTAy?t=msk=Software+development+servicesw1=Software+development+toolw2=Software+developmentw3=Software+development+servicesw4=Home+design+softwarew5=Software+development+companyc=5s=152g=2.sig=ntjRNxtOdZ_jUSLfJPIkiw - Home design softwarehttp://groups.yahoo.com/gads;_ylc=X3oDMTJkYTBuczhmBF9TAzk3MzU5NzE0BF9wAzQEZ3JwSWQDMTIyODYxNjcEZ3Jwc3BJZAMxNzA1MDA3MjA3BHNlYwNzbG1vZARzdGltZQMxMTcxMDU5MTAy?t=msk=Home+design+softwarew1=Software+development+toolw2=Software+developmentw3=Software+development+servicesw4=Home+design+softwarew5=Software+development+companyc=5s=152g=2.sig=UKtw8jm7fEaJty2hcCVyFg - Software development companyhttp://groups.yahoo.com/gads;_ylc=X3oDMTJkcDhiMGV0BF9TAzk3MzU5NzE0BF9wAzUEZ3JwSWQDMTIyODYxNjcEZ3Jwc3BJZAMxNzA1MDA3MjA3BHNlYwNzbG1vZARzdGltZQMxMTcxMDU5MTAy?t=msk=Software+development+companyw1=Software+development+toolw2=Software+developmentw3=Software+development+servicesw4=Home+design+softwarew5=Software+development+companyc=5s=152g=2.sig=v7C6JKvvBLf0I6WC1FPTvA Need traffic? Drive customershttp://us.ard.yahoo.com/SIG=12ifnmdp8/M=493064.9803227.10510220.8674578/D=groups/S=1705007207:NC/Y=YAHOO/EXP=1171066302/A=3848644/R=0/SIG=131l83flq/*http://searchmarketing.yahoo.com/arp/srchv2.php?o=US2006cmp=Yahooctv=Groups5s=Ys2=s3=b=50 With search ads on
Re: [Flashcoders] UIObject without MM Components
Bryan, You're awesome! In 100 years that would not have occurred to me. What a bizarre program Flash is! Thanks very much for the tip, OK DAH On Feb 9, 2007, at 6:25 PM, Bryan Thompson wrote: Try adding the UIObject MovieClip to your library. You'll find it (Win XP, Flash8) in Program Files\Macromedia\Flash 8\en\Configuration\ComonentFLA\StandardComponents.fla I use that when creating custom V2 components by putting it on stage in frame 2 after a stop() action. Works fine. Bryan I am working on an app that has many view classes that extend mx.core.UIObject. Until recently I was using Macromedia components as placeholders, but the production app will use a different library, the FlashLoaded BJC components, which are incompatible with the Macromedia components. I removed all the MM components from the library, and now my app won't run. The first class that loads extends UIObject, and even though that class is in my classpath, my view class that extends it will not run. However, when I add a single MM component to my Library--I have tried it with the Label and the Button--it compiles and my UIObject subclasses work as intended. What gives? Is it possible to use UIObject without using the MM components? Thanks for any help you can offer, OK DAH ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] UIObject without MM Components
It's in the docs though: Using Components Creating Components Creating a component movie clip http://livedocs.macromedia.com/flash/8/main/3024.html point 6 under Editing the movieclip regards, Muzak - Original Message - From: David Ham [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Saturday, February 10, 2007 3:44 AM Subject: Re: [Flashcoders] UIObject without MM Components Bryan, You're awesome! In 100 years that would not have occurred to me. What a bizarre program Flash is! Thanks very much for the tip, OK DAH ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] How are web apps like Queeky and Imagination Cubed replaying drawings?
Respond to a mouseMoved event, track the last mouse position, draw a stroke from that point to the new point (using the MovieClip drawing API), save the old point in an array, update lastX and lastY to this point, repeat. When done, you have an array of the points use to make the drawing. Capture other events like changing stroke size or color in the same array. On 2/9/07, JR Fabito [EMAIL PROTECTED] wrote: Hi, I'm a newbie to this community and was hoping if anyone can help me with something. I've been trying to find out how sites like Queeky.com are able to remember drawings made through a flash movie and replay what was done to the user? thanks in advance -JR ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com