Re: [Flashcoders] duplicateMovieClip() ?
I can invoke this function in my Scene. function alot(max) { var basename:String = circle_mc; for (var i = 0; imax; i++) { _root.it_mc.duplicateMovieClip(basename+i, this.getNextHighestDepth ()); _root[basename+i]._x = 100+i*5; _root[basename+i]._y = 100+i*5; } } alot(5); it_mc is a MovieClip on the Scene. 2006/3/13, Edward Hotchkiss [EMAIL PROTECTED]: hmm ... // begin code function alot(max) { var basename:String = circle_mc; for(var i = 0; i max; i++) { _root.it_mc.duplicateMovieClip(basename+i, this.getNextHighestDepth() ); _root[basename+i]._x = 100 + i*5; _root[basename+i]._y = 100 + i*5; } } the trace returns 0. why are my dynamically duplicated movieclips not showing up on the stage??? -eddie ___ 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 -- 亲爱的朋友,祝你天天快了! http://www.flashpixy.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] Encrypting data
Yes it is, but you could create a kind of checksum, for example take the highscore and append the senders IP and then hash this string, and check if the server´s hash results in the same checksum. Kind of a shared secret technique -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Mennenoh Sent: Wednesday, March 15, 2006 5:57 AM To: Flashcoders mailing list Subject: Re: [Flashcoders] Encrypting data MD5 isn't going to help encrypting a high score is it? It's a one way hash... Dave - Adobe Community Expert www.blurredistinction.com www.macromedia.com/support/forums/team_macromedia/ ___ 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] Requests
Hey, Was wondering if anyone had any problems with the addRequestHeader. A few requests comming to the server when i use loadvars.send in a _blank window have lost their post and the headers i attached in flash. Many thanks! Best regards, Dennis Dennis I Sioux B.V. Verlengde Zuiderloswal 4 1216 BX Hilversum T. +31 (0) 35 6216028 F. +31 (0) 35 6223806 E. [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
RE: [Flashcoders] Memory leak in Flash projector
I know there's an issue with using bitmapdata - http://www.gskinner.com/blog/archives/2005/10/major_flash_pla.html Does that help anyone? M -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of André Goliath Sent: 14 March 2006 23:01 To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] Memory leak in Flash projector I had similar issues and solved it by minimizing/restoring the App via a third party wrapper (SWF Studio in my case) in an Interval. It seems that by doing that the Garbage Collector is forced to run, it´s the same for Win.shide/show. However I was not able to find the memory leak in my code yet, it is quite complex with bunch of AS2 classes involved, but I *think* I deleted evere reference after use, but maybe I´m wrong with that,... hth André ___ 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] Still need help-Can't reference library fontfromclass
Try this Jason, http://www.codesortium.com/demo/simpletextfield/simpletextfield.zip Jim -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Merrill, Jason Sent: 13 March 2006 20:53 To: Flashcoders mailing list Subject: RE: [Flashcoders] Still need help-Can't reference library fontfromclass Jamie, thanks - so I tried calling setNewTextFormat(theFormat) before (and also after) I set the text value the second time, and it still doesn't show the text field. If I just set the text and the text format one time, it shows up fine. This is unbelievably frustrating, why would Flash behave so? Seems very buggy to me. Jason Merrill | E-Learning Solutions | icfconsulting.com -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Jamie S Sent: Friday, March 10, 2006 4:13 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] Still need help-Can't reference library font fromclass Although I have had my fair share of headaches with TextFormat, I think I may know what is going on here. There are two methods for assigning a textFormat to a textField. These are setTextFormat() and setNewTextFormat(). The way I understand it setTextFormat() sets the style of the text that is currently assigned to the textField BUT any new text assigned by actionscript, by replaceSel() or by the user (in the case of input text) is styled according to the setNewTextFormat() method and if none is given, as in your class, the new text is given some default style, which, as you've noticed, is not necessarily the same as the style you defined by setTextFormat(). so I would try using setNewTextFormat() also and see if that works. J On 3/10/06, Merrill, Jason [EMAIL PROTECTED] wrote: I finally did get this to work by trying it in a fresh .fla, but now I'm seeing this issue: When I do this: import com.icfconsulting.objects.SimpleTextField; tf=SimpleTextField.create(this) It's fine, the text field show and with the right font. But when I try and set the text on the text field it returns, like this: import com.icfconsulting.objects.SimpleTextField; tf=SimpleTextField.create(this) tf.text=hello, hello! It just shows blank, like setting the text on the text field my class returns screws it up somehow. Any idea what's up? The class code is the same, and I am trying this in a new fresh .fla with a Swis font in the library. Why would adding that one line screw it up again? My simple class test file is as follows: class com.icfconsulting.objects.SimpleTextField{ public static function create(target_mc:MovieClip):TextField{ var my_fmt:TextFormat = new TextFormat(); my_fmt.font = Swis; my_fmt.color = 0x00; my_fmt.size = 16; target_mc.createTextField(tf_txt,0,20,20,200,20); target_mc.tf_txt.embedFonts = true; target_mc.tf_txt.text=Hello world; target_mc.tf_txt.setTextFormat(my_fmt); return target_mc.tf_txt; } } Jason Merrill | E-Learning Solutions | icfconsulting.com NOTICE: This message is for the designated recipient only and may contain privileged or confidential information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of this e-mail by you is prohibited. ___ 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
[Flashcoders] crosspost: update your flash-players immediately
http://www.microsoft.com/technet/security/advisory/916208.mspx http://www.macromedia.com/devnet/security/security_zone/apsb06-03.html micha ___ 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] Help with shared library fonts
This is not exactly true, you can do it quite easily with shared libraries, I have posted this example on this forum a few times, I think I might have to put it on my blog . Using shared library fonts is very easy, just a but touchy. Download this zip and take a look at how easy it is. http://www.codesortium.com/demo/sharedlibrary/example.zip Jim -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Spencer Markowski Sent: 12 March 2006 17:22 To: Flashcoders mailing list Subject: Re: [Flashcoders] Help with shared library fonts Shared libraries are a bit tricky. Don't use font symbols in the library. Use MCs with a text box inside. Embed the font in the MC. http://www.sharedfonts.com/eng/faq.html -- This site was extremely helpful. Download the demo... watch how it works. You need to create a font_name_library movie with the font exported for RTS. Then create a shared asset movie... drag the movieclip with the textfield in it from the font_name_library to the new shared asset document. Publish Then load the shared asset library only when loading into your main swf. Not very helpful, but hit me back if you need help. I've created an automatic font library extension for flash that makes it a breeze. -Spencer On 3/12/06, Hypno Joe [EMAIL PROTECTED] wrote: *I am using Flash8* Is there a way to keep fonts in an external movie and load them dynamically into a movie when needed? The flash movie I am currently working on is a text editor that is all generated dynamically. A text box is generated on the main movie like this: this.createTextField(message_txt, 200, 10, 10, 560, 200); message_txt.embedFonts = true; The main text box is styled using TextFormat. var messageformat:TextFormat; meassageformat = new TextFormat(); messageformat.size = 20; messageformat.font = hightower_font; I have a button that calls in an external SWF that contains a list of different fonts for the text box. The fonts are embedded in the movie and exported for action script and runtime sharing. They change the font like this: this.aucion_mc.onRelease = function () { messageformat = new TextFormat(); messageformat.font = aucion_font; _root.message_txt.setTextFormat(messageformat); } The fonts show up in the external SWF as it is loaded into the main movie but when one of the bottons is presssed, the text in the text box disappears. If I embed the fonts in the main movie, I have no problems. Everything works fine. But that defeats the purpose of having the fonts exist externally. I only want them to load if the user wants to change fonts. ___ 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 -- Spencer Markowski [EMAIL PROTECTED] 314.631.5576 ___ 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] Help with Tree Component
Hey folks, I'm trying to customise the Tree component to intercept itemRollOver events to stop the highlight on the component if a node is set to 'disabled'. Can anyone point me to the right method/object in the hierarchy to acheive this please? TIA, J ___ 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] [ann] 20th March Sydney Developers study group meeting
On Monday 20th March is the next meeting of the study group we will be studying FlexUnit 2, the unit testing framework for Flex 2. Please read the articles prior to the meeting (see http://www.flashdev.org.au/program). At the meeting, the moderator will lead discussion and with questions about the topic. The meeting is on at 6:30pm for 7pm start and finishes around 8:30pm. Details about the group, venue and program are available from http://www.flashdev.org.au. Please note, whilst the meetings and the use of the club are free, the club does require us to purchase beverages and/or snacks in exchange. Please RSVP at http://www.flashdev.org.au/rsvp. Chris -- Chris Velevitch Manager - Sydney Flash Platform Developers Group www.flashdev.org.au ___ 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] Uploading file problem on MAC
I made an app where the user can upload pictures to the swf file. Works finr in IE and Firefox on PC. However, on the Mac, when the browser dialog box comes up all files are non-selectable. I can get the browse window up, but I cant select any files? Has anyone experienced this before? I hvae found that there are problemes with MAC and the onComplete call, but cant find anything on not being able to select files in the first place. Can anyone help. /M ___ 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] crosspost: update your flash-players immediately
Anyone know if this posses a threat for Flash Player 8.5? ___ 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] Windows IE Cache Problem
I have a client that has webcams that are sending images via ftp to a folder every 15 seconds to a static link and overwriting the previous image of the same name. I am bringing those images into a flash interface and am refreshing those images every 15 seconds with a setInterval loop. Everything works fine on all browsers except IE on windows. It is caching the image and not updating at all. Is there anyway, that I can force IE to dump the reference it has in the cache and pull in the newer image? Thanks, (for reference, go to www.thegrandpet.com and click on the webcams. The first four are not password protected.) -- Bo Parker, AIGA RMC 215 S Jennings Avenue Fort Worth, Texas 76104 817.332.4700 phone 817.332.4710 facsimile www.rmcfw.com On Mar 15, 2006, at 7:11 AM, Chris Velevitch wrote: On Monday 20th March is the next meeting of the study group we will be studying FlexUnit 2, the unit testing framework for Flex 2. Please read the articles prior to the meeting (see http://www.flashdev.org.au/program). At the meeting, the moderator will lead discussion and with questions about the topic. The meeting is on at 6:30pm for 7pm start and finishes around 8:30pm. Details about the group, venue and program are available from http://www.flashdev.org.au. Please note, whilst the meetings and the use of the club are free, the club does require us to purchase beverages and/or snacks in exchange. Please RSVP at http://www.flashdev.org.au/rsvp. Chris -- Chris Velevitch Manager - Sydney Flash Platform Developers Group www.flashdev.org.au ___ 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] Windows IE Cache Problem
guess the very default routine to deal with cache should do smthn.loadImage(webCamImg.jpg?dummy=+new Date()*1) 2006/3/15, Bo Parker [EMAIL PROTECTED]: I have a client that has webcams that are sending images via ftp to a folder every 15 seconds to a static link and overwriting the previous image of the same name. I am bringing those images into a flash interface and am refreshing those images every 15 seconds with a setInterval loop. Everything works fine on all browsers except IE on windows. It is caching the image and not updating at all. Is there anyway, that I can force IE to dump the reference it has in the cache and pull in the newer image? Thanks, (for reference, go to www.thegrandpet.com and click on the webcams. The first four are not password protected.) -- Bo Parker, AIGA RMC 215 S Jennings Avenue Fort Worth, Texas 76104 817.332.4700 phone 817.332.4710 facsimile www.rmcfw.com On Mar 15, 2006, at 7:11 AM, Chris Velevitch wrote: On Monday 20th March is the next meeting of the study group we will be studying FlexUnit 2, the unit testing framework for Flex 2. Please read the articles prior to the meeting (see http://www.flashdev.org.au/program). At the meeting, the moderator will lead discussion and with questions about the topic. The meeting is on at 6:30pm for 7pm start and finishes around 8:30pm. Details about the group, venue and program are available from http://www.flashdev.org.au. Please note, whilst the meetings and the use of the club are free, the club does require us to purchase beverages and/or snacks in exchange. Please RSVP at http://www.flashdev.org.au/rsvp. Chris -- Chris Velevitch Manager - Sydney Flash Platform Developers Group www.flashdev.org.au ___ 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] Windows IE Cache Problem
Hi Bo, try loading from a fake dynamic reference, such as www.yourdomain.com/image.jpg?fake=+Math.round(Math.random()*10) that should work I guess -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bo Parker Sent: Wednesday, March 15, 2006 2:52 PM To: Flashcoders mailing list Subject: [Flashcoders] Windows IE Cache Problem I have a client that has webcams that are sending images via ftp to a folder every 15 seconds to a static link and overwriting the previous image of the same name. I am bringing those images into a flash interface and am refreshing those images every 15 seconds with a setInterval loop. Everything works fine on all browsers except IE on windows. It is caching the image and not updating at all. Is there anyway, that I can force IE to dump the reference it has in the cache and pull in the newer image? Thanks, (for reference, go to www.thegrandpet.com and click on the webcams. The first four are not password protected.) -- Bo Parker, AIGA RMC 215 S Jennings Avenue Fort Worth, Texas 76104 817.332.4700 phone 817.332.4710 facsimile www.rmcfw.com On Mar 15, 2006, at 7:11 AM, Chris Velevitch wrote: On Monday 20th March is the next meeting of the study group we will be studying FlexUnit 2, the unit testing framework for Flex 2. Please read the articles prior to the meeting (see http://www.flashdev.org.au/program). At the meeting, the moderator will lead discussion and with questions about the topic. The meeting is on at 6:30pm for 7pm start and finishes around 8:30pm. Details about the group, venue and program are available from http://www.flashdev.org.au. Please note, whilst the meetings and the use of the club are free, the club does require us to purchase beverages and/or snacks in exchange. Please RSVP at http://www.flashdev.org.au/rsvp. Chris -- Chris Velevitch Manager - Sydney Flash Platform Developers Group www.flashdev.org.au ___ 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] Windows IE Cache Problem
I have a client that has webcams that are sending images via ftp to a folder every 15 seconds to a static link and overwriting the previous image of the same name. I am bringing those images into a flash interface and am refreshing those images every 15 seconds with a setInterval loop. Everything works fine on all browsers except IE on windows. It is caching the image and not updating at all. Is there anyway, that I can force IE to dump the reference it has in the cache and pull in the newer image? Add a dummy query to your url: instead of asking for www.myserver.com/myimage.jpg, ask for www.myserver.com/myimage.jpg?random=8764865 That should force a refresh. Danny ___ 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] Timing Tweens Effectively
Hi, I'm looking to improve my handling of timed events for the sites I'm building. I'm using a lot of tweens, and stacking them using callbacks, and sometimes setInterval to achieve what I want. It's not particularly clean, so I was wondering if there's any methods or libraries, to code timed events in a more efficient manner. Thanks, - Kevin ___ 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] tooltip in the combobox.
hi all, i was wondering if there is a way to put some kind of tooltip in the combobox options, so putting the mouse over an combobox optin besides it get highlighted i can have a tip about the option. regards, rodrigo.___ 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] Windows IE Cache Problem
thanks for all your suggestions. Worked great. -- Bo Parker, AIGA RMC 215 S Jennings Avenue Fort Worth, Texas 76104 817.332.4700 phone 817.332.4710 facsimile www.rmcfw.com On Mar 15, 2006, at 8:05 AM, Danny Kodicek wrote: I have a client that has webcams that are sending images via ftp to a folder every 15 seconds to a static link and overwriting the previous image of the same name. I am bringing those images into a flash interface and am refreshing those images every 15 seconds with a setInterval loop. Everything works fine on all browsers except IE on windows. It is caching the image and not updating at all. Is there anyway, that I can force IE to dump the reference it has in the cache and pull in the newer image? Add a dummy query to your url: instead of asking for www.myserver.com/myimage.jpg, ask for www.myserver.com/myimage.jpg? random=8764865 That should force a refresh. Danny ___ 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] tooltip in the combobox.
yup. look for an event:itemRollOver like this... foo.itemRollOver = function ( oEvt ):Void { var indx:Number = oEvt.index; // pop your own tooltip using this event ... - e.dolecki On 3/15/06, Rodrigo Guerra [EMAIL PROTECTED] wrote: hi all, i was wondering if there is a way to put some kind of tooltip in the combobox options, so putting the mouse over an combobox optin besides it get highlighted i can have a tip about the option. regards, rodrigo. ___ 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] Uploading file problem on MAC
When specifying the file types that are allowed to upload, are you specifying a macType as well? If a file wasn't actually created on a Mac, it won't have a macType, and won't be selectable, even if it's still technically of the type you want to allow. Setting the macType isn't required, and the list of extensions used by Windows to filter the files will still work on the Mac, so I'd just remove the macType specification. - Josh On Mar 15, 2006, at 6:34 AM, Michael Kønig wrote: I made an app where the user can upload pictures to the swf file. Works finr in IE and Firefox on PC. However, on the Mac, when the browser dialog box comes up all files are non-selectable. I can get the browse window up, but I cant select any files? Has anyone experienced this before? I hvae found that there are problemes with MAC and the onComplete call, but cant find anything on not being able to select files in the first place. Can anyone help. /M ___ 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] remove BitmapData
Hello everyone, How can I remove a bitmap that I have attached on a movieclip at a certain depth? The only approach I was able to find was to attach another bitmap 1x1 transparent at the same depth, but I think this is a pretty stupid approach... Am I missing something? Thanks, Dimitrios ___ 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] Flex2 Project Conversion
i don't quite agree with your argument. I am not making any argument - not sure where you're getting that - I just said I wouldn't risk it myself, personally. Macromedia just posted in this thread that It is always risky to build on a beta... you need to judge your tolerence for risk. It's just a business decision, and not one I am willing to risk with my own clients. Jason Merrill | E-Learning Solutions | icfconsulting.com -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Johannes Nel Sent: Tuesday, March 14, 2006 6:24 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] Flex2 Project Conversion i am contracting to large company and we are doing stuff using flex2, so... i don't quite agree with your argument. also note what he says, they want to move an existing app to flex2 and his concern is that it will change radically from beta 1 to final product. the very fact that beta 2 is coming out means that things are relatively stable and well along the path. i think starting now will be a good idea. but thats just my opinion. On 3/14/06, Merrill, Jason [EMAIL PROTECTED] wrote: I wouldn't bet any project on a beta personally - unless I had insiders at Adobe, but even then... Jason Merrill | E-Learning Solutions | icfconsulting.com -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Kevin Aebig Sent: Tuesday, March 14, 2006 1:35 PM To: 'Flashcoders mailing list' Subject: [Flashcoders] Flex2 Project Conversion Hey all, The company I work for is interested in moving one of our large applications over to Flex when the new version comes out. Is it worthwhile or even feasible to begin porting it over with the Beta release or are we wasting our time considering that quite a bit of it could change beforehand. I'd hate to put in a lot of time into this only to find out that my source files are rendered obsolete when the new version is finally released. Thanks for your input, !k ___ 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 NOTICE: This message is for the designated recipient only and may contain privileged or confidential information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of this e-mail by you is prohibited. ___ 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 -- j:pn http://www.lennel.org ___ 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] Uploading file problem on MAC
I am not completly sure what you mean. I have tried and i cant select pictures created on a MAC or a PC so I guess that cant be the issue...? From: Josh Buhler [EMAIL PROTECTED] Reply-To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] Uploading file problem on MAC Date: Wed, 15 Mar 2006 07:30:05 -0700 When specifying the file types that are allowed to upload, are you specifying a macType as well? If a file wasn't actually created on a Mac, it won't have a macType, and won't be selectable, even if it's still technically of the type you want to allow. Setting the macType isn't required, and the list of extensions used by Windows to filter the files will still work on the Mac, so I'd just remove the macType specification. - Josh On Mar 15, 2006, at 6:34 AM, Michael Kønig wrote: I made an app where the user can upload pictures to the swf file. Works finr in IE and Firefox on PC. However, on the Mac, when the browser dialog box comes up all files are non-selectable. I can get the browse window up, but I cant select any files? Has anyone experienced this before? I hvae found that there are problemes with MAC and the onComplete call, but cant find anything on not being able to select files in the first place. Can anyone help. /M ___ 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] advanced flash AS 2.0/3.0 book?
Agreed, the Friend of Ed book on Object Oriented Actionscript is great. Jason Merrill | E-Learning Solutions | icfconsulting.com -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Manuel Saint-Victor Sent: Sunday, March 12, 2006 11:41 AM To: Flashcoders mailing list Subject: Re: [Flashcoders] advanced flash AS 2.0/3.0 book? I'd like to second that recommendation. I just picked that up yesterday and have already learned a good bit from it. I enjoy that books like this are finally coming out. Another good thing about this book so far is that The examples are short and focused on what you are supposed to be learning so before the attention span is shot you're throwing in two or three new lines of code and having the reasons clarified. Another book that I've been enjoying a piece at a time is Object Oriented Actionscript in Flash 8. also from FOE. I'm learning a lot from it. The only gripe I have is that I feel as if the case study- although excellent and illustrative about the techniques- has been a turn off in my current situation because I need to build a component set quick fast and in a hurry at work. It is really nice though that it's taking me through the planning and implementation of building a component architecture from the ground up and why. I learned a ton about what could be done with components from The Flex book because despite being geared toward Flex development it exposed some of the API and uses of it that I had not come across. I would recommend the Flash -Pro app development training from the source -I learned a lot from that book but I think that with Flex on the horizon-that might not be how things are done very soon. I agree with you that most of the book recommendations out right now are dated. This is a very fast moving period in ActionScript and even with the books fresh off the press I'm wondering if they're not already behind the times and it is almost impossible to find books that go beyond the very basic. Mani On 3/11/06, Jonathan Berry [EMAIL PROTECTED] wrote: Rich, that sounds like something that I could use. Mastery and not just introductory stuff. The books I have read just go over the basic components, like list or scrollpane, not things like the datagrid or learning how to use a cellrenderer. Thanks again. On 3/11/06, Rich Rodecker [EMAIL PROTECTED] wrote: well, you mentioned you were up on your components, so I don't know how 'advanced' this book would be for you...but I am reading a href= http://www.amazon.com/exec/obidos/redirect?link_code=ur2tag=richrodec ker- 20camp=1789creative=9325path=http%3A%2F%2Fwww.amazon.com%2Fgp%2F product%2F1590595939%2Fqid%3D1142032643%2Fsr%3D2- 1%2Fref%3Dpd_bbs_b_2_1%3Fs%3Dbooks%26v%3Dglance%26n%3D283155 AdvancED Actionscript Components : Mastering the Flash Component Architecture/a and I'm really digging it. The author doesn't just show you the methods and properties availabel to a component, like the other book that is just a reprint of the help docs, he goes into the flash component architcture itself to give you a better understanding of how things are working, and whats going on behind the scenes. He goes into this thing about XLEFF (XML Layout engine for Flash) for a little bit, but I just kinda glossed over that so far, since im not really interested, i just want to undersatnd the components betterbut skipping over all that stuff doesnt affect understanding anything else in the book. On 3/11/06, Jonathan Berry [EMAIL PROTECTED] wrote: Thanks for the reply, Karthik. I checked the archives and came up with 136 prior messages in relation to advanced books but none that were current, as in the last year or so. I noticed someone else just posted in relation to a book recommendation and got some good responses, so it would be great if someone would have some information on an advanced book. On 3/10/06, Karthik [EMAIL PROTECTED] wrote: Hey Flashers, how about a book for an intermediate/advanced level coder? I don't want to read about what objects, properties, methods, events, event handlers, and listeners are, or even how to write basic classes. That stuff is always repeated in both the AS books (or any introductory programming books for that matter - rant) that I have read. I read the deHaans' Macromedia Press books starting with MX2004 and the AS 2.0 book for Flash 8. I also own the AS 2.0 reference for Flash 8 and the Flash 8 component reference. I guess I am just looking for something that will have more hardcore examples, practical ones at that. I do remember seeing an advanced book for MX a few years ago and wondered if they have anything like that for 2004 or 8. Your help much to be appreciated. Please check the archives. Book recommendations posts appear
Re: [Flashcoders] Timing Tweens Effectively
Check out Fuse: http://www.mosessupposes.com/ On 15 Mar 2006, at 14:11PM, Kevin Cannon wrote: Hi, I'm looking to improve my handling of timed events for the sites I'm building. I'm using a lot of tweens, and stacking them using callbacks, and sometimes setInterval to achieve what I want. It's not particularly clean, so I was wondering if there's any methods or libraries, to code timed events in a more efficient manner. Thanks, - Kevin ___ 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 Regards, Sam Thorne Interaction Design Web: http://www.native.com/ Tel: +44 (0)207 588 7970 Fax: +44 (0)207 588 7971 ___ 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] crosspost: update your flash-players immediately
I would think if it's fixed in 8.0.24.0 they wouldn't go back to the same problem again in 8.5, which isn't officially out yet, only pre-release. As for the pre-release version, it's possible the problem is there too, but I think Adobe would hope you're not pushing that on your customers yet since it's not a final release. I would not be using 8.5 in a product delivery just yet. Jason Merrill | E-Learning Solutions | icfconsulting.com -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of John Giotta Sent: Wednesday, March 15, 2006 8:42 AM To: Flashcoders mailing list Subject: Re: [Flashcoders] crosspost: update your flash-players immediately Anyone know if this posses a threat for Flash Player 8.5? ___ 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 NOTICE: This message is for the designated recipient only and may contain privileged or confidential information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of this e-mail by you is prohibited. ___ 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] Launching PPT presentations (or whatever) from a CD
I've searched the archives on this but didn't find much related to this so. Does anyone know of a best practice or design pattern or code example or article that can point to an efficient and flexible way of building a Flash projector that can act as a menu system for launching PPT presentations on a CD? The CD will be created for conference attendees and contain all the PPTs that will be presented. I need to be able to build the Flash projector up front and then change things (such as number of menu items/names, number and names of presentations, etc.) by simply editing an external text or XML file so that the Flash interface will adjust as needed. Thanks All, Bruce ___ 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] crosspost: update your flash-players immediately
On 15 Mar 2006, at 14:49, Merrill, Jason wrote: I would think if it's fixed in 8.0.24.0 they wouldn't go back to the same problem again in 8.5, which isn't officially out yet, only pre-release. As for the pre-release version, it's possible the problem is there too, but I think Adobe would hope you're not pushing that on your customers yet since it's not a final release. I would not be using 8.5 in a product delivery just yet. JD mentioned that this wasn't a problem for 8.5 on his blog today/ yesterday. Unfortunately I can't find the direct link because weblogs.macromedia.com seems to be down for me. -- Steve Webster Head of Development Featurecreep Ltd. http://www.featurecreep.com 14 Orchard Street, Bristol, BS1 5EH 0117 905 5047 ___ 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] Authoring Test player version update?
Yesterday I got an ran the stand-alone updater for Mac. All 3 players inside Macromedia Flash 8 folder have been updated. These are: * /Applications/Macromedia Flash 8/Players/SAFlashPlayer * /Applications/Macromedia Flash 8/Players/Debug/SAFlashPlayer * Applications/Macromedia Flash 8/Players/Release/SAFlashPlayer Getting info on these shows version 8.0 r24. However, in authoring environment: trace( player version: + getVersion()); produces: player version: MAC 8,0,22,0 !!! Is this an updated player error (i.e. someone forgot to change a string and it reports incorrectly) or is there a player somewhere beyond the scope of Spotlight that needs updating as well? Isaac Rivera ___ 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] crosspost: update your flash-players immediately
In case JD is reading this (Hi JD), what about the plugin for those of us on the intel Macs? I apologize if this has been brought up already. -a- On 3/15/06, Steve Webster [EMAIL PROTECTED] wrote: On 15 Mar 2006, at 14:49, Merrill, Jason wrote: I would think if it's fixed in 8.0.24.0 they wouldn't go back to the same problem again in 8.5, which isn't officially out yet, only pre-release. As for the pre-release version, it's possible the problem is there too, but I think Adobe would hope you're not pushing that on your customers yet since it's not a final release. I would not be using 8.5 in a product delivery just yet. JD mentioned that this wasn't a problem for 8.5 on his blog today/ yesterday. Unfortunately I can't find the direct link because weblogs.macromedia.com seems to be down for me. -- Steve Webster Head of Development Featurecreep Ltd. http://www.featurecreep.com 14 Orchard Street, Bristol, BS1 5EH 0117 905 5047 ___ 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 -- -a- Aaron E. Silvers [EMAIL PROTECTED] http://flashforlearning.com -- Whoso would be a man must be a nonconformist. - Ralph Waldo Emerson ___ 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] Uploading file problem on MAC
When using FileReference.browse(), you can specify the types of files you want to allow in an array. For example: var typeLIst:Array = [{description: Image files, extension: *.jpg;*.gif;*.png, macType: JPEG;jp2_;GIFF}, {description: Flash Movies, extension: *.swf, macType: SWFL}]; myFileReference.browse (typeList); The example above would limit the selectable files to .jpg, .gif, .png, and .swf. Each element in the array is an object with a description, extension, and macType property. If you remove the macType property from the object, then the files will still be filtered by extension on the Mac, but should still be selectable. - Josh On Mar 15, 2006, at 7:43 AM, Michael Kønig wrote: I am not completly sure what you mean. I have tried and i cant select pictures created on a MAC or a PC so I guess that cant be the issue...? From: Josh Buhler [EMAIL PROTECTED] Reply-To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] Uploading file problem on MAC Date: Wed, 15 Mar 2006 07:30:05 -0700 When specifying the file types that are allowed to upload, are you specifying a macType as well? If a file wasn't actually created on a Mac, it won't have a macType, and won't be selectable, even if it's still technically of the type you want to allow. Setting the macType isn't required, and the list of extensions used by Windows to filter the files will still work on the Mac, so I'd just remove the macType specification. - Josh On Mar 15, 2006, at 6:34 AM, Michael Kønig wrote: I made an app where the user can upload pictures to the swf file. Works finr in IE and Firefox on PC. However, on the Mac, when the browser dialog box comes up all files are non- selectable. I can get the browse window up, but I cant select any files? Has anyone experienced this before? I hvae found that there are problemes with MAC and the onComplete call, but cant find anything on not being able to select files in the first place. Can anyone help. /M ___ 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
[Flashcoders] How to fork between F7/F8 loadMovie instances in actionscript?
Adobe provides code to allow you to fork between F7 and F8 instances of your movie. This works just fine. So the issue I'm running into now is that I've done a nice job abstracting my content into a bunch of separate .swfs that are reassembled into a finished movie. What I need to know is how to fork for F7 and F8 versions +in actionscript.+. In other words, an F8-equipped person hits my main movie, and is fed the F8 version. I want to make is so that the submovies that come in via loadMovie are also F8-specific. I want the right content to also be provided to F7-folks. And I'd really like to do this with if/else in one movie. Making two entirely separate movies would work, but it is a sloppy and unmaintainable solution. Any help out there? Thanks, -KF ___ 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] Advice on how to make a copy of an object
I need to make a local copy of an object- basically I have a model with some default values and would like each view to create a local model with customizations to some parameters. I've seen some ActionScript 3 ways to do this but am looking for the way it was done in AS2. Thanks, Mani ___ 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] Advice on how to make a copy of an object
If done it with just: myObject2 = new Object(); myObject2 = myObject1 Or are you looking for something else? Jason Merrill | E-Learning Solutions | icfconsulting.com -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Manuel Saint-Victor Sent: Wednesday, March 15, 2006 10:21 AM To: Flashcoders mailing list Subject: [Flashcoders] Advice on how to make a copy of an object I need to make a local copy of an object- basically I have a model with some default values and would like each view to create a local model with customizations to some parameters. I've seen some ActionScript 3 ways to do this but am looking for the way it was done in AS2. Thanks, Mani ___ 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 NOTICE: This message is for the designated recipient only and may contain privileged or confidential information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of this e-mail by you is prohibited. ___ 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] Advice on how to make a copy of an object
Guess this should do: public static function cloneObject(object:Object):Object { var __return:Object = new Object(); for(var i:String in object){ __return[i] = object[i]; } return __return; } 2006/3/15, Merrill, Jason [EMAIL PROTECTED]: If done it with just: myObject2 = new Object(); myObject2 = myObject1 Or are you looking for something else? Jason Merrill | E-Learning Solutions | icfconsulting.com -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Manuel Saint-Victor Sent: Wednesday, March 15, 2006 10:21 AM To: Flashcoders mailing list Subject: [Flashcoders] Advice on how to make a copy of an object I need to make a local copy of an object- basically I have a model with some default values and would like each view to create a local model with customizations to some parameters. I've seen some ActionScript 3 ways to do this but am looking for the way it was done in AS2. Thanks, Mani ___ 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 NOTICE: This message is for the designated recipient only and may contain privileged or confidential information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of this e-mail by you is prohibited. ___ 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] Uploading file problem on MAC
That works - thank you! So you dont want macExtension types when using a mac?? Strange. But again, thank you. From: Josh Buhler [EMAIL PROTECTED] Reply-To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] Uploading file problem on MAC Date: Wed, 15 Mar 2006 08:09:21 -0700 When using FileReference.browse(), you can specify the types of files you want to allow in an array. For example: var typeLIst:Array = [{description: Image files, extension: *.jpg;*.gif;*.png, macType: JPEG;jp2_;GIFF}, {description: Flash Movies, extension: *.swf, macType: SWFL}]; myFileReference.browse (typeList); The example above would limit the selectable files to .jpg, .gif, .png, and .swf. Each element in the array is an object with a description, extension, and macType property. If you remove the macType property from the object, then the files will still be filtered by extension on the Mac, but should still be selectable. - Josh On Mar 15, 2006, at 7:43 AM, Michael Kønig wrote: I am not completly sure what you mean. I have tried and i cant select pictures created on a MAC or a PC so I guess that cant be the issue...? From: Josh Buhler [EMAIL PROTECTED] Reply-To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] Uploading file problem on MAC Date: Wed, 15 Mar 2006 07:30:05 -0700 When specifying the file types that are allowed to upload, are you specifying a macType as well? If a file wasn't actually created on a Mac, it won't have a macType, and won't be selectable, even if it's still technically of the type you want to allow. Setting the macType isn't required, and the list of extensions used by Windows to filter the files will still work on the Mac, so I'd just remove the macType specification. - Josh On Mar 15, 2006, at 6:34 AM, Michael Kønig wrote: I made an app where the user can upload pictures to the swf file. Works finr in IE and Firefox on PC. However, on the Mac, when the browser dialog box comes up all files are non- selectable. I can get the browse window up, but I cant select any files? Has anyone experienced this before? I hvae found that there are problemes with MAC and the onComplete call, but cant find anything on not being able to select files in the first place. Can anyone help. /M ___ 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 ___ 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] Flex2 Project Conversion
All I said was I wouldn't risk building a project for a client that relies on a beta version of a product. Mr. Mendels at Macromedia replied with basically the same response. I think that's pretty common reasoning, but apparently not everyone would agree and that's OK. I'm entitled to my opinion, just as you are yours. The poster asked for input on risk of using Flex 2 right now, and I just said what I would do/recommend. That's all. I think you somehow want to create a debate topic out of this, when there is really only personal opinions and personal business perspectives - no clear cut answer. I've given my personal opinion, and you have yours, so give it a rest. Jason Merrill | E-Learning Solutions | icfconsulting.com -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Johannes Nel Sent: Wednesday, March 15, 2006 10:21 AM To: Flashcoders mailing list Subject: Re: [Flashcoders] Flex2 Project Conversion first off lets clear up the use of words here: argument: 1. A discussion in which disagreement is expressed; a debate. 2. A course of reasoning aimed at demonstrating truth or falsehood example: presented a careful argument for extraterrestrial life. 3. A summary or short statement of the plot or subject of a literary work. i meant argument in the like number 2 from dictionary .com. and me not being a native english speaker having to point this out. tut tut tut. my argument (meaning 2) is that zorn is relatively stable. api's might have changed again between beta 1 and beta 2 and stuff will change to beta 3. this should not influence a project to much. futhermore, large companies are spending large amounts doing rd on this, so if they are trying to build stuff with it why shouldn't you try to port an existing app that works. building a brand spanking new app that you have a tight deadline on for midsummer is crazy talk, but taking something which works (hence you have something you can fall back ojn if you go over schedule) and building that using flex2 can only benefit a company and an individual from a strategic position. enough of this argument (1,2 and or 3) now. On 3/15/06, Merrill, Jason [EMAIL PROTECTED] wrote: i don't quite agree with your argument. I am not making any argument - not sure where you're getting that - I just said I wouldn't risk it myself, personally. Macromedia just posted in this thread that It is always risky to build on a beta... you need to judge your tolerence for risk. It's just a business decision, and not one I am willing to risk with my own clients. Jason Merrill | E-Learning Solutions | icfconsulting.com -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Johannes Nel Sent: Tuesday, March 14, 2006 6:24 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] Flex2 Project Conversion i am contracting to large company and we are doing stuff using flex2, so... i don't quite agree with your argument. also note what he says, they want to move an existing app to flex2 and his concern is that it will change radically from beta 1 to final product. the very fact that beta 2 is coming out means that things are relatively stable and well along the path. i think starting now will be a good idea. but thats just my opinion. On 3/14/06, Merrill, Jason [EMAIL PROTECTED] wrote: I wouldn't bet any project on a beta personally - unless I had insiders at Adobe, but even then... Jason Merrill | E-Learning Solutions | icfconsulting.com -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Kevin Aebig Sent: Tuesday, March 14, 2006 1:35 PM To: 'Flashcoders mailing list' Subject: [Flashcoders] Flex2 Project Conversion Hey all, The company I work for is interested in moving one of our large applications over to Flex when the new version comes out. Is it worthwhile or even feasible to begin porting it over with the Beta release or are we wasting our time considering that quite a bit of it could change beforehand. I'd hate to put in a lot of time into this only to find out that my source files are rendered obsolete when the new version is finally released. Thanks for your input, !k ___ 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 NOTICE: This message is for the designated recipient only and may contain privileged or confidential information. If you have received it in error, please notify the sender immediately and delete the original. Any
RE: [Flashcoders] Flex2 Project Conversion
Thanks for everyone's input and suggestions. I appreciate hearing from the new Mother ship, so thanks for chiming in David. I think we'll slowly begin migrating our app and deal with the issues as they arise... Thanks, Kevin -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of David Mendels Sent: March 14, 2006 11:10 PM To: Flashcoders mailing list Subject: RE: [Flashcoders] Flex2 Project Conversion Hi, I am from Adobe, let me give some perspective. A) It is always risky to build on a beta. I feel quite confident in where we are and hitting our schedule, but I have to be realistic that there is always some risk. You need to judge your tolerence for risk. B) There has been an API scrub between beta 1 and beta 2. The results are I think great--clarity and consistancy--but it will mean some migration from Beta 1 to beta 2. Most beta 1 apps will require some changes to run in beta 2. That said, we don't expect to need to do this again. Beta 3 and final could require some changes in your code, but if they do, it should be minor. Again, we can't make guarantees and you might have to make changes again before we ship. C) The advantages of Flex 2 are (IMO) enourmous and very valuable (performance, productivity, maintainability). We aren't going to be reachitecting the Player, framework, language, again for a long long time. If you can go straight to Flex 2/Player 8.5 that will save you the effort at some point of migrating, but it does carry risk until we ship. I know this isn't a absolute answer, but I hope it helps, David -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Johannes Nel Sent: Tuesday, March 14, 2006 6:24 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] Flex2 Project Conversion i am contracting to large company and we are doing stuff using flex2, so... i don't quite agree with your argument. also note what he says, they want to move an existing app to flex2 and his concern is that it will change radically from beta 1 to final product. the very fact that beta 2 is coming out means that things are relatively stable and well along the path. i think starting now will be a good idea. but thats just my opinion. On 3/14/06, Merrill, Jason [EMAIL PROTECTED] wrote: I wouldn't bet any project on a beta personally - unless I had insiders at Adobe, but even then... Jason Merrill | E-Learning Solutions | icfconsulting.com -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Kevin Aebig Sent: Tuesday, March 14, 2006 1:35 PM To: 'Flashcoders mailing list' Subject: [Flashcoders] Flex2 Project Conversion Hey all, The company I work for is interested in moving one of our large applications over to Flex when the new version comes out. Is it worthwhile or even feasible to begin porting it over with the Beta release or are we wasting our time considering that quite a bit of it could change beforehand. I'd hate to put in a lot of time into this only to find out that my source files are rendered obsolete when the new version is finally released. Thanks for your input, !k ___ 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 NOTICE: This message is for the designated recipient only and may contain privileged or confidential information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of this e-mail by you is prohibited. ___ 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 -- j:pn http://www.lennel.org ___ 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
Re: [Flashcoders] Advice on how to make a copy of an object
import mx.utils.ObjectCopy; obj = new Object(); obj.color = red; obj2 = ObjectCopy.copy( obj ); obj2.color = blue; trace( obj.color ); trace( obj2.color ); On 3/15/06, Janis Radins [EMAIL PROTECTED] wrote: Guess this should do: public static function cloneObject(object:Object):Object { var __return:Object = new Object(); for(var i:String in object){ __return[i] = object[i]; } return __return; } 2006/3/15, Merrill, Jason [EMAIL PROTECTED]: If done it with just: myObject2 = new Object(); myObject2 = myObject1 Or are you looking for something else? Jason Merrill | E-Learning Solutions | icfconsulting.com -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Manuel Saint-Victor Sent: Wednesday, March 15, 2006 10:21 AM To: Flashcoders mailing list Subject: [Flashcoders] Advice on how to make a copy of an object I need to make a local copy of an object- basically I have a model with some default values and would like each view to create a local model with customizations to some parameters. I've seen some ActionScript 3 ways to do this but am looking for the way it was done in AS2. Thanks, Mani ___ 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 NOTICE: This message is for the designated recipient only and may contain privileged or confidential information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of this e-mail by you is prohibited. ___ 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] Advice on how to make a copy of an object
I think those should work- I'm going to give it a try. I had found one solution that was using a for...in loop but was not sure if the methods would be copied. Thanks- I'll update you guys on how it turns out. Mani On 3/15/06, Janis Radins [EMAIL PROTECTED] wrote: Guess this should do: public static function cloneObject(object:Object):Object { var __return:Object = new Object(); for(var i:String in object){ __return[i] = object[i]; } return __return; } 2006/3/15, Merrill, Jason [EMAIL PROTECTED]: If done it with just: myObject2 = new Object(); myObject2 = myObject1 Or are you looking for something else? Jason Merrill | E-Learning Solutions | icfconsulting.com -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Manuel Saint-Victor Sent: Wednesday, March 15, 2006 10:21 AM To: Flashcoders mailing list Subject: [Flashcoders] Advice on how to make a copy of an object I need to make a local copy of an object- basically I have a model with some default values and would like each view to create a local model with customizations to some parameters. I've seen some ActionScript 3 ways to do this but am looking for the way it was done in AS2. Thanks, Mani ___ 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 NOTICE: This message is for the designated recipient only and may contain privileged or confidential information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of this e-mail by you is prohibited. ___ 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] Advice on how to make a copy of an object
To make a true clone, it's about the same in AS2 AS3: class YourModel { public var prop:String; public var data_array:Array; function YourModel ( p_prop:String ) { prop = p_prop; data_array = [1, 2, 3, 4]; } public function clone():YourModel { var ym:YourModel = new YourModel(); ym.prop = prop; ym.data_array = []; var i:Number = data_array.length; while(i--) { ym.data_array[i] = data_array[i]; } return ym; } } var a:YourModel = new YourModel(something); var b:YourModel = a.clone(); - Original Message - From: Manuel Saint-Victor [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Wednesday, March 15, 2006 10:21 AM Subject: [Flashcoders] Advice on how to make a copy of an object I need to make a local copy of an object- basically I have a model with some default values and would like each view to create a local model with customizations to some parameters. I've seen some ActionScript 3 ways to do this but am looking for the way it was done in AS2. Thanks, Mani ___ 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] Timing Tweens Effectively
I've used Alex Uhlmann's animation package a lot - it's pretty in depth and some think OTT but I like it :) http://www.alex-uhlmann.de/flash/animationpackage/ Adrian P On 3/15/06, Kevin Cannon [EMAIL PROTECTED] wrote: Hi, I'm looking to improve my handling of timed events for the sites I'm building. I'm using a lot of tweens, and stacking them using callbacks, and sometimes setInterval to achieve what I want. It's not particularly clean, so I was wondering if there's any methods or libraries, to code timed events in a more efficient manner. Thanks, - Kevin ___ 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] Flex2 Project Conversion
The question that I would be asking myself if I was thinking of using Flex2 for a real world project right now, is, if at some point in the development cycle it would be ok to have to rewrite/rework an unknown percent of the code, due to a new beta or final release.. if that does not sound scary then happy day. Of course, I can't imagine being able to convince a client to require a beta flash player version... On Mar 15, 2006, at 10:33 AM, Merrill, Jason wrote: All I said was I wouldn't risk building a project for a client that relies on a beta version of a product. Mr. Mendels at Macromedia replied with basically the same response. I think that's pretty common reasoning, but apparently not everyone would agree and that's OK. I'm entitled to my opinion, just as you are yours. The poster asked for input on risk of using Flex 2 right now, and I just said what I would do/recommend. That's all. I think you somehow want to create a debate topic out of this, when there is really only personal opinions and personal business perspectives - no clear cut answer. I've given my personal opinion, and you have yours, so give it a rest. Jason Merrill | E-Learning Solutions | icfconsulting.com -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Johannes Nel Sent: Wednesday, March 15, 2006 10:21 AM To: Flashcoders mailing list Subject: Re: [Flashcoders] Flex2 Project Conversion first off lets clear up the use of words here: argument: 1. A discussion in which disagreement is expressed; a debate. 2. A course of reasoning aimed at demonstrating truth or falsehood example: presented a careful argument for extraterrestrial life. 3. A summary or short statement of the plot or subject of a literary work. i meant argument in the like number 2 from dictionary .com. and me not being a native english speaker having to point this out. tut tut tut. my argument (meaning 2) is that zorn is relatively stable. api's might have changed again between beta 1 and beta 2 and stuff will change to beta 3. this should not influence a project to much. futhermore, large companies are spending large amounts doing rd on this, so if they are trying to build stuff with it why shouldn't you try to port an existing app that works. building a brand spanking new app that you have a tight deadline on for midsummer is crazy talk, but taking something which works (hence you have something you can fall back ojn if you go over schedule) and building that using flex2 can only benefit a company and an individual from a strategic position. enough of this argument (1,2 and or 3) now. On 3/15/06, Merrill, Jason [EMAIL PROTECTED] wrote: i don't quite agree with your argument. I am not making any argument - not sure where you're getting that - I just said I wouldn't risk it myself, personally. Macromedia just posted in this thread that It is always risky to build on a beta... you need to judge your tolerence for risk. It's just a business decision, and not one I am willing to risk with my own clients. Jason Merrill | E-Learning Solutions | icfconsulting.com -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Johannes Nel Sent: Tuesday, March 14, 2006 6:24 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] Flex2 Project Conversion i am contracting to large company and we are doing stuff using flex2, so... i don't quite agree with your argument. also note what he says, they want to move an existing app to flex2 and his concern is that it will change radically from beta 1 to final product. the very fact that beta 2 is coming out means that things are relatively stable and well along the path. i think starting now will be a good idea. but thats just my opinion. On 3/14/06, Merrill, Jason [EMAIL PROTECTED] wrote: I wouldn't bet any project on a beta personally - unless I had insiders at Adobe, but even then... Jason Merrill | E-Learning Solutions | icfconsulting.com -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Kevin Aebig Sent: Tuesday, March 14, 2006 1:35 PM To: 'Flashcoders mailing list' Subject: [Flashcoders] Flex2 Project Conversion Hey all, The company I work for is interested in moving one of our large applications over to Flex when the new version comes out. Is it worthwhile or even feasible to begin porting it over with the Beta release or are we wasting our time considering that quite a bit of it could change beforehand. I'd hate to put in a lot of time into this only to find out that my source files are rendered obsolete when the new version is finally released. Thanks for your input, !k ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search
[Flashcoders] Can I consider my netstream object my Model?
If I have a streaming video would I consider my Netstream object my model and use my multiple views such as buttons and the Video symbol and give each view controllers to manipulate that stream. I'm reasonably confident that this is my best approach- Where things get murky for me is when I have several videos that are streaming- would I be better off giving each video its own separate model or providing one aggregate model that has an array of Netstreams that the controllers would have code to select from the array when they are calling their commands? Just looking for a combination of advice and quick reassurance that I'm approaching this is a reasonable way. Thanks in advance for any help that you can offer- Mani ___ 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] Advice on how to make a copy of an object
interesting you should say its the same in as3 jese. i take it you are aware of peter halls post on this http://www.peterjoel.com/blog/index.php?archive=2006_02_01_archive.xml#114064012876401732 however that does not work ala as2, since all private members are ignored. (which leaves me to suspect that value objects is the only way to get someting like openAMF to work properly using amf1 and as3) but this is besides the point. in as2 the for each loop is your friend for cloning objects, but then you also have to consider that some complex members will not be cloned, but rather a reference to an exisitng object will just be copied, thus its tricky. so for true cloning you need to check if somthing is a complex type if it is, you have to clone that as well, and thus can get messy recursively. On 3/15/06, JesterXL [EMAIL PROTECTED] wrote: To make a true clone, it's about the same in AS2 AS3: class YourModel { public var prop:String; public var data_array:Array; function YourModel ( p_prop:String ) { prop = p_prop; data_array = [1, 2, 3, 4]; } public function clone():YourModel { var ym:YourModel = new YourModel(); ym.prop = prop; ym.data_array = []; var i:Number = data_array.length; while(i--) { ym.data_array[i] = data_array[i]; } return ym; } } var a:YourModel = new YourModel(something); var b:YourModel = a.clone(); - Original Message - From: Manuel Saint-Victor [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Wednesday, March 15, 2006 10:21 AM Subject: [Flashcoders] Advice on how to make a copy of an object I need to make a local copy of an object- basically I have a model with some default values and would like each view to create a local model with customizations to some parameters. I've seen some ActionScript 3 ways to do this but am looking for the way it was done in AS2. Thanks, Mani ___ 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 -- j:pn http://www.lennel.org ___ 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] Uploading file problem on MAC
Not if you're trying to use FileReference. I've noticed that only some applications on the Mac would embed that filetype info. But, when the file gets transferred from the Mac to PC then back, sometimes the info would get lost. But, most files on OSX now use file extensions, so you can still filter by those. - Josh On Mar 15, 2006, at 8:32 AM, Michael Kønig wrote: That works - thank you! So you dont want macExtension types when using a mac?? Strange. But again, thank you. From: Josh Buhler [EMAIL PROTECTED] Reply-To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] Uploading file problem on MAC Date: Wed, 15 Mar 2006 08:09:21 -0700 When using FileReference.browse(), you can specify the types of files you want to allow in an array. For example: var typeLIst:Array = [{description: Image files, extension: *.jpg;*.gif;*.png, macType: JPEG;jp2_;GIFF}, {description: Flash Movies, extension: *.swf, macType: SWFL}]; myFileReference.browse (typeList); The example above would limit the selectable files to .jpg, .gif, .png, and .swf. Each element in the array is an object with a description, extension, and macType property. If you remove the macType property from the object, then the files will still be filtered by extension on the Mac, but should still be selectable. - Josh On Mar 15, 2006, at 7:43 AM, Michael Kønig wrote: I am not completly sure what you mean. I have tried and i cant select pictures created on a MAC or a PC so I guess that cant be the issue...? From: Josh Buhler [EMAIL PROTECTED] Reply-To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] Uploading file problem on MAC Date: Wed, 15 Mar 2006 07:30:05 -0700 When specifying the file types that are allowed to upload, are you specifying a macType as well? If a file wasn't actually created on a Mac, it won't have a macType, and won't be selectable, even if it's still technically of the type you want to allow. Setting the macType isn't required, and the list of extensions used by Windows to filter the files will still work on the Mac, so I'd just remove the macType specification. - Josh On Mar 15, 2006, at 6:34 AM, Michael Kønig wrote: I made an app where the user can upload pictures to the swf file. Works finr in IE and Firefox on PC. However, on the Mac, when the browser dialog box comes up all files are non- selectable. I can get the browse window up, but I cant select any files? Has anyone experienced this before? I hvae found that there are problemes with MAC and the onComplete call, but cant find anything on not being able to select files in the first place. Can anyone help. /M ___ 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 ___ 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] Advice on how to make a copy of an object
Holy crap--excuse me- I never thought of it that way- I was looking at was looking at a similar clone function but didn't realize that it was just a matter of calling the constructor from inside and customizing it. Initially I was trying to design this with a singleton model that would hold a ref to multiple video views but changes in some specs have me trying to have each view have a slightly altered copy of the model. I'm curious if that means get rid of the singleton? M On 3/15/06, JesterXL [EMAIL PROTECTED] wrote: To make a true clone, it's about the same in AS2 AS3: class YourModel { public var prop:String; public var data_array:Array; function YourModel ( p_prop:String ) { prop = p_prop; data_array = [1, 2, 3, 4]; } public function clone():YourModel { var ym:YourModel = new YourModel(); ym.prop = prop; ym.data_array = []; var i:Number = data_array.length; while(i--) { ym.data_array[i] = data_array[i]; } return ym; } } var a:YourModel = new YourModel(something); var b:YourModel = a.clone(); - Original Message - From: Manuel Saint-Victor [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Wednesday, March 15, 2006 10:21 AM Subject: [Flashcoders] Advice on how to make a copy of an object I need to make a local copy of an object- basically I have a model with some default values and would like each view to create a local model with customizations to some parameters. I've seen some ActionScript 3 ways to do this but am looking for the way it was done in AS2. Thanks, Mani ___ 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] Help with Tree Component
In the itemRollOver event listener set style property useRollOver to false. Set it back to true inside itemRollOut listener. Best regards, Andrey Ermilkin -Original Message-- Date: Wed, 15 Mar 2006 14:09:51 + From: James Marsden [EMAIL PROTECTED] Subject: [Flashcoders] Help with Tree Component To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=ISO-8859-1; format=flowed Hey folks, I'm trying to customise the Tree component to intercept itemRollOver events to stop the highlight on the component if a node is set to 'disabled'. Can anyone point me to the right method/object in the hierarchy to acheive this please? TIA, J ___ 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] Node Edge performance question
Has anyone who has worked with very large node/edge graphs within Flash have any ballpark performance numbers? I am looking to build a social network visualizer.. drag nodes, select nodes , zoom , pan, hide edges/nodes etc... I just wanted to get a ballpark figure on limitiations within FP-8. Am I looking at a limitiation in the thousands, tens of thousands, hundreds of thousands of nodes? Thanks, George ___ 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] Memory leak in Flash projector
This is the same thing that I discovered on a project last year. We even discussed the issue with Macromedia and they basically told us that the player was not intended to run for long periods of time. The minimize, restore does seem to work though. It seems to allow the GC to actually release the unneeded memory back to Windows. There was also a utility that someone on the team found that would force it to release the memory. But it was Windows only, and we had to support Mac so we ended up taking it out. On 3/14/06, André Goliath [EMAIL PROTECTED] wrote: I had similar issues and solved it by minimizing/restoring the App via a third party wrapper (SWF Studio in my case) in an Interval. It seems that by doing that the Garbage Collector is forced to run, it´s the same for Win.shide/show. However I was not able to find the memory leak in my code yet, it is quite complex with bunch of AS2 classes involved, but I *think* I deleted evere reference after use, but maybe I´m wrong with that,... hth André -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Darren Cook Sent: Tuesday, March 14, 2006 2:42 AM To: Flashcoders mailing list Subject: Re: [Flashcoders] Memory leak in Flash projector On Feb 25th 2006 Andreas Rønning wrote: This is very serious. The majority of my work is kiosk apps. Any more details on this, official Macromedia stance on it? Future fixes? Does anyone have more information on this? For instance what kind of features or media types or actionscript are causing the leak? We have a flash 8 application that has to be able to run for months without rebooting, but was leaking memory at 31Mb/hour! I realized I still had a textarea logger running but having removed that it is still leaking at 5MB/hour. We've tried running it as Flash 7, and also tried disabling all flv movies, but it still seems to leak at the same rate. Does that sound like something wrong we're doing in the actionscript (e.g. somehow holding on to references so stopping the garbage collector freeing the memory?) or like a player bug? Is there a way to force the garbage collector to run? (our application often has the CPU near 100% - I wondered if garbage collection only happens when the CPU is quiet?) Has anyone seen the memory leak go away when switching to zinc or a similar projector? Any advice would be very welcome, Darren Marcelo Volmaro wrote: Well, unless you used a lot of the new FX, i recommend you going back to the v7 player. The v8 has a lot of errors/memory leaks, mostly of them related to the new bitmap engine. I recently had to change a lot of code that takes advantage of the new system to the old one, because a lot of things breaks badly. On Fri, 24 Feb 2006 15:32:51 -0300, Joe Cutting [EMAIL PROTECTED] wrote: Hello, I think I've found a memory leak in the Flash player on the PC. I made a fairly simple animation (no actionscript) and built a projector and when I run it in a loop the amount of memory needed continues to rise. (as measured using Task Manager). I'm using Flash Player version 8,0,22,0 on Windows XP professional. Has anyone else experienced this, or even better found a cure? If there is no cure then this is pretty serious for anyone using flash in a kiosk type situation. ___ 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] Flex2 Project Conversion
FYI, this tool won't be released to our clients until probably 3 to 5 months after the new plug-in has been released. Unfortunately, this application is massive and it'll take probably close to a year to finish a full conversion. To Michael and Jason, I appreciate both of your opinions and have taken a lot of what was said to heart. Thanks, Kevin -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Michael Bedar Sent: March 15, 2006 9:55 AM To: Flashcoders mailing list Subject: Re: [Flashcoders] Flex2 Project Conversion The question that I would be asking myself if I was thinking of using Flex2 for a real world project right now, is, if at some point in the development cycle it would be ok to have to rewrite/rework an unknown percent of the code, due to a new beta or final release.. if that does not sound scary then happy day. Of course, I can't imagine being able to convince a client to require a beta flash player version... On Mar 15, 2006, at 10:33 AM, Merrill, Jason wrote: All I said was I wouldn't risk building a project for a client that relies on a beta version of a product. Mr. Mendels at Macromedia replied with basically the same response. I think that's pretty common reasoning, but apparently not everyone would agree and that's OK. I'm entitled to my opinion, just as you are yours. The poster asked for input on risk of using Flex 2 right now, and I just said what I would do/recommend. That's all. I think you somehow want to create a debate topic out of this, when there is really only personal opinions and personal business perspectives - no clear cut answer. I've given my personal opinion, and you have yours, so give it a rest. Jason Merrill | E-Learning Solutions | icfconsulting.com -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Johannes Nel Sent: Wednesday, March 15, 2006 10:21 AM To: Flashcoders mailing list Subject: Re: [Flashcoders] Flex2 Project Conversion first off lets clear up the use of words here: argument: 1. A discussion in which disagreement is expressed; a debate. 2. A course of reasoning aimed at demonstrating truth or falsehood example: presented a careful argument for extraterrestrial life. 3. A summary or short statement of the plot or subject of a literary work. i meant argument in the like number 2 from dictionary .com. and me not being a native english speaker having to point this out. tut tut tut. my argument (meaning 2) is that zorn is relatively stable. api's might have changed again between beta 1 and beta 2 and stuff will change to beta 3. this should not influence a project to much. futhermore, large companies are spending large amounts doing rd on this, so if they are trying to build stuff with it why shouldn't you try to port an existing app that works. building a brand spanking new app that you have a tight deadline on for midsummer is crazy talk, but taking something which works (hence you have something you can fall back ojn if you go over schedule) and building that using flex2 can only benefit a company and an individual from a strategic position. enough of this argument (1,2 and or 3) now. On 3/15/06, Merrill, Jason [EMAIL PROTECTED] wrote: i don't quite agree with your argument. I am not making any argument - not sure where you're getting that - I just said I wouldn't risk it myself, personally. Macromedia just posted in this thread that It is always risky to build on a beta... you need to judge your tolerence for risk. It's just a business decision, and not one I am willing to risk with my own clients. Jason Merrill | E-Learning Solutions | icfconsulting.com -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Johannes Nel Sent: Tuesday, March 14, 2006 6:24 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] Flex2 Project Conversion i am contracting to large company and we are doing stuff using flex2, so... i don't quite agree with your argument. also note what he says, they want to move an existing app to flex2 and his concern is that it will change radically from beta 1 to final product. the very fact that beta 2 is coming out means that things are relatively stable and well along the path. i think starting now will be a good idea. but thats just my opinion. On 3/14/06, Merrill, Jason [EMAIL PROTECTED] wrote: I wouldn't bet any project on a beta personally - unless I had insiders at Adobe, but even then... Jason Merrill | E-Learning Solutions | icfconsulting.com -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Kevin Aebig Sent: Tuesday, March 14, 2006 1:35 PM To: 'Flashcoders mailing list' Subject: [Flashcoders] Flex2 Project Conversion Hey all, The
Re: [Flashcoders] tooltip in the combobox.
thank you very much.! - Original Message - From: eric dolecki [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Wednesday, March 15, 2006 11:22 AM Subject: Re: [Flashcoders] tooltip in the combobox. yup. look for an event:itemRollOver like this... foo.itemRollOver = function ( oEvt ):Void { var indx:Number = oEvt.index; // pop your own tooltip using this event ... - e.dolecki On 3/15/06, Rodrigo Guerra [EMAIL PROTECTED] wrote: hi all, i was wondering if there is a way to put some kind of tooltip in the combobox options, so putting the mouse over an combobox optin besides it get highlighted i can have a tip about the option. regards, rodrigo. ___ 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] Help with Tree Component
Hey, Thanks for the reply. I was about to have a hernia. I've snooped through as much of this component as I'm willing to bare. If you mean this: tree.addEventListener('itemRollOver', treeListener); tree.addEventListener('itemRollOut', treeListener); treeListener.itemRollOver = function(evt:Object) { evt.target.setStyle(useRollOver, false); } treeListener.itemRollOut = function(evt:Object) { evt.target.setStyle(useRollOver, true); } It really doesn't work very well. The custom event handler responds after the default behaviour has been triggered. How can it be this complex to just stop the rollover for disabled elements :'( J Andrey Ermilkin wrote: In the itemRollOver event listener set style property useRollOver to false. Set it back to true inside itemRollOut listener. Best regards, Andrey Ermilkin ___ 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] preloader issue
I am really trying to have my preloader work, with a site that is 100% AS. the entire site resides either in classes or as on the first frame. there has got to be some way to preload a site, with a single function that is entirely dynamic. this is what i have, but it will not even appear on the screen. no errors .. ideas would be great // - // preloader function preloadMe() { // stop movie from playing //stop(); // reference to _root ref = _root; // create the preloader mc ref.createEmptyMovieClip(preloader_mc, ref.getNextHighestDepth() ); // create the preloader mc progress text ref.preloader_mc.createTextField(preloader_txt, ref.getNextHighestDepth, 0, 0, 200, 10); with (ref.preloader_mc.preloader_txt) { embedFonts = true; selectable = false; setNewTextFormat(format1_fmt); text = LOADING SITE: 00 }; // place preloader text in center of stage ref.preloader_mc._x = (Stage.width/2) - (ref.preloader_mc.preloader_txt._width/2); ref.preloader_mc._y = (Stage.height/2) - (ref.preloader_mc.preloader_txt._height/2); ref.onEnterFrame = function() { tBytes = ref.getBytesTotal(); bLoaded = ref.getBytesLoaded(); percent = Math.round((bLoaded/tBytes)*100); // keep two places if percent is under 10, ie: 03 if (percent 10) { percentTxt = LOADING SITE: 0 + percent; } else { percentTxt = LOADING SITE: + percent; } // if this movie is not fully loaded, then display percent loaded if (bLoaded tBytes) { ref.preloader_mc.preloader_txt.text = percentTxt; // otherwise, delete the preloader_mc, and the textField, then play movie } else { ref.preloader_mc.removeMovieClip(); ref.preloader_mc.preloader_txt.removeTextField(); play(); delete this.onEnterFrame; }; }; }; // - //makeContent(); //makeIt(); //alot(5); //trace(getDepth(_root.ellipse_0)); preloadMe(); ___ 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] remove BitmapData
bmpdata.dispose() On 3/15/06, Dimitrios Bendilas [EMAIL PROTECTED] wrote: Hello everyone, How can I remove a bitmap that I have attached on a movieclip at a certain depth? The only approach I was able to find was to attach another bitmap 1x1 transparent at the same depth, but I think this is a pretty stupid approach... Am I missing something? Thanks, Dimitrios ___ 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] Help with Tree Component
James, Thanks for the reply. I was about to have a hernia. I've snooped through as much of this component as I'm willing to bare. If you mean this: tree.addEventListener('itemRollOver', treeListener); tree.addEventListener('itemRollOut', treeListener); treeListener.itemRollOver = function(evt:Object) { evt.target.setStyle(useRollOver, false); } treeListener.itemRollOut = function(evt:Object) { evt.target.setStyle(useRollOver, true); } It really doesn't work very well. The custom event handler responds after the default behaviour has been triggered. Just a quick thought: what about turning the above on its head. Disable useRollOver and only enable when rolling over items that are enabled? Probably won't work, but its worth a try! How can it be this complex to just stop the rollover for disabled elements :'( You'll probably have to resort to prototype hacking, which I had to do with the Tree component to prevent nodes being closed depending on certain conditions. -- Steve Webster Head of Development Featurecreep Ltd. http://www.featurecreep.com 14 Orchard Street, Bristol, BS1 5EH 0117 905 5047 ___ 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] Instantiate AS2 classes from AS1...
Hi, I am posting this once more in case the post got buried. I have a body of AS1.0 code that I inherited that is compiled under 1.0. I would like to keep it compiled with AS 1.0 but make it use any newly written AS2.0 classes. Compiling the existing 1.0 code under AS2.0 setting causes too many errors, don't have time for that now. I am thinking that one option to do this would be to compile any newly created AS2.0 code into its own swf, and make the existing AS1.0 code load in the swf and instantiate the AS2 class that way, but I am having a little problem getting it to work. Am I on the right path? Any ideas? - boon - Yahoo! Mail Use Photomail to share photos without annoying attachments. ___ 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] Help with Tree Component
On 15 Mar 2006, at 17:38, Steve Webster wrote: James, Thanks for the reply. I was about to have a hernia. I've snooped through as much of this component as I'm willing to bare. If you mean this: tree.addEventListener('itemRollOver', treeListener); tree.addEventListener('itemRollOut', treeListener); treeListener.itemRollOver = function(evt:Object) { evt.target.setStyle(useRollOver, false); } treeListener.itemRollOut = function(evt:Object) { evt.target.setStyle(useRollOver, true); } It really doesn't work very well. The custom event handler responds after the default behaviour has been triggered. Just a quick thought: what about turning the above on its head. Disable useRollOver and only enable when rolling over items that are enabled? Probably won't work, but its worth a try! How can it be this complex to just stop the rollover for disabled elements :'( You'll probably have to resort to prototype hacking, which I had to do with the Tree component to prevent nodes being closed depending on certain conditions. Something like this: DataGrid.prototype.oldOnRowRollOver = DataGrid.prototype.onRowRollOver; DataGrid.prototype.onRowRollOver = function(rowIndex : Number) { if (this.rows[rowIndex].item.enabled === false) return; return this.oldOnRowRollOver.apply(this, arguments); } You can also do the same with onRowPress to prevent disabled rows from being selected. -- Steve Webster Head of Development Featurecreep Ltd. http://www.featurecreep.com 14 Orchard Street, Bristol, BS1 5EH 0117 905 5047 ___ 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] crosspost: update your flash-players immediately
Aaron Silvers wrote: In case JD is reading this (Hi JD), what about the plugin for those of us on the intel Macs? Intel-based Macs have been tricky... there's not yet an official Adobe release of Flash Player for that platform. Should be soon, though... best info I know at the moment is still Tinic's post from last month: http://www.kaourantin.net/2006/02/universal-binaries.html (A little bit of a heads-up... we're expecting a new Player 8.5 build very soon for general compatibility testing... I'm not sure of the timing of these various releases, but there's a lot cooking right now. Keep an ear out, that's the best tip I've got right now.) jd -- John Dowdell . Adobe Developer Support . San Francisco CA USA Weblog: http://weblogs.macromedia.com/jd Aggregator: http://weblogs.macromedia.com/mxna Technotes: http://www.macromedia.com/support/ Spam killed my private email -- public record is best, thanks. ___ 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] Help with Tree Component
Then I suppose you can override onRowRollOver method in your subclass for the tree component. You can find source code in the mx.controls.listclasses.ScrollSelectList class. It is an ancestor of a tree class. If current row is disabled just skip drawRow invocation. Hopefully it will work. Andrey Ermilkin --Original Message Date: Wed, 15 Mar 2006 17:56:37 + From: James Marsden [EMAIL PROTECTED] Subject: Re: [Flashcoders] Help with Tree Component To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=ISO-8859-1; format=flowed Hey, Thanks for the reply. I was about to have a hernia. I've snooped through as much of this component as I'm willing to bare. If you mean this: tree.addEventListener('itemRollOver', treeListener); tree.addEventListener('itemRollOut', treeListener); treeListener.itemRollOver = function(evt:Object) { evt.target.setStyle(useRollOver, false); } treeListener.itemRollOut = function(evt:Object) { evt.target.setStyle(useRollOver, true); } It really doesn't work very well. The custom event handler responds after the default behaviour has been triggered. How can it be this complex to just stop the rollover for disabled elements :'( J ___ 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] Trying Again:External Interface API and External .js Files
Christian wrote: I'm trying to rewrite some tracking functionality that I have utilizing external .js files and I can't seem to use the external API unless the JavaScript function is on the page in between the script tags. Can you do this with external .js files? If so, is there somewhere you can point me? I don't know, sorry. :( I do know that there are great browser dependencies with this work... the Flash externalInterface commands apparently hook into the new scriptable plugins interface for Firefox, Opera and Safari, as well as the different methodology for ActiveX Scripting in Microsoft's browser for Windows. Here's the source page for the new API: http://www.mozilla.org/projects/plugins/npruntime.html Now, how do the various browsers implement this, and what beyond-the-spec differences do they have? That's something that I don't know that anyone has documented. It could be that *all* browsers don't recognize external .JS files for browser-to-plugin and/or plugin-to-browser messages, or it could be that just *some* have that distinction... I don't yet know of any pages from the browser vendors which discuss usage issues, much less a cross-browser reference like a css differences or dom differences type of guide. Best tip I could offer right now would be to test some simple functions, in barebones JS SWF, just to rule out any authoring complications. Testing it across a few browsers would be the next step. But, as with any multi-engine work, finding the differences between implementations is a tricky unmentioned cost. Wish I had something better, but the above is the best I've got on this subject right now. jd -- John Dowdell . Adobe Developer Support . San Francisco CA USA Weblog: http://weblogs.macromedia.com/jd Aggregator: http://weblogs.macromedia.com/mxna Technotes: http://www.macromedia.com/support/ Spam killed my private email -- public record is best, thanks. ___ 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] Standalone and SSL
Hi there, Does flash 8 support socket connections trough SSL ? TIA. Pedro. ___ 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] Updating the authoring player.
Yesterday I got an ran the stand-alone updater for Mac. All 3 players inside Macromedia Flash 8 folder have been updated. These are: * /Applications/Macromedia Flash 8/Players/SAFlashPlayer * /Applications/Macromedia Flash 8/Players/Debug/SAFlashPlayer * Applications/Macromedia Flash 8/Players/Release/SAFlashPlayer Getting info on these shows version 8.0 r24. However, in authoring environment: trace( player version: + getVersion()); produces: player version: MAC 8,0,22,0 !!! Is this an updated player error (i.e. someone forgot to change a string and it reports incorrectly) or is there a player somewhere beyond the scope of Spotlight that needs updating as well? Isaac Rivera ___ 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] remove BitmapData
So that means I have to keep a reference of the BitmapData obj. What if I have dozens of bitmaps I attach on a movieclip and I don't want to keep references for all of them. Isn't there just a simple way to *clear* the movieclip at a specific depth? Thank you, Dimitrios - Original Message - From: Ryan Matsikas [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Wednesday, March 15, 2006 7:20 PM Subject: Re: [FlashCoders] remove BitmapData bmpdata.dispose() On 3/15/06, Dimitrios Bendilas [EMAIL PROTECTED] wrote: Hello everyone, How can I remove a bitmap that I have attached on a movieclip at a certain depth? The only approach I was able to find was to attach another bitmap 1x1 transparent at the same depth, but I think this is a pretty stupid approach... Am I missing something? Thanks, Dimitrios ___ 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] Help with Tree Component
Thanks again :) Andrey Ermilkin wrote: Then I suppose you can override onRowRollOver method in your subclass for the tree component. You can find source code in the mx.controls.listclasses.ScrollSelectList class. It is an ancestor of a tree class. If current row is disabled just skip drawRow invocation. Hopefully it will work. Andrey Ermilkin ___ 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] remove BitmapData
you could loop through the movieclip, check if the object you are encountering is an instance of bitmapdata and remove them. this could be done in reomvemoveiclip so you know when you remove a movieclip it will be sorted. On 3/15/06, Dimitrios Bendilas [EMAIL PROTECTED] wrote: So that means I have to keep a reference of the BitmapData obj. What if I have dozens of bitmaps I attach on a movieclip and I don't want to keep references for all of them. Isn't there just a simple way to *clear* the movieclip at a specific depth? Thank you, Dimitrios - Original Message - From: Ryan Matsikas [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Wednesday, March 15, 2006 7:20 PM Subject: Re: [FlashCoders] remove BitmapData bmpdata.dispose() On 3/15/06, Dimitrios Bendilas [EMAIL PROTECTED] wrote: Hello everyone, How can I remove a bitmap that I have attached on a movieclip at a certain depth? The only approach I was able to find was to attach another bitmap 1x1 transparent at the same depth, but I think this is a pretty stupid approach... Am I missing something? Thanks, Dimitrios ___ 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 -- j:pn http://www.lennel.org ___ 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] gotoAndPlay?
i have my preloader on frame 1. i have my entire site on frame 2. once i finish preloading, i need to delete the first frame, and go to the next frame.. the site just loops, any ideas? // preloader function preloadMe() { // reference to _root ref = _root; ref.onEnterFrame = function() { tBytes = ref.getBytesTotal(); bLoaded = ref.getBytesLoaded(); percent = Math.round((bLoaded/tBytes)*100); // keep two places if percent is under 10, ie: 03 if (percent 10) { percentTxt = LOADING SITE: 0 + percent; } else { percentTxt = LOADING SITE: + percent; } // if this movie is not fully loaded, then display percent loaded if (bLoaded tBytes) { ref.preloader_mc.preloader_txt.text = percentTxt; gotoAndPlay(1) } else { gotoAndPlay(2) }; }; }; // - preloadMe(); ___ 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] gotoAndPlay?
Try this. Edward Hotchkiss wrote: i have my preloader on frame 1. i have my entire site on frame 2. once i finish preloading, i need to delete the first frame, and go to the next frame.. the site just loops, any ideas? // preloader function preloadMe() { // reference to _root ref = _root; ref.onEnterFrame = function() { tBytes = ref.getBytesTotal(); bLoaded = ref.getBytesLoaded(); percent = Math.round((bLoaded/tBytes)*100); // keep two places if percent is under 10, ie: 03 if (percent 10) { percentTxt = LOADING SITE: 0 + percent; } else { percentTxt = LOADING SITE: + percent; } // if this movie is not fully loaded, then display percent loaded if (bLoaded tBytes) { ref.preloader_mc.preloader_txt.text = percentTxt; //gotoAndPlay(1) } else { gotoAndStop(2); //gotoAndPlay(2) }; }; }; // - preloadMe(); stop(); ___ 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 Eric T. ___ 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] remove BitmapData
check if the object you are encountering is an instance of bitmapdata and remove them How exactly can you remove a bitmap data from a movieclip? That's what I haven't figured out yet. Thanks, Dimitrios - Original Message - From: Johannes Nel [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Wednesday, March 15, 2006 9:19 PM Subject: Re: [FlashCoders] remove BitmapData you could loop through the movieclip, check if the object you are encountering is an instance of bitmapdata and remove them. this could be done in reomvemoveiclip so you know when you remove a movieclip it will be sorted. On 3/15/06, Dimitrios Bendilas [EMAIL PROTECTED] wrote: So that means I have to keep a reference of the BitmapData obj. What if I have dozens of bitmaps I attach on a movieclip and I don't want to keep references for all of them. Isn't there just a simple way to *clear* the movieclip at a specific depth? Thank you, Dimitrios ___ 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] remove BitmapData
for (var e in clip) { if(clip[e] instanceof BitmapDAta) { clip[e].dispose(); } } i think that could work. On 3/15/06, Dimitrios Bendilas [EMAIL PROTECTED] wrote: check if the object you are encountering is an instance of bitmapdata and remove them How exactly can you remove a bitmap data from a movieclip? That's what I haven't figured out yet. Thanks, Dimitrios - Original Message - From: Johannes Nel [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Wednesday, March 15, 2006 9:19 PM Subject: Re: [FlashCoders] remove BitmapData you could loop through the movieclip, check if the object you are encountering is an instance of bitmapdata and remove them. this could be done in reomvemoveiclip so you know when you remove a movieclip it will be sorted. On 3/15/06, Dimitrios Bendilas [EMAIL PROTECTED] wrote: So that means I have to keep a reference of the BitmapData obj. What if I have dozens of bitmaps I attach on a movieclip and I don't want to keep references for all of them. Isn't there just a simple way to *clear* the movieclip at a specific depth? Thank you, Dimitrios ___ 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 -- j:pn http://www.lennel.org ___ 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] remove BitmapData
Thank you Johannes. But what if I need to remove bitmaps only at a certain depth? Because I really don't want to clear all BitmapData from the movieclip... Dimitrios - Original Message - From: Johannes Nel [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Wednesday, March 15, 2006 9:46 PM Subject: Re: [FlashCoders] remove BitmapData for (var e in clip) { if(clip[e] instanceof BitmapDAta) { clip[e].dispose(); } } i think that could work. On 3/15/06, Dimitrios Bendilas [EMAIL PROTECTED] wrote: check if the object you are encountering is an instance of bitmapdata and remove them How exactly can you remove a bitmap data from a movieclip? That's what I haven't figured out yet. Thanks, Dimitrios - Original Message - From: Johannes Nel [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Wednesday, March 15, 2006 9:19 PM Subject: Re: [FlashCoders] remove BitmapData you could loop through the movieclip, check if the object you are encountering is an instance of bitmapdata and remove them. this could be done in reomvemoveiclip so you know when you remove a movieclip it will be sorted. On 3/15/06, Dimitrios Bendilas [EMAIL PROTECTED] wrote: So that means I have to keep a reference of the BitmapData obj. What if I have dozens of bitmaps I attach on a movieclip and I don't want to keep references for all of them. Isn't there just a simple way to *clear* the movieclip at a specific depth? Thank you, Dimitrios ___ 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 -- j:pn http://www.lennel.org ___ 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] Yahoo Maps
Hey all, Has anyone successfully created a custom marker by inheriting from the existing classes? If so, could you shed some light as to why a simple test is bombing on me and won't attach anything. // - import com.yahoo.maps.markers.CustomPOIMarker; class com.keslabs.marker.KESPOIMarker extends com.yahoo.maps.markers.CustomPOIMarker { //var up, over, rolloverState, locked, _width, _height, rating, styleSheet, target, trueWidth, _parent, _xmouse, _x, _ymouse, _y, borderWidth, _visible, //originalDepth, trueHeight, index, title, description, finishInterval, maxWidth; static var className = com.keslabs.marker.KESPOIMarker; static var symbolOwner = com.keslabs.marker.KESPOIMarker; static var symbolName = com.keslabs.marker.KESPOIMarker; // function KESPOIMarker() { super(); } // End of the function } // - Cheers, !k ___ 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] gotoAndPlay?
this still does not work. when i simulate download, the text does not appear, then suddenly it pops up, and then it says 100 percent, no in between state, then onto the next frame ... any ideas? // preloader function preloadMe() { ref = _root; // create the preloader mc ref.createEmptyMovieClip(preloader_mc, ref.getNextHighestDepth() ); // create the preloader mc progress text ref.preloader_mc.createTextField(preloader_txt, ref.getNextHighestDepth, 0, 0, 200, 10); with (ref.preloader_mc.preloader_txt) { embedFonts = true; selectable = false; setNewTextFormat(format1_fmt); text = LOADING SITE: 00 }; // place preloader text in center of stage ref.preloader_mc._x = (Stage.width/2) - (ref.preloader_mc.preloader_txt._width/2); ref.preloader_mc._y = (Stage.height/2) - (ref.preloader_mc.preloader_txt._height/2); ref.onEnterFrame = function() { tBytes = ref.getBytesTotal(); bLoaded = ref.getBytesLoaded(); percent = Math.round((bLoaded/tBytes)*100); // keep two places if percent is under 10, ie: 03 if (percent 10) { percentTxt = LOADING SITE: 0 + percent; } else { percentTxt = LOADING SITE: + percent; } // if this movie is not fully loaded, then display percent loaded if (bLoaded tBytes) { ref.preloader_mc.preloader_txt.text = percentTxt; } else { ref.preloader_mc.removeMovieClip(); ref.preloader_mc.preloader_txt.removeTextField(); gotoAndStop(2) }; }; }; // - preloadMe(); stop(); ___ 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] Find Nearest Color?
I'm working on a project that requires that I take an uploaded image, and convert it to use a limited palette of colors - around 5-10 colors. I've got the custom palette I have to work with stored in an array, and for each color in my image, I've got it finding the color in the array it's closest to numerically, but the results aren't exactly what I'm looking for. Does anybody know of any formulas available for comparing multiple colors and finding the ones that are the closest matches? I've been searching Google for a while, with no luck. Any good resources on color formulas such would be appreciated. - Josh ___ 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] Is it possible to make AS1.0 code instantiate AS2.0 objects without compiling it under AS2.0?
Since you're strapped for time and can't classify the code to as2, you shouldn't even bother trying to classify it in as1 if you're having trouble converting it to as2. I recommend classifying the as1 code using as2, if you don't and use a hybrid of as1 and as2 with poorly decoupled as1 code ( which appears to be the case ), the app will be, for lack of a better phrase, a mangled mess. You might even lose more time from trying to save time. I'm not sure what the context of this as1 code is, but throwing it in a movieclip and putting it on the root would be a quick and dirty way to use it as a pseudo class, however, if it isn't decoupled from the application enough to do this and just work, then you would leave it where it is and target the code members from your as2 code to make it worth the time. On the other hand you could save a ton of time by writing the entire app in as1 if you haven't begun building it in as2. Good luck man, M. On 3/15/06, Boon Chew [EMAIL PROTECTED] wrote: Hi, I have a body of AS1.0 code that I inherited that is compiled under 1.0. I would like to keep it compiled with AS 1.0 but make it use any newly written AS2.0 classes. Compiling the existing 1.0 code under AS2.0setting causes too many errors, don't have time for that now. I am thinking that one option to do this would be to compile any newly created AS2.0 code into its own swf, and make the existing AS1.0 code load in the swf and instantiate the AS2 class that way, but I am having a little problem getting it to work. Am I on the right path? Any ideas? - boon - Relax. Yahoo! Mail virus scanning helps detect nasty viruses! ___ 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] remove BitmapData
ok i see what your after. you are using attachBitmap basically. i would wrap that bitmap in its own movieclip and remove that. i was refereing to disposing the bitmapadata instances for memory mangement. On 3/15/06, Dimitrios Bendilas [EMAIL PROTECTED] wrote: Thank you Johannes. But what if I need to remove bitmaps only at a certain depth? Because I really don't want to clear all BitmapData from the movieclip... Dimitrios - Original Message - From: Johannes Nel [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Wednesday, March 15, 2006 9:46 PM Subject: Re: [FlashCoders] remove BitmapData for (var e in clip) { if(clip[e] instanceof BitmapDAta) { clip[e].dispose(); } } i think that could work. On 3/15/06, Dimitrios Bendilas [EMAIL PROTECTED] wrote: check if the object you are encountering is an instance of bitmapdata and remove them How exactly can you remove a bitmap data from a movieclip? That's what I haven't figured out yet. Thanks, Dimitrios - Original Message - From: Johannes Nel [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Wednesday, March 15, 2006 9:19 PM Subject: Re: [FlashCoders] remove BitmapData you could loop through the movieclip, check if the object you are encountering is an instance of bitmapdata and remove them. this could be done in reomvemoveiclip so you know when you remove a movieclip it will be sorted. On 3/15/06, Dimitrios Bendilas [EMAIL PROTECTED] wrote: So that means I have to keep a reference of the BitmapData obj. What if I have dozens of bitmaps I attach on a movieclip and I don't want to keep references for all of them. Isn't there just a simple way to *clear* the movieclip at a specific depth? Thank you, Dimitrios ___ 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 -- j:pn http://www.lennel.org ___ 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 -- j:pn http://www.lennel.org ___ 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] crosspost: update your flash-players (is: MacTel Player)
Aaron Silvers wrote: In case JD is reading this (Hi JD), what about the plugin for those of us on the intel Macs? Speak of the devil... it's available now: http://weblogs.macromedia.com/emmy/archives/2006/03/flash_player_8.cfm jd -- John Dowdell . Adobe Developer Support . San Francisco CA USA Weblog: http://weblogs.macromedia.com/jd Aggregator: http://weblogs.macromedia.com/mxna Technotes: http://www.macromedia.com/support/ Spam killed my private email -- public record is best, thanks. ___ 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] crosspost: update your flash-players (is: MacTel Player)
Thats cool. Will there be a public beta of the player that runs as a Universal Binary? (I know... thats not going to be possible until the PPC and Wintel 8.5 players are released -- right?) e.dolecki On 3/15/06, John Dowdell [EMAIL PROTECTED] wrote: Aaron Silvers wrote: In case JD is reading this (Hi JD), what about the plugin for those of us on the intel Macs? Speak of the devil... it's available now: http://weblogs.macromedia.com/emmy/archives/2006/03/flash_player_8.cfm jd -- John Dowdell . Adobe Developer Support . San Francisco CA USA Weblog: http://weblogs.macromedia.com/jd Aggregator: http://weblogs.macromedia.com/mxna Technotes: http://www.macromedia.com/support/ Spam killed my private email -- public record is best, thanks. ___ 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] remove BitmapData
There is no getDepth() method for bitmapData Objects. What's the problem with keeping a refrence to your bitmapData Objects? I would argue that it's better practice to refrence them anyways, and as of now, if you do not call dispose() and just remove MovieClips with bitmapData attached, the bitmapData, as I know it, will remain in memory. M. On 3/15/06, Dimitrios Bendilas [EMAIL PROTECTED] wrote: Thank you Johannes. But what if I need to remove bitmaps only at a certain depth? Because I really don't want to clear all BitmapData from the movieclip... Dimitrios - Original Message - From: Johannes Nel [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Wednesday, March 15, 2006 9:46 PM Subject: Re: [FlashCoders] remove BitmapData for (var e in clip) { if(clip[e] instanceof BitmapDAta) { clip[e].dispose(); } } i think that could work. On 3/15/06, Dimitrios Bendilas [EMAIL PROTECTED] wrote: check if the object you are encountering is an instance of bitmapdata and remove them How exactly can you remove a bitmap data from a movieclip? That's what I haven't figured out yet. Thanks, Dimitrios - Original Message - From: Johannes Nel [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Wednesday, March 15, 2006 9:19 PM Subject: Re: [FlashCoders] remove BitmapData you could loop through the movieclip, check if the object you are encountering is an instance of bitmapdata and remove them. this could be done in reomvemoveiclip so you know when you remove a movieclip it will be sorted. On 3/15/06, Dimitrios Bendilas [EMAIL PROTECTED] wrote: So that means I have to keep a reference of the BitmapData obj. What if I have dozens of bitmaps I attach on a movieclip and I don't want to keep references for all of them. Isn't there just a simple way to *clear* the movieclip at a specific depth? Thank you, Dimitrios ___ 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 -- j:pn http://www.lennel.org ___ 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] Looking for Flashcoder in Chicago, IL
Email me off list if you are interested in a Flash Developer/programming Position in Chicagoland area. Gene Jannece ___ 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] Find Nearest Color?
This sounded interesting so I wrote something up for you Josh: //color that is being compared var a:Number = 0x12345; //color set to use var b:Array = [0x00, 0xFF, 0xFF, 0x00FF00, 0xFF, 0x00, 0xFF00FF, 0x00]; //get the distance between two colors function getDistance(a:Number, b:Number){ var i =-1, a = getRGB(a), b = getRGB(b), r=[]; while(++i3) r[i] = a[i]b[i]?b[i]-a[i]:a[i]-b[i]; return r; } //convert hex color to a number function getRGB(c:Number):Array { return [(c~0x00)16, (c~0xFF00FF)8, (c~0xF00)]; } //you can use (c~0x00FF)32 to get red for rgba colors, and using the pattern below, you can get the rest. //I don't know how good my math is in this, there might be a better way to get the rgb values //the lowest average is the closest match, in this example, it's black. for(var i in b){ var j = getDistance(a, b[i]), k=(j[0]+j[1]+j[2])/3; trace(j+' average: '+k); } Hope this works, M. On 3/15/06, Josh Buhler [EMAIL PROTECTED] wrote: I'm working on a project that requires that I take an uploaded image, and convert it to use a limited palette of colors - around 5-10 colors. I've got the custom palette I have to work with stored in an array, and for each color in my image, I've got it finding the color in the array it's closest to numerically, but the results aren't exactly what I'm looking for. Does anybody know of any formulas available for comparing multiple colors and finding the ones that are the closest matches? I've been searching Google for a while, with no luck. Any good resources on color formulas such would be appreciated. - Josh ___ 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] Find Nearest Color?
I tried comparing the hex values directly, but there were inaccuracies, maybe the same ones you've been having. I think since the value of a particular color precedes with a 0 even when it's below 17(0F), the preceding 0 causes a shifting in the comparison. It would, for example, cause 0x00 to seem farther to 0x123456 than 0x00FF00, where visually you can see clearly that black is closer to 0x00. btw in my example, var a = 0x12345 where it should be 0x123456. The numbers hold to be accurate after correcting this typo. On 3/15/06, Josh Buhler [EMAIL PROTECTED] wrote: I'm working on a project that requires that I take an uploaded image, and convert it to use a limited palette of colors - around 5-10 colors. I've got the custom palette I have to work with stored in an array, and for each color in my image, I've got it finding the color in the array it's closest to numerically, but the results aren't exactly what I'm looking for. Does anybody know of any formulas available for comparing multiple colors and finding the ones that are the closest matches? I've been searching Google for a while, with no luck. Any good resources on color formulas such would be appreciated. - Josh ___ 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] swfdraw2jpg
Hi there! I was searching google for David Stern's swfdraw2jpg application and found my way here. His original f-mod.com site is no longer in operation and I can't seem to find swfdraw2jpg anywhere - need to refer to the code for a kids site i'm building. If anyone could pls e-mail me the source files or put a download link here, I would be really grateful. Thanks for your help! rafa ___ 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] crosspost: update your flash-players (is: MacTel Player)
SWEET! Thanks, JD! -a- On 3/15/06, John Dowdell [EMAIL PROTECTED] wrote: Aaron Silvers wrote: In case JD is reading this (Hi JD), what about the plugin for those of us on the intel Macs? Speak of the devil... it's available now: http://weblogs.macromedia.com/emmy/archives/2006/03/flash_player_8.cfm jd -- John Dowdell . Adobe Developer Support . San Francisco CA USA Weblog: http://weblogs.macromedia.com/jd Aggregator: http://weblogs.macromedia.com/mxna Technotes: http://www.macromedia.com/support/ Spam killed my private email -- public record is best, thanks. ___ 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 -- -a- Aaron E. Silvers [EMAIL PROTECTED] http://flashforlearning.com -- Whoso would be a man must be a nonconformist. - Ralph Waldo Emerson ___ 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] Find Nearest Color?
K, here is some better math for getRGB, performance will probably be important: return [c16, c8~0xFF00, c~0xF00]; You can also try using the ColorTransform or Color class to get the rgb values, except they might be slower than getting the raw math right. M. On 3/15/06, Josh Buhler [EMAIL PROTECTED] wrote: Thanks - I'll give it a shot and see how it goes. - Josh On Mar 15, 2006, at 3:10 PM, elibol wrote: I tried comparing the hex values directly, but there were inaccuracies, maybe the same ones you've been having. I think since the value of a particular color precedes with a 0 even when it's below 17(0F), the preceding 0 causes a shifting in the comparison. It would, for example, cause 0x00 to seem farther to 0x123456 than 0x00FF00, where visually you can see clearly that black is closer to 0x00. btw in my example, var a = 0x12345 where it should be 0x123456. The numbers hold to be accurate after correcting this typo. On 3/15/06, Josh Buhler [EMAIL PROTECTED] wrote: I'm working on a project that requires that I take an uploaded image, and convert it to use a limited palette of colors - around 5-10 colors. I've got the custom palette I have to work with stored in an array, and for each color in my image, I've got it finding the color in the array it's closest to numerically, but the results aren't exactly what I'm looking for. Does anybody know of any formulas available for comparing multiple colors and finding the ones that are the closest matches? I've been searching Google for a while, with no luck. Any good resources on color formulas such would be appreciated. - Josh ___ 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
[Flashcoders] System.security oddness
In the flash IDE. I'm suddenly getting this error when I compile my swf ... There is no method with the name 'security' from this line of code... System.security.allowDomain(whatever.com); I'm confused, this makes no sense. Anyone have any idea why this would suddenly start happening? -Steve ___ 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] flv local playback on linux
I had a similar problem, but it was on a Mac. It turned out to be a bug with Flash Player 7 - something to do with resolving relative paths (I can't remember exactly). This bug was fixed in Flash Player 8 - so we resolved it by publishing for Flash Player 7, but requiring Flash Player 8 on a Mac. Don't know if it is the same with linux, but I guess it's somewhere to start. Alison Woodage -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Alfonso Florio Sent: Thursday, March 16, 2006 11:08 AM To: Flashcoders mailing list Subject: [Flashcoders] flv local playback on linux A request from a client: a flash site with flv videos put on cd-rom, with index.html, no projector the project is made in flash 7, so videos are compressed with SPARK the cd plays well on pc and mac. I've not tested directly, it says videos don't play locally on linux, everithing works fine (xml structure, .txt with long filenames etc.) except for the FLVs that don'tplay I've wrote my own routines, a simple netconnection for progressive download in flash 7. Anybody knows similar issues on linux? The on-line version works fine on linux. I have no linux machines to debug it. Thanks in advance Alfonso Florio ___ 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 is intended for the addressee named and may contain privileged information or confidential information or both. If you are not the intended recipient please delete it and notify the sender. ** ___ 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] DataGrid Component Performance
Anyone have a feel for how this component performs. Can you expand rows? Can it handle thousands of rows? ___ 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] DataGrid Component Performance
What do you mean by expand rows? But I think the answer is no - all grid rows need to be the same height (this height is adjustable, but applies to all rows). The datagrid component can handle many thousand rows, but becomes very unresponsive with a number of columns. In an application which does display a lot of data we limit the grids to a maximum of 15 columns, and this can display 20,000 rows ok. However, whenever the grid needs to do a full redraw (ie sorting a column, resizing a column) it can pause for a couple of seconds. Also, intensive CellRenderers should be avoided, as should any kind of manual row highlighting (ie alternate row colours). Regards, Grant Cox varfoo wrote: Anyone have a feel for how this component performs. Can you expand rows? Can it handle thousands of rows? ___ 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] DataGrid Component Performance
Expand rows? Like a tree/table idea? No, it can't. It is build to handle thousand of rows, but there a couple of issues. Population of the datagrid is slow as molasses. You might be able to short circuit your way into some better performance, but it's a crapshoot. Also, don't even bother trying to sort. It might be interesting to try delegating sorting to the server and getting a permutation vector back...but even then, it might give you trouble. Also, column sorting is limited to string sorts. When I needed more complex sorting behaviour, I achieved it by subclassing DataGridColumn (might be named differently, it's been awhile) and hooking into the header's press handler. Hope this helps, Scott -Original Message- From: [EMAIL PROTECTED] on behalf of varfoo Sent: Wed 3/15/2006 8:17 PM To: Flashcoders Mailing List Cc: Subject:[Flashcoders] DataGrid Component Performance Anyone have a feel for how this component performs. Can you expand rows? Can it handle thousands of rows? ___ 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] DataGrid Component Performance
It might be interesting to try delegating sorting to the server and getting a permutation vector back...but even then, it might give you trouble. I rethought this. I imagine the issue surrounding the sort is related to the calculations done by the grid, and probably not the sort itself. Scott -Original Message- From: [EMAIL PROTECTED] on behalf of Scott Hyndman Sent: Wed 3/15/2006 8:33 PM To: Flashcoders mailing list Cc: Subject:RE: [Flashcoders] DataGrid Component Performance Expand rows? Like a tree/table idea? No, it can't. It is build to handle thousand of rows, but there a couple of issues. Population of the datagrid is slow as molasses. You might be able to short circuit your way into some better performance, but it's a crapshoot. Also, don't even bother trying to sort. It might be interesting to try delegating sorting to the server and getting a permutation vector back...but even then, it might give you trouble. Also, column sorting is limited to string sorts. When I needed more complex sorting behaviour, I achieved it by subclassing DataGridColumn (might be named differently, it's been awhile) and hooking into the header's press handler. Hope this helps, Scott -Original Message- From: [EMAIL PROTECTED] on behalf of varfoo Sent: Wed 3/15/2006 8:17 PM To: Flashcoders Mailing List Cc: Subject:[Flashcoders] DataGrid Component Performance Anyone have a feel for how this component performs. Can you expand rows? Can it handle thousands of rows? ___ 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] flv local playback on linux
Hmm...just tried playing flv locally on linux via a flash movie within an html page. Didn't work at all :( Ubuntu with Firefox and Flash 7. I don't see why it wouldn't work. Did you read something somewhere stating whether or not its possible? Chris Alfonso Florio wrote: A request from a client: a flash site with flv videos put on cd-rom, with index.html, no projector the project is made in flash 7, so videos are compressed with SPARK the cd plays well on pc and mac. I've not tested directly, it says videos don't play locally on linux, everithing works fine (xml structure, .txt with long filenames etc.) except for the FLVs that don'tplay I've wrote my own routines, a simple netconnection for progressive download in flash 7. Anybody knows similar issues on linux? The on-line version works fine on linux. I have no linux machines to debug it. Thanks in advance Alfonso Florio ___ 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] Memory leak in Flash projector
There was also a utility that someone on the team found that would force it to release the memory. But it was Windows only, and we had to support Mac so we ended up taking it out. Do you have a link or a name for that utility (I only need to support windows in the current project so that may do the trick)? Thanks, Darren ___ 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] flv local playback on linux
Ubuntu with Firefox and Flash 7. I don't see why it wouldn't work. Did you read something somewhere stating whether or not its possible? i never got loading local content directly as a file working. i always go over a local webserver, which works just fine, but isn't really an option for a cd-rom project. mark On 3/16/06, Chris Hill [EMAIL PROTECTED] wrote: Hmm...just tried playing flv locally on linux via a flash movie within an html page. Didn't work at all :( Ubuntu with Firefox and Flash 7. I don't see why it wouldn't work. Did you read something somewhere stating whether or not its possible? Chris Alfonso Florio wrote: A request from a client: a flash site with flv videos put on cd-rom, with index.html, no projector the project is made in flash 7, so videos are compressed with SPARK the cd plays well on pc and mac. I've not tested directly, it says videos don't play locally on linux, everithing works fine (xml structure, .txt with long filenames etc.) except for the FLVs that don'tplay I've wrote my own routines, a simple netconnection for progressive download in flash 7. Anybody knows similar issues on linux? The on-line version works fine on linux. I have no linux machines to debug it. Thanks in advance Alfonso Florio ___ 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 -- http://snafoo.org/ jabber: [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
Re: [Flashcoders] advanced flash AS 2.0/3.0 book?
On 3/11/06, Jonathan Berry [EMAIL PROTECTED] wrote: Hey Flashers, how about a book for an intermediate/advanced level coder? how about a book that isn't specifically for flash? after reading one recommendation for it after another, i finally got myself Heads First: Design Patterns (http://tinyurl.com/pogvo) and so far i'm very happy with it. (if you don't know what design patterns are, read http://en.wikipedia.org/wiki/Design_pattern_%28computer_science%29 and see if something like that is of interest for you.) the book explains a few selected common and useful patterns very thoroughly. you not only learn how they work and how to implement them, but also /why/ they are useful, in what kind of situations they are useful, and in which they aren't. the presentation may not be for everybody, but i went for it and it works for me. hth, mark -- http://snafoo.org/ jabber: [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
Re: [Flashcoders] OT: PSP getting the Flash Player this spring!
From the Flashmobilegroup: It looks like it is going to be Flash 6 based... Like the current situation of PDA devices and flash You can read more about it here: http://girlstoys.co.nz/?p=135#comments - Hope to catch you all tomorrow for the ZoDAL breeze presentation on our Multi-Player Flash Lite Platform cheers, Chris -- Ramon Miguel M. Tayag Managing Director Quirkworks ___ 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] SEO for Flash .....
Does anyone have any good links or advice for optimising Flash for search engines. Please let me know if anyone can advise on this or if some research has been done in this area. Thanks, Stephen.___ 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] SEO for Flash .....
have you tried google? On 3/15/06, Stephen Ford [EMAIL PROTECTED] wrote: Does anyone have any good links or advice for optimising Flash for search engines. Please let me know if anyone can advise on this or if some research has been done in this area. Thanks, Stephen.___ 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] crosspost: update your flash-players immediately
Have the players 8.0r24 for developers including debug version and SAFlashPlayer been available, too? Regards, Fumio Nonaka mailto:[EMAIL PROTECTED] http://www.FumioNonaka.com/ My bookshttp://www.FumioNonaka.com/Books/index.html Flash communityhttp://F-site.org/ ___ 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