[Flashcoders] looking for combobox w/ autocomplete
Can anyone point me in the direction of a combobox with autocomplete like that offered as a Dreamweaver extension MX Widgets by interaktonline.com? I'm not looking for the interface so much as an example of how to create a combobox that would select a matching item from a list (based on the first few letters) as you typed until you began to type a unique word at which point you'd be entering a new item. Thanks for any help. Nick ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Accordion Question
Sure yes. Accordion inherites load event from UIObject class. In your accordion load event handler, set accordion selectedIndex property. good luck Doug - Original Message - From: coker todd [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Thursday, January 05, 2006 11:19 AM Subject: [Flashcoders] Accordion Question Can someone point me to where i can find how to change which item in the stack is selected by default. I have a stack and by default I want #4 to be open is this possible? Much Thanks, Kai __ Yahoo! DSL - Something to write home about. Just $16.99/mo. or less. dsl.yahoo.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] execute a string as actionscript in MX
How about arguments? var str =trace('Hello'); var func = str.split((); var arg = func[1].split(')[1]; eval(func[0]).call(this, arg); Is there a serializer to pass real arguments? eg. myFunction('Hello', { x:100, name:'foo' }) Regards, Michael ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] Flash Ant build for Flash IDE?
Eh, cool. If it is this simple I will go and sit ashamed in the corner :D Any way to get a jsfl file to accept parameters? For which file to publish e.g. (jsfl noob). Tx. Ben -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Johannes Nel Sent: donderdag 5 januari 2006 21:32 To: Flashcoders mailing list Subject: Re: [Flashcoders] Flash Ant build for Flash IDE? just execute a jsfl file from the ant script and in the jsfl file publish the movie On 1/5/06, Ben Smeets [EMAIL PROTECTED] wrote: Hi all, Been trying to get a build.xml rolling with the flash 8 IDE in combination with coding in eclipse. Did anybody have succes with the setup coding in eclipse and using a build.xml that calls the flash 8 IDE to publish? I only get examples for mtasc, but I don't (can't) want to use that for the time being. The few build examples that do seem to be written for the flash IDE, only work in flash MX 2004 :( Any help is appreciated. Cheers, Ben ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- j:pn ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] execute a string as actionscript in MX
Hi, check apply in help docs eval(myFunction).apply(null, myArgumentsArray); Thimon How about arguments? var str =trace('Hello'); var func = str.split((); var arg = func[1].split(')[1]; eval(func[0]).call(this, arg); Is there a serializer to pass real arguments? eg. myFunction('Hello', { x:100, name:'foo' }) Regards, Michael ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Flash Lite 2.0
Flash Lite 2.0 just rocks! If you are dumb ass who doesn't really understand sh*t of Flash4/5 actionscript. Glad those setProperty() functions are deprecated. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] input text scrolls when pressing right arrow key
hi please try the following: create a TextField with properties similar to: txf.type = input; txf.autoSize = left; txf.multiline = false; txf.wordWrap = false; txf.text = test; run the movie and click inside the field. press the right cursor key until you reach the last character in the field. (the last 't' of 'text'). now, if you press the right cursor key again, the word scrolls to the left. my question is, is there any way to stop this behaviour? open to nasty, but processor friendly tricks if that is the only way... many thanks fla ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Massive XML files and Flash
Xpath looks pretty sweet, anyone used it for simillar data sizes? On 06/01/06, ryanm [EMAIL PROTECTED] wrote: I find myself in a situation where I need to build a tool to analyse lots of xml data. Thousands of records containing a lot of strings as well as numericals. When I found myself in this situation I did 2 things: 1. Don't use XML, it is way too heavy for this much data. I found that by using a double-delimeted or fixed-width data format, the file size was reduced by as much as 70%. In the end, I went with fixed width because I could parse it faster (by avoiding calling split() thousands of times). Now, I still used the XML object, but instead of letting it parse the file, I overwrote the onData event and used my own parsing function, which generated objects directly instead of parsing it out to an XML object. Essentially, the XML object just read the data in and dumped it to my parsing function. 2. Don't try to parse it all at once. What I did was dump it all into a buffer when it was loaded, and then fire off a parsing function that parsed 250 records per frame. I found that number through trial and error, you can find your own balance. The important thing was, the application didn't stop functioning while the records were being parsed, you could go to other areas of the app and use it normally, and when you went to the section that required the data, you got a progress bar showing how many records had been parsed. My parsing function was semi-complicated. It took the whole dataset in as a string and split it on my record delimiter, and this array became my buffer. This way I knew how many records there were to parse, and approximately how long it would take to parse them. It then sliced 250 records off the top of the buffer on every frame and passed them to the serialization function, which took them, serialized them, and inserted them into my database object. My parsing function also built several indexes while it was parsing the records, to make lookups faster once the database was ready. My application was a database of hotels, which were sortable by a number of criteria, so the parsing routine looked for those attributes of each hotel as it parsed, and when it saw a new value for one of those criteria, it made a new entry in the appropriate index for it. I made very heavy use of the object collection syntax, for example: Index[Location][USA][Texas][Dallas] ...referred to an array of hotel ids which were in Dallas, Texas, USA, which could be used to find a hotel like this: // 0 is the first index in the array of ids hotelID = Index[Location][USA][Texas][Dallas][0]; return(Database[hotelID]); In the end, it took about 5 times as much code to import, parse, and index the database than the whole rest of the application, but it worked, it was relatively fast, and it met the requirements I was given. I would've preferred for it to work from a web server, selecting what I needed from the database, but the client required that it work offline from a database that shipped with the cd, as well as be able to download an updated database from their website, and this was the best solution I could find in Flash that worked on both PC and Mac (no 3rd party wrappers). Unfortunately it had to parse the whole database every time you ran the app, but it would get the newest version from the web if you were online and it gave you the option to store it (in an ungodly-sized shared object) if you wanted to. Anyway, that's how I did it, whether or not it was successful is a matter of opinion. ;-) ryanm ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- Jonathan Clarke 1976 Ltd http://19seventysix.co.uk e: [EMAIL PROTECTED] m (UK): +44 773 646 1954 m (Barbados): +1246 259 9475 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Picassa-like Control
Has anyone seen anything open-source like the Picassa main photo viewer? They eye-candy one, not the simple iphoto-like view. Viewing photos on a vertically directional arc, main image scaled up largest in the arc center. Looking for a Class or something like that where you give it a desired arc direction... and you can see all the images (they don't overlap to obscure). Just thought I would ask before I started in on something like it myself. e.d. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Massive XML files and Flash
If I understand it correctly, the whole XML file needs to be loaded for you to use XPath, so it won't help you much if you just want the section of the XML data to utilize... I'd go with what JesterXL said... Make smaller chunks of XML file and load them as needed... CyanBlue - Original Message - From: Jonathan Clarke [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Friday, January 06, 2006 7:33 AM Subject: Re: [Flashcoders] Massive XML files and Flash Xpath looks pretty sweet, anyone used it for simillar data sizes? ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] input text scrolls when pressing right arrow key
The combination of input and autoSize is what's killing you. Do you really need the textfield to resize with the text entry? If not, you're better off setting the width and height explicitly. However, if you don't know the size before you enter text, then here is an alternative: TextField.prototype.resizeToMatchText = function() { this.autoSize = 'none'; this._width = this.getTextFormat().getTextExtent(this.text).textFieldWidth + 4; this._height = this.getTextFormat().getTextExtent(this.text).textFieldHeight; this.hscroll = 0; } createTextField('txf',1,0,0,0,0); txf.type = input; txf.autoSize = left; txf.multiline = false; txf.wordWrap = false; txf.border = true; txf.text = test; txf.resizeToMatchText(); If you need the textfield to resize with text entry add this: txf.onChanged = txf.resizeToMatchText; and then call txf.onChanged() after you set the text property. Setting the text property through AS won't trigger the onChanged event so you'll have to do that manually anytime you change the text property. You'll need to call resizeToMatchText() after a TextFormat change as well. Nasty? Perhaps. Processor-friendly? Yes. Effective? Yes. Derek Vadneau -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of fla coder Sent: Friday, January 06, 2006 6:19 AM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] input text scrolls when pressing right arrow key hi please try the following: create a TextField with properties similar to: txf.type = input; txf.autoSize = left; txf.multiline = false; txf.wordWrap = false; txf.text = test; run the movie and click inside the field. press the right cursor key until you reach the last character in the field. (the last 't' of 'text'). now, if you press the right cursor key again, the word scrolls to the left. my question is, is there any way to stop this behaviour? open to nasty, but processor friendly tricks if that is the only way... many thanks fla ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] Massive XML files and Flash
True - that's how I've used it anyway - you still have to load in an XML file into an XML object. Then you can call specific nodes. So XPath doesn't create an additional object representation of the XML file like many other parsers do, but it does have to load in the entire XML file first. Jason Merrill | E-Learning Solutions | icfconsulting.com -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Friday, January 06, 2006 8:20 AM To: Flashcoders mailing list Subject: Re: [Flashcoders] Massive XML files and Flash If I understand it correctly, the whole XML file needs to be loaded for you to use XPath, so it won't help you much if you just want the section of the XML data to utilize... I'd go with what JesterXL said... Make smaller chunks of XML file and load them as needed... CyanBlue - Original Message - From: Jonathan Clarke [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Friday, January 06, 2006 7:33 AM Subject: Re: [Flashcoders] Massive XML files and Flash Xpath looks pretty sweet, anyone used it for simillar data sizes? ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders NOTICE: This message is for the designated recipient only and may contain privileged or confidential information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of this e-mail by you is prohibited. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] input text scrolls when pressing right arrow key
thanks derek! just the sort of nastiness i was hoping for. i didn't go down the prototype line of attack as i have built up distrust in getTextExtent the text would potentially get styled and other elements within the same component as the textField depend highly on the correct text width being returned, or textField width being set in this case. but there does not seem to be a way around using getTextExtent, so i'll play around and let you know what happens. muach appreciated! f On 06/01/06, Derek Vadneau [EMAIL PROTECTED] wrote: The combination of input and autoSize is what's killing you. Do you really need the textfield to resize with the text entry? If not, you're better off setting the width and height explicitly. However, if you don't know the size before you enter text, then here is an alternative: TextField.prototype.resizeToMatchText = function() { this.autoSize = 'none'; this._width = this.getTextFormat().getTextExtent(this.text).textFieldWidth + 4; this._height = this.getTextFormat().getTextExtent(this.text).textFieldHeight; this.hscroll = 0; } createTextField('txf',1,0,0,0,0); txf.type = input; txf.autoSize = left; txf.multiline = false; txf.wordWrap = false; txf.border = true; txf.text = test; txf.resizeToMatchText(); If you need the textfield to resize with text entry add this: txf.onChanged = txf.resizeToMatchText; and then call txf.onChanged() after you set the text property. Setting the text property through AS won't trigger the onChanged event so you'll have to do that manually anytime you change the text property. You'll need to call resizeToMatchText() after a TextFormat change as well. Nasty? Perhaps. Processor-friendly? Yes. Effective? Yes. Derek Vadneau -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of fla coder Sent: Friday, January 06, 2006 6:19 AM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] input text scrolls when pressing right arrow key hi please try the following: create a TextField with properties similar to: txf.type = input; txf.autoSize = left; txf.multiline = false; txf.wordWrap = false; txf.text = test; run the movie and click inside the field. press the right cursor key until you reach the last character in the field. (the last 't' of 'text'). now, if you press the right cursor key again, the word scrolls to the left. my question is, is there any way to stop this behaviour? open to nasty, but processor friendly tricks if that is the only way... many thanks fla ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Massive XML files and Flash
Jonathan Clarke wrote: Xpath looks pretty sweet, anyone used it for simillar data sizes? Too avoid memory and performance issues most people use a SAX-liek parser instead of a DOM one, to avoid building the xml file in object tree. Normally XPath is implementated on top of a DOM parser, but you can use SAX ofcourse too. Anyway 8-10mb files should do fine. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] RFID tags
Does anyone ever tried to use any RFID-based stuff with Flex or Flash in general? Beside of that does someone know where you can that kind of stuff cheap. I think it's cool stuff to make tangible interface with which will then control some cool thinks . For example, you drop a element on a table and your Flex Server system will have some extra funcationality or something similar. A real-life visualisation of options available or installed modules. Anyway I first to get some RFID tags and reading materials, anyone ;-) Abusing Flex or Flash is nice! ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Bug in Macromedia's flash detection code when installed player is either 6.0.22, 6.0.23 and 6.0.29 ?
Hi, I'm having a serious detection issue with macromedias own flash detection code which you all probably know can be auto generated along with the html file under publish settings in the Flash8 editor or can be found in their detection kit which contains it as well. The problem is related to the activeX plugin detection more precisely inside the VBScript function below. When the shockwave object is created it asks for the version string: swVersion = swControl.GetVariable($version) and if any of the plugins above is installed it crashes with an error message saying an error happened in Flash player 6.0.xx.ocx. and the browser window shuts down. No errors with plugins lower or higher than that. Has anyone seen this before and knows what to do? Since I'm not the great VBScript shark I'm pretty stuck here and just detecting the clean version number is not enough when you need 6.0.65 to use the new auto install procesdure. !-- // Visual basic helper required to detect Flash Player ActiveX control version information Function VBGetSwfVer(i) on error resume next Dim swControl, swVersion swVersion = 0 set swControl = CreateObject(ShockwaveFlash.ShockwaveFlash. + CStr(i)) if (IsObject(swControl)) then swVersion = swControl.GetVariable($version) //Here it crashes end If VBGetSwfVer = swVersion End Function ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Bug in Macromedia's flash detection code wheninstalled player is either 6.0.22, 6.0.23 and 6.0.29 ?
i just had a client refuse content in 8, because of their security settings rendering the nice smooth express install i had set up useless. they got the noscript instead. so now i'm redoing everything for player 6 (pain the the you know what) :( - Original Message - From: Martin Baltzer [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Friday, January 06, 2006 3:36 PM Subject: [Flashcoders] Bug in Macromedia's flash detection code wheninstalled player is either 6.0.22, 6.0.23 and 6.0.29 ? Hi, I'm having a serious detection issue with macromedias own flash detection code which you all probably know can be auto generated along with the html file under publish settings in the Flash8 editor or can be found in their detection kit which contains it as well. The problem is related to the activeX plugin detection more precisely inside the VBScript function below. When the shockwave object is created it asks for the version string: swVersion = swControl.GetVariable($version) and if any of the plugins above is installed it crashes with an error message saying an error happened in Flash player 6.0.xx.ocx. and the browser window shuts down. No errors with plugins lower or higher than that. Has anyone seen this before and knows what to do? Since I'm not the great VBScript shark I'm pretty stuck here and just detecting the clean version number is not enough when you need 6.0.65 to use the new auto install procesdure. !-- // Visual basic helper required to detect Flash Player ActiveX control version information Function VBGetSwfVer(i) on error resume next Dim swControl, swVersion swVersion = 0 set swControl = CreateObject(ShockwaveFlash.ShockwaveFlash. + CStr(i)) if (IsObject(swControl)) then swVersion = swControl.GetVariable($version) //Here it crashes end If VBGetSwfVer = swVersion End Function ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Bug in Macromedia's flash detection code wheninstalled player is either 6.0.22, 6.0.23 and 6.0.29 ?
Tom, could you elaborate a bit more on what security scenario would cause the no script? Do they have js / vb script disabled in their browsers? Wouldnt the no script just open a page with a link to upgrade? MaTT On 1/6/06, Tom Rhodes [EMAIL PROTECTED] wrote: i just had a client refuse content in 8, because of their security settings rendering the nice smooth express install i had set up useless. they got the noscript instead. so now i'm redoing everything for player 6 (pain the the you know what) :( - Original Message - From: Martin Baltzer [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Friday, January 06, 2006 3:36 PM Subject: [Flashcoders] Bug in Macromedia's flash detection code wheninstalled player is either 6.0.22, 6.0.23 and 6.0.29 ? Hi, I'm having a serious detection issue with macromedias own flash detection code which you all probably know can be auto generated along with the html file under publish settings in the Flash8 editor or can be found in their detection kit which contains it as well. The problem is related to the activeX plugin detection more precisely inside the VBScript function below. When the shockwave object is created it asks for the version string: swVersion = swControl.GetVariable($version) and if any of the plugins above is installed it crashes with an error message saying an error happened in Flash player 6.0.xx.ocx. and the browser window shuts down. No errors with plugins lower or higher than that. Has anyone seen this before and knows what to do? Since I'm not the great VBScript shark I'm pretty stuck here and just detecting the clean version number is not enough when you need 6.0.65 to use the new auto install procesdure. !-- // Visual basic helper required to detect Flash Player ActiveX control version information Function VBGetSwfVer(i) on error resume next Dim swControl, swVersion swVersion = 0 set swControl = CreateObject(ShockwaveFlash.ShockwaveFlash. + CStr(i)) if (IsObject(swControl)) then swVersion = swControl.GetVariable($version) //Here it crashes end If VBGetSwfVer = swVersion End Function ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] class conflicts
Hi List Nobody answered me yesterday but I need to konw what happens please... When I generate my movie, I sometimes get a class name conflict error... but there are 3 problems in this error: - if I wait 2 or 3 minutes wihtout using flash before compiling, I don't have this error anymore and my project works perfectly... so it doesn't seem to come from my coding - It's a very little project with 5 classes, and only one level in the package, I can't see how it can be possible to be in conflict... no way - I've read in the help that a conflict is between a classpath that contains a compiled class name or path, so an A.B.C class creates a conflict with the A.B compiled class, but I don't have any compiled class, and the error message says 2 times the same name A.B.C and A.B.C, so I have a conflict between a class and itself ?!!??! I can had that the package is a part of my main classpath, with all other projects I've made, and wich work well. I've tried everythings, changing name of the class, of the path, etc... but the only way to avoid this error each time is to let all .as files in the same directory as the fla one... not very nice... Does anyone have an idea on what happens please?? PR ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] Bug in Macromedia's flash detectioncodewheninstalled player is either 6.0.22, 6.0.23 and 6.0.29 ?
I wonder what sites they actually permit, given that js is disabled. in my experience, the interweb just don't work properly without it... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tom Rhodes Sent: 06 January 2006 15:17 To: Flashcoders mailing list Subject: Re: [Flashcoders] Bug in Macromedia's flash detectioncodewheninstalled player is either 6.0.22, 6.0.23 and 6.0.29 ? yup, their browser was set to not execute js/vb. and yes i'd set up a bit of text along the lines of, sorry, your settings are such that we cannot find out if you have the latest flash player, if you know you have 8 click here to view, if not click here to get it kind of thing... but the client just didn't like the idea of closing browsers, going to other sites etc. etc. all the stuff you've heard a million times. i hadn't heard it for a while though! shame, because, the express install thing is sweet in ie, with the redirection and everything it's very painless. not much you can do when they have their browser set up by a corporate IT security nazi ;) i suggested doing something server side to see if they had flash, but the express install requires r65 to work and AFAIK you can't get the player version with PHP. please someone tell me i'm wrong - Original Message - From: Matt Muller [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Friday, January 06, 2006 3:57 PM Subject: Re: [Flashcoders] Bug in Macromedia's flash detection codewheninstalled player is either 6.0.22, 6.0.23 and 6.0.29 ? Tom, could you elaborate a bit more on what security scenario would cause the no script? Do they have js / vb script disabled in their browsers? Wouldnt the no script just open a page with a link to upgrade? MaTT On 1/6/06, Tom Rhodes [EMAIL PROTECTED] wrote: i just had a client refuse content in 8, because of their security settings rendering the nice smooth express install i had set up useless. they got the noscript instead. so now i'm redoing everything for player 6 (pain the the you know what) :( - Original Message - From: Martin Baltzer [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Friday, January 06, 2006 3:36 PM Subject: [Flashcoders] Bug in Macromedia's flash detection code wheninstalled player is either 6.0.22, 6.0.23 and 6.0.29 ? Hi, I'm having a serious detection issue with macromedias own flash detection code which you all probably know can be auto generated along with the html file under publish settings in the Flash8 editor or can be found in their detection kit which contains it as well. The problem is related to the activeX plugin detection more precisely inside the VBScript function below. When the shockwave object is created it asks for the version string: swVersion = swControl.GetVariable($version) and if any of the plugins above is installed it crashes with an error message saying an error happened in Flash player 6.0.xx.ocx. and the browser window shuts down. No errors with plugins lower or higher than that. Has anyone seen this before and knows what to do? Since I'm not the great VBScript shark I'm pretty stuck here and just detecting the clean version number is not enough when you need 6.0.65 to use the new auto install procesdure. !-- // Visual basic helper required to detect Flash Player ActiveX control version information Function VBGetSwfVer(i) on error resume next Dim swControl, swVersion swVersion = 0 set swControl = CreateObject(ShockwaveFlash.ShockwaveFlash. + CStr(i)) if (IsObject(swControl)) then swVersion = swControl.GetVariable($version) //Here it crashes end If VBGetSwfVer = swVersion End Function ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
SV: [Flashcoders] REPOST Bug in Macromedia's flash detectioncodewheninstalled player is either 6.0.22, 6.0.23 and 6.0.29 ?
I would really appreciate that this tread is not taken over by another problem;-) Anyone knows of a solution to the first question? Thanks alot Martin Fra: [EMAIL PROTECTED] på vegne af Tom Rhodes Sendt: fr 06-01-2006 16:17 Til: Flashcoders mailing list Emne: Re: [Flashcoders] Bug in Macromedia's flash detectioncodewheninstalled player is either 6.0.22, 6.0.23 and 6.0.29 ? yup, their browser was set to not execute js/vb. and yes i'd set up a bit of text along the lines of, sorry, your settings are such that we cannot find out if you have the latest flash player, if you know you have 8 click here to view, if not click here to get it kind of thing... but the client just didn't like the idea of closing browsers, going to other sites etc. etc. all the stuff you've heard a million times. i hadn't heard it for a while though! shame, because, the express install thing is sweet in ie, with the redirection and everything it's very painless. not much you can do when they have their browser set up by a corporate IT security nazi ;) i suggested doing something server side to see if they had flash, but the express install requires r65 to work and AFAIK you can't get the player version with PHP. please someone tell me i'm wrong - Original Message - From: Matt Muller [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Friday, January 06, 2006 3:57 PM Subject: Re: [Flashcoders] Bug in Macromedia's flash detection codewheninstalled player is either 6.0.22, 6.0.23 and 6.0.29 ? Tom, could you elaborate a bit more on what security scenario would cause the no script? Do they have js / vb script disabled in their browsers? Wouldnt the no script just open a page with a link to upgrade? MaTT On 1/6/06, Tom Rhodes [EMAIL PROTECTED] wrote: i just had a client refuse content in 8, because of their security settings rendering the nice smooth express install i had set up useless. they got the noscript instead. so now i'm redoing everything for player 6 (pain the the you know what) :( - Original Message - From: Martin Baltzer [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Friday, January 06, 2006 3:36 PM Subject: [Flashcoders] Bug in Macromedia's flash detection code wheninstalled player is either 6.0.22, 6.0.23 and 6.0.29 ? Hi, I'm having a serious detection issue with macromedias own flash detection code which you all probably know can be auto generated along with the html file under publish settings in the Flash8 editor or can be found in their detection kit which contains it as well. The problem is related to the activeX plugin detection more precisely inside the VBScript function below. When the shockwave object is created it asks for the version string: swVersion = swControl.GetVariable($version) and if any of the plugins above is installed it crashes with an error message saying an error happened in Flash player 6.0.xx.ocx. and the browser window shuts down. No errors with plugins lower or higher than that. Has anyone seen this before and knows what to do? Since I'm not the great VBScript shark I'm pretty stuck here and just detecting the clean version number is not enough when you need 6.0.65 to use the new auto install procesdure. !-- // Visual basic helper required to detect Flash Player ActiveX control version information Function VBGetSwfVer(i) on error resume next Dim swControl, swVersion swVersion = 0 set swControl = CreateObject(ShockwaveFlash.ShockwaveFlash. + CStr(i)) if (IsObject(swControl)) then swVersion = swControl.GetVariable($version) //Here it crashes end If VBGetSwfVer = swVersion End Function ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] class conflicts
You tried the delete ASO files and test movie option? Might be a screwed aso cache... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of PR Durand Sent: 06 January 2006 15:15 To: Flashcoders mailing list Subject: [Flashcoders] class conflicts Hi List Nobody answered me yesterday but I need to konw what happens please... When I generate my movie, I sometimes get a class name conflict error... but there are 3 problems in this error: - if I wait 2 or 3 minutes wihtout using flash before compiling, I don't have this error anymore and my project works perfectly... so it doesn't seem to come from my coding - It's a very little project with 5 classes, and only one level in the package, I can't see how it can be possible to be in conflict... no way - I've read in the help that a conflict is between a classpath that contains a compiled class name or path, so an A.B.C class creates a conflict with the A.B compiled class, but I don't have any compiled class, and the error message says 2 times the same name A.B.C and A.B.C, so I have a conflict between a class and itself ?!!??! I can had that the package is a part of my main classpath, with all other projects I've made, and wich work well. I've tried everythings, changing name of the class, of the path, etc... but the only way to avoid this error each time is to let all .as files in the same directory as the fla one... not very nice... Does anyone have an idea on what happens please?? PR ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] class conflicts
Can you tell us your package and code structure. It might be that you're importing the same thing twice and Flash doesn't like it. Although I would have thought that importing the same package many times wouldn't be a problem. Ade -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of PR Durand Sent: 06 January 2006 15:15 To: Flashcoders mailing list Subject: [Flashcoders] class conflicts Hi List Nobody answered me yesterday but I need to konw what happens please... When I generate my movie, I sometimes get a class name conflict error... but there are 3 problems in this error: - if I wait 2 or 3 minutes wihtout using flash before compiling, I don't have this error anymore and my project works perfectly... so it doesn't seem to come from my coding - It's a very little project with 5 classes, and only one level in the package, I can't see how it can be possible to be in conflict... no way - I've read in the help that a conflict is between a classpath that contains a compiled class name or path, so an A.B.C class creates a conflict with the A.B compiled class, but I don't have any compiled class, and the error message says 2 times the same name A.B.C and A.B.C, so I have a conflict between a class and itself ?!!??! I can had that the package is a part of my main classpath, with all other projects I've made, and wich work well. I've tried everythings, changing name of the class, of the path, etc... but the only way to avoid this error each time is to let all .as files in the same directory as the fla one... not very nice... Does anyone have an idea on what happens please?? PR ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] class conflicts
PR Durand schrieb: Hi List Nobody answered me yesterday but I need to konw what happens please... When I generate my movie, I sometimes get a class name conflict error... but there are 3 problems in this error: - if I wait 2 or 3 minutes wihtout using flash before compiling, I don't have this error anymore and my project works perfectly... so it doesn't seem to come from my coding So I assume you store your class files (*.as) on another machine, and the time settings differ some minutes, so Flash has to wait until the time difference has passed. To prevent this problem, it's best to snychronize the time on both machines using some public ntp server. The other workaround is to install the ASO Commands available via the Macromedia (Adobe?) Flash-Website, and then before you compile your movie you simply invoce Commands - Clear ASO cache and then compile. We had the same phenomenon here. Regards, Roman. -- --- gosub communications gmbh | fredersdorfer str. 10 | 10243 berlin t [030] 29 66 88 81 | f [030] 29 66 88 84 | http://www.gosub.de --- ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Flash Component for use in Dreamweaver
I didn't know this was possible but I think that you can take your Flash component and use it in Dreamweaver. Has anyone made an extension to package their components for use in Dreamweaver? I have no idea where to start on this. I'm also wondering if Dreamweaver will inherit the property inspector list for the component. I've seen some Flash for Dreamweaver extensions show a property inspector type list in the tag panel. Can someone verify this? Judah ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] what happens to exceptions i throw inasyncfunctions.
yeah. i want to impliment exception handeling like in java, but async functions are the bugger since i want it to bubble upwards. i have however thought of a sollution to this and am currently working on that :) On 1/5/06, JesterXL [EMAIL PROTECTED] wrote: You sound just like the Java guys who try Flex and wonder why it doesn't block. Sorry bro, async is like Bryan said, oil and water. - Original Message - From: Johannes Nel [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Thursday, January 05, 2006 7:03 PM Subject: Re: [Flashcoders] what happens to exceptions i throw inasyncfunctions. same problem. all async functions are part of a different stack so all my exception handeling code go out of the window. On 1/5/06, JesterXL [EMAIL PROTECTED] wrote: Late to the thread. Could you perhaps check if the onData actually contains any data, and if so, throw an exception if she does not there? That happens before onLoad. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- j:pn ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- j:pn ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] REPOST Bug in Macromedia's flashdetectioncodewheninstalled player is either 6.0.22, 6.0.23 and 6.0.29 ?
sorry bro. - Original Message - From: Martin Baltzer [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com; Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Friday, January 06, 2006 4:24 PM Subject: SV: [Flashcoders] REPOST Bug in Macromedia's flashdetectioncodewheninstalled player is either 6.0.22,6.0.23 and 6.0.29 ? I would really appreciate that this tread is not taken over by another problem;-) Anyone knows of a solution to the first question? Thanks alot Martin Fra: [EMAIL PROTECTED] på vegne af Tom Rhodes Sendt: fr 06-01-2006 16:17 Til: Flashcoders mailing list Emne: Re: [Flashcoders] Bug in Macromedia's flash detectioncodewheninstalled player is either 6.0.22, 6.0.23 and 6.0.29 ? yup, their browser was set to not execute js/vb. and yes i'd set up a bit of text along the lines of, sorry, your settings are such that we cannot find out if you have the latest flash player, if you know you have 8 click here to view, if not click here to get it kind of thing... but the client just didn't like the idea of closing browsers, going to other sites etc. etc. all the stuff you've heard a million times. i hadn't heard it for a while though! shame, because, the express install thing is sweet in ie, with the redirection and everything it's very painless. not much you can do when they have their browser set up by a corporate IT security nazi ;) i suggested doing something server side to see if they had flash, but the express install requires r65 to work and AFAIK you can't get the player version with PHP. please someone tell me i'm wrong - Original Message - From: Matt Muller [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Friday, January 06, 2006 3:57 PM Subject: Re: [Flashcoders] Bug in Macromedia's flash detection codewheninstalled player is either 6.0.22, 6.0.23 and 6.0.29 ? Tom, could you elaborate a bit more on what security scenario would cause the no script? Do they have js / vb script disabled in their browsers? Wouldnt the no script just open a page with a link to upgrade? MaTT On 1/6/06, Tom Rhodes [EMAIL PROTECTED] wrote: i just had a client refuse content in 8, because of their security settings rendering the nice smooth express install i had set up useless. they got the noscript instead. so now i'm redoing everything for player 6 (pain the the you know what) :( - Original Message - From: Martin Baltzer [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Friday, January 06, 2006 3:36 PM Subject: [Flashcoders] Bug in Macromedia's flash detection code wheninstalled player is either 6.0.22, 6.0.23 and 6.0.29 ? Hi, I'm having a serious detection issue with macromedias own flash detection code which you all probably know can be auto generated along with the html file under publish settings in the Flash8 editor or can be found in their detection kit which contains it as well. The problem is related to the activeX plugin detection more precisely inside the VBScript function below. When the shockwave object is created it asks for the version string: swVersion = swControl.GetVariable($version) and if any of the plugins above is installed it crashes with an error message saying an error happened in Flash player 6.0.xx.ocx. and the browser window shuts down. No errors with plugins lower or higher than that. Has anyone seen this before and knows what to do? Since I'm not the great VBScript shark I'm pretty stuck here and just detecting the clean version number is not enough when you need 6.0.65 to use the new auto install procesdure. !-- // Visual basic helper required to detect Flash Player ActiveX control version information Function VBGetSwfVer(i) on error resume next Dim swControl, swVersion swVersion = 0 set swControl = CreateObject(ShockwaveFlash.ShockwaveFlash. + CStr(i)) if (IsObject(swControl)) then swVersion = swControl.GetVariable($version) //Here it crashes end If VBGetSwfVer = swVersion End Function ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___
RE: [Flashcoders] class conflicts
The other workaround is to install the ASO Commands available via the Macromedia (Adobe?) Flash-Website If you have Flash 8, Delete ASO Files is also an option built into the Control drop-down menu. Jason Merrill | E-Learning Solutions | icfconsulting.com NOTICE: This message is for the designated recipient only and may contain privileged or confidential information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of this e-mail by you is prohibited. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] XMLSocket + close()
Hmm, does anyone know a way to get a call to find if I got succesfully disconnected using the close()-method? ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] class conflicts
Thanks a lot all of you to have given an answer. I thought about server problems, class cache, etc but and I didn't knew this delete ASO and all things about synchronising times, etc... And for the server problems, flash never like to work on server files, I always encounter problems... but I think we'll soon use that softwares usefull for making versions, work with a local copy of a file, etc... Thanks a lot once more ! PR Merrill, Jason a écrit : The other workaround is to install the ASO Commands available via the Macromedia (Adobe?) Flash-Website If you have Flash 8, Delete ASO Files is also an option built into the Control drop-down menu. Jason Merrill | E-Learning Solutions | icfconsulting.com NOTICE: This message is for the designated recipient only and may contain privileged or confidential information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of this e-mail by you is prohibited. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] XMLSocket + close()
Hi Weyert, I think that you're supposed to assume it worked. The only time you get the closed event is when its not intiated by the client. BTW, if you use ElectroServer, there is a close event fired through the ElectroServer class no matter what, client-initiated or server-initiated...or due to network problems. Jobe Makar http://www.electrotank.com http://www.electro-server.com phone: 919-609-0408 mobile: 919-610-5754 fax: 919-341-8104 - Original Message - From: Weyert de Boer [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Friday, January 06, 2006 11:02 AM Subject: [Flashcoders] XMLSocket + close() Hmm, does anyone know a way to get a call to find if I got succesfully disconnected using the close()-method? ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] what happens to exceptions i throw inasyncfunctions.
On Jan 6, 2006, at 10:41 AM, Johannes Nel wrote: i have however thought of a sollution to this and am currently working on that :) I would love to see what you thought of! ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] REPOST Bug in Macromedia's flash detectioncodewheninstalled player is either 6.0.22, 6.0.23 and 6.0.29 ?
hmm, ive never experienced that martin, you have obviously tried it with different swfs and are sure VB is crashing your browser? It sounds to me like its the FP crashing ad ot the script, have you edited the standard output code at all? Have you tried it on different machines? What player are you upgrading from? MaTT On 1/6/06, Martin Baltzer [EMAIL PROTECTED] wrote: I would really appreciate that this tread is not taken over by another problem;-) Anyone knows of a solution to the first question? Thanks alot Martin Fra: [EMAIL PROTECTED] på vegne af Tom Rhodes Sendt: fr 06-01-2006 16:17 Til: Flashcoders mailing list Emne: Re: [Flashcoders] Bug in Macromedia's flash detectioncodewheninstalled player is either 6.0.22, 6.0.23 and 6.0.29 ? yup, their browser was set to not execute js/vb. and yes i'd set up a bit of text along the lines of, sorry, your settings are such that we cannot find out if you have the latest flash player, if you know you have 8 click here to view, if not click here to get it kind of thing... but the client just didn't like the idea of closing browsers, going to other sites etc. etc. all the stuff you've heard a million times. i hadn't heard it for a while though! shame, because, the express install thing is sweet in ie, with the redirection and everything it's very painless. not much you can do when they have their browser set up by a corporate IT security nazi ;) i suggested doing something server side to see if they had flash, but the express install requires r65 to work and AFAIK you can't get the player version with PHP. please someone tell me i'm wrong - Original Message - From: Matt Muller [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Friday, January 06, 2006 3:57 PM Subject: Re: [Flashcoders] Bug in Macromedia's flash detection codewheninstalled player is either 6.0.22, 6.0.23 and 6.0.29 ? Tom, could you elaborate a bit more on what security scenario would cause the no script? Do they have js / vb script disabled in their browsers? Wouldnt the no script just open a page with a link to upgrade? MaTT On 1/6/06, Tom Rhodes [EMAIL PROTECTED] wrote: i just had a client refuse content in 8, because of their security settings rendering the nice smooth express install i had set up useless. they got the noscript instead. so now i'm redoing everything for player 6 (pain the the you know what) :( - Original Message - From: Martin Baltzer [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Friday, January 06, 2006 3:36 PM Subject: [Flashcoders] Bug in Macromedia's flash detection code wheninstalled player is either 6.0.22, 6.0.23 and 6.0.29 ? Hi, I'm having a serious detection issue with macromedias own flash detection code which you all probably know can be auto generated along with the html file under publish settings in the Flash8 editor or can be found in their detection kit which contains it as well. The problem is related to the activeX plugin detection more precisely inside the VBScript function below. When the shockwave object is created it asks for the version string: swVersion = swControl.GetVariable($version) and if any of the plugins above is installed it crashes with an error message saying an error happened in Flash player 6.0.xx.ocx. and the browser window shuts down. No errors with plugins lower or higher than that. Has anyone seen this before and knows what to do? Since I'm not the great VBScript shark I'm pretty stuck here and just detecting the clean version number is not enough when you need 6.0.65 to use the new auto install procesdure. !-- // Visual basic helper required to detect Flash Player ActiveX control version information Function VBGetSwfVer(i) on error resume next Dim swControl, swVersion swVersion = 0 set swControl = CreateObject(ShockwaveFlash.ShockwaveFlash. + CStr(i)) if (IsObject(swControl)) then swVersion = swControl.GetVariable($version) //Here it crashes end If VBGetSwfVer = swVersion End Function ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___
Re: [Flashcoders] XMLSocket + close()
Hi Jobe, I think that you're supposed to assume it worked. The only time you get the closed event is when its not intiated by the client. Bummer, then we have to assume that indeed! BTW, if you use ElectroServer, there is a close event fired through the ElectroServer class no matter what, client-initiated or server-initiated...or due to network problems. Thanks, I will have a look at it! Jobe Makar Weyert de Boer ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] String object utf-8?
Alan Queen wrote: Does anyone know this? When creating a new String object is the encoding alwasy utf-8 by default? If System.useCodepage is set to false then, yes, Flash uses Unicode. -- Michael Antares Klishin, Email: [EMAIL PROTECTED] Web: www.novemberain.com Non progredi est regredi ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Print line numbers for AS file
Dreamweaver MX printed out line numbers for ActionScript for me in the past. Haven't tried MX 2004 or 8 for printing yet; might want to check that out too. - Original Message - From: tech [EMAIL PROTECTED] To: 'Flashcoders mailing list' flashcoders@chattyfig.figleaf.com Sent: Tuesday, January 03, 2006 3:06 PM Subject: RE: [Flashcoders] Print line numbers for AS file I just tried SEPY. While it does print the line numbers, it doesn't print the syntax color coding. You think this simple feature would have been included in Flash 8. Oh well. I remember downloading an extension for HomeSite+ that enables color coding for Actionscript. I'll try that. Thanks for your help. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Weyert de Boer Sent: Tuesday, January 03, 2006 1:47 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] Print line numbers for AS file You could use a other dedicated actionscript editor such as SEPY editor ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] swf to windows screensaver tool
Hello, My customer want a flash screensaver , the flash part is done , its a flash8 little project that load datas (text and images) from an xml file. with some new flash8 fx Now i need to find a tool that convert the swf to a windows screensaver , the requirement of this tool is Flash 8 support and also very important possiblity to disable ALL keys to not be able to switch off the screensaver !!! because the only way in my case its a password field into the swf that can close the screensaver if the password is correct . i have a licence of ScreenWeaver 3, it can support flash8 with the flash8.ocx , you can also disable all keys !! the problem i have , its when it is a flash8 swf , the loadMovie() or even the Loader class, dont work , there is a bug , it work only the first time , after it dont load anymore the jpg's i really dont understand , if i render my fla in flash7 it work nice ! but i loose all fx of course ... someone can advise me another swf to screensaver tool ?? eventualy a free or opensource one ... if is not possible just a commercial one will be fine !! maybe someone have a solution for ScreenWeaver 3, about my problem loading JPG's with loadMovie or Loader ... Thank you /Yaniv ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Print line numbers for AS file
JesterXL wrote: Dreamweaver MX printed out line numbers for ActionScript for me in the past. Haven't tried MX 2004 or 8 for printing yet; might want to check that out too. Yep, otherwise my offer still stands... ;) ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
SV: [Flashcoders] REPOST Bug in Macromedia's flashdetectioncodewheninstalled player is either 6.0.22, 6.0.23 and 6.0.29 ?
I tried it on two different machines at work both pc's with windows XP and IE. No problems with the javascript detection in firefox only the vbscript one for the activeX one. I havent' change anything and the error occurs when I have installed on of the 3 player versions above (using Flash Plugin Switcher for this ) and goes through the Macromedia flash detection code on the html page. It seems like these 3 player versions somehow is incompatible with the following line in the VBScript swControl.GetVariable($version) When I comment it out the error stops but then I don't get the full version of course which I need. Cheers Martin Fra: [EMAIL PROTECTED] på vegne af Matt Muller Sendt: fr 06-01-2006 16:35 Til: Flashcoders mailing list Emne: Re: [Flashcoders] REPOST Bug in Macromedia's flashdetectioncodewheninstalled player is either 6.0.22,6.0.23 and 6.0.29 ? hmm, ive never experienced that martin, you have obviously tried it with different swfs and are sure VB is crashing your browser? It sounds to me like its the FP crashing ad ot the script, have you edited the standard output code at all? Have you tried it on different machines? What player are you upgrading from? MaTT On 1/6/06, Martin Baltzer [EMAIL PROTECTED] wrote: I would really appreciate that this tread is not taken over by another problem;-) Anyone knows of a solution to the first question? Thanks alot Martin Fra: [EMAIL PROTECTED] på vegne af Tom Rhodes Sendt: fr 06-01-2006 16:17 Til: Flashcoders mailing list Emne: Re: [Flashcoders] Bug in Macromedia's flash detectioncodewheninstalled player is either 6.0.22, 6.0.23 and 6.0.29 ? yup, their browser was set to not execute js/vb. and yes i'd set up a bit of text along the lines of, sorry, your settings are such that we cannot find out if you have the latest flash player, if you know you have 8 click here to view, if not click here to get it kind of thing... but the client just didn't like the idea of closing browsers, going to other sites etc. etc. all the stuff you've heard a million times. i hadn't heard it for a while though! shame, because, the express install thing is sweet in ie, with the redirection and everything it's very painless. not much you can do when they have their browser set up by a corporate IT security nazi ;) i suggested doing something server side to see if they had flash, but the express install requires r65 to work and AFAIK you can't get the player version with PHP. please someone tell me i'm wrong - Original Message - From: Matt Muller [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Friday, January 06, 2006 3:57 PM Subject: Re: [Flashcoders] Bug in Macromedia's flash detection codewheninstalled player is either 6.0.22, 6.0.23 and 6.0.29 ? Tom, could you elaborate a bit more on what security scenario would cause the no script? Do they have js / vb script disabled in their browsers? Wouldnt the no script just open a page with a link to upgrade? MaTT On 1/6/06, Tom Rhodes [EMAIL PROTECTED] wrote: i just had a client refuse content in 8, because of their security settings rendering the nice smooth express install i had set up useless. they got the noscript instead. so now i'm redoing everything for player 6 (pain the the you know what) :( - Original Message - From: Martin Baltzer [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Friday, January 06, 2006 3:36 PM Subject: [Flashcoders] Bug in Macromedia's flash detection code wheninstalled player is either 6.0.22, 6.0.23 and 6.0.29 ? Hi, I'm having a serious detection issue with macromedias own flash detection code which you all probably know can be auto generated along with the html file under publish settings in the Flash8 editor or can be found in their detection kit which contains it as well. The problem is related to the activeX plugin detection more precisely inside the VBScript function below. When the shockwave object is created it asks for the version string: swVersion = swControl.GetVariable($version) and if any of the plugins above is installed it crashes with an error message saying an error happened in Flash player 6.0.xx.ocx. and the browser window shuts down. No errors with plugins lower or higher than that. Has anyone seen this before and knows what to do? Since I'm not the great VBScript shark I'm pretty stuck here and just detecting the clean version number is not enough when you need 6.0.65 to use the new auto install procesdure. !-- // Visual basic helper required to detect Flash Player ActiveX control version information Function VBGetSwfVer(i) on error resume next Dim swControl, swVersion swVersion = 0 set swControl =
Re: [Flashcoders] XMLSocket + close()
Interesting observation Weyert. I always initiate the closing of my socket session through the protocol that I'm using and the server ends the connection. That obviously fires the onClose() event. I had assumed it did that too if the client does closes first, but I guess not. Anyway, thanks for the clarification. -Chris On 1/6/06, Weyert de Boer [EMAIL PROTECTED] wrote: Hi Jobe, I think that you're supposed to assume it worked. The only time you get the closed event is when its not intiated by the client. Bummer, then we have to assume that indeed! BTW, if you use ElectroServer, there is a close event fired through the ElectroServer class no matter what, client-initiated or server-initiated...or due to network problems. Thanks, I will have a look at it! Jobe Makar Weyert de Boer ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] XMLSocket + close()
I think that you're supposed to assume it worked. The only time you get the closed event is when its not intiated by the client. Exactly. When you issue the close method YOU are disconnecting from the server. There is no reason for the onClose event to be fired because you are causing the event. If you want to trigger an event, just dispatch the onClose yourself. Hmm, does anyone know a way to get a call to find if I got succesfully disconnected using the close()-method? I think what you are probably looking for is confirmation from the server that you were disconnected. The close method is the client shutting down the connection. There is no way to know if the server failed or not because ... well, you're disconnected :) Instead of calling close, send a message to the server to close the connection. That way you will receive the onClose because it will be the server that closes the connection. Derek Vadneau - Original Message - From: Chris Allen [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Friday, January 06, 2006 12:07 PM Subject: Re: [Flashcoders] XMLSocket + close() Interesting observation Weyert. I always initiate the closing of my socket session through the protocol that I'm using and the server ends the connection. That obviously fires the onClose() event. I had assumed it did that too if the client does closes first, but I guess not. Anyway, thanks for the clarification. -Chris On 1/6/06, Weyert de Boer [EMAIL PROTECTED] wrote: Hi Jobe, I think that you're supposed to assume it worked. The only time you get the closed event is when its not intiated by the client. Bummer, then we have to assume that indeed! BTW, if you use ElectroServer, there is a close event fired through the ElectroServer class no matter what, client-initiated or server-initiated...or due to network problems. Thanks, I will have a look at it! Jobe Makar Weyert de Boer ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] IE on mac documentation
Does anyone have any documentation for the flash plugin for IE on a mac or can they direct me to some? Thanks, Caleb -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.371 / Virus Database: 267.14.13/221 - Release Date: 1/4/2006 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] XMLSocket + close()
Chris Allen wrote: Interesting observation Weyert. I always initiate the closing of my socket session through the protocol that I'm using and the server ends the connection. That obviously fires the onClose() event. I had assumed it did that too if the client does closes first, but I guess not. Yeah, I can't believe it would be difficuilt to change the workings of the XMLSocket to get a event raised when the user succesfully disconnected itself. Maybe something for Flash 8.5 : Anyway then I would need to use Jobe or your solution. Not for this one. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] input text scrolls when pressing right arrow key
Are you specifying a width for this text field? I can't duplicate this on my machine (Mac G5), but I'm guessing it's because you're not setting a width and you also have autosize set to left. Changing either of those parameters should do the trick. Josh On Jan 6, 2006, at 5:19 AM, fla coder wrote: hi please try the following: create a TextField with properties similar to: txf.type = input; txf.autoSize = left; txf.multiline = false; txf.wordWrap = false; txf.text = test; run the movie and click inside the field. press the right cursor key until you reach the last character in the field. (the last 't' of 'text'). now, if you press the right cursor key again, the word scrolls to the left. my question is, is there any way to stop this behaviour? open to nasty, but processor friendly tricks if that is the only way... many thanks fla ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Directory for netdebug.as,recordset.as and related
We're still using AS 1.0 version of the remoting components but after upgrading to Flash 8, it complains that netdebug.as and the related files are missing. The Remoting Components for AS 1.0 and MX 2004 will not install on Flash 8, so my question is where do I need to manually copy those files to? Thanks! Brook ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] swf to windows screensaver tool
Yes , its set on Local file only and i load jpg's from the same directory it work for the first jpg ! its totaly strange !! , when i run the swf it work nice ! , when i try the screensaver generated with screenWeaver with flash8.ocx it load only the first jpg and that all ! after it dont load any jpg :( if i try to render my fla for flash7 player , it work nice into screenweaver (i choose the flash7.ocx) but i loose all my FX's (that only work with flash8) .. then its not a solution for me :( On 06 Jan 2006, at 17:55, Thimon Sistermans [Us Media] wrote: Hi, did you try shift/F12 (publish settings) local playback security? thimon - Original Message - From: Yaniv De Ridder [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Friday, January 06, 2006 5:46 PM Subject: [Flashcoders] swf to windows screensaver tool Hello, My customer want a flash screensaver , the flash part is done , its a flash8 little project that load datas (text and images) from an xml file. with some new flash8 fx Now i need to find a tool that convert the swf to a windows screensaver , the requirement of this tool is Flash 8 support and also very important possiblity to disable ALL keys to not be able to switch off the screensaver !!! because the only way in my case its a password field into the swf that can close the screensaver if the password is correct . i have a licence of ScreenWeaver 3, it can support flash8 with the flash8.ocx , you can also disable all keys !! the problem i have , its when it is a flash8 swf , the loadMovie() or even the Loader class, dont work , there is a bug , it work only the first time , after it dont load anymore the jpg's i really dont understand , if i render my fla in flash7 it work nice ! but i loose all fx of course ... someone can advise me another swf to screensaver tool ?? eventualy a free or opensource one ... if is not possible just a commercial one will be fine !! maybe someone have a solution for ScreenWeaver 3, about my problem loading JPG's with loadMovie or Loader ... Thank you /Yaniv ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders __ NOD32 1.1355 (20060106) Information __ This message was checked by NOD32 antivirus system. http://www.eset.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] input text scrolls when pressing right arrow key
many thanks to everyone! josh, i need to have autosize set. but.. somehow i get the feeling mr chotin has the solution right there. will try it as soon as i get home. much obliged! On 06/01/06, Josh Gormley [EMAIL PROTECTED] wrote: Are you specifying a width for this text field? I can't duplicate this on my machine (Mac G5), but I'm guessing it's because you're not setting a width and you also have autosize set to left. Changing either of those parameters should do the trick. Josh On Jan 6, 2006, at 5:19 AM, fla coder wrote: hi please try the following: create a TextField with properties similar to: txf.type = input; txf.autoSize = left; txf.multiline = false; txf.wordWrap = false; txf.text = test; run the movie and click inside the field. press the right cursor key until you reach the last character in the field. (the last 't' of 'text'). now, if you press the right cursor key again, the word scrolls to the left. my question is, is there any way to stop this behaviour? open to nasty, but processor friendly tricks if that is the only way... many thanks fla ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Windows media player embed in div over flash movie ?
I am about to convert a tight comp to a flash movie, the comp is here : http://www.tribalchicken.com/clients/intentmedia/comps/set2/s2pay/2.html I'm trying to decide if I should break the thing into 3 swfs in 3 divs and then have the movie player embed in its own div, or if I can do 1 flash movie and then 'float' the windows media player embed over the top of the flash movie. I only need to support IE 5.5 or above. Will the 2nd approach work and does anyone have an example I can look at ? I can figure it out but I don't have much budget for prototyping. Cheers, Grant ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Fwd: [Flashcoders] input text scrolls when pressing right arrow key
oops, seems like i'm getting mixed up between lists. here is mike chotin's suggestion ala flexcoders: Matt Chotin[EMAIL PROTECTED] to flexcoders Hide options 17:38 (28 minutes ago) From: *Matt Chotin [EMAIL PROTECTED]* Mailed-By: *returns.groups.yahoo.com* Reply-To: * [EMAIL PROTECTED] To: [EMAIL PROTECTED] Date: *06-Jan-2006 17:38* Subject: *RE: [flexcoders] input text scrolls when pressing right arrow key* Reply | Reply to all | Forward | Print | Add sender to Contacts list | Delete this message | Report phishing | Show original Try setting the maxhscroll. Matt -- Forwarded message -- From: fla coder [EMAIL PROTECTED] Date: 06-Jan-2006 18:01 Subject: Re: [Flashcoders] input text scrolls when pressing right arrow key To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com many thanks to everyone! josh, i need to have autosize set. but.. somehow i get the feeling mr chotin has the solution right there. will try it as soon as i get home. much obliged! On 06/01/06, Josh Gormley [EMAIL PROTECTED] wrote: Are you specifying a width for this text field? I can't duplicate this on my machine (Mac G5), but I'm guessing it's because you're not setting a width and you also have autosize set to left. Changing either of those parameters should do the trick. Josh On Jan 6, 2006, at 5:19 AM, fla coder wrote: hi please try the following: create a TextField with properties similar to: txf.type = input; txf.autoSize = left; txf.multiline = false; txf.wordWrap = false; txf.text = test; run the movie and click inside the field. press the right cursor key until you reach the last character in the field. (the last 't' of 'text'). now, if you press the right cursor key again, the word scrolls to the left. my question is, is there any way to stop this behaviour? open to nasty, but processor friendly tricks if that is the only way... many thanks fla ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] PrintJob Class - nested MC's and some wierdo print skewing
I have the following var pageCount:Number = 0; var my_pj:PrintJob = new PrintJob(); if (my_pj.start()) { my_pj.addPage(target_mc, xMin:0,xMax:700,yMin:0,yMax:500}, {printAsBitmap:true}, 1); } if (pageCount 0) { my_pj.send(); } delete my_pj; The print job created ok. However I have a problem when it actually print - the target_mc actually has 2 nested clips inside it. The print out comes out completely skewed by about 30-40 degrees, and half the graphic is inverted. There is also NO color. I've tried 3 printers, and they all do the same. If I passed a target clip which DOESN'T have a nested clip (ie target_mc.someclip_mc) it all prints fine. Any one shed any light on my frustrations. Pete ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] input text scrolls when pressing right arrow key
matt not mike. sorry! time to go home... ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Attaching the same Clip with differing widths along the X axis
I was wondering if anyone knew of a way or even the best way to go about attaching a single movieClip multiple times along the x axis when the actual width of the clip is determined my the content that it loads. In this case I am just trying to serve up a number of buttons that look like tabs. The clip being attached handles the creation of a text field, loading and formatting its text (or label) then drawing up the graphic which makes it look lie a tab. I would like to attach them all at once using a loop and the main problem I encountered is getting flash to instantiate and recognize the previously loaded clip on the stage so that its x position and width can be determined before the loop recommences. I tried something like if (tabArray.length != 0) { var i:Number = 0; var clipPositioner:Number; var previouslyLoadedClip:MovieClip; while (i tabArray.length) { var tabName = TabBtn + i; var level = i + 1; if (tabName == TabBtn0) { previouslyLoadedClip = tabName; } else { previouslyLoadedClip = tabName.substring(0, 5) + (i-1); clipPositioner = [previouslyLoadedClip]_x + [previouslyLoadedClip]_width + 1; this.attachMovie(TabBtn_mc, tabName , level, { _x: clipPositioner }); updateAfterEvent(); // THIS DOESN'T WORK - NEITHER DOES : onClipEvent(load) { i++ } i++; } } I understand why the updateAfterEvent() and onClipEvent(load) methods don't work within the context above, but I am still uncertain how would be the best way to go about accomplishing this. I would appreciate it if someone could point me in the right direction. Thanks Dennis ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Files in directory?
Is there anyway for flash to find out how many files exist within a specific directory? Thanks ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] Files in directory?
http://www.multidmedia.com/software/zinc/ Jason Merrill | E-Learning Solutions | icfconsulting.com -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Mike Boutin Sent: Friday, January 06, 2006 2:14 PM To: Flashcoders mailing list Subject: [Flashcoders] Files in directory? Is there anyway for flash to find out how many files exist within a specific directory? Thanks ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders NOTICE: This message is for the designated recipient only and may contain privileged or confidential information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of this e-mail by you is prohibited. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Attaching the same Clip with differing widths along the X axis
I use the ActionScript Cookbook containers for this. They're very good at automatically arranging things in rows/columns. http://www.person13.com/ascblibrary/ something like this: import ascb.containers.Box; box = new Box(); box.parent = _root.myClip; box.direction = horizontal; box.spacing = 4; for(var i;i10;i++){ box.addElement(symbolID,{myText:TabName,initData:myData}); } Handles spacing, attachMovie, spacing, etc. Very handy dandy class. If you're changing the widths of them dynamically, you can re-arrange them by calling box.arrange() I believe. HTH, Chris Dennis Hart wrote: I was wondering if anyone knew of a way or even the best way to go about attaching a single movieClip multiple times along the x axis when the actual width of the clip is determined my the content that it loads. In this case I am just trying to serve up a number of buttons that look like tabs. The clip being attached handles the creation of a text field, loading and formatting its text (or label) then drawing up the graphic which makes it look lie a tab. I would like to attach them all at once using a loop and the main problem I encountered is getting flash to instantiate and recognize the previously loaded clip on the stage so that its x position and width can be determined before the loop recommences. I tried something like if (tabArray.length != 0) { var i:Number = 0; var clipPositioner:Number; var previouslyLoadedClip:MovieClip; while (i tabArray.length) { var tabName = TabBtn + i; var level = i + 1; if (tabName == TabBtn0) { previouslyLoadedClip = tabName; } else { previouslyLoadedClip = tabName.substring(0, 5) + (i-1); clipPositioner = [previouslyLoadedClip]_x + [previouslyLoadedClip]_width + 1; this.attachMovie(TabBtn_mc, tabName , level, { _x: clipPositioner }); updateAfterEvent(); // THIS DOESN'T WORK - NEITHER DOES : onClipEvent(load) { i++ } i++; } } I understand why the updateAfterEvent() and onClipEvent(load) methods don't work within the context above, but I am still uncertain how would be the best way to go about accomplishing this. I would appreciate it if someone could point me in the right direction. Thanks Dennis ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- _ __ __ | | \/ ___\ Chris Hill | | / /_/ [EMAIL PROTECTED] |/\___ / http://ubergeek.tv /_/ The Smell of Geek! - ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] Attaching the same Clip with differing widths alongthe X axis
You can also try NOT grabbing the XY values of the actual clips - you could create a function that calculates and pre-populates an array of widths, spacings, and XY values so you are independent on the loading. Then position the clips once they are loaded. Jason Merrill | E-Learning Solutions | icfconsulting.com -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Chris Hill Sent: Friday, January 06, 2006 2:25 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] Attaching the same Clip with differing widths alongthe X axis I use the ActionScript Cookbook containers for this. They're very good at automatically arranging things in rows/columns. http://www.person13.com/ascblibrary/ something like this: import ascb.containers.Box; box = new Box(); box.parent = _root.myClip; box.direction = horizontal; box.spacing = 4; for(var i;i10;i++){ box.addElement(symbolID,{myText:TabName,initData:myData}); } Handles spacing, attachMovie, spacing, etc. Very handy dandy class. If you're changing the widths of them dynamically, you can re-arrange them by calling box.arrange() I believe. HTH, Chris Dennis Hart wrote: I was wondering if anyone knew of a way or even the best way to go about attaching a single movieClip multiple times along the x axis when the actual width of the clip is determined my the content that it loads. In this case I am just trying to serve up a number of buttons that look like tabs. The clip being attached handles the creation of a text field, loading and formatting its text (or label) then drawing up the graphic which makes it look lie a tab. I would like to attach them all at once using a loop and the main problem I encountered is getting flash to instantiate and recognize the previously loaded clip on the stage so that its x position and width can be determined before the loop recommences. I tried something like if (tabArray.length != 0) { var i:Number = 0; var clipPositioner:Number; var previouslyLoadedClip:MovieClip; while (i tabArray.length) { var tabName = TabBtn + i; var level = i + 1; if (tabName == TabBtn0) { previouslyLoadedClip = tabName; } else { previouslyLoadedClip = tabName.substring(0, 5) + (i-1); clipPositioner = [previouslyLoadedClip]_x + [previouslyLoadedClip]_width + 1; this.attachMovie(TabBtn_mc, tabName , level, { _x: clipPositioner }); updateAfterEvent(); // THIS DOESN'T WORK - NEITHER DOES : onClipEvent(load) { i++ } i++; } } I understand why the updateAfterEvent() and onClipEvent(load) methods don't work within the context above, but I am still uncertain how would be the best way to go about accomplishing this. I would appreciate it if someone could point me in the right direction. Thanks Dennis ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- _ __ __ | | \/ ___\ Chris Hill | | / /_/ [EMAIL PROTECTED] |/\___ / http://ubergeek.tv /_/ The Smell of Geek! - ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders NOTICE: This message is for the designated recipient only and may contain privileged or confidential information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of this e-mail by you is prohibited. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] IE on mac documentation
Caleb E. Brown wrote: Does anyone have any documentation for the flash plugin for IE on a mac or can they direct me to some? I'm not sure what you're seeking, but Microsoft Internet Explorer for Macintosh did use Netscape Plugins, so it seems like web searches on netscape plugins would talk about the architecture, internet explorer macintosh would turn up documentation about how that browser uses plugins, searching the Macromedia technotes with term internet explorer macintosh would turn up anything specific we've seen. Anything specific you're looking for...? jd -- John Dowdell . Adobe Developer Support . San Francisco CA USA Weblog: http://weblogs.macromedia.com/jd Aggregator: http://weblogs.macromedia.com/mxna Technotes: http://www.macromedia.com/support/ Spam killed my private email -- public record is best, thanks. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Files in directory?
Alternatively, if you're looking in a directory on a server, code up something in a server-side language - PHP or whatever - to do the file count, and have flash request the result. HTH, Ian On 1/6/06, Merrill, Jason [EMAIL PROTECTED] wrote: http://www.multidmedia.com/software/zinc/ ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Files in directory?
Ok thanks, I think ill give'er a try with php :) Ian Thomas wrote: Alternatively, if you're looking in a directory on a server, code up something in a server-side language - PHP or whatever - to do the file count, and have flash request the result. HTH, Ian On 1/6/06, Merrill, Jason [EMAIL PROTECTED] wrote: http://www.multidmedia.com/software/zinc/ ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Massive XML files and Flash
Xpath looks pretty sweet, anyone used it for simillar data sizes? XPath won't help with the initial load and parse. What you're going to get is a long pause with your processor usage at 100% while the XML object parses the string. The more records/larger the file, the longer the pause. XPath also adds some overhead, which may be minimal, but with the amount of data you're talking about, it could quickly become significant. Besides, I'm not fooling with any 3rd party workarounds, not with E4X on the way. From the Adobemedia flex2 FAQ: http://www.macromedia.com/software/flex/productinfo/faq/flex2_faq.html - What new features will Flash Player 8.5 introduce for application developers? Flash Player 8.5 delivers a number of features that contribute to developer productivity, including a new, more powerful version of the ActionScript programming language, improved runtime errors that help in debugging, and ***native support for ECMAScript for XML (E4X) and regular expressions***. Flash Player 8.5 also delivers significant improvements in performance and a reduced memory footprint, enabling more responsive user interfaces. - Here's an IBM article on E4X: http://www-128.ibm.com/developerworks/library/ws-ajax1/ RegEx + E4X means insanely fast custom parsing and conversion, plus insanely fast searches and filters for XML. The need for XPath is about to be a thing of the past (whenever they get around to releasing 8.5, that is). ryanm ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] Massive XML files and Flash
Besides, I'm not fooling with any 3rd party workarounds, not with E4X on the way. From the Adobemedia flex2 FAQ: Yeah, not to be a downer, but AS 3 is going to require the 8.5 or 9 player, so that's only good if your audience has it... I've been excited about Flex 2, but the excitement is tempered by the fact that even if it comes out this spring, I won't be using it for real projects at least another 18-24 months. Jason Merrill | E-Learning Solutions | icfconsulting.com NOTICE: This message is for the designated recipient only and may contain privileged or confidential information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of this e-mail by you is prohibited. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Any good 3rd party penetration numbers for v8 yet?
Does anyone have any references to 3rd party Flash 8 player penetration numbers? I have some execs asking me if it's safe to use v8 yet, and they're looking for numbers in the 70%-80% range. Of course they'll doubt numbers from Adobemedia, so 3rd party numbers would be better. ryanm ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Files in directory?
here's a sample from the php docs: ?php if ($handle = opendir('.')) { while (false !== ($file = readdir($handle))) { if ($file != . $file != ..) { echo $file\n; } } closedir($handle); } ? you could just modify that to return the number instead of echoing a string. http://us3.php.net/manual/en/function.readdir.php On 1/6/06, Mike Boutin [EMAIL PROTECTED] wrote: Ok thanks, I think ill give'er a try with php :) Ian Thomas wrote: Alternatively, if you're looking in a directory on a server, code up something in a server-side language - PHP or whatever - to do the file count, and have flash request the result. HTH, Ian On 1/6/06, Merrill, Jason [EMAIL PROTECTED] wrote: http://www.multidmedia.com/software/zinc/ ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Massive XML files and Flash
Besides, I'm not fooling with any 3rd party workarounds, not with E4X on the way. this has been around for ages...add to this that e4x is currently in alpha and slow, and the fact that xpath is a w3c spec and even macromedia implement a much thinner version of this in F7 then this statement sounds a bit absurd you will find xpath is very slow on large data sets, and writng certain types of queries make it even slower. i would really consider using a differant format (excel can export cvs, you can parse that much much faster). we tend to use xpath everywhere, check where the bottlenecks are and rewrite those parsing routines using node.firstSibling type access where needed. -- j:pn ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] IE on mac documentation
Well, I know that there hasn't been support for IE on the mac for some time, and I'm trying to find out if there are any known differences between the video/audio quality in the plugin for IE and the safari/netscape plugin since IE's been out for such a long time without any kind of updates. I'm not really sure as to what extent IE plays in the plugin compared to what MM/Adobe plays. I'll check out the MM technotes. I never knew that IE used the netscape plugin on the macintosh. That's interesting. Thanks Caleb -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of John Dowdell Sent: Friday, January 06, 2006 2:47 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] IE on mac documentation Caleb E. Brown wrote: Does anyone have any documentation for the flash plugin for IE on a mac or can they direct me to some? I'm not sure what you're seeking, but Microsoft Internet Explorer for Macintosh did use Netscape Plugins, so it seems like web searches on netscape plugins would talk about the architecture, internet explorer macintosh would turn up documentation about how that browser uses plugins, searching the Macromedia technotes with term internet explorer macintosh would turn up anything specific we've seen. Anything specific you're looking for...? jd -- John Dowdell . Adobe Developer Support . San Francisco CA USA Weblog: http://weblogs.macromedia.com/jd Aggregator: http://weblogs.macromedia.com/mxna Technotes: http://www.macromedia.com/support/ Spam killed my private email -- public record is best, thanks. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.371 / Virus Database: 267.14.13/221 - Release Date: 1/4/2006 -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.371 / Virus Database: 267.14.13/221 - Release Date: 1/4/2006 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Any good 3rd party penetration numbers for v8 yet?
I dont have any numbers, but have you thought about using the express install feature? then maybe you wouldnt have to wait for the penetration numbers. On 1/6/06, ryanm [EMAIL PROTECTED] wrote: Does anyone have any references to 3rd party Flash 8 player penetration numbers? I have some execs asking me if it's safe to use v8 yet, and they're looking for numbers in the 70%-80% range. Of course they'll doubt numbers from Adobemedia, so 3rd party numbers would be better. ryanm ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Any good 3rd party penetration numbers for v8 yet?
I dont have any numbers, but have you thought about using the express install feature? then maybe you wouldnt have to wait for the penetration numbers. Heh... did I mention that these are executives that are asking? They don't want to make anyone click yes, they just want it to work. Given that attitude by many companies, it's pretty amazing that Flash gets as much penetration as they do. Apparently people play a lot of games and look at a lot of independant sites, and the corporate penetration is just a useful side effect. ryanm ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Massive XML files and Flash
Yeah, not to be a downer, but AS 3 is going to require the 8.5 or 9 player, so that's only good if your audience has it... I've been excited about Flex 2, but the excitement is tempered by the fact that even if it comes out this spring, I won't be using it for real projects at least another 18-24 months. Yeah, but for web-based projects I'll be using the server for what it's good at and forget about parsing that much data. Bringing the whole database to the client doesn't work well anyway. For stand alones, I'll get to determine the player version, and that's where I'll end up needing E4X and RegEx, not just for the convenience, but out of necessity. ryanm ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Massive XML files and Flash
xpath has been around for a while On 1/6/06, ryanm [EMAIL PROTECTED] wrote: this has been around for ages...add to this that e4x is currently in alpha and slow, and the fact that xpath is a w3c spec and even macromedia implement a much thinner version of this in F7 then this statement sounds a bit absurd Uhhh... what? Yes, the E4X spec has been around a while, but is poorly implemented, at best, in most platforms. There was never any E4X in any version of Flash before, and the implementation in Flex 2 is pretty good. Native E4X and RegEx are both beautiful things. you will find xpath is very slow on large data sets, and writng certain types of queries make it even slower. i would really consider using a differant format (excel can export cvs, you can parse that much much faster). we tend to use xpath everywhere, check where the bottlenecks are and rewrite those parsing routines using node.firstSibling type access where needed. Which is essentially what I said in the first place... ryanm ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- j:pn ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] IE on mac documentation
Caleb E. Brown wrote: I'm trying to find out if there are any known differences between the video/audio quality in the plugin for IE and the safari/netscape plugin Hmm, for Will SWF a/v play comparably across browsers? then it usually will, but there can definitely be situations where something weird happens... for awhile Firefox/Mac would interfere with normal SWF performance, for instance: http://weblogs.macromedia.com/emmy/archives/2005/11/firefox_15_avai.cfm But assuming the browsers have the same amount of memory available, the same amount of windows open, the same number of background tasks going on and so on, then they're generally pretty close in supporting audio/video... small differences, for sure, but rarely controversial differences. Are you seeing any particular problem yourself? If so, is there some way that other people could make it happen too? jd -- John Dowdell . Adobe Developer Support . San Francisco CA USA Weblog: http://weblogs.macromedia.com/jd Aggregator: http://weblogs.macromedia.com/mxna Technotes: http://www.macromedia.com/support/ Spam killed my private email -- public record is best, thanks. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Any good 3rd party penetration numbers for v8 yet?
ryanm wrote: Does anyone have any references to 3rd party Flash 8 player penetration numbers? I have some execs asking me if it's safe to use v8 yet, and they're looking for numbers in the 70%-80% range. Of course they'll doubt numbers from Adobemedia, so 3rd party numbers would be better. Well, FP8 is safe to use, or else sites wouldn't be using it, but I'd be surprised if it was up above 70% general consumer viewability yet... in the past it has taken about twelve months to hit 80% on the quarterly NPD consumer audits, and FP8 went public in Sept05. The most recent NPD audit was performed mid-December, and so I'd expect results up on the website pretty soon. I've seen scattered data about significantly higher download requests this version, and we're now tracking successful completed installations (via a server ping at plugin startup), at a rate of 4-5 million a day, but I haven't seen any type of stats published yet, just scattered exec comments in various interviews. (I wish there was a way to search markup on the web, so we could look for that CLSID/CODEBASE line and build a profile of which sites have already moved up, but I haven't been able to find a way to search WWW markup yet...?) I know the situation looks real good, even though I'm not quite sure of the details yet myself, if that vague corroboration is of any use when you talk with your own folks there ;-) jd -- John Dowdell . Adobe Developer Support . San Francisco CA USA Weblog: http://weblogs.macromedia.com/jd Aggregator: http://weblogs.macromedia.com/mxna Technotes: http://www.macromedia.com/support/ Spam killed my private email -- public record is best, thanks. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Any good 3rd party penetration numbers for v8 yet?
The most recent NPD audit was performed mid-December, and so I'd expect results up on the website pretty soon. Be sure to announce when you have solid numbers available, because I can use them not only for my day job, but also for lots of contracts. A lot of people are still nervous about v8 being new (not that 4 months old is new in this industry), and are afraid of extra dialogs and whatnot, so I get stuck back in v7 even though I can demonstrate that their app/site would perform substantially better compiled for 8. ryanm ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Massive XML files and Flash
xpath has been around for a while XPath != *native* E4X XPath only bears a passing resemblence to E4X, and is nothing like it in terms of performance. You should check out http://labs.macromedia.com and download the Flex2 alpha. ryanm ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] recommended books on XML in Flash
Hi, Just a note that you can download the Learning ActionScript 2.0 for Macromedia Flash 8 as PDF from MM's site. Although, I myself prefer to buy a hard copy if it's good. Link is here: http://download.macromedia.com/pub/documentation/en/flash/fl8/fl8_learning_as2.zip /Johan On 1/5/06, Ben Deroo [EMAIL PROTECTED] wrote: thanks for the book suggestions, I ended up ordering a couple of books: Foundation PHP 5 for Flash Foundation ASP.NET for Flash Foundation XML for Flash Learning ActionScript 2.0 for Macromedia Flash 8 Using ActionScript 2.0 Components with Macromedia Flash 8 should keep me busy for a while :-) Ben -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ryan Potter Sent: dinsdag 3 januari 2006 21:49 To: Flashcoders mailing list Subject: RE: [Flashcoders] recommended books on XML in Flash Can I third that? Not to be mean, but I saw them speak at flash forward and Joey Lott had to keep answering questions they didn't know. He (Joey) was really nice about it, but it was ugly. I would start in the docs and here: http://www.actionscript.org/tutorials.shtml http://www.oreilly.com/catalog/actscptckbk/index.html?CMP=IL7015 http://www.oreilly.com/catalog/actscript2/ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mark Lapasa Sent: Tuesday, January 03, 2006 1:14 PM To: Flashcoders mailing list Subject: RE: [Flashcoders] recommended books on XML in Flash I heartily second this notion. Don't the get Jacobsen and Jacobsen book for all the same reasons. I just happened to gain a better insight from Flash's docs than the book. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Merrill, Jason Sent: Tuesday, January 03, 2006 11:14 AM To: Flashcoders mailing list Subject: RE: [Flashcoders] recommended books on XML in Flash Whatever you do, don't buy Flash and XML: A Developers Guide by Dov Jacobsen and Jesse Jacobsen - Addison-Wesley Press - besides being Flash 5, the book sucks. You get the impression these guys are much more into XML than Flash. If they even use Flash at all in their professional lives. Apologies in advance if you're on thist list and one of the authors. There's some good stuff in it, but for someone new to Flash or doing basic stuff, it's not the book for you. But even the advanced stuff lacks depth though. Jason Merrill | E-Learning Solutions | icfconsulting.com -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Ben Deroo Sent: Saturday, December 31, 2005 4:29 PM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] recommended books on XML in Flash Hi, The title says it all I guess. Are there any good books out there on the subject of Flash 8 and XML? I found one called XML in Flash from Que publications, but as far as I can tell it is for Flash 5 and was written in 2001. Is that still current? I am assuming not. What books should I read when just getting into this subject, again, using Flash 8 or Flash MX2004? Thanks for your help, Ben ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders NOTICE: This message is for the designated recipient only and may contain privileged or confidential information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of this e-mail by you is prohibited. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Increasing DisplacementMapFilter Precision
It's a shame that the displacement map only allots one byte each for its x and y components when there are four bytes available. We can use images up to 2880 pixels high or wide, but applying displacement maps to big ones gives messy results. I'm wondering if there is some way to compose or chain displacement maps to get more precision. Failing that, maybe Adobe could make two bytes available for x and y in future... -A ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] site carching when loading a particular xml file
got a wierd problem. this site we built, www.catherineledner.com, is crashing when we load a particular xml file into it, but only in firefox, and only on mac. If you check out the site, go to the tears section, and you browser will probably crash. We are actually loading a different xml file for each section, this is the only issue we are having...seems wierd that it's so isolated (one section on ff on mac). Anyone have any ideas? oh yeah the xml file is http://catherineledner.com/tears_data_xml.php if you want to give that look. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Massive XML files and Flash
RegEx + E4X means insanely fast custom parsing and conversion, plus insanely fast searches and filters for XML. The need for XPath is about to be a thing of the past (whenever they get around to releasing 8.5, that is). I did some benchmarks comparing fp8 XML vs fp8.5 flash.xml.XML vs fp8.5 E4X (recursive traversal of an xml document) where the fp8.5 version turned out to be 20x faster than it's fp8 counterpart while the E4X version was only twice as fast. I also did benchmarks comparing RegExp vs char-by-char parsing on my CSS parser and char-by-char appeared to be faster. Now these may not be common cases, but they show that there is no such thing as an ultimate way to do things. If i need comfort and ease of use i'd go for E4X or RegExp, if i need speed i do it the oldschool way, and if i need to be less language dependent and don't care much about speed i stick with XPath. In fact i'd love to see a solid XPath processor written in AS3. cheers, claus. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] site carching when loading a particular xml file
Hi Rich, The text isn't really readable here, maybe it's because I am too tired but it's a bit bad quality imho. No big thing, maybe better anti aliasing or is it by design? Anyway I am experiencing the same issue in Firefox on MacOSX 10.4.3. Did you try it in Firefox 1.5? oh yeah the xml file is http://catherineledner.com/tears_data_xml.php if you want to give that look. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] site carching when loading a particular xml file
which text isnt readable..the xml? yeah its not formatted to well. i've been copying the source into dreamweaver and doing a command-apply source formatting to read it. anyway, yeah i did try it in firefox 1.5 and its the same issue. On 1/6/06, Weyert de Boer [EMAIL PROTECTED] wrote: Hi Rich, The text isn't really readable here, maybe it's because I am too tired but it's a bit bad quality imho. No big thing, maybe better anti aliasing or is it by design? Anyway I am experiencing the same issue in Firefox on MacOSX 10.4.3. Did you try it in Firefox 1.5? oh yeah the xml file is http://catherineledner.com/tears_data_xml.php if you want to give that look. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Windows media player embed in div over flash movie ?
ended up testing it, seems to work (internet explorer only right now as I haven't done the embed tag): http://bluetubecom.web123.discountasp.net/clients/imw/mediatest/test.html Grant. - Original Message - From: [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Sent: 1/6/06 1:06 PM Subject: [Flashcoders] Windows media player embed in div over flash movie ? I am about to convert a tight comp to a flash movie, the comp is here : http://www.tribalchicken.com/clients/intentmedia/comps/set2/s2pay/2.html I'm trying to decide if I should break the thing into 3 swfs in 3 divs and then have the movie player embed in its own div, or if I can do 1 flash movie and then 'float' the windows media player embed over the top of the flash movie. I only need to support IE 5.5 or above. Will the 2nd approach work and does anyone have an example I can look at ? I can figure it out but I don't have much budget for prototyping. Cheers, Grant ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Massive XML files and Flash
Clarke, It will take you same amount of time to learn(database) and implement a server side solution to your problem then to go with handling all xml in Actionscript.x. If you go with the 100% ActionScript solution then you will get: 1. low Scalability 2. low Stability 3. high maintenance 4. bad user experience (sluggish, 100% cpu,..) Server side solution will go long way. On 1/6/06, Claus Wahlers [EMAIL PROTECTED] wrote: ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Massive XML files and Flash
Have you tried to work with your data across three xml files with xsl? Using xsl with a server side scripting language, you could get that data in the format you need before loading it with the AS XML() object. Then, thanks to Flash, you can use the native XPath() object to select elements and their attributes for use in your production. Regards, Derek Lords From: Jonathan Clarke [EMAIL PROTECTED] Reply-To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] Massive XML files and Flash Date: Thu, 5 Jan 2006 23:17:42 -0400 Thanks Jester, but databases are not my forte, to do it quickly I'd like to just use ActionScript only. Is there anyway I can just load specific sections of the XML or do I have to load the whole file into memory? On 05/01/06, JesterXL [EMAIL PROTECTED] wrote: Does it have to stay in that format? Meaning, can you convert it and throw it into a database? Paging is still an effective methodology, and if you can throw it in a database, you can then do what Flash does best and load what you need on the fly. - Original Message - From: Jonathan Clarke [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Thursday, January 05, 2006 7:21 PM Subject: [Flashcoders] Massive XML files and Flash Hi, I find myself in a situation where I need to build a tool to analyse lots of xml data. Thousands of records containing a lot of strings as well as numericals. I'm sure there are lots of more suitable applications and languages, but I the only one I know is Actionscript. Luckily, I know it very well and am more than confident at parsing XML; however, I've never delt with data on this scale before. So, I'm interested to know if anyone has any experience of dealing with this sort of build, and whether it is feasible to expect Flash to handle it. More on the data: I need to cross-reference and check data accross 3 xml files. They are all big, but the biggest, by way of an example in Excel form, has 25,000 records each with around 30 fields, often very string heavy. Any tips would be greatly appreciated? -- Jonathan Clarke 1976 Ltd http://19seventysix.co.uk e: [EMAIL PROTECTED] m (UK): +44 773 646 1954 m (Barbados): +1246 259 9475 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- Jonathan Clarke 1976 Ltd http://19seventysix.co.uk e: [EMAIL PROTECTED] m (UK): +44 773 646 1954 m (Barbados): +1246 259 9475 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] Massive XML files and Flash
Notice Flash 8 includes Xpath as a native, check livedocs or your help documentation for details. But the XPath tool from xfactorstudio is an old standby. Regards, Derek Lords From: Steve Lloyd [EMAIL PROTECTED] Reply-To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com To: 'Flashcoders mailing list' flashcoders@chattyfig.figleaf.com Subject: RE: [Flashcoders] Massive XML files and Flash Date: Fri, 6 Jan 2006 11:37:52 +0800 XPath. Beautiful! I've been looking for something like that! Thanks, will give it a shot! -Steve -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Andy Johnston Sent: Friday, 6 January 2006 11:23 AM To: Flashcoders mailing list Subject: Re: [Flashcoders] Massive XML files and Flash I've found this as version of xpath very very handy.. easy to implement and use also.. http://www.xfactorstudio.com/ActionScript/AS2/XPath/ Thanks Jester, but databases are not my forte, to do it quickly I'd like to just use ActionScript only. Is there anyway I can just load specific sections of the XML or do I have to load the whole file into memory? On 05/01/06, JesterXL [EMAIL PROTECTED] wrote: Does it have to stay in that format? Meaning, can you convert it and throw it into a database? Paging is still an effective methodology, and if you can throw it in a database, you can then do what Flash does best and load what you need on the fly. - Original Message - From: Jonathan Clarke [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Thursday, January 05, 2006 7:21 PM Subject: [Flashcoders] Massive XML files and Flash Hi, I find myself in a situation where I need to build a tool to analyse lots of xml data. Thousands of records containing a lot of strings as well as numericals. I'm sure there are lots of more suitable applications and languages, but I the only one I know is Actionscript. Luckily, I know it very well and am more than confident at parsing XML; however, I've never delt with data on this scale before. So, I'm interested to know if anyone has any experience of dealing with this sort of build, and whether it is feasible to expect Flash to handle it. More on the data: I need to cross-reference and check data accross 3 xml files. They are all big, but the biggest, by way of an example in Excel form, has 25,000 records each with around 30 fields, often very string heavy. Any tips would be greatly appreciated? -- Jonathan Clarke 1976 Ltd http://19seventysix.co.uk e: [EMAIL PROTECTED] m (UK): +44 773 646 1954 m (Barbados): +1246 259 9475 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- Jonathan Clarke 1976 Ltd http://19seventysix.co.uk e: [EMAIL PROTECTED] m (UK): +44 773 646 1954 m (Barbados): +1246 259 9475 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] recommended books on XML in Flash
Thanks, that will surely come in handy at some point! Regards, DereK Lords From: Johan Lopes [EMAIL PROTECTED] Reply-To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] recommended books on XML in Flash Date: Fri, 6 Jan 2006 22:32:46 + Hi, Just a note that you can download the Learning ActionScript 2.0 for Macromedia Flash 8 as PDF from MM's site. Although, I myself prefer to buy a hard copy if it's good. Link is here: http://download.macromedia.com/pub/documentation/en/flash/fl8/fl8_learning_as2.zip /Johan On 1/5/06, Ben Deroo [EMAIL PROTECTED] wrote: thanks for the book suggestions, I ended up ordering a couple of books: Foundation PHP 5 for Flash Foundation ASP.NET for Flash Foundation XML for Flash Learning ActionScript 2.0 for Macromedia Flash 8 Using ActionScript 2.0 Components with Macromedia Flash 8 should keep me busy for a while :-) Ben -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ryan Potter Sent: dinsdag 3 januari 2006 21:49 To: Flashcoders mailing list Subject: RE: [Flashcoders] recommended books on XML in Flash Can I third that? Not to be mean, but I saw them speak at flash forward and Joey Lott had to keep answering questions they didn't know. He (Joey) was really nice about it, but it was ugly. I would start in the docs and here: http://www.actionscript.org/tutorials.shtml http://www.oreilly.com/catalog/actscptckbk/index.html?CMP=IL7015 http://www.oreilly.com/catalog/actscript2/ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mark Lapasa Sent: Tuesday, January 03, 2006 1:14 PM To: Flashcoders mailing list Subject: RE: [Flashcoders] recommended books on XML in Flash I heartily second this notion. Don't the get Jacobsen and Jacobsen book for all the same reasons. I just happened to gain a better insight from Flash's docs than the book. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Merrill, Jason Sent: Tuesday, January 03, 2006 11:14 AM To: Flashcoders mailing list Subject: RE: [Flashcoders] recommended books on XML in Flash Whatever you do, don't buy Flash and XML: A Developers Guide by Dov Jacobsen and Jesse Jacobsen - Addison-Wesley Press - besides being Flash 5, the book sucks. You get the impression these guys are much more into XML than Flash. If they even use Flash at all in their professional lives. Apologies in advance if you're on thist list and one of the authors. There's some good stuff in it, but for someone new to Flash or doing basic stuff, it's not the book for you. But even the advanced stuff lacks depth though. Jason Merrill | E-Learning Solutions | icfconsulting.com -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Ben Deroo Sent: Saturday, December 31, 2005 4:29 PM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] recommended books on XML in Flash Hi, The title says it all I guess. Are there any good books out there on the subject of Flash 8 and XML? I found one called XML in Flash from Que publications, but as far as I can tell it is for Flash 5 and was written in 2001. Is that still current? I am assuming not. What books should I read when just getting into this subject, again, using Flash 8 or Flash MX2004? Thanks for your help, Ben ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders NOTICE: This message is for the designated recipient only and may contain privileged or confidential information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of this e-mail by you is prohibited. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com
[Flashcoders] mCom RadioButton : Bug?
the click event dispatches 2x's on a single release and they don't act like radio buttons - defining them to the same groupName does no good. You can tick em' all. has anyone run into this? am I doing something wrong? -- John Grden - Blitz ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] multilanguage xliff fformat
Anyone out there done any multilanguage Flash applications (specifically closed captioning) and used the xliff format? I noticed that if you're using the Strings Panel in Flash that xliff is required. I don't intend to use the Strings Panel, but wondered if theres any consensus out there about using xliff. Any experience / thoughts would be appreciated. Regards, Brooks ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders