RE: [Flashcoders] movieclip._y = textField._height
Your fla works for me as long as you publish it to FP8/AS2 or remove the strict typing and publish it for AS1. tested the Flash 8 (without dot) version -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Thursday, September 28, 2006 3:38 PM To: Flashcoders mailing list Subject: RE: [Flashcoders] movieclip._y = textField._height I put up this test fla...see if this helps. http://www.thespikeranch.com/test/testYpos.zip I'll leave that up today. Gerry How about this? var test:Number = Math.round(parseFloat(textField._height)); movieClip._y = test; ;) strange, works for me obviously,... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lieven Cardoen Sent: Thursday, September 28, 2006 3:24 PM To: Flashcoders mailing list Subject: RE: [Flashcoders] movieclip._y = textField._height Instead of going to y-coordinate 60, it goes to ZERO. Even if I like do this : Var test:Number = textField._height; movieClip._y = test; Still the same shit. Incredible. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of John Grden Sent: donderdag 28 september 2006 15:13 To: Flashcoders mailing list Subject: Re: [Flashcoders] movieclip._y = textField._height well, what DOES it do? On 9/28/06, Lieven Cardoen [EMAIL PROTECTED] wrote: Really strange bug : If I put movieclip._y = 60 , it works fine If I put movieclip._y = textField._height , it doesn't work fine Lieven ___ 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 -- [ JPG ] ___ 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] 3rd party editor: FD
Simply highlight it and hit F3 :) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of eric dolecki Sent: Wednesday, September 20, 2006 3:19 PM To: Flashcoders mailing list Subject: [Flashcoders] 3rd party editor: FD I think I'll jump to FlashDevelop and was wondering how I can highlight a bit of code, and then search for matching code throughout my document - I am looking for that but haven't found it yet. Its something I do rather frequently. A Firefox-like quick search would be awesome too - can't find anything like that in there yet either. Thanks for any feedback. - e. ___ 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's playing in a projector from usb drive
FLVPlayback.contenPath = \english\flv\myFlv.flv that should be FLVPlayback.contenPath = english\\flv\\myFlv.flv I think -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kent Haynes Sent: Thursday, September 07, 2006 4:20 PM To: Flashcoders mailing list Subject: RE: [Flashcoders] Flv's playing in a projector from usb drive Okay we're accessing them with relative paths. The exe is located at the base of the directory and the flv's are in \english\flv\myFlv.flv So I'm doing FLVPlayback.contenPath = \english\flv\myFlv.flv Do I need to have the drive letter in there as well? I just tried changing the publish settings to the access network only and it didn't do anything. Thanks -kent -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of John Grden Sent: Thursday, September 07, 2006 8:13 AM To: Flashcoders mailing list Subject: Re: [Flashcoders] Flv's playing in a projector from usb drive also, try setting your publish settings for Flash 8 to access network only and see if that helps, after you get the drive letter thing worked out. On 9/7/06, John Grden [EMAIL PROTECTED] wrote: If you use a UNC url you can't load/play FLV's - it won't work. you have to have a drive letter mapped. I assume, though, that your USB has a drive letter - yes? bad: \\serverName\folder\myfile.flv good: J:\folder\myfile.flv On 9/7/06, Kent Haynes [EMAIL PROTECTED] wrote: I just gave that a shot and no luck. Thanks for the idea though... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Guy McLoughlin Sent: Wednesday, September 06, 2006 7:08 PM To: Flashcoders mailing list Subject: RE: [Flashcoders] Flv's playing in a projector from usb drive Have you tried shortening the file name to something DOS compatable? ( 8 characters + extension ) i.e. Classrom.flv - Guy At 06:20 PM 06/09/2006, Kent Haynes wrote: It's not huge 3.9 MB. But we've just discovered some more info. It's definitely related to the FAT32 file system. We formatted two partitions on the drive one NTFS and another FAT32 and sure enough the NTFS plays fine FAT32 doesn't play. So I was looking for weird characters in the path. Nothing out of the ordinary. Path + name = english/flv/Classroom.flv I also tried english\flv\Classroom.flv to no avail. None of our package structures are deep at all. -- Guy McLoughlin New Media Developer Toronto Ontario Canada 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 -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- [ JPG ] -- [ JPG ] ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ 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: Recommendations for acredit-cardprocessingservice for a subscription-based Flash app
you´re welcome. btw, there was a typo in my domain,... *duck,run,out* www.software-and-solutions.de -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of matt stuehler Sent: Wednesday, September 06, 2006 3:53 AM To: Flashcoders mailing list Subject: Re: [Flashcoders] OT: Recommendations for acredit-cardprocessingservice for a subscription-based Flash app Marcelo, André, Thanks again for your advice. I think I'm convinced - I'll definitely give PayPal a closer look. It sounds like its a good solution. André - thanks for the offer to help. I may take you up on that once I get going! Cheers to all, Matt Stuehler On 9/5/06, André Goliath [EMAIL PROTECTED] wrote: that´s right. for example on my page, (www.software-and-solutons.de SQLite, scroll down Get a license now ) you ahve the choice to either log in or pay via CC. The nice thing about paypal are the IPM (isntant payment notifications): They call a PHP/ASP/whatever script on your server as soon as a new payment arrived, you get full transaction and status details and can store them in your DB. it´s quite well documentated here[1]. I can help you out with some PHP-code off-list for the basic API if neccessary. Regards, André [1] https://www.paypal.com/IntegrationCenter/ic_home.html leads to https://www.paypal.com/IntegrationCenter/ic_documentation.html -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Marcelo de Moraes Serpa Sent: Tuesday, September 05, 2006 1:08 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] OT: Recommendations for a credit-cardprocessingservice for a subscription-based Flash app For one - it looks like the buyers need to have a PayPal account, Not anymore. You can now pay with you cc without creating a paypal account. So it also answers you last question. Do a little research, you should find something. Even the little guys (37signals Basecamp and Backpack, FreshBooks, etc..) I've got a backpack basic plan and I was forced to pay with my cc. I wish they accepted paypal! Paypal is not unprofessional! It's a secure, fast and convenient way to handle money. On 9/4/06, matt stuehler [EMAIL PROTECTED] wrote: Marcelo, André, Many thanks for responses! I've done a bit of research on PayPal, and it doesn't seem too great. For one - it looks like the buyers need to have a PayPal account, which is a big inconvenience for them. If I needed to create a PayPal account before I could buy something, I'd just decide that it's not worth it. Two - it seems unprofessional. None of the subscription-based services that I subscribe to use it. Even the little guys (37signals Basecamp and Backpack, FreshBooks, etc..) Is there a way to use PayPal that doesn't require buyers to have a PayPal account, and is transparent to them? Cheers, Matt On 9/4/06, André Goliath [EMAIL PROTECTED] wrote: Paypal maybe? That´s what I was going to suggest. They integrate very nice into your webpage, can handle subscriptions and have good developer support and API documentation while are not too expensive. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Marcelo de Moraes Serpa Sent: Monday, September 04, 2006 5:22 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] OT: Recommendations for a credit-card processingservice for a subscription-based Flash app Paypal maybe? On 9/4/06, matt stuehler [EMAIL PROTECTED] wrote: All, I'm thinking about turning a few of the Flash-based web-apps I've developed into a subscription-based service, which means that I'll need to set up some sort of credit-card processing service that handles recurring payments. Do you have any advice about the best way to do this? Recommended vendors, or vendors to be avoided? Suggestions and pitfalls to avoid, etc.? I googled credit-card processing, and got a million hits (along with many vendors that seem shady), so I'm hoping to separate the wheat from the chaff... Many thanks in advance! Matt Stuehler ___ 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] OT: Recommendations for a credit-cardprocessingservice for a subscription-based Flash app
that´s right. for example on my page, (www.software-and-solutons.de SQLite, scroll down Get a license now ) you ahve the choice to either log in or pay via CC. The nice thing about paypal are the IPM (isntant payment notifications): They call a PHP/ASP/whatever script on your server as soon as a new payment arrived, you get full transaction and status details and can store them in your DB. it´s quite well documentated here[1]. I can help you out with some PHP-code off-list for the basic API if neccessary. Regards, André [1] https://www.paypal.com/IntegrationCenter/ic_home.html leads to https://www.paypal.com/IntegrationCenter/ic_documentation.html -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Marcelo de Moraes Serpa Sent: Tuesday, September 05, 2006 1:08 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] OT: Recommendations for a credit-cardprocessingservice for a subscription-based Flash app For one - it looks like the buyers need to have a PayPal account, Not anymore. You can now pay with you cc without creating a paypal account. So it also answers you last question. Do a little research, you should find something. Even the little guys (37signals Basecamp and Backpack, FreshBooks, etc..) I've got a backpack basic plan and I was forced to pay with my cc. I wish they accepted paypal! Paypal is not unprofessional! It's a secure, fast and convenient way to handle money. On 9/4/06, matt stuehler [EMAIL PROTECTED] wrote: Marcelo, André, Many thanks for responses! I've done a bit of research on PayPal, and it doesn't seem too great. For one - it looks like the buyers need to have a PayPal account, which is a big inconvenience for them. If I needed to create a PayPal account before I could buy something, I'd just decide that it's not worth it. Two - it seems unprofessional. None of the subscription-based services that I subscribe to use it. Even the little guys (37signals Basecamp and Backpack, FreshBooks, etc..) Is there a way to use PayPal that doesn't require buyers to have a PayPal account, and is transparent to them? Cheers, Matt On 9/4/06, André Goliath [EMAIL PROTECTED] wrote: Paypal maybe? That´s what I was going to suggest. They integrate very nice into your webpage, can handle subscriptions and have good developer support and API documentation while are not too expensive. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Marcelo de Moraes Serpa Sent: Monday, September 04, 2006 5:22 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] OT: Recommendations for a credit-card processingservice for a subscription-based Flash app Paypal maybe? On 9/4/06, matt stuehler [EMAIL PROTECTED] wrote: All, I'm thinking about turning a few of the Flash-based web-apps I've developed into a subscription-based service, which means that I'll need to set up some sort of credit-card processing service that handles recurring payments. Do you have any advice about the best way to do this? Recommended vendors, or vendors to be avoided? Suggestions and pitfalls to avoid, etc.? I googled credit-card processing, and got a million hits (along with many vendors that seem shady), so I'm hoping to separate the wheat from the chaff... Many thanks in advance! Matt Stuehler ___ 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
RE: [Flashcoders] OT: Recommendations for a credit-card processingservice for a subscription-based Flash app
Paypal maybe? That´s what I was going to suggest. They integrate very nice into your webpage, can handle subscriptions and have good developer support and API documentation while are not too expensive. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Marcelo de Moraes Serpa Sent: Monday, September 04, 2006 5:22 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] OT: Recommendations for a credit-card processingservice for a subscription-based Flash app Paypal maybe? On 9/4/06, matt stuehler [EMAIL PROTECTED] wrote: All, I'm thinking about turning a few of the Flash-based web-apps I've developed into a subscription-based service, which means that I'll need to set up some sort of credit-card processing service that handles recurring payments. Do you have any advice about the best way to do this? Recommended vendors, or vendors to be avoided? Suggestions and pitfalls to avoid, etc.? I googled credit-card processing, and got a million hits (along with many vendors that seem shady), so I'm hoping to separate the wheat from the chaff... Many thanks in advance! Matt Stuehler ___ 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] Hex arithmetics and negative values
Heyho, I´m doing some math on Hex Numbers to implement a modification of the TEA algorithm, which has to match a C implementation. Now I´m facing the problem that Flash allows negative hexadecimal values, which is quite unusual and not supported in C. I´ve posted my algorithm below, would be great if someone would have a solution for me on how to force Flash to handle over/underflows in the normal manner. Thanks, André -- usage example // var inp = 12345678901234567890123456789012; var key = 72538349254738294658203654839288; // var crypted = TeaEncrypt(inp,key); // var out = TeaDecrypt(crypted,key); // trace(inp); trace(crypted); trace(out); //traces: /* 12345678901234567890123456789012 -4e99fb3a-1f1d5f5d -703ea3b373dc1b */ public static function TeaEncrypt(cryptData:String, cryptKey:String):String { var y:Number= parseInt(cryptData.substr(0, 8), 16); var z:Number= parseInt(cryptData.substr(8, 8), 16); var a:Number= parseInt(cryptKey.substr( 0, 8), 16); var b:Number= parseInt(cryptKey.substr( 8, 8), 16); var c:Number= parseInt(cryptKey.substr(16, 8), 16); var d:Number= parseInt(cryptKey.substr(24, 8), 16); var sum:Number=0x00; var dt:Number=0x9E3779B9; var n:Number=32; while( n--0 ) { sum = (sum + dt) 0x; y += ((z 4)+a) ^ (z+sum) ^ ((z 5)+b); z += ((y 4)+c) ^ (y+sum) ^ ((y 5)+d); } return y.toString(16) + z.toString(16); } public static function TeaDecrypt(cryptData:String, cryptKey:String):String { var y:Number= parseInt(cryptData.substr(0, 8), 16); var z:Number= parseInt(cryptData.substr(8, 8), 16); var a:Number= parseInt(cryptKey.substr( 0, 8), 16); var b:Number= parseInt(cryptKey.substr( 8, 8), 16); var c:Number= parseInt(cryptKey.substr(16, 8), 16); var d:Number= parseInt(cryptKey.substr(24, 8), 16); var sum:Number=0xC6EF3720; var delta:Number=0x9E3779B9; var n:Number=32; while( n--0 ) { z -= ((y 4)+c) ^ (y+sum) ^ ((y 5)+d); y -= ((z 4)+a) ^ (z+sum) ^ ((z 5)+b); sum = (sum - delta) 0x; } return y.toString(16) + z.toString(16); } ___ 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] 503 ?
200 ! 100 ! ;) ___ 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] 503 ?
200 ! 100 ! ;) ___ 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] String and Expression SPECIAL
use the array operator,... rec.text = flashSQL.MoveNext[d] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Laurent CUCHET Sent: Wednesday, August 30, 2006 12:34 AM To: Flashcoders mailing list Subject: [Flashcoders] String and Expression SPECIAL here I got a string and not an expression How can I do to preserve expression and make rec.text egal to a result and not a string ? var myListener1:Object = new Object(); d = var+c; // c is a random Number function tabti() { rec.text = flashSQL.MoveNext.+d;// doesnt work her , rec text =²flashSQL.MoveNext.+d² and not egal to var200 for exemple } ___ 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] Disable CheckBox component
It´s the same as for every UI Component, .enabled. And it is listed in the inherrited properties section of the Checkbox class... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Maziak, Peter Sent: Wednesday, August 16, 2006 2:38 AM To: Flashcoders mailing list Subject: [Flashcoders] Disable CheckBox component Anybody know how to disable a checkbox component? i.e., make it read-only to prevent the user from changing the state of the checkbox, whether it is selected or unselected. It kills me that the (MX) documentation refers to enabled/disabled check boxes, but doesn't indicate how to do such... http://livedocs.macromedia.com/flash/mx2004/main_7_2/wwhelp/wwhimpl/comm on/html/wwhelp.htm?context=Flash_MX_2004file=2117.html Thanks, -Pete ___ 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] [:::] appending html to a var for display not working and code not runnign as expected.
if ((myLinker1 != ) || (myLinker1 != undefined) || (myLinker1 != null)) { myHtml += a href=\ + myLinker1 + \ target=\_blank\ + myLinker1 + /abr; } but then the trace of my results does not even work (it includes the records that are empty). Shouldn´t it be if ((myLinker1 != ) (myLinker1 != undefined) (myLinker1 != null)) ? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of dnk Sent: Tuesday, August 15, 2006 5:59 PM To: Flashcoders mailing list Subject: [Flashcoders] [:::] appending html to a var for display not working and code not runnign as expected. Ok so i have a recordset with links in which I am building an HTML string for display in an HTML field. Now for some reason the html traces out fine, but when assigned to an html txt field - the filed just shows as blank. Now I do realize that the eq in this code sample is depreciated, however that is on another thread (as the == gave weird results). And I do realize that my if statements are backwards as I check for equality and do nothing until the else statement, but again, I was getting weird results (I was trying to test for an empty field from a database return - through amfphp - this seemed to be the only way I could get it to work - and I hate that it is not proper code). Anyways - onto the code. function handleGetLinks(re:ResultEvent) { this._DB = re.result; // initialize the last record count this._lastRecord = (this._DB.length - 1); //for (var i = this._currentRecord; i = this._lastRecord; i++) var myHtml:String = ; for (var i = 0; i = 10; i++) { var myLinker1 = this._DB.getItemAt(i).link01; var myLinker2 = this._DB.getItemAt(i).link02; var myLinker3 = this._DB.getItemAt(i).link03; var myLinker4 = this._DB.getItemAt(i).link04; var myLinker5 = this._DB.getItemAt(i).link05; if ((myLinker1 eq ) || (myLinker1 eq undefined)) { } else { myHtml += a href=\ + myLinker1 + \ target=\_blank\ + myLinker1 + /abr; } if ((myLinker2 eq ) || (myLinker2 eq undefined)) { } else { myHtml += a href=\ + myLinker2 + \ target=\_blank\ + myLinker2 + /abr; } if ((myLinker3 eq ) || (myLinker1 eq undefined)) { } else { myHtml += a href=\ + myLinker3 + \ target=\_blank\ + myLinker3 + /abr; } if ((myLinker4 eq ) || (myLinker1 eq undefined)) { } else { myHtml += a href=\ + myLinker4 + \ target=\_blank\ + myLinker4 + /abr; } if ((myLinker5 eq ) || (myLinker1 eq undefined)) { } else { myHtml += a href=\ + myLinker5 + \ target=\_blank\ + myLinker5 + /abr; } } if ((myHtml eq ) || (myHtml eq undefined) || (myHtml eq null)) { trace(it is empty); } else { trace(myHtml); this._targetMc.collectiveLinks.html = true; this._targetMc.collectiveLinks.htmlText = myHtml; } this._targetMc.collectiveLinks.htmlText = myHtml; } Now to me what I thought should have been the proper way to test would have been: if ((myLinker1 != ) || (myLinker1 != undefined) || (myLinker1 != null)) { myHtml += a href=\ + myLinker1 + \ target=\_blank\ + myLinker1 + /abr; } but then the trace of my results does not even work (it includes the records that are empty). And to top it off - no matter what my text field does not have the HTML loaded into it. It seems like something like this should be so simple. d ___ 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] [:::] appending html to a var for displaynot working and code not runnign as expected.
Well I am testing for any of them, not all of them. Why would you want to do that? do you want results such as myHtml += a href=\\ target=\_blank\/abr; in case myLinker1 is or myHtml += a href=\undefined\ target=\_blank\undefined/abr; in case myLinker1 is undefined? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of dnk Sent: Tuesday, August 15, 2006 7:21 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] [:::] appending html to a var for displaynot working and code not runnign as expected. André Goliath wrote: if ((myLinker1 != ) || (myLinker1 != undefined) || (myLinker1 != null)) { myHtml += a href=\ + myLinker1 + \ target=\_blank\ + myLinker1 + /abr; } but then the trace of my results does not even work (it includes the records that are empty). Shouldn´t it be if ((myLinker1 != ) (myLinker1 != undefined) (myLinker1 != null)) ? Well I am testing for any of them, not all of them. IE or null or undefined. d ___ 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] [:::] appending html to a var for displaynot workingand code not runnign as expected.
Yes, but you need to connect them with AND and not with OR, try this: (this is your current code) // // var myLinker1 = undefined; trace(myLinker1 = +myLinker1); if ((myLinker1 != ) || (myLinker1 != undefined) || (myLinker1 != null)) { trace( i exectue!); //traces } var myLinker1 = ; trace(myLinker1 = +myLinker1); if ((myLinker1 != ) || (myLinker1 != undefined) || (myLinker1 != null)) { trace( i exectue!); //traces } var myLinker1 = null; trace(myLinker1 = +myLinker1); if ((myLinker1 != ) || (myLinker1 != undefined) || (myLinker1 != null)) { trace( i exectue!); //traces } // my Code var myLinker1 = ; trace(myLinker1 = +myLinker1); if ((myLinker1 != ) (myLinker1 != undefined) (myLinker1 != null)) { trace( i exectue!); //does NOT trace } -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of dnk Sent: Tuesday, August 15, 2006 8:29 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] [:::] appending html to a var for displaynot workingand code not runnign as expected. André Goliath wrote: Well I am testing for any of them, not all of them. Why would you want to do that? do you want results such as myHtml += a href=\\ target=\_blank\/abr; in case myLinker1 is or myHtml += a href=\undefined\ target=\_blank\undefined/abr; in case myLinker1 is undefined? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of dnk Sent: Tuesday, August 15, 2006 7:21 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] [:::] appending html to a var for displaynot working and code not runnign as expected. André Goliath wrote: if ((myLinker1 != ) || (myLinker1 != undefined) || (myLinker1 != null)) { myHtml += a href=\ + myLinker1 + \ target=\_blank\ + myLinker1 + /abr; } but then the trace of my results does not even work (it includes the records that are empty). Shouldn´t it be if ((myLinker1 != ) (myLinker1 != undefined) (myLinker1 != null)) ? but if you look I am testing if they are NOT equal to those things.. as in if the results are not null/undefined or ... then write out the links with the returned data. So then they would write proper html links. ___ 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] [:::] appending html to avar for displaynot workingand code not runnign as expected.
var aMyLinker:Array = [null, undefined, , somnething]; for (var i:Number = 0; i 4; i++) { trace(aMyLinker + i + = + aMyLinker[i]); if ((aMyLinker[i] != ) || (aMyLinker[i] != undefined) || (aMyLinker[i] != null)) { trace( i exectue!); } } Now as my understanding is this should not trace I execute UNLESS one of the array values is equal to something BESIDES null, undefined or . So the results should be: aMyLinker0 = null aMyLinker1 = undefined aMyLinker2 = aMyLinker3 = somnething i exectue! now here is what happens: lets do it with boolean functions: a(x) := (x != ); b(x) := (x != undefined); c(x) := a(x) || b(x); //a OR b must be true for c to be true - means that the expression does not get evaluated if we ask for c(x) (lazy evaluation - from left to right until something is true) x a(x)b(x)c(x) nulltrue- true- I execute undefined true- true - I execute false truetrue- I execute something true- true- I execute now lets add another function a(x) := (x != ); b(x) := (x != undefined); d(x) := a(x) b(x); //a AND b must be true for d to be true and call it: x a(x)b(x)d(x) nulltruefalse* false undefined truefalse false false - false something truetruetrue- I execute *: Not quite sure about this one, I think its null==undefined and null !== undefined, but may be wrong here. Does that make things clearer to you? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of dnk Sent: Tuesday, August 15, 2006 10:24 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] [:::] appending html to avar for displaynot workingand code not runnign as expected. André Goliath wrote: Yes, but you need to connect them with AND and not with OR, try this: (this is your current code) // // var myLinker1 = undefined; trace(myLinker1 = +myLinker1); if ((myLinker1 != ) || (myLinker1 != undefined) || (myLinker1 != null)) { trace( i exectue!); //traces } var myLinker1 = ; trace(myLinker1 = +myLinker1); if ((myLinker1 != ) || (myLinker1 != undefined) || (myLinker1 != null)) { trace( i exectue!); //traces } var myLinker1 = null; trace(myLinker1 = +myLinker1); if ((myLinker1 != ) || (myLinker1 != undefined) || (myLinker1 != null)) { trace( i exectue!); //traces } // my Code var myLinker1 = ; trace(myLinker1 = +myLinker1); if ((myLinker1 != ) (myLinker1 != undefined) (myLinker1 != null)) { trace( i exectue!); //does NOT trace } Just to be clear I want to code to execute if the var is undefined or null or an empty string. now here is my exact test code (modified to loop though): var aMyLinker:Array = [null, undefined, , somnething]; for (var i:Number = 0; i 4; i++) { trace(aMyLinker + i + = + aMyLinker[i]); if ((aMyLinker[i] != ) || (aMyLinker[i] != undefined) || (aMyLinker[i] != null)) { trace( i exectue!); } } Now as my understanding is this should not trace I execute UNLESS one of the array values is equal to something BESIDES null, undefined or . So the results should be: aMyLinker0 = null aMyLinker1 = undefined aMyLinker2 = aMyLinker3 = somnething i exectue! But i am getting: aMyLinker0 = null i exectue! aMyLinker1 = undefined i exectue! aMyLinker2 = i exectue! aMyLinker3 = somnething i exectue! Am I misunderstanding something so basic here? != checks for inequality correct? || defines OR correct? so any comparisons separated by the || should check if any of the comparisons are true. As in any one of them correct? I have to be missing something here.. Thanks to everyone. d ___ 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] Madobe certified professional - still recommend?
Thanks for your thoughts :) Propably I´d rather take the exam in Flash MX than MX 04, just because MX does not have a year in it ;) It´s the same with Windows: Everyone would agree that Windows 2000 is old. But would you call Windows XP old? Propably not, until I tell you that it was released in 2001 ;) I got the preparation book today and took the online test. 60% correct without even looking into it isn´t too bad I think. I probably take the test anyway, looks good in the CV at least ;) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Eskil Janson Sent: Saturday, August 12, 2006 5:58 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] Madobe certified professional - still recommend? I passed the test a year ago, at the time when Flash 8 was just released, and it seemed strange alreade at that time to study outdated concepts(primarely related to AS1 ) ... But most of the basic stuff is the same for both products. Most of your clients, or students if you teach Flash, won't be able to tell the difference between the versions (MX2004, 8) , but some of them will probably be interested in the fact that you have the highest level of certification for the product (Flash) before they consider hiring you. I think Adobe should get a grip on the certification and training situation for Flash. I personally really like AS3 and I can't understand why Adobe (formerly MM) never have tried to design courses targeted to real professionals, including real OOP, since that makes developing Flash so much easiser, and is what everybody is into. This should also be reflected in the courses they provide to prepare for the exam, and the exam itself. /Eskil André Goliath skrev: Hello List, I´m thinking about becoming a certifed Macromedia(?) Flash MX04 Developer, but I wonder if this qualification is still of any worth, what do you think? Have you profited in any way from your certification? Is there anything in the pipeline for Flash 8/9 or will there ever be? Flash MX04 certified sounds a bit outdated IMHO,... Thanks for any and all thoughts, 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 -- http://www.eskilstina.com ---eskilStina -- Eskil Janson Mobil: +46 0735 31 68 52 Slupskjulsvägen 38E-post: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 111 49 Stockholm Webb: www.eskilstina.com http://www.eskilstina.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] Madobe certified professional - still recommend?
I think it would be better to show that your certification is up to date. Sure, the point I was trying to make is that every non-Flasher would recognize Flash MX 2004 is now two years old, they probably don´t even know that there where major changes from MX to MX04. MX does not suffer from this handicap of a number attached to it. The exam on MX is not available, in fact those who have only the MX certification are not listed any longer on Adobe's certifed Developer page[1]. So I guess since there are no Flash 8 beta exams anounced[2] they´ll propably start a new rush on Flash 9/Flex 2... [1] http://www.adobe.com/support/training/certified_professional_program/retired _exams.html [2] http://www.donathgroup.com/macromedia/candidate/ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rich Rodecker Sent: Saturday, August 12, 2006 7:49 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] Madobe certified professional - still recommend? andre - i'm not sure if I would agree with taking the exam in Flash MX instead of flash mx 04. Actually, is the flash mx testing still available? anyway, the reason I say that is, as I'm sure you know well, so much changes with each version of flash, and I think it would be better to show that your certification is up to date. For instance, if you took the Flash MX exam, you could score 100% and not know a thing about Actionscript 2. And if you're just worried about the year, dont worry, you can just say you're a Certified Flash Developer. On 8/12/06, André Goliath [EMAIL PROTECTED] wrote: Thanks for your thoughts :) Propably I´d rather take the exam in Flash MX than MX 04, just because MX does not have a year in it ;) It´s the same with Windows: Everyone would agree that Windows 2000 is old. But would you call Windows XP old? Propably not, until I tell you that it was released in 2001 ;) I got the preparation book today and took the online test. 60% correct without even looking into it isn´t too bad I think. I probably take the test anyway, looks good in the CV at least ;) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Eskil Janson Sent: Saturday, August 12, 2006 5:58 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] Madobe certified professional - still recommend? I passed the test a year ago, at the time when Flash 8 was just released, and it seemed strange alreade at that time to study outdated concepts(primarely related to AS1 ) ... But most of the basic stuff is the same for both products. Most of your clients, or students if you teach Flash, won't be able to tell the difference between the versions (MX2004, 8) , but some of them will probably be interested in the fact that you have the highest level of certification for the product (Flash) before they consider hiring you. I think Adobe should get a grip on the certification and training situation for Flash. I personally really like AS3 and I can't understand why Adobe (formerly MM) never have tried to design courses targeted to real professionals, including real OOP, since that makes developing Flash so much easiser, and is what everybody is into. This should also be reflected in the courses they provide to prepare for the exam, and the exam itself. /Eskil André Goliath skrev: Hello List, I´m thinking about becoming a certifed Macromedia(?) Flash MX04 Developer, but I wonder if this qualification is still of any worth, what do you think? Have you profited in any way from your certification? Is there anything in the pipeline for Flash 8/9 or will there ever be? Flash MX04 certified sounds a bit outdated IMHO,... Thanks for any and all thoughts, 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 -- http://www.eskilstina.com ---eskilStina -- Eskil Janson Mobil: +46 0735 31 68 52 Slupskjulsvägen 38E-post: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 111 49 Stockholm Webb: www.eskilstina.com http://www.eskilstina.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
RE: [Flashcoders] Problem with escape sequenz in AMFPHP
try \r instead of \n Normalerweise unterstütze ich ja keine Bierwerbung ;) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Peter Oliver Geller Sent: Thursday, August 10, 2006 4:33 PM To: 'Flashcoders mailing list' Subject: [Flashcoders] Problem with escape sequenz in AMFPHP Hi list, i want a linebreak in my flashapplication but it doesn´t work. In my Database i have the following string Back´s\n.Pure frische. bla bla bla, i have the escape sequenz (\n) in there to force a linebreak in my flash textfield, but it doesn´t work. I get the data via amfphp newest version and pull it into my textfield from the recordset. But flash show me the whole string from my database instead of a linebreak. Should i write me a function to displace me the string or can i set something in the amfphp gateway.php? Don´t know whats the best way for that? Thanks for help Pete :: Peter Oliver Geller virtual effects artist interactive design development Lindenstr. 14 50674 Cologne 0221 - 92 42 81 52 phone http://www.pixel-gallery.com/ www.pixel-gallery.com mailto:[EMAIL PROTECTED] [EMAIL PROTECTED] :: ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@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] Problem with escape sequenz in AMFPHP
Are you seeing the \r in the text field? I´ve never worked with amfphp, but maybe try to re-escape the string such as input_str = input_str.split(\\r).join(\r); -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Peter Oliver Geller Sent: Thursday, August 10, 2006 4:44 PM To: 'Flashcoders mailing list' Subject: AW: [Flashcoders] Problem with escape sequenz in AMFPHP I tried it before, but doesn´t work also. Gave me the same ouptut like the \n thing! Becks ist nur zum testen da :] Cheers Pete :: Peter Oliver Geller virtual effects artist interactive design development Ricarda-Huch-Str. 7 50858 Cologne 02234 - 99 52 63 phone 0163 - 63 66 088 mobile www.pixel-gallery.com [EMAIL PROTECTED] :: »» -Ursprüngliche Nachricht- »» Von: [EMAIL PROTECTED] »» [mailto:[EMAIL PROTECTED] Im »» Auftrag von André Goliath »» Gesendet: Donnerstag, 10. August 2006 16:37 »» An: 'Flashcoders mailing list' »» Betreff: RE: [Flashcoders] Problem with escape sequenz in AMFPHP »» »» try \r instead of \n »» »» Normalerweise unterstütze ich ja keine Bierwerbung ;) »» »» -Original Message- »» From: [EMAIL PROTECTED] »» [mailto:[EMAIL PROTECTED] On Behalf »» Of Peter Oliver Geller »» Sent: Thursday, August 10, 2006 4:33 PM »» To: 'Flashcoders mailing list' »» Subject: [Flashcoders] Problem with escape sequenz in AMFPHP »» »» Hi list, »» »» i want a linebreak in my flashapplication but it doesn´t work. »» »» In my Database i have the following string Back´s\n.Pure »» frische. bla bla bla, i have the escape sequenz (\n) in »» there to force a linebreak in my flash textfield, but it »» doesn´t work. »» »» I get the data via amfphp newest version and pull it into my »» textfield from the recordset. »» But flash show me the whole string from my database instead »» of a linebreak. »» »» Should i write me a function to displace me the string or »» can i set something in the amfphp gateway.php? »» »» »» Don´t know whats the best way for that? »» »» Thanks for help »» »» Pete »» »» :: »» Peter Oliver Geller »» »» virtual effects artist »» interactive design development »» »» Lindenstr. 14 50674 Cologne »» 0221 - 92 42 81 52 phone »» »» http://www.pixel-gallery.com/ www.pixel-gallery.com »» mailto:[EMAIL PROTECTED] [EMAIL PROTECTED] »» :: »» »» ___ »» Flashcoders@chattyfig.figleaf.com »» To change your subscription options or search the archive: »» http://chattyfig.figleaf.com/mailman/listinfo/flashcoders »» »» Brought to you by Fig Leaf Software »» Premier Authorized Adobe Consulting and Training »» http://www.figleaf.com http://training.figleaf.com »» »» ___ »» Flashcoders@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] Madobe certified professional - still recommend?
Hello List, I´m thinking about becoming a certifed Macromedia(?) Flash MX04 Developer, but I wonder if this qualification is still of any worth, what do you think? Have you profited in any way from your certification? Is there anything in the pipeline for Flash 8/9 or will there ever be? Flash MX04 certified sounds a bit outdated IMHO,... Thanks for any and all thoughts, 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] How to Create Flex Projector
Probably by Googling, otherwise ask the fine folk at Flexcoders http://groups.yahoo.com/group/flexcoders/ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Marcos Neves Sent: Monday, August 07, 2006 7:11 PM To: Flashcoders mailing list Subject: [Flashcoders] How to Create Flex Projector Hi, I need to create a Flex apllication that runs on an exe projector for a CD-ROM. How can I do that? ___ 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] New to the list - got a question
Use the Array operator liek this var x = 6; _root._level0.[itemDividerStageRecord+x]._x = nextItemDivider; hth -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jon Sent: Wednesday, August 02, 2006 2:45 PM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] New to the list - got a question Hi All, I'm new to the list, so appologies if I don't get the posting right on this - but I have a question. I'm trying to load in a set of XML data, manipulate it and then get it to display on the stage. So far so good on the first two fronts - I can get the data in and get everything I want out of it. Now the amount of XML is dynamic, so I have pushed the needed data into an array. For example. XML: xml data item/item /data data item/item /data /xml The amount of data elements is dynamic (and there is a lot of other rubbish in the XML) so I've pushed all the data elements into an array. So far, so good, I can cycle through the array and access the XML elements using Xpath. The problem is - for each data element, I want to create a new instance of a MovieClip on the stage (thats already created in the library) and set varaibles inside it, and change it's X and Y positions. No problems creating it - but I can't access the MovieClip! Because the data is dymanic, I need to be able to create x amount of MovieClips. So I'm using the following code to do this: //For each Data Element in the Array (x = 0; x numDataElementsInArray; x++) { var newItemDividerName:String = itemDividerStageRecord +x; attachMovie(itemDivider, newItemDividerName ,x); //Now this all works, a newMovieClip is created on the stage (for as many elements as I have), 10 at the moment } Now the problem is - I then can't access the MovieClip dynamically. Basically I want to be able to access it by the variable name i've just assigned it. For example - I now have (when it is published), 10 elements on level0, named itemDividerStageRecord0-9. So I want to set their cords. So what i've been doing is: _root._level0.newItemDividerName._x = nextItemDivider; //nextItemDivider is a Number which does increment And thats not working at all - nothing is changing. I've traced it down to the name I'm using to access it - if in the same loop I put: _root._level0.itemDividerStageRecord6._x = nextItemDivider; That works for one MovieClip (obviously). But I want to be able to access each MovieClip dynamically. Is there any way to do this? I want to pass the instance name the varaible when setting the cord, not use the absolute element name newitemDividerName. Please let me know if this is confusing, I can explain better! Cheers. -Jon- ___ 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] New to the list - got a question
yeah, sorry, damn copypaste ;) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Merrill, Jason Sent: Wednesday, August 02, 2006 2:53 PM To: Flashcoders mailing list Subject: RE: [Flashcoders] New to the list - got a question _root._level0.[ _root._level0? Just _level0 should suffice. There's only 1 _level0. Jason Merrill Bank of America Learning Organization Effectiveness - Technology Solutions -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of André Goliath Sent: Wednesday, August 02, 2006 8:50 AM To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] New to the list - got a question Use the Array operator liek this var x = 6; _root._level0.[itemDividerStageRecord+x]._x = nextItemDivider; hth -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jon Sent: Wednesday, August 02, 2006 2:45 PM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] New to the list - got a question Hi All, I'm new to the list, so appologies if I don't get the posting right on this - but I have a question. I'm trying to load in a set of XML data, manipulate it and then get it to display on the stage. So far so good on the first two fronts - I can get the data in and get everything I want out of it. Now the amount of XML is dynamic, so I have pushed the needed data into an array. For example. XML: xml data item/item /data data item/item /data /xml The amount of data elements is dynamic (and there is a lot of other rubbish in the XML) so I've pushed all the data elements into an array. So far, so good, I can cycle through the array and access the XML elements using Xpath. The problem is - for each data element, I want to create a new instance of a MovieClip on the stage (thats already created in the library) and set varaibles inside it, and change it's X and Y positions. No problems creating it - but I can't access the MovieClip! Because the data is dymanic, I need to be able to create x amount of MovieClips. So I'm using the following code to do this: //For each Data Element in the Array (x = 0; x numDataElementsInArray; x++) { var newItemDividerName:String = itemDividerStageRecord +x; attachMovie(itemDivider, newItemDividerName ,x); //Now this all works, a newMovieClip is created on the stage (for as many elements as I have), 10 at the moment } Now the problem is - I then can't access the MovieClip dynamically. Basically I want to be able to access it by the variable name i've just assigned it. For example - I now have (when it is published), 10 elements on level0, named itemDividerStageRecord0-9. So I want to set their cords. So what i've been doing is: _root._level0.newItemDividerName._x = nextItemDivider; //nextItemDivider is a Number which does increment And thats not working at all - nothing is changing. I've traced it down to the name I'm using to access it - if in the same loop I put: _root._level0.itemDividerStageRecord6._x = nextItemDivider; That works for one MovieClip (obviously). But I want to be able to access each MovieClip dynamically. Is there any way to do this? I want to pass the instance name the varaible when setting the cord, not use the absolute element name newitemDividerName. Please let me know if this is confusing, I can explain better! Cheers. -Jon- ___ 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] AS and virtual functions
If you are concerned about performance differences between virtual and non-virtual functions than AS2 is propably the wrong language for you ;) I can´t think of other downsides except that you would be able to override a function at compile-time by mistake without making the compiler shouting at you... Regards André -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Andreas R Sent: Monday, July 31, 2006 12:18 PM To: Flashcoders mailing list Subject: [Flashcoders] AS and virtual functions Just reading up on some C++ and realized all functions in an AS2 class are virtual.. Anyone know if this has any negative implications? :) Cheers, - A ___ 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] Problems with Object-Oriented Actionscript
Thats at least the third time that movie was posted here,... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Randal Sent: Monday, July 31, 2006 9:13 PM To: Flashcoders mailing list Subject: [Flashcoders] Problems with Object-Oriented Actionscript Take a look at: http://www.albinoblacksheep.com/flash/animatorhttp://www.albinoblacksheep. com/flash/animator -- Randal ___ 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] How to change reference?
you can make an additional cross-reference _root.func1 = _root.as.func1; but why would you want to do that? Why don´t you create the function directly on the root? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of natalia Vikhtinskaya Sent: Thursday, July 27, 2006 12:40 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] How to change reference? Maybe I was not clear. Clip as has function funk1 To call this function from root I should say as.func1 or from another clip: _root.as.func1. I want to find way to call this function as _root.func1 even if she is in clip with name as. 2006/7/27, denfi [EMAIL PROTECTED]: you dun have to put _root.attachMovie since you are already attaching it right from your current maintimeline. Instead just: attachMove(as,as,100); will do the job. Regrads! On 7/27/06, natalia Vikhtinskaya [EMAIL PROTECTED] wrote: Hi I attach clip with this code: _root.attachMovie(as,as,100); Is it possible to change reference to this clip? Instead of as.something to have _root.something Another words I want to find way to say _root instead of _root.as. Is it possible? Thank you for help. ___ 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 -- Discipline can be painful, but it helps when you give it a chance. ___ 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] Tree.selectedItem and data mapping
Why does selectedItem not give you enough information? It gives you access to whatever is in the node, including all properties. You just have to store a kind of unique ID or whatever in each node and map that to a text -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Merrill, Jason Sent: Tuesday, July 18, 2006 10:18 PM To: Flashcoders mailing list Subject: [Flashcoders] Tree.selectedItem and data mapping I'm pretty good at using XML data and also have no problem making a Tree component which renders nodes/folders based on a dataprovider XML. With that said, how do you all who use the Tree component usually map the desired data to be displayed (say, text paragraphs that display in a text field nearby) to what was selected in the tree (a tree rendered from the dataprovider XML)? Meaning, if for example, you are using the Tree component for the navigation of an online help manual, when an item is selected in the tree component, how do you normally get enough information about where it is in the tree to map it to your array or XML nodes which containing the bulk of the text content? It would be easy with a combo box as it is a single list, but a tree is inherently more complex. I can create an Object/Array or XML which recreates the structure of the tree to contain my content so it maps directly to the tree, but that's really kludge and then if the data changes, that mapping between tree and display content is broken. Using selectedItem, selectedNode, getTreeNodeAt doesn't give you enough information (at least, it didn't seem to) on the node to map to content in another custom array, object or XML containing your content data (I can get single numbers, but not enough information about where it is in the tree), and you can't put large paragraphs inside the Tree dataprovider XML file which renders the tree, as it will mess up the tree when it renders. I couldn't find any methods of the Tree class that would remedy this. Or, is it instead preferred to not use a Tree dataprovider XML file and add the Tree nodes individually with a composition class which composes the tree with methods like Tree.addTreeNodeAt() based on the content.xml, which also contains the content, thus preserving the mapping when the data changes. I hope that makes sense, Jason Merrill Bank of America Learning Organization Effectiveness - Technology Solutions ___ 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] Php Host
I´ve got one of my sites (well, a vhost to be exact) on server4you, and hadn´t had any trouble so far. btw, english page is at http://www.server4you.com/ However, it´s always a good idea to not rely on only one hoster. I´ve got sites/servers at 3 different hosters plus a backup at my hown which I can link in pretty quickly. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Weyert de Boer Sent: Tuesday, July 11, 2006 11:13 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] Php Host I am planning to take a server in germany. I have heard good things about this company: https://www.server4you.de/de/start.php?a And cheap too! Yours, Weyert ___ 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] improving ScrollPane performance
Hi List, I´m using Flash 8´s ScrollPane to dynamicly load up to 400 MCs in it. Each of the loaded MCs gets instanciated from the library and then filled with some data via AS. The loaded MC contains some HTML textfields and another movieclip which loads a JPEG using loadMovie directly off-disk (it´s an exe projector). Now, once the ScrollPane is populated it takes incredibly long for scrolling and even typing few chars in the textfields tooks about 5 secs until they finaly appear. is there anything I could do to improve the performance of the Scrollpane? Or is that jsut too much data for Flash to handle? My plan B would be to break the 400 loaded MCs up into pages but I´d rather not do that. Or is there any other component that performs better and could be used as a drop-in replacement for the original Scrollpane? TIA 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] improving ScrollPane performance
Would be an idea, but how would I attach scroll bars/simulate scrolling to the holder mc? have a dragabble button and make it move the mc behind the mask? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of janosch Sent: Monday, July 10, 2006 6:24 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] improving ScrollPane performance Before you start implementing pages, try out to load all the content into a simple masked MovieClip and check the performance. Janosch André Goliath schrieb: Andy and Eric, thanks for your responses :) Unfortunatly you confirmed what I was afraid of ;) cacheAsBitmap reveales the problem that the text fields look messy and get crippled after scrolling or even editing. A kind of draw only if neccessary would also be impossible to me since the pane is a kind of editor, and therefore I do not know what the user wants to see or edit. I would run into scrolling issues too. I guess I have to go with plan B 1/2:Implement a pageing system then,... Thanks, André -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Andy Stone Sent: Monday, July 10, 2006 5:05 PM To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] improving ScrollPane performance That might be too much for Flash to handle. You might be able to only load the MCs that are near the visible area by making a grid and get the ScrollPane position? -A -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of André Goliath Sent: Monday, July 10, 2006 10:59 AM To: 'Flashcoders mailing list' Subject: [Flashcoders] improving ScrollPane performance Hi List, I´m using Flash 8´s ScrollPane to dynamicly load up to 400 MCs in it. Each of the loaded MCs gets instanciated from the library and then filled with some data via AS. The loaded MC contains some HTML textfields and another movieclip which loads a JPEG using loadMovie directly off-disk (it´s an exe projector). Now, once the ScrollPane is populated it takes incredibly long for scrolling and even typing few chars in the textfields tooks about 5 secs until they finaly appear. is there anything I could do to improve the performance of the Scrollpane? Or is that jsut too much data for Flash to handle? My plan B would be to break the 400 loaded MCs up into pages but I´d rather not do that. Or is there any other component that performs better and could be used as a drop-in replacement for the original Scrollpane? TIA 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 ___ 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] TO LIST ADMIN: German autoreply bounces
In theory I should get the bouncer message now by sending this reply, so I´ll get back to you with the translation if neccessary. In theory, there is no difference between theory and practise. In practise, there is... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Watts Sent: Thursday, June 29, 2006 3:00 PM To: Flashcoders mailing list Subject: RE: [Flashcoders] TO LIST ADMIN: German autoreply bounces Hi Dave - I get an autoreply message with some German text and cannot be delivered in English every time I post something to the list. My post goes through, but this is quite annoying. I've heard others on the list get the same thing. The return address is flashcoders@chattyfig.figleaf.com - I assume this original bounce is coming from a member's server - someone who's e-mail is subscribed to the list, but no longer has a valid e-mail address or something - can we figure out who it is and wipe them until they get this resolved? I guess I could set up a filter for it, but is it possible to fix this? It's possible, if I can figure out the intended recipient from the bounce message. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ___ Flashcoders@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] TO LIST ADMIN: German autoreply bounces
No bouncer,.. If anyone forwards the bouncer to me off-list I´ll hapily translate it -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of André Goliath Sent: Thursday, June 29, 2006 3:09 PM To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] TO LIST ADMIN: German autoreply bounces In theory I should get the bouncer message now by sending this reply, so I´ll get back to you with the translation if neccessary. In theory, there is no difference between theory and practise. In practise, there is... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Watts Sent: Thursday, June 29, 2006 3:00 PM To: Flashcoders mailing list Subject: RE: [Flashcoders] TO LIST ADMIN: German autoreply bounces Hi Dave - I get an autoreply message with some German text and cannot be delivered in English every time I post something to the list. My post goes through, but this is quite annoying. I've heard others on the list get the same thing. The return address is flashcoders@chattyfig.figleaf.com - I assume this original bounce is coming from a member's server - someone who's e-mail is subscribed to the list, but no longer has a valid e-mail address or something - can we figure out who it is and wipe them until they get this resolved? I guess I could set up a filter for it, but is it possible to fix this? It's possible, if I can figure out the intended recipient from the bounce message. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ___ Flashcoders@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] [SOLUTION] TO LIST ADMIN: German autoreply bounces
Now I´ve got the header, the questionable address seems to be itimmermans at gondrom.com, the mail says that there is no mailbox with that name. I´ve just phoned the company and the address does not exists any longer, it may be removed. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of André Goliath Sent: Thursday, June 29, 2006 3:22 PM To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] TO LIST ADMIN: German autoreply bounces No bouncer,.. If anyone forwards the bouncer to me off-list I´ll hapily translate it -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of André Goliath Sent: Thursday, June 29, 2006 3:09 PM To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] TO LIST ADMIN: German autoreply bounces In theory I should get the bouncer message now by sending this reply, so I´ll get back to you with the translation if neccessary. In theory, there is no difference between theory and practise. In practise, there is... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Watts Sent: Thursday, June 29, 2006 3:00 PM To: Flashcoders mailing list Subject: RE: [Flashcoders] TO LIST ADMIN: German autoreply bounces Hi Dave - I get an autoreply message with some German text and cannot be delivered in English every time I post something to the list. My post goes through, but this is quite annoying. I've heard others on the list get the same thing. The return address is flashcoders@chattyfig.figleaf.com - I assume this original bounce is coming from a member's server - someone who's e-mail is subscribed to the list, but no longer has a valid e-mail address or something - can we figure out who it is and wipe them until they get this resolved? I guess I could set up a filter for it, but is it possible to fix this? It's possible, if I can figure out the intended recipient from the bounce message. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ___ Flashcoders@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] Alternate row color (Modulo Operator)
You are in modulo 4 here: 4 Categories - 0, 1, 2, or 3 as possible modulo results -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sajid Saiyed Sent: Thursday, June 22, 2006 7:54 PM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] Alternate row color (Modulo Operator) Hi, I have a question about using Modulo Operator. I can easily do an Odd / Even using i%2 !=0 Where i can be any supllied number. My question is, I have a list of movieclips (arranged one below another). I want to use 4 different colours to differentiate them. So, list items 1, 5, 9, ... will have Color-1. items 2, 6, 10, ... will have another Color-2. items 3, 7, 11, ... will have third Colou-3. items 4, 8, 12, ... will have fourth Color-4. And so on Can someone point me to the right direction as to how I should use the moludo? Wether modulo operator is the right way to do this? 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] MDM Zinc, 2.5, minor 15, 16, exit() error?
1) DirectX resolution setting of the screen mode on PC 2) Execution of external files and return of the textual output SWf Studio (www.northcode.com) can do this: ssCore.Desktop.changeResolution() (if you ment by using DirectDraw) and ssCore.Shell.execute() -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ian Thomas Sent: Monday, June 19, 2006 9:52 AM To: Flashcoders mailing list Subject: Re: [Flashcoders] MDM Zinc, 2.5, minor 15, 16, exit() error? Martin, I'd suggest thinking about rolling back to an earlier Zinc version. It may fix the problem. It seems to work okay in version 14, if that helps. We have terrible trouble with Zinc's new releases. Each new release seems to introduce a new bug, breaking old features which have been working fine up to this point. For example, versions 15 and 16 stop Mouse.hide() working, whereas up to this point it's worked fine. Their quality assurance is extremely poor, to say the least; this is the third time I've had something like this happen. I really should migrate to some other product; but unfortunately busy time schedules mean that I haven't had the time to investigate the others in any depth. As an aside, does anyone know offhand (and preferably has anyone tested) if any of the other swf2exes support the following: 1) DirectX resolution setting of the screen mode on PC 2) Execution of external files and return of the textual output Thanks, Ian On 6/19/06, Martin Weiser [EMAIL PROTECTED] wrote: well, thanks, i need it very fast, will try the supprot, but it will take some time... 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
RE: [Flashcoders] Problem parsing mxml(Flex2.0B3)
You ebtter join Flexcoders http://www.flexcoders.org/ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of silpa s Sent: Monday, June 19, 2006 12:43 PM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] Problem parsing mxml(Flex2.0B3) Hi all, I'm new to Flex. I may have to develop some RIA application using Flex2.0. I'm using Weblogic as my application server. When try to locate my index.mxml(http://localhost:7001/index.mxml), i'm getting following error. 22 Errors found. Error /index.mxml:2 Unknown attribute 'layout' on mx.core.Application Error /index.mxml:3 Don't know how to parse element http://www.adobe.com/2006/mxml:Style;. It is not a known type or a property of mx.core.Application. I've configured name space in my flex-config.xml in the following way namespaces namespace uri=http://www.adobe.com/2006/mxml; manifest/WEB-INF/flex/mxml-manifest.xml/manifest /namespace namespace uri=http://www.macromedia.com/2003/mxml; manifest/WEB-INF/flex/mxml-manifest.xml/manifest /namespace /namespaces I've got Flex 1.5 jars(flex-bootstrap.jar). do i need to update any jars for flex 2.0? if so where can i get new jar files. I've installed flex2.0 builder on my system. I'll be thankful for the help on this. Thanks in advance. -silpa __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.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] Class overloading question
RTFM @ super() This will call the parent constructor with the parameters you pass to it. That should always be the first line in inherited classes. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Nik Derewianka Sent: Thursday, June 15, 2006 11:19 AM To: Flashcoders mailing list Subject: [Flashcoders] Class overloading question Hi All, Im trying to overload the Sound class to add my own features, it works fine for all the basic features, but what do i need to do with my class to pass through a parameter to the constructor of the superclass ? ie for the var x = new ExtendedSound(my_soundMC), what do i need to call in my class to pass the my_soundMC up to the original Sound class? (ExtendedSound already has extends Sound in its class definition). Regards, -- :: Nik Derewianka :: :: freelance director programmer :: ___ 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] Class overloading question
Sorry, I ment That should always be the first line in constructors of inherited classes, not the first line of the class itself... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of André Goliath Sent: Thursday, June 15, 2006 12:38 PM To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] Class overloading question RTFM @ super() This will call the parent constructor with the parameters you pass to it. That should always be the first line in inherited classes. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Nik Derewianka Sent: Thursday, June 15, 2006 11:19 AM To: Flashcoders mailing list Subject: [Flashcoders] Class overloading question Hi All, Im trying to overload the Sound class to add my own features, it works fine for all the basic features, but what do i need to do with my class to pass through a parameter to the constructor of the superclass ? ie for the var x = new ExtendedSound(my_soundMC), what do i need to call in my class to pass the my_soundMC up to the original Sound class? (ExtendedSound already has extends Sound in its class definition). Regards, -- :: Nik Derewianka :: :: freelance director programmer :: ___ 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] Class overloading question
RTFM @ super() This will call the parent constructor with the parameters you pass to it. That should always be the first line in inherited classes. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Nik Derewianka Sent: Thursday, June 15, 2006 11:19 AM To: Flashcoders mailing list Subject: [Flashcoders] Class overloading question Hi All, Im trying to overload the Sound class to add my own features, it works fine for all the basic features, but what do i need to do with my class to pass through a parameter to the constructor of the superclass ? ie for the var x = new ExtendedSound(my_soundMC), what do i need to call in my class to pass the my_soundMC up to the original Sound class? (ExtendedSound already has extends Sound in its class definition). Regards, -- :: Nik Derewianka :: :: freelance director programmer :: ___ 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] Slowing down the action (problem with a pause)
I can´t see your problem using an Interval here. In fact I don´t think there is any way around an Interval or onEnterFrame loop if you want to achieve a drawing effect. First get rid of the For-Loop, thats what gets replaced by the interval. Then make sure you pass all neccessary parameters to the interval. That are all parameters that do not get changed during the calls. Finaly, make graph_coordinates an static/otherwise global array and pop out one coordinate on every call of the interval. On every interval step you process only this single coordinate. If your array is empty, clear the interval. hth -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ville Walveranta Sent: Saturday, June 10, 2006 7:24 AM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] Slowing down the action (problem with a pause) I have a piece of code (this is not in a movie but in a class file) that works fine: -- for (var idx = 0; idx graph_coordinates.length; idx++) { if (current_position graph_coordinates[idx][0] graph_coordinates[idx][0] end_point) { event_graph.lineTo(graph_coordinates[idx][0], graph_coordinates[idx][1]); } }; -- However, I would like to slow down the drawing by doing something like this: -- var delay:Number = new Number(500); for (var idx = 0; idx graph_coordinates.length; idx++) { var now:Number = getTimer(); if (current_position graph_coordinates[idx][0] graph_coordinates[idx][0] end_point) { while (now + delay getTimer()) { }; event_graph.lineTo(graph_coordinates[idx][0], graph_coordinates[idx][1]); } }; -- But this does not work. In fact, it crashes Flash 8 when I try to run the code! setInterval might work better, but in case of this loop it would be difficult to use since the lineTo is executed conditionally within a for loop and an if statement. If I put the entire thing within a setInterval function the segments of data that are are not acted upon would still cause a delay and it would seem as if the app was just sitting there, doing nothing. Yet if I initialize the interval from within the for and if statements, the interval will run independently from the loop and thus will not achieve the effect I'm after. Any thoughts, anyone? Thanks for any ideas!! :-) Ville ___ 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] Slowing down the action (problem with a pause)
What you are now seeing should be like the graph appearing all at once after some thinking time, e.g. it blocks other animations/code exectuion during this for-loop (Unless I´m not up-to-date with the screen-refresh-behaviour of the MovieClip.lineTo-method) Now adding a while-loop will only increase the time needed to execute the whole for-loop, but it will not change the fact that the screen is refreshed after all your code has processed, e.g. the whole graph has been drawn. An Interval will get around this issue, because it will not block any other code running (it´s asynchronous to your other timelines), and will update the screen after every execution. Thus it´s the only way to make the graph look like beeing drawn. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ville Walveranta Sent: Saturday, June 10, 2006 9:11 AM To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] Slowing down the action (problem with a pause) Thanks for the response, André! The problem with replacing the for-loop with an interval is that the array graph_coordinates contains plenty of data both before and after the segment that is to be visualized. Thus, if the delay is, say, 500ms per loop, there will be several seconds of delay both before and after that graph is drawn. If use of an interval is the only solution (why doesn't a while-loop work as in my initial example?), I may have to pre-process the data into a temp array that'll contain only the segment of data to be graphed, and then pass the data to the interval. Ville -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of André Goliath Sent: Saturday, June 10, 2006 01:50 To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] Slowing down the action (problem with a pause) I can´t see your problem using an Interval here. In fact I don´t think there is any way around an Interval or onEnterFrame loop if you want to achieve a drawing effect. First get rid of the For-Loop, thats what gets replaced by the interval. Then make sure you pass all neccessary parameters to the interval. That are all parameters that do not get changed during the calls. Finaly, make graph_coordinates an static/otherwise global array and pop out one coordinate on every call of the interval. On every interval step you process only this single coordinate. If your array is empty, clear the interval. hth ___ 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] Wierd Problem with ftp and flash
I hardly doubt that the SWF version had any effect on the FTP transfer. SWFs needed to be transfered in binary mode. Depending on your Internet Connection/Firewall/Server settings you´d need to use passive mode, too. Have you checked if the file was actually transfered correctly, e.g. with a md5 hash or sinmply by comparing transfered size? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tom Haschenburger Sent: Tuesday, June 06, 2006 5:30 PM To: Flashcoders mailing list Subject: [Flashcoders] Wierd Problem with ftp and flash So, I uploaded my flash file using Homesite and it didn't work live unless I uploaded a compiled version for flash player 8. Well I needed flash player 7 compatibility. After many bizarre attempts and hours to get it to work by changing publishing settings...no progress. Finally, I decided to use cuteFtp to upload my file and bingo, it works. Has anyone else experienced this problem? Does the Ftp client need to be set to binary or ascii or something? Thanks, 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 ___ 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] [URGENT] Flash effect/transition samples
Something like this? http://www.experiment23.de/tmp/index.html (the menu are the small bars at the left) hth -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of 8ball Developer Sent: Wednesday, May 31, 2006 7:31 PM To: Flashcoders mailing list Subject: [Flashcoders] [URGENT] Flash effect/transition samples Hi all, I have a client coming in today who wants see some sample effects/transitions to apply to different parts of the Flash work. Do you have links to such samples where I can go through them with him? Any help is much appreciated. Thanks, Ben ___ 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] url encoding in flash?
var encoded_str = escape(decoded_str); var decoded_str = unescape(encoded_str); -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of rob costello Sent: Tuesday, May 16, 2006 6:39 AM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] url encoding in flash? hello all Is there a method / function to URL encode a query string from inside flash - or do we have to do that manually? I have a situation where I need to do an XML sendAndLoad to an external php file I want to do this as GET and pass a parameter to the query string of the php file The parameter is itself a URL with a complex query string (contains characters such as and =) Not surprisingly, this breaks how php reads in the query string - causes it to think there are extra name / value pairs in the url So I'm thinking if there was a URL encoding routine in Flash I could pass the parameter safely, and get php to deencode Any help appreciated Rob Important - This email and any attachments may be confidential. If received in error, please contact us and delete all copies. Before opening or using attachments check them for viruses and defects. Regardless of any loss, damage or consequence, whether caused by the negligence of the sender or not, resulting directly or indirectly from the use of any attached files our liability is limited to resupplying any affected attachments. Any representations or opinions expressed are those of the individual sender, and not necessarily those of the Department of Education Training. ___ 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] Enabling DateFields´s textField ?
Hia List, I allready googled around and searched some forums but couldn´t find an answer. I´m looking for a way to allow the user to enter a date directly into the textField instance of a DateField V2 UI Component without forcing him to use the calendar that pops up as soon as you click on that field. The idea behind that is that I want to make it more comfortable for the user to enter dates that are far away from current date. eg. a User wanted to enter a pre-UNIX era date and somewhere in the 1990's he stopped clicking ;) Thanks for any thoughts, 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] Enabling DateFields´s textField ?
dooohhh, how was that about the forest and the trees? Thanks for opening my eyes -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jim Robson Sent: Tuesday, May 16, 2006 7:15 PM To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] Enabling DateFields´s textField ? You could just use a TextField with a DateChooser component. Place a calendar icon next to the TextField: the look is similar to the DateField, and you can code it to do whatever you need it to do. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of André Goliath Sent: Tuesday, May 16, 2006 12:59 PM To: 'Flashcoders mailing list' Subject: [Flashcoders] Enabling DateFields´s textField ? Hia List, I allready googled around and searched some forums but couldn´t find an answer. I´m looking for a way to allow the user to enter a date directly into the textField instance of a DateField V2 UI Component without forcing him to use the calendar that pops up as soon as you click on that field. The idea behind that is that I want to make it more comfortable for the user to enter dates that are far away from current date. eg. a User wanted to enter a pre-UNIX era date and somewhere in the 1990's he stopped clicking ;) Thanks for any thoughts, 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 ___ 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
FW: [Flashcoders] sprouts data structure
FWIW if have written some AS2 classes some time ago that implement a graph by using adjacenty lists. If it would help you let me know -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Weldon MacDonald Sent: Thursday, May 11, 2006 2:49 PM To: Flashcoders mailing list Subject: [Flashcoders] sprouts data structure I have a request for a game called sprouts. The game starts with a few randomly distributed dots. There is one move and 2 restrictions. Move: draw a line for a dot to itself (a loop) or to another dot. Any line drawn has a new dot on it. Restriction 1: no more than 3 lines from any dot. Restriction 2: no lines can cross. Simple game, but the data structure to keep track of the game and in particular to handle restriction 2 is a bear. How do you tell when a dot has been encircled by a line? The game is, of course based on graph theory, and you can represent a graph in several ways, but how to determine that it remains planar? I haen't begun to think about the visual part of this, if I don't have a reasonable data structure I can't teach a computer to play the game. Any ideas? Hints? Wildly improbable ideas? -- Weldon MacDonald ___ 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] Best SWF Wrapper
Hi John, What features does the SS SQLite wrapper have that the Zinc one is missing? Not that it matters much. What I have appears to be working properly, so new features in the wrapper will only be added if they'll improve performance or make things easier for me. I think one/the major difference in our feature sets are in/export functionality. Some functions like sqlite.dump(), sqlite.read() (SQL) and sqlite.import (CSV) are handled by the Connector (in C) where as you whould have to do the data parsing job in Flash (as of now). IIRC you orient more on the way DB´s are handled in PHP while my/SS syntax allowes my to return multiple bits of data at once if needed, e.g. passing the data right back in the sqlite.query command instead of using another getData method. That´s rather a design choice, though. Disclaimer: I am in no way related to author of the Zinc SQLite wrapper beyond the fact that I am him. Hm, let´s say I know the SS´ SQlite Connector developer quite well ;) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of John Hattan Sent: Wednesday, May 10, 2006 12:11 AM To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] Best SWF Wrapper From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of André Goliath Sent: Tuesday, May 09, 2006 4:10 PM To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] Best SWF Wrapper Not long ago I´ve posted a little comparison of SWF Studio and Zinc here, my clear favorite is SWF Studio, using it now for about 4 years and was never disappointed. There where many discussions about that topic on this list, I suggest simply grab rhe demo and the help file from each of them and check out for your on. All tools out there have advantages and disadvantages. As for offline DBs, Zinc and SWF Studio both have SQLite interfaces available. While Zinc´s is free, SS´ has much more features. What features does the SS SQLite wrapper have that the Zinc one is missing? Not that it matters much. What I have appears to be working properly, so new features in the wrapper will only be added if they'll improve performance or make things easier for me. Disclaimer: I am in no way related to author of the Zinc SQLite wrapper beyond the fact that I am him. p.s.: Hey Derek, what about an SWF Studio T-Shirt? ;) You can keep the T-shirt. I need a review copy for gamedev ;) --- John Hattan [EMAIL PROTECTED] Gamedev.net - more 1's and 0's than you can shake a stick at ___ 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] Best application for notifier (aka Gmail)
SWF Studio can do all you need as well -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of franto Sent: Wednesday, May 10, 2006 3:05 PM To: Flashcoders mailing list Subject: [Flashcoders] Best application for notifier (aka Gmail) Hi list, does anyone know, which application is best for creating flash application (projector) which run in systray and from time to time notify user about something. (like Gmail notifier) is it possible? I know Zinc can make projector whichcan be ran in systray, but dont know, if i can add some items to menu on icon in systray, and if i can popup some window when i want to notify Thanks for your help - Franto http://blog.franto.com http://www.flashcoders.sk ___ 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] How to embed the Flash Player in a desktopapplication
I know that MDM Zinc uses the Mac Flash Netscape plugin to create MAC OSX binaries, but I don´t know how to access it. I´m a Windows-only coder so my knowledge on other OSes in terms of programming is rather limited,... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Chris Velevitch Sent: Tuesday, May 09, 2006 1:09 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] How to embed the Flash Player in a desktopapplication On 5/9/06, John Dowdell [EMAIL PROTECTED] wrote: I'm not sure I'm guessing the right question here, but if it's Which of the browser APIs does Flash Player's 'externalInterface' call into?, then it's Microsoft's ActiveX Scripting host routines, and the NPRuntime API for plugin-using browsers: It's 'What is the Flash Player's APIs so my C++ program can interface to it'? And 'What the name and location of the Flash Player DLL (or whatever it is) that I need to link to when I compile by C++ program'? And I'm interested in the non-OCX version for platform independence as I believe OCX files are windows specific. 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] Best SWF Wrapper
Not long ago I´ve posted a little comparison of SWF Studio and Zinc here, my clear favorite is SWF Studio, using it now for about 4 years and was never disappointed. There where many discussions about that topic on this list, I suggest simply grab rhe demo and the help file from each of them and check out for your on. All tools out there have advantages and disadvantages. As for offline DBs, Zinc and SWF Studio both have SQLite interfaces available. While Zinc´s is free, SS´ has much more features. Check what you need against the tool`s feature lists, and then try two or three demos out. André p.s.: Hey Derek, what about an SWF Studio T-Shirt? ;) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Wade Arnold Sent: Tuesday, May 09, 2006 11:01 PM To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] Best SWF Wrapper MDM Zink is the best for everything I have ever wanted to do. I like the ability to make your own DLL extensions too! Maybe they will send me a t-shirt for that testimony! Wade -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of eric dolecki Sent: Tuesday, May 09, 2006 2:41 PM To: Flashcoders mailing list Subject: [Flashcoders] Best SWF Wrapper I'm looking for some opinions on the best SWF wrapper you think is out there. The ability to save out files (XML), perhaps communicate with dbases (local/online), etc. - e.dolecki ___ 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] How to embed the Flash Player in a desktop application
Normally you would use the Flash OCX and sit it into your Application. The you hook up to the ActiveX´FlashCall event to recieve commands from Flash. Here is a little tutorial that should get you started (it´s C# but you get the idea) http://www.codeproject.com/csharp/flashexternalapi.asp hth -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Chris Velevitch Sent: Monday, May 08, 2006 1:57 AM To: Flashcoders mailing list Subject: [Flashcoders] How to embed the Flash Player in a desktop application While ago, someone mentioned how easy it is to write a C++ wrapper to create a desktop application with Flash as the UI. According to the documentation, The ExternalInterface class ... lets you easily communicate from ActionScript and the Flash Player container ... to a desktop application that embeds Flash Player. I've been trying to find information on how to do this. In particular, what is it (ie the name and location of the file) you're embedding (especially when writting a cross platform app) and what is it's API. 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] Autoscroll on ScrollPane component?
Hi there, I can´t seem to figur out how to auto-scroll a ScrollPane. I use my_sp.content.attachMovieClip to add instances of a MC on-the-fly to the end of a ScrollPane. Now i would like to autoscroll the pane down. I tried my_sp.vPosition to scroll down by code, but it does not work. Anyone seen anything similar to this? Thanks, 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] Modifying flash's chain of events
just a guess, but wouldn´t it be possible to call the parent´s event handler method from the child that recieved the event like this._parent.__f_click(); work for you? This works for click events, don´t know about others though,... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Patrick Jean Sent: Tuesday, April 11, 2006 10:02 PM To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] Modifying flash's chain of events Oh, I thought about it. Ok, I guess I'll have to use that method. I wish there was a pass method. Maybe in version 9. thanks for your time Patrick Jean Directeur de projets internet Monac'OH Data Mercantour http://www.monacoh.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Julian 'Julik' Tarkhanov Sent: Tuesday, April 11, 2006 3:48 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] Modifying flash's chain of events On 11-apr-2006, at 20:40, Patrick Jean wrote: Greetings. Is there a way to force flash' events to keep going down the chain even if a clip is trapping the message ? by example, if you have CLIP A , and CLIP B contained within CLIP A. CLIP A simply have a on(rollOver) CLIP B have a on(Press) By default, CLIP B will never receive the onPress event. Is there a work-around that problem ? In Director I was using the pass method, very convenient for things like that as you specify that you want the chain of messages to keep going down. In Flash all events are captured. You can try to forward the event to the member manually using hitTest. Here is a good article that might get you started: http://www.senocular.com/flash/tutorials/buttoncapturing/ ___ 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] Modifying flash's chain of events
ehm, how can a script command be affected by the size of it´s parent mc? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Patrick Jean Sent: Tuesday, April 11, 2006 10:56 PM To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] Modifying flash's chain of events Yeah I contemplated that option too. But my problem is that the second clip is smaller than the container, so I will have to use the hitTest method to get around it. But assuming both clips were the same size that would have worked :) Pat --- Subject: RE: [Flashcoders] Modifying flash's chain of events just a guess, but wouldn´t it be possible to call the parent´s event handler method from the child that recieved the event like this._parent.__f_click(); work for you? This works for click events, don´t know about others though,... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Patrick Jean Sent: Tuesday, April 11, 2006 10:02 PM To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] Modifying flash's chain of events Oh, I thought about it. Ok, I guess I'll have to use that method. I wish there was a pass method. Maybe in version 9. thanks for your time Patrick Jean Directeur de projets internet Monac'OH Data Mercantour http://www.monacoh.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Julian 'Julik' Tarkhanov Sent: Tuesday, April 11, 2006 3:48 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] Modifying flash's chain of events On 11-apr-2006, at 20:40, Patrick Jean wrote: Greetings. Is there a way to force flash' events to keep going down the chain even if a clip is trapping the message ? by example, if you have CLIP A , and CLIP B contained within CLIP A. CLIP A simply have a on(rollOver) CLIP B have a on(Press) By default, CLIP B will never receive the onPress event. Is there a work-around that problem ? In Director I was using the pass method, very convenient for things like that as you specify that you want the chain of messages to keep going down. In Flash all events are captured. You can try to forward the event to the member manually using hitTest. Here is a good article that might get you started: http://www.senocular.com/flash/tutorials/buttoncapturing/ ___ 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] Modifying flash's chain of events
doh, nevermind, understand your problem,... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of André Goliath Sent: Tuesday, April 11, 2006 11:19 PM To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] Modifying flash's chain of events ehm, how can a script command be affected by the size of it´s parent mc? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Patrick Jean Sent: Tuesday, April 11, 2006 10:56 PM To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] Modifying flash's chain of events Yeah I contemplated that option too. But my problem is that the second clip is smaller than the container, so I will have to use the hitTest method to get around it. But assuming both clips were the same size that would have worked :) Pat --- Subject: RE: [Flashcoders] Modifying flash's chain of events just a guess, but wouldn´t it be possible to call the parent´s event handler method from the child that recieved the event like this._parent.__f_click(); work for you? This works for click events, don´t know about others though,... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Patrick Jean Sent: Tuesday, April 11, 2006 10:02 PM To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] Modifying flash's chain of events Oh, I thought about it. Ok, I guess I'll have to use that method. I wish there was a pass method. Maybe in version 9. thanks for your time Patrick Jean Directeur de projets internet Monac'OH Data Mercantour http://www.monacoh.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Julian 'Julik' Tarkhanov Sent: Tuesday, April 11, 2006 3:48 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] Modifying flash's chain of events On 11-apr-2006, at 20:40, Patrick Jean wrote: Greetings. Is there a way to force flash' events to keep going down the chain even if a clip is trapping the message ? by example, if you have CLIP A , and CLIP B contained within CLIP A. CLIP A simply have a on(rollOver) CLIP B have a on(Press) By default, CLIP B will never receive the onPress event. Is there a work-around that problem ? In Director I was using the pass method, very convenient for things like that as you specify that you want the chain of messages to keep going down. In Flash all events are captured. You can try to forward the event to the member manually using hitTest. Here is a good article that might get you started: http://www.senocular.com/flash/tutorials/buttoncapturing/ ___ 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] PrintJob causes Abort Script error message.
No need to use flasm here, the SLI Injector will do the same since it´s nothing more than a Tag in the SWF File. http://www.buraks.com/swfsli/ hth -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steven Sacks Sent: Wednesday, March 29, 2006 1:05 PM To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] PrintJob causes Abort Script error message. Well, there IS a workaround but you have to hack your swf using flasm and set the timeout to some larger number. This really is not recommended and most people use this to actually decrease the timeout delay, not increase it (because they're simultaneously increasing the recursion depth). http://codeazur.com/forum/viewtopic.php?t=260 http://www.actionscript.org/forums/showthread.php3?t=65371 http://www.powersdk.com/ted/2005/11/macromedia-please-add.php -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steven Sacks Sent: Wednesday, March 29, 2006 2:58 AM To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] PrintJob causes Abort Script error message. PrintJob is a poorly written class in general. Also, it runs synchronously when it talks to the system. The reason Flash throws up the alert is because for 15 seconds it is stuck waiting. The movie is waiting on a line of code to finish. Flash responds to the movie being hung, which it technically is because the request to the OS is synchronous. There isn't a workaround except to not use PrintJob. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Wednesday, March 29, 2006 2:38 AM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] PrintJob causes Abort Script error message. Apologies for reposting, hopefully someone has come across this before. We have a large and complex Flash RIA that represents almost 2 years of development effort. Unfortunately we have one major unresolved issue. In a couple of places we have print functionality. When the print job system dialogue appears, if the user doesn't close the dialogue within 15 seconds, the Abort Script message appears (A script in this movie is causing Macromedia Flash 8 to run slowly. If it continues to run, your computer may become unresponsive. Do you want to abort the script?). Is this a known Flash bug? Is there a workaround? We've been trying to solve it for about a month. ta. ___ Join Excite! - http://www.excite.com The most personalized portal on the Web! ___ 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] If not Zinc, then what?
I´m using an SWF Studio App 24/7 here at work (kind of XML news ticker/reader) and it works just fine. Regarding the whole discussion, I would recommend SWF Studio. It is realy stable and the developers are allways fast with their responds. They even did a custom implementation of a feature set free of charge for me/my client! The only big disadvantage is the lack of OSX support, but I´m sure it will be coming some time,... Regards, André -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kenneth Kawamoto Sent: Wednesday, March 29, 2006 1:41 PM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] If not Zinc, then what? Or it`s better run away from them and develop the tool using C# or something like that? I use Flash for creating apps delivered through web. I use Director for creating locally deployed app. I create some serious apps such as credit card processing touchscreen running 24/7, and Director does it well. I feel using Flash for such app development is like using screwdriver as hammer - sure you can use it, but if there is a better tool for the job. I always had this feeling Flash is not meant to be run for a long period of time - no one will interact with your Flash movie on browser for 24 hours continuously, so that's absolutely fine. But can anyone tell me if you have successfully developed 24/7 app using Flash wrapped in Zinc/SWFStudio/mProjector/Screenweaver without having issues such as memory leaks? Kenneth Kawamoto www.materiaprima.co.uk ___ 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] Avoid escaping spaces
Hi List, I´m using escape() a lot in my project to create XML-save content I write to disk. Is there any possibility to override the escape() command that it does not escape spaces to %20 ? I know I could do that by calling escape like this escape(my string).split(%20).join( ); but as I use escape() a lot in my project I´m afraid I might miss one escape()-call,... Thanks for any thoughts, 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] DataGrid Component Performance
Actually, you can define a compare function for the datGrid to use, then check in your function if you are going to compare numbers or strings and go from that on. I did that some time ago, if anyone is interested int he code I´ll be glad to share. I´ve used the DataGrid on my example for the SQLite Connector at http://www.Software-and-Solutions.de You might want to give it a try to see how the DG performs. The DB that comes with tbe Example will produce you a very large result set if you try that Query: Select * from City Join Country Limit 1000; Be sure to adopt the Limit to the number of rows you want, if you SELECT without an limit you´ll get back millions of rows... Hit the SELECT button to parse the data into the DG, or the QUERY button to directly show the raw text data, thus allowing speed comparisons hth -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Scott Hyndman Sent: Thursday, March 16, 2006 2:37 AM To: Flashcoders mailing list Subject: 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] 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
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] 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é -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
RE: [Flashcoders] Encrypting data
Check out the md5 encryption for Flash at http://www.meychi.com/archive/31.php -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jiri Heitlager Sent: Tuesday, March 14, 2006 1:25 PM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] Encrypting data Hello, I am currently making a game that sends the highscore to a php file that puts it into a database. If I would just send the var score to a php file, then it will be quit easy to manipulate the score. Using the firefox plugin Live HTTP Headers it is easy to see what is being send from the flash movie, knowing the URL you could then set the data using that URL. Does somebody know a way to encrypt the score in flash and then decrypt it in php? Thnks. ___ 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] OT: getting language and locality via Windows registry
Yep, this Key´s name (like all Windows keys) is the same on all Languages. At least for single-byte languages, but I´m almost sure it´s also for double-bytes -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mendelsohn, Michael Sent: Wednesday, March 01, 2006 4:04 PM To: Flashcoders mailing list Subject: [Flashcoders] OT: getting language and locality via Windows registry Hi list... I'm trying to read a registry entry, so for me it's a job for Director, hence OT, but... I'd like to find out from people who AREN'T running an English version of Windows -- are the actual names of the reg entries the same? In other words HKEY_CURRENT_USER\Control Panel\International\sLanguage on my machine gives ENU, but the reg key itself is written in English. Say someone is running Windows in Spanish for example, would the key be called HKEY_CURRENT_USER\tablero autoridad\internacional\sLengua, or is it still the English. And what about for double-byte languages? Thanks, - Michael 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
RE: [Flashcoders] oop question?
Hi, Remove the include line, it´s not neccessary, since include copypastes the content of the as class in you rcurrent document, which is not what you want. The next error you´ll probably recieve is that you missed a Constructor in your Class, you need at least this class mLoader { function mLoader () { }; } hth AGo -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of murder design Sent: Wednesday, March 01, 2006 5:46 PM To: flashcoders Subject: [Flashcoders] oop question? my main flash file only contains: #include mLoader.as var mLoader1:mLoader = new mLoader( ); ... while my .as file only contains: class mLoader { } but i get the following error: **Error** Z:\design\murderdesign.com\reusable\loader\mLoader.as: Line 1: Classes may only be defined in external ActionScript 2.0 class scripts. class mLoader { Total ActionScript Errors: 1 Reported Errors: 1 any idea what that is? ___ 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] global vScrollPolicy definition rejected
Hi Coders, I´m running into a mystery I can´t solve, if anyone could point me into the right direction i´d be very thankful. I´m defining some global StyleSheet properties for MM V2 Components in Flash 8 Pro like this _global.styles.Tree = new mx.styles.CSSStyleDeclaration(); _global.styles.Tree.setStyle(backgroundColor, 0xEE); _global.styles.Tree.setStyle(rollOverColor, 0xFF); //...and so on until _global.styles.Tree.setStyle(vScrollPolicy, auto); now every Style is accepted except the vScrollPolicy, it behaves as it would be on which is the default value. It´s the same for List and DataGrid Components. If I directly assign the style to an instance like this _root.command_tr.setStyle(vScrollPolicy, auto); everything works,... Any clues for me? Thanks, 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
AW: [Flashcoders] Navigating between labels? Scripting help:
not quite, goCheckBackward = function() { if ( index = 0 ) { index = max; } index--; gotoAndPlay(frames[index]); trace(frames[index]); } you´d need to move the index-- between the if and goto() or otherwise you´d run out of bounds, since his Array starts at 0 and ends at max-1. I´ve also changed the if-condition, otherwise you´d never reach frames[0] Greatings, André -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Adrian Lynch Gesendet: Sonntag, 26. Februar 2006 17:01 An: Flashcoders mailing list Betreff: RE: [Flashcoders] Navigating between labels? Scripting help: goCheckBackward would be the opposite of goCheckForward: goCheckForward = function() { if ( index = max ) { index = 0; } gotoAndPlay(frames[index]); trace(frames[index]); index++; } goCheckBackward = function() { if ( index 1 ) { index = max; } gotoAndPlay(frames[index]); trace(frames[index]); index--; } Untested, but looks ok to me. Adrian -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Michael Hulse Sent: 26 February 2006 12:55 To: Flashcoders mailing list Subject: [Flashcoders] Navigating between labels? Scripting help: Hey all... I need some help with the below code... I am trying to set-up a dynamic way to jump from label to label on the main timeline of my animation... Well, here is what I got so far... Still working on it, and it prob is not optimal, but maybe you all will have some suggestions: /* Initialize index: */ var index = 1; /* Declare var frames as an array: */ var frames:Array = new Array(); /* Pop array with scene labels: */ var frames = [scene1, scene2, scene3]; /* Get length of array: */ var max = frames.length; /* Attach function to forward button: */ _root.forward.onRelease = function() { goCheckForward(); } /* Attach function to backward button: */ _root.backward.onRelease = function() { goCheckBackward(); } goCheckForward = function() { /* If index is = array length, zero-out var index: */ if(index = max) { index = 0; } gotoAndPlay(frames[index]); trace(frames[index]); index++; /* add one to var index */ } /* Still working on this function... buggy atm. Suggestions? */ goCheckBackward = function() { index--; gotoAndPlay(frames[index]); trace(frames[index]); } Any help, suggestions, thoughts, tips would be greatly appreciated. Many thanks in advance, Cheers, Micky ___ 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] global vScrollPolicy definition rejected
Hi List, I´m running into a mystery I can´t solve, if anyone could point me into the right direction i´d be very thankful. I´m defining some global StyleSheet properties for MM V2 Components in Flash 8 Pro like this _global.styles.Tree = new mx.styles.CSSStyleDeclaration(); _global.styles.Tree.setStyle(backgroundColor, 0xEE); _global.styles.Tree.setStyle(rollOverColor, 0xFF); //...and so on until _global.styles.Tree.setStyle(vScrollPolicy, auto); now every Style is accepted except the vScrollPolicy, it behaves as it would be on which is the default value. It´s the same for List and DataGrid Components. If I directly assign the style to an instance like this _root.command_tr.setStyle(vScrollPolicy, auto); everything works,... Any clues for me? Thanks, 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
AW: AW: [Flashcoders] Flash connecting to a database - allrunning on aDVD-ROM
The SQLite Connector is 100% embeddable and stand-alone, so there is no need for a server in the middle. However, my SQLite implentation is compatible with any other SQLite tool, including PHP. You embedd a small (250kb) C exe inside your Flash exe that does all the DB stuff. You communicate with it via an AS2 Class. However you need a third-party wrapper for your swf. The AS Class that comes with the Connector is ready to go with SWF Studio V3. If you buy SWF Studio via my Page you get 10% off, so the SQLite Conenctor is in-fact free ;) You can check out a demo project (compiled exe incl. sources) at www.Software-and-Solutions.de hth, André -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Wade Arnold Gesendet: Samstag, 25. Februar 2006 20:50 An: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Betreff: Re: AW: [Flashcoders] Flash connecting to a database - allrunning on aDVD-ROM Would using SQLite or Berkley DB work on the server for development and then just copy the database.db file to your cd? I have not ever connected flash to either of these without php/jsp in the center and I don't know if it is possible. I have thought about this problem for a long time and have resorted to a file structure for tables and xml files for instances of components. I am excited to test INM. Wade On 2/25/06 12:42 PM, André Goliath [EMAIL PROTECTED] wrote: Hi List, XML and CSV is fine for small data, and I would even prefer it about a Database such as SQLite for rather small data or if you only need to search for one key/index. But if you need to do complex lookups or need to search for different criteria I would strongly recommend SQlite or comparable,as a DB is hard to beat if it comes to speed and flexibility. Using my SQlite Connector the speed you gain is even faster then mySQL, and far better than XML. SQLite imports/writes CSV files too, btw. However, it´s really a design choice and what you're going to do with your data. hth André Goliath -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Michael Bedar Gesendet: Samstag, 25. Februar 2006 19:31 An: Flashcoders mailing list Betreff: Re: [Flashcoders] Flash connecting to a database - all running on aDVD-ROM As long as your dataset is relatively small, XML is fine, but at some point a real database is going to be needed. I'm not sure how v12 with flash is going to work, but I have used Valentina with Director, and when you have 10's of thousands of records, you can't afford the disk space or speed penalty of xml files on a CD On Feb 25, 2006, at 12:37 PM, Danny wrote: I've programmed many databases both in Director and Flash, and find it much more code it myself than use an xtra like V12. For your example, I would assign each module an ID number, then in Excel or FileMaker, what ever data base you want to use, match the ID number up with the paths to the content and description ID, path, description 23498, moduleOne\myPDF.pdf, descriptionHere 23498, moduleOne\myPres.ppt, descriptionHere 9, moduleTwo\myPDF.pdf, descriptionHere 9, moduleTwo\myDoc.doc, descriptionHere etc. Save the data as a CSV file, and use Amber CSV Converter (http:// www.processtext.com/abccsv.html) to convert it to XML. This creates a very easily readable XML file without a lot of extra crap like you get if you convert directly from Filemaker. There are plenty of examples of how to load the XML into Flash and save it in an Array. Assign the ID numbers to the proper nodes in the tree using the data parameter. When a user chooses a node, search your array for all the matches to the ID number and display the descriptions. ___ 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
AW: [Flashcoders] Flash connecting to a database - all running on aDVD-ROM
Hi List, XML and CSV is fine for small data, and I would even prefer it about a Database such as SQLite for rather small data or if you only need to search for one key/index. But if you need to do complex lookups or need to search for different criteria I would strongly recommend SQlite or comparable,as a DB is hard to beat if it comes to speed and flexibility. Using my SQlite Connector the speed you gain is even faster then mySQL, and far better than XML. SQLite imports/writes CSV files too, btw. However, it´s really a design choice and what you're going to do with your data. hth André Goliath -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Michael Bedar Gesendet: Samstag, 25. Februar 2006 19:31 An: Flashcoders mailing list Betreff: Re: [Flashcoders] Flash connecting to a database - all running on aDVD-ROM As long as your dataset is relatively small, XML is fine, but at some point a real database is going to be needed. I'm not sure how v12 with flash is going to work, but I have used Valentina with Director, and when you have 10's of thousands of records, you can't afford the disk space or speed penalty of xml files on a CD On Feb 25, 2006, at 12:37 PM, Danny wrote: I've programmed many databases both in Director and Flash, and find it much more code it myself than use an xtra like V12. For your example, I would assign each module an ID number, then in Excel or FileMaker, what ever data base you want to use, match the ID number up with the paths to the content and description ID, path, description 23498, moduleOne\myPDF.pdf, descriptionHere 23498, moduleOne\myPres.ppt, descriptionHere 9, moduleTwo\myPDF.pdf, descriptionHere 9, moduleTwo\myDoc.doc, descriptionHere etc. Save the data as a CSV file, and use Amber CSV Converter (http:// www.processtext.com/abccsv.html) to convert it to XML. This creates a very easily readable XML file without a lot of extra crap like you get if you convert directly from Filemaker. There are plenty of examples of how to load the XML into Flash and save it in an Array. Assign the ID numbers to the proper nodes in the tree using the data parameter. When a user chooses a node, search your array for all the matches to the ID number and display the descriptions. ___ 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